@agentcash/router 1.9.0 → 1.9.2
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/README.md +3 -2
- package/package.json +7 -17
package/README.md
CHANGED
|
@@ -24,10 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
26
|
pnpm add @agentcash/router
|
|
27
|
-
pnpm add next zod
|
|
28
|
-
pnpm add mppx # optional, for MPP support
|
|
27
|
+
pnpm add next zod # peer dependencies
|
|
29
28
|
```
|
|
30
29
|
|
|
30
|
+
`next` and `zod` are peer dependencies — the router shares your app's copy. Everything else (the x402 packages, `mppx`, `viem`, `zod-openapi`) is bundled as a regular dependency and installed automatically.
|
|
31
|
+
|
|
31
32
|
## Environment
|
|
32
33
|
|
|
33
34
|
The recommended entry point reads its config from `process.env`. A copy-paste `.env.example` lives at the repo root.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentcash/router",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Unified route builder for Next.js App Router APIs with x402, MPP, SIWX, and API key auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -26,46 +26,36 @@
|
|
|
26
26
|
"AGENTS.md",
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
|
-
"
|
|
29
|
+
"dependencies": {
|
|
30
30
|
"@coinbase/x402": "^2.1.0",
|
|
31
31
|
"@x402/core": "^2.11.0",
|
|
32
32
|
"@x402/evm": "^2.11.0",
|
|
33
33
|
"@x402/extensions": "^2.11.0",
|
|
34
34
|
"@x402/svm": "^2.11.0",
|
|
35
35
|
"mppx": "^0.6.16",
|
|
36
|
-
"
|
|
37
|
-
"zod": "^4.0.0",
|
|
36
|
+
"viem": "^2.47.6",
|
|
38
37
|
"zod-openapi": "^5.0.0"
|
|
39
38
|
},
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
}
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"next": ">=15.0.0",
|
|
41
|
+
"zod": "^4.0.0"
|
|
44
42
|
},
|
|
45
43
|
"devDependencies": {
|
|
46
44
|
"@changesets/cli": "^2.29.8",
|
|
47
|
-
"@coinbase/x402": "^2.1.0",
|
|
48
45
|
"@eslint/js": "^10.0.1",
|
|
49
46
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
50
47
|
"@solana/kit": "^5.1.0",
|
|
51
48
|
"@types/node": "^22.0.0",
|
|
52
|
-
"@x402/core": "^2.11.0",
|
|
53
|
-
"@x402/evm": "^2.11.0",
|
|
54
|
-
"@x402/extensions": "^2.11.0",
|
|
55
|
-
"@x402/svm": "^2.11.0",
|
|
56
49
|
"eslint": "^10.0.0",
|
|
57
50
|
"knip": "^6.13.1",
|
|
58
|
-
"mppx": "^0.6.16",
|
|
59
51
|
"next": "^15.0.0",
|
|
60
52
|
"prettier": "^3.8.1",
|
|
61
53
|
"react": "^19.0.0",
|
|
62
54
|
"tsup": "^8.0.0",
|
|
63
55
|
"typescript": "^5.8.0",
|
|
64
56
|
"typescript-eslint": "^8.55.0",
|
|
65
|
-
"viem": "^2.47.6",
|
|
66
57
|
"vitest": "^3.0.0",
|
|
67
|
-
"zod": "^4.0.0"
|
|
68
|
-
"zod-openapi": "^5.0.0"
|
|
58
|
+
"zod": "^4.0.0"
|
|
69
59
|
},
|
|
70
60
|
"license": "MIT",
|
|
71
61
|
"repository": {
|