openclaw-overlay-plugin 0.7.38 → 0.7.40
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/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/src/core/wallet.js +1 -1
- package/index.ts +4 -0
- package/package.json +7 -3
- package/src/core/wallet.ts +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -404,6 +404,9 @@ function stopBackgroundService() {
|
|
|
404
404
|
wokenRequests.clear();
|
|
405
405
|
stopAutoImport();
|
|
406
406
|
}
|
|
407
|
+
export async function activate(api) {
|
|
408
|
+
return register(api);
|
|
409
|
+
}
|
|
407
410
|
export default function register(api) {
|
|
408
411
|
// Capture config at registration time
|
|
409
412
|
// Check all possible IDs for backward compatibility and various installation methods
|
package/dist/src/core/wallet.js
CHANGED
|
@@ -192,7 +192,7 @@ export class BSVAgentWallet {
|
|
|
192
192
|
// 6. SQLite storage via knex
|
|
193
193
|
const filePath = path.join(config.storageDir, `${DEFAULT_DB_NAME}.sqlite`);
|
|
194
194
|
const knex = knexLib({
|
|
195
|
-
client: 'sqlite3',
|
|
195
|
+
client: 'better-sqlite3',
|
|
196
196
|
connection: { filename: filePath },
|
|
197
197
|
useNullAsDefault: true,
|
|
198
198
|
});
|
package/index.ts
CHANGED
|
@@ -447,6 +447,10 @@ function stopBackgroundService() {
|
|
|
447
447
|
stopAutoImport();
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
+
export async function activate(api: any) {
|
|
451
|
+
return register(api);
|
|
452
|
+
}
|
|
453
|
+
|
|
450
454
|
export default function register(api: any) {
|
|
451
455
|
// Capture config at registration time
|
|
452
456
|
// Check all possible IDs for backward compatibility and various installation methods
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-overlay-plugin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.40",
|
|
4
4
|
"description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -71,7 +71,11 @@
|
|
|
71
71
|
"./index.ts"
|
|
72
72
|
],
|
|
73
73
|
"hooks": [
|
|
74
|
-
"./
|
|
75
|
-
]
|
|
74
|
+
"./"
|
|
75
|
+
],
|
|
76
|
+
"compat": {
|
|
77
|
+
"pluginApi": "1",
|
|
78
|
+
"minGatewayVersion": "2026.3.1"
|
|
79
|
+
}
|
|
76
80
|
}
|
|
77
81
|
}
|
package/src/core/wallet.ts
CHANGED
|
@@ -253,7 +253,7 @@ export class BSVAgentWallet {
|
|
|
253
253
|
// 6. SQLite storage via knex
|
|
254
254
|
const filePath = path.join(config.storageDir, `${DEFAULT_DB_NAME}.sqlite`);
|
|
255
255
|
const knex = knexLib({
|
|
256
|
-
client: 'sqlite3',
|
|
256
|
+
client: 'better-sqlite3',
|
|
257
257
|
connection: { filename: filePath },
|
|
258
258
|
useNullAsDefault: true,
|
|
259
259
|
});
|