@xpr-agents/openclaw 0.2.13 → 0.2.14
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 +2 -2
- package/openclaw.plugin.json +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49,7 +49,7 @@ function xprAgentsPlugin(realApi) {
|
|
|
49
49
|
? realApi
|
|
50
50
|
: createAdapter(realApi);
|
|
51
51
|
const rawConfig = api.getConfig();
|
|
52
|
-
const network = rawConfig.network || '
|
|
52
|
+
const network = rawConfig.network || 'mainnet';
|
|
53
53
|
const defaultRpc = network === 'mainnet' ? 'https://proton.eosusa.io' : 'https://tn1.protonnz.com';
|
|
54
54
|
const rpcEndpoint = rawConfig.rpcEndpoint || process.env.XPR_RPC_ENDPOINT || defaultRpc;
|
|
55
55
|
const hasCredentials = !!process.env.XPR_PRIVATE_KEY && !!process.env.XPR_ACCOUNT;
|
|
@@ -68,7 +68,7 @@ function xprAgentsPlugin(realApi) {
|
|
|
68
68
|
const config = {
|
|
69
69
|
rpc: rpc,
|
|
70
70
|
session,
|
|
71
|
-
network: rawConfig.network || '
|
|
71
|
+
network: rawConfig.network || 'mainnet',
|
|
72
72
|
rpcEndpoint,
|
|
73
73
|
indexerUrl: rawConfig.indexerUrl || 'http://localhost:3001',
|
|
74
74
|
contracts: {
|
package/openclaw.plugin.json
CHANGED
|
@@ -7,12 +7,11 @@
|
|
|
7
7
|
"network": {
|
|
8
8
|
"type": "string",
|
|
9
9
|
"enum": ["mainnet", "testnet"],
|
|
10
|
-
"default": "
|
|
10
|
+
"default": "mainnet"
|
|
11
11
|
},
|
|
12
12
|
"rpcEndpoint": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"description": "XPR Network RPC endpoint URL"
|
|
15
|
-
"default": "https://tn1.protonnz.com"
|
|
14
|
+
"description": "XPR Network RPC endpoint URL"
|
|
16
15
|
},
|
|
17
16
|
"indexerUrl": {
|
|
18
17
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xpr-agents/openclaw",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "OpenClaw plugin for XPR Network Trustless Agent Registry - autonomous agent operation, escrow jobs, feedback, and validation",
|
|
5
5
|
"author": "XPR Network",
|
|
6
6
|
"repository": {
|