@tollxyz/guard 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +156 -3
- package/dist/check.d.ts +134 -0
- package/dist/check.js +175 -0
- package/dist/erc8470.d.ts +93 -0
- package/dist/erc8470.js +193 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +5 -0
- package/dist/policy.d.ts +45 -0
- package/dist/policy.js +110 -0
- package/dist/wallets.d.ts +39 -0
- package/dist/wallets.js +169 -0
- package/dist/x402.d.ts +14 -0
- package/dist/x402.js +75 -0
- package/package.json +69 -6
package/package.json
CHANGED
|
@@ -1,6 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tollxyz/guard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@tollxyz/guard",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Toll's live pre-sign check in front of an AI agent's wallet: viem, ethers and x402 fetch wrappers that ask Toll (ALLOW / WARN / BLOCK, ERC-8265) before anything is signed on Robinhood Chain. Zero runtime dependencies.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Toll",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=20.19"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/t0ll-xyz/toll-plugins.git",
|
|
29
|
+
"directory": "packages/guard"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://t0ll.xyz/agents/plugins",
|
|
32
|
+
"keywords": [
|
|
33
|
+
"agent-wallet",
|
|
34
|
+
"transaction-guard",
|
|
35
|
+
"pre-sign",
|
|
36
|
+
"x402",
|
|
37
|
+
"erc-8004",
|
|
38
|
+
"erc-8470",
|
|
39
|
+
"erc-8265",
|
|
40
|
+
"robinhood-chain",
|
|
41
|
+
"viem",
|
|
42
|
+
"ethers",
|
|
43
|
+
"ai-agent",
|
|
44
|
+
"toll"
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsc -p tsconfig.json",
|
|
48
|
+
"test": "tsc -p tsconfig.json --noEmit && tsx --test tests/*.test.ts",
|
|
49
|
+
"smoke": "node scripts/smoke.mjs",
|
|
50
|
+
"prepublishOnly": "npm run build"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"ethers": "^6.0.0",
|
|
54
|
+
"viem": "^2.0.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"ethers": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"viem": {
|
|
61
|
+
"optional": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@types/node": "^22.0.0",
|
|
66
|
+
"tsx": "^4.19.0",
|
|
67
|
+
"typescript": "^5.6.0"
|
|
68
|
+
}
|
|
69
|
+
}
|