openclaw-overlay-plugin 0.7.54 → 0.7.56
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.js +119 -1133
- package/dist/src/core/wallet.js +1 -1
- package/index.ts +117 -1296
- package/openclaw.plugin.json +19 -0
- package/package.json +3 -4
- package/src/core/wallet.ts +1 -1
package/openclaw.plugin.json
CHANGED
|
@@ -25,6 +25,25 @@
|
|
|
25
25
|
"type": "object",
|
|
26
26
|
"additionalProperties": true,
|
|
27
27
|
"properties": {
|
|
28
|
+
"enabled": { "type": "boolean" },
|
|
29
|
+
"config": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": true,
|
|
32
|
+
"properties": {
|
|
33
|
+
"overlayUrl": { "type": "string" },
|
|
34
|
+
"network": { "type": "string" },
|
|
35
|
+
"chaintracksUrl": { "type": "string" },
|
|
36
|
+
"arcUrl": { "type": "string" },
|
|
37
|
+
"agentName": { "type": "string" },
|
|
38
|
+
"agentDescription": { "type": "string" },
|
|
39
|
+
"walletDir": { "type": "string" },
|
|
40
|
+
"maxAutoPaySats": { "type": "number" },
|
|
41
|
+
"dailyBudgetSats": { "type": "number" },
|
|
42
|
+
"autoAcceptPayments": { "type": "boolean" },
|
|
43
|
+
"preferCheapest": { "type": "boolean" },
|
|
44
|
+
"services": { "type": "array", "items": { "type": "string" } }
|
|
45
|
+
}
|
|
46
|
+
},
|
|
28
47
|
"overlayUrl": {
|
|
29
48
|
"type": "string",
|
|
30
49
|
"default": "https://clawoverlay.com",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-overlay-plugin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.56",
|
|
4
4
|
"description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -22,13 +22,12 @@
|
|
|
22
22
|
"prepublishOnly": "npm run build",
|
|
23
23
|
"cli": "node dist/src/cli.js",
|
|
24
24
|
"test": "npx tsx src/**/*.test.ts",
|
|
25
|
-
"lint": "eslint src/**/*.ts"
|
|
26
|
-
"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.')}\""
|
|
25
|
+
"lint": "eslint src/**/*.ts"
|
|
27
26
|
},
|
|
28
27
|
"dependencies": {
|
|
29
28
|
"@bsv/sdk": "^2.0.13",
|
|
30
29
|
"@bsv/wallet-toolbox": "^2.1.17",
|
|
31
|
-
"
|
|
30
|
+
"sqlite3": "^5.1.7",
|
|
32
31
|
"dotenv": "^17.3.1",
|
|
33
32
|
"knex": "^3.2.8"
|
|
34
33
|
},
|
package/src/core/wallet.ts
CHANGED
|
@@ -271,7 +271,7 @@ export class BSVAgentWallet {
|
|
|
271
271
|
// 6. SQLite storage via knex
|
|
272
272
|
const filePath = path.join(config.storageDir, `${DEFAULT_DB_NAME}.sqlite`);
|
|
273
273
|
const knex = knexLib({
|
|
274
|
-
client: '
|
|
274
|
+
client: 'sqlite3',
|
|
275
275
|
connection: { filename: filePath },
|
|
276
276
|
useNullAsDefault: true,
|
|
277
277
|
});
|