@aifinpay/agent 1.8.2 → 2.0.0-rc.7
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 +7 -9
- package/dist/agentPassport.d.ts +35 -0
- package/dist/agentPassport.d.ts.map +1 -0
- package/dist/agentPassport.js +87 -0
- package/dist/agentPassport.js.map +1 -0
- package/dist/aifp1.d.ts +20 -9
- package/dist/aifp1.d.ts.map +1 -1
- package/dist/aifp1.js +51 -2
- package/dist/aifp1.js.map +1 -1
- package/dist/chains.d.ts +4 -0
- package/dist/chains.d.ts.map +1 -0
- package/dist/chains.js +24 -0
- package/dist/chains.js.map +1 -0
- package/dist/facilitators/detect.d.ts +3 -3
- package/dist/facilitators/detect.d.ts.map +1 -1
- package/dist/facilitators/detect.js +3 -22
- package/dist/facilitators/detect.js.map +1 -1
- package/dist/facilitators/standard-x402.d.ts +4 -8
- package/dist/facilitators/standard-x402.d.ts.map +1 -1
- package/dist/facilitators/standard-x402.js +202 -92
- package/dist/facilitators/standard-x402.js.map +1 -1
- package/dist/index.d.ts +14 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -30
- package/dist/index.js.map +1 -1
- package/dist/settlement.d.ts +172 -0
- package/dist/settlement.d.ts.map +1 -0
- package/dist/settlement.js +355 -0
- package/dist/settlement.js.map +1 -0
- package/dist/settlementV14.d.ts +135 -0
- package/dist/settlementV14.d.ts.map +1 -0
- package/dist/settlementV14.js +203 -0
- package/dist/settlementV14.js.map +1 -0
- package/dist/splitterRoutes.d.ts +116 -0
- package/dist/splitterRoutes.d.ts.map +1 -0
- package/dist/splitterRoutes.generated.d.ts +22 -0
- package/dist/splitterRoutes.generated.d.ts.map +1 -0
- package/dist/splitterRoutes.generated.js +399 -0
- package/dist/splitterRoutes.generated.js.map +1 -0
- package/dist/splitterRoutes.js +70 -0
- package/dist/splitterRoutes.js.map +1 -0
- package/dist/unifiedAgent.d.ts +77 -5
- package/dist/unifiedAgent.d.ts.map +1 -1
- package/dist/unifiedAgent.js +51 -81
- package/dist/unifiedAgent.js.map +1 -1
- package/dist/wallet.d.ts +28 -0
- package/dist/wallet.d.ts.map +1 -0
- package/dist/wallet.js +97 -0
- package/dist/wallet.js.map +1 -0
- package/package.json +41 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aifinpay/agent",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.0-rc.7",
|
|
4
|
+
"description": "AiFinPay SDK for global Agent Passport identity and route-verified AIFP-1/AIFP-2 settlement for autonomous AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./wallet": {
|
|
14
|
+
"types": "./dist/wallet.d.ts",
|
|
15
|
+
"default": "./dist/wallet.js"
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
"files": [
|
|
@@ -18,28 +22,55 @@
|
|
|
18
22
|
],
|
|
19
23
|
"scripts": {
|
|
20
24
|
"build": "tsc -p tsconfig.json",
|
|
25
|
+
"registry:sync": "node scripts/generate-splitter-routes.mjs",
|
|
26
|
+
"registry:check": "node scripts/generate-splitter-routes.mjs --check",
|
|
21
27
|
"test": "vitest run",
|
|
22
28
|
"prepublishOnly": "npm run build"
|
|
23
29
|
},
|
|
24
30
|
"keywords": [
|
|
31
|
+
"aifinpay",
|
|
25
32
|
"ai-agent",
|
|
26
33
|
"ai-agents",
|
|
34
|
+
"ai-payments",
|
|
35
|
+
"ai-agent-payments",
|
|
27
36
|
"agentic-ai",
|
|
28
37
|
"autonomous-agents",
|
|
38
|
+
"autonomous-payments",
|
|
29
39
|
"agent-payments",
|
|
40
|
+
"agent-payment-protocol",
|
|
30
41
|
"agent-commerce",
|
|
42
|
+
"agentic-commerce",
|
|
43
|
+
"agent-economy",
|
|
44
|
+
"ai-commerce",
|
|
45
|
+
"ai-payment-infrastructure",
|
|
46
|
+
"ai-financial-infrastructure",
|
|
47
|
+
"payment-rails",
|
|
48
|
+
"financial-rails",
|
|
31
49
|
"x402",
|
|
50
|
+
"x402-payments",
|
|
51
|
+
"http-402",
|
|
32
52
|
"mcp",
|
|
53
|
+
"mcp-payments",
|
|
54
|
+
"mcp-monetization",
|
|
33
55
|
"model-context-protocol",
|
|
34
56
|
"payments",
|
|
57
|
+
"api-payments",
|
|
58
|
+
"api-monetization",
|
|
59
|
+
"paid-apis",
|
|
60
|
+
"machine-payments",
|
|
61
|
+
"m2m-payments",
|
|
62
|
+
"programmable-payments",
|
|
35
63
|
"crypto-payments",
|
|
36
|
-
"
|
|
37
|
-
"solana",
|
|
64
|
+
"stablecoin-payments",
|
|
38
65
|
"stablecoin",
|
|
39
66
|
"usdc",
|
|
67
|
+
"agent-wallet",
|
|
68
|
+
"agent-passport",
|
|
40
69
|
"non-custodial",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
70
|
+
"fintech",
|
|
71
|
+
"polygon",
|
|
72
|
+
"solana",
|
|
73
|
+
"ed25519"
|
|
43
74
|
],
|
|
44
75
|
"author": "CoinSecurities (SECCO) <contact@aifinpay.io>",
|
|
45
76
|
"license": "MIT",
|
|
@@ -51,11 +82,12 @@
|
|
|
51
82
|
},
|
|
52
83
|
"bugs": "https://github.com/AiFinPay/sdk/issues",
|
|
53
84
|
"dependencies": {
|
|
85
|
+
"@noble/curves": "^1.9.0",
|
|
86
|
+
"@noble/hashes": "^1.5.0",
|
|
54
87
|
"@solana/web3.js": "^1.95.0",
|
|
55
88
|
"bs58": "^6.0.0",
|
|
56
|
-
"tweetnacl": "^1.0.
|
|
57
|
-
"viem": "^2.21.0"
|
|
58
|
-
"@noble/hashes": "^1.5.0"
|
|
89
|
+
"tweetnacl": "^1.0.0",
|
|
90
|
+
"viem": "^2.21.0"
|
|
59
91
|
},
|
|
60
92
|
"devDependencies": {
|
|
61
93
|
"@types/node": "^20.0.0",
|