openclaw-overlay-plugin 0.8.7 → 0.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/core/wallet.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +7 -6
- package/src/core/wallet.ts +1 -1
package/dist/src/core/wallet.js
CHANGED
|
@@ -217,7 +217,7 @@ export class BSVAgentWallet {
|
|
|
217
217
|
// 6. SQLite storage via knex
|
|
218
218
|
const filePath = path.join(config.storageDir, `${DEFAULT_DB_NAME}.sqlite`);
|
|
219
219
|
const knex = knexLib({
|
|
220
|
-
client: 'sqlite3',
|
|
220
|
+
client: 'better-sqlite3',
|
|
221
221
|
connection: { filename: filePath },
|
|
222
222
|
useNullAsDefault: true,
|
|
223
223
|
});
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-overlay-plugin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
4
4
|
"description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -24,23 +24,24 @@
|
|
|
24
24
|
"cli": "node dist/src/cli.js",
|
|
25
25
|
"test": "npx tsx src/test/cli.test.ts && npx tsx src/test/taskflow.test.ts && npx tsx src/test/key-derivation.test.ts",
|
|
26
26
|
"postversion": "node ../sync_versions.js",
|
|
27
|
-
"lint": "eslint src/**/*.ts"
|
|
27
|
+
"lint": "eslint src/**/*.ts",
|
|
28
|
+
"postinstall": "node -e \"try{require('better-sqlite3')}catch{console.log('Note: better-sqlite3 requires build tools. If install failed, ensure python3 and a C++ compiler are available.')}\""
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@bsv/sdk": "^2.0.13",
|
|
31
32
|
"@bsv/wallet-toolbox": "^2.1.18",
|
|
33
|
+
"better-sqlite3": "^11.0.0",
|
|
32
34
|
"dotenv": "^17.3.1",
|
|
33
|
-
"knex": "^3.
|
|
34
|
-
"sqlite3": "^5.1.7"
|
|
35
|
+
"knex": "^3.1.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@types/node": "^
|
|
38
|
+
"@types/node": "^22.10.0",
|
|
38
39
|
"@types/ws": "^8.18.1",
|
|
39
40
|
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
40
41
|
"@typescript-eslint/parser": "^8.58.0",
|
|
41
42
|
"eslint": "^10.1.0",
|
|
42
43
|
"globals": "^17.4.0",
|
|
43
|
-
"typescript": "^
|
|
44
|
+
"typescript": "^5.7.0"
|
|
44
45
|
},
|
|
45
46
|
"optionalDependencies": {
|
|
46
47
|
"ws": "^8.20.0"
|
package/src/core/wallet.ts
CHANGED
|
@@ -279,7 +279,7 @@ export class BSVAgentWallet {
|
|
|
279
279
|
// 6. SQLite storage via knex
|
|
280
280
|
const filePath = path.join(config.storageDir, `${DEFAULT_DB_NAME}.sqlite`);
|
|
281
281
|
const knex = knexLib({
|
|
282
|
-
client: 'sqlite3',
|
|
282
|
+
client: 'better-sqlite3',
|
|
283
283
|
connection: { filename: filePath },
|
|
284
284
|
useNullAsDefault: true,
|
|
285
285
|
});
|