@agether/agether 1.7.2 → 1.7.3
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/package.json +2 -2
- package/src/index.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agether/agether",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "OpenClaw plugin for Agether — onchain credit for AI agents",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"openclaw": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@agether/sdk": "^2.3.
|
|
12
|
+
"@agether/sdk": "^2.3.4",
|
|
13
13
|
"axios": "^1.6.0",
|
|
14
14
|
"ethers": "^6.9.0"
|
|
15
15
|
},
|
package/src/index.ts
CHANGED
|
@@ -546,6 +546,8 @@ export default function register(api: any) {
|
|
|
546
546
|
backendUrl: cfg.backendUrl,
|
|
547
547
|
agentId,
|
|
548
548
|
accountAddress,
|
|
549
|
+
// Safe7579 needs validator prefix for ERC-1271 isValidSignature routing
|
|
550
|
+
validatorModule: "0xde896C58163b5f6cAC5B16C1b0109843f26106F6",
|
|
549
551
|
});
|
|
550
552
|
const result = await x402.get(`${cfg.backendUrl}/score/${agentId}`);
|
|
551
553
|
if (!result.success) return fail(result.error || "Score request failed");
|
|
@@ -631,6 +633,8 @@ export default function register(api: any) {
|
|
|
631
633
|
dailySpendLimitUsdc: agetherCfg.dailySpendLimitUsdc,
|
|
632
634
|
yieldLimitedSpending: agetherCfg.yieldLimitedSpending,
|
|
633
635
|
autoDrawBuffer: agetherCfg.autoDrawBuffer,
|
|
636
|
+
// Safe7579 needs validator prefix for ERC-1271 isValidSignature routing
|
|
637
|
+
validatorModule: "0xde896C58163b5f6cAC5B16C1b0109843f26106F6",
|
|
634
638
|
});
|
|
635
639
|
|
|
636
640
|
let result;
|