fix: resolve WASM file loading issue for npx execution (closes #31)

- Enhanced database adapter to support multiple WASM file resolution strategies
- Added require.resolve() for reliable package location in npm environments
- Made better-sqlite3 an optional dependency
- Improved error handling with clear messages
- Updated version to 2.7.13
- Updated CHANGELOG and README badges
This commit is contained in:
czlonkowski
2025-07-11 08:48:37 +02:00
parent f525303748
commit 1170ad27a6
11 changed files with 213 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-mcp",
"version": "2.7.12",
"version": "2.7.13",
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
"main": "dist/index.js",
"bin": {
@@ -103,5 +103,8 @@
"n8n-workflow": "^1.98.0",
"sql.js": "^1.13.0",
"uuid": "^10.0.0"
},
"optionalDependencies": {
"better-sqlite3": "^11.10.0"
}
}