@routedock/routedock 0.3.1 → 0.4.0
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 +113 -12
- package/dist/{MppSessionHandler-1EL8QBAn.d.cts → MppSessionHandler-3QfCHI5x.d.ts} +40 -2
- package/dist/{MppSessionHandler-Bq4S-JTE.d.ts → MppSessionHandler-xu4Kxu6N.d.cts} +40 -2
- package/dist/{ProviderRegistry-w4_hkI_1.d.ts → ProviderRegistry-D9KqyuH-.d.cts} +16 -36
- package/dist/{ProviderRegistry-CyZ5eryO.d.cts → ProviderRegistry-DVi2uzgk.d.ts} +16 -36
- package/dist/{RouteDockClient-CjM2VyOd.d.ts → RouteDockClient-6rmgkbYb.d.cts} +124 -144
- package/dist/{RouteDockClient-CXvWXix5.d.cts → RouteDockClient-CnAkxwrW.d.ts} +124 -144
- package/dist/{SessionReconciler-Bw-PoBVl.d.ts → SessionReconciler-Cce9MXO1.d.ts} +10 -3
- package/dist/{SessionReconciler-Cz2nuOlJ.d.cts → SessionReconciler-Dpe9qXdD.d.cts} +10 -3
- package/dist/{SessionStore-BaYiegP0.d.ts → SessionStore-DkLBxFQu.d.cts} +28 -3
- package/dist/{SessionStore-B4-Hi4H8.d.cts → SessionStore-_ZkoBzFY.d.ts} +28 -3
- package/dist/SpendStore-BUclV02i.d.ts +73 -0
- package/dist/SpendStore-s_dfcemj.d.cts +73 -0
- package/dist/client.cjs +767 -482
- package/dist/client.d.cts +80 -10
- package/dist/client.d.ts +80 -10
- package/dist/client.js +733 -463
- package/dist/index.cjs +1295 -585
- package/dist/index.d.cts +13 -10
- package/dist/index.d.ts +13 -10
- package/dist/index.js +1247 -554
- package/dist/logger-DVa7VT4c.d.cts +41 -0
- package/dist/logger-DVa7VT4c.d.ts +41 -0
- package/dist/network.cjs +57 -0
- package/dist/network.d.cts +72 -0
- package/dist/network.d.ts +72 -0
- package/dist/network.js +49 -0
- package/dist/node.cjs +166 -0
- package/dist/node.d.cts +77 -0
- package/dist/node.d.ts +77 -0
- package/dist/node.js +159 -0
- package/dist/provider/fastify.cjs +847 -62
- package/dist/provider/fastify.d.cts +10 -3
- package/dist/provider/fastify.d.ts +10 -3
- package/dist/provider/fastify.js +848 -63
- package/dist/provider/hono.cjs +936 -60
- package/dist/provider/hono.d.cts +23 -8
- package/dist/provider/hono.d.ts +23 -8
- package/dist/provider/hono.js +937 -61
- package/dist/provider.cjs +894 -70
- package/dist/provider.d.cts +9 -8
- package/dist/provider.d.ts +9 -8
- package/dist/provider.js +895 -72
- package/dist/react.cjs +736 -431
- package/dist/react.d.cts +7 -5
- package/dist/react.d.ts +7 -5
- package/dist/react.js +725 -420
- package/dist/{routedockMiddleware-57gUaEMf.d.ts → routedockMiddleware-Cq9HOJEa.d.ts} +9 -2
- package/dist/{routedockMiddleware-DlyLrxp7.d.cts → routedockMiddleware-CxsWkSKa.d.cts} +9 -2
- package/dist/schema.cjs +7 -0
- package/dist/schema.js +7 -0
- package/dist/{sign-AKH67sft.d.cts → sign-Bq08SeFq.d.ts} +2 -2
- package/dist/{sign-BEq-OsSq.d.ts → sign-DqGE0Plv.d.cts} +2 -2
- package/dist/testing.d.cts +4 -3
- package/dist/testing.d.ts +4 -3
- package/dist/{logger-D8_Q2ytp.d.cts → types-DXaS5Wip.d.cts} +85 -47
- package/dist/{logger-D8_Q2ytp.d.ts → types-DXaS5Wip.d.ts} +85 -47
- package/package.json +50 -4
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routedock/routedock",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Unified payment execution layer for autonomous agents on Stellar",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"homepage": "https://github.com/winsznx/routedock/tree/main/packages/sdk#readme",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/winsznx/routedock/issues"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"provenance": true
|
|
12
|
+
},
|
|
6
13
|
"repository": {
|
|
7
14
|
"type": "git",
|
|
8
15
|
"url": "https://github.com/winsznx/routedock.git",
|
|
@@ -38,6 +45,12 @@
|
|
|
38
45
|
],
|
|
39
46
|
"schema": [
|
|
40
47
|
"dist/schema.d.ts"
|
|
48
|
+
],
|
|
49
|
+
"node": [
|
|
50
|
+
"dist/node.d.ts"
|
|
51
|
+
],
|
|
52
|
+
"network": [
|
|
53
|
+
"dist/network.d.ts"
|
|
41
54
|
]
|
|
42
55
|
}
|
|
43
56
|
},
|
|
@@ -112,6 +125,16 @@
|
|
|
112
125
|
"default": "./dist/provider/fastify.cjs"
|
|
113
126
|
}
|
|
114
127
|
},
|
|
128
|
+
"./node": {
|
|
129
|
+
"import": {
|
|
130
|
+
"types": "./dist/node.d.ts",
|
|
131
|
+
"default": "./dist/node.js"
|
|
132
|
+
},
|
|
133
|
+
"require": {
|
|
134
|
+
"types": "./dist/node.d.cts",
|
|
135
|
+
"default": "./dist/node.cjs"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
115
138
|
"./schema": {
|
|
116
139
|
"import": {
|
|
117
140
|
"types": "./dist/schema.d.ts",
|
|
@@ -121,20 +144,31 @@
|
|
|
121
144
|
"types": "./dist/schema.d.cts",
|
|
122
145
|
"default": "./dist/schema.cjs"
|
|
123
146
|
}
|
|
147
|
+
},
|
|
148
|
+
"./network": {
|
|
149
|
+
"import": {
|
|
150
|
+
"types": "./dist/network.d.ts",
|
|
151
|
+
"default": "./dist/network.js"
|
|
152
|
+
},
|
|
153
|
+
"require": {
|
|
154
|
+
"types": "./dist/network.d.cts",
|
|
155
|
+
"default": "./dist/network.cjs"
|
|
156
|
+
}
|
|
124
157
|
}
|
|
125
158
|
},
|
|
126
159
|
"dependencies": {
|
|
127
160
|
"@cfworker/json-schema": "^4.0.0",
|
|
161
|
+
"@noble/hashes": "^1.8.0",
|
|
128
162
|
"@stellar/mpp": "^0.4.0",
|
|
129
163
|
"@stellar/stellar-sdk": "^14.6.1",
|
|
130
164
|
"@supabase/supabase-js": "^2.47.0",
|
|
131
165
|
"@x402/core": "^2.9.0",
|
|
132
166
|
"@x402/stellar": "^2.9.0",
|
|
133
167
|
"mppx": "^0.5.7",
|
|
134
|
-
"@routedock/nulth-sdk": "0.
|
|
168
|
+
"@routedock/nulth-sdk": "0.3.0"
|
|
135
169
|
},
|
|
136
170
|
"peerDependencies": {
|
|
137
|
-
"express": "^4.18.0",
|
|
171
|
+
"express": "^4.18.0 || ^5.0.0",
|
|
138
172
|
"fastify": "^4.0.0 || ^5.0.0",
|
|
139
173
|
"hono": "^4.0.0",
|
|
140
174
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -154,7 +188,7 @@
|
|
|
154
188
|
}
|
|
155
189
|
},
|
|
156
190
|
"devDependencies": {
|
|
157
|
-
"@happy-dom/global-registrator": "^
|
|
191
|
+
"@happy-dom/global-registrator": "^21.0.3",
|
|
158
192
|
"@testing-library/dom": "^10.4.1",
|
|
159
193
|
"@testing-library/react": "^16.3.2",
|
|
160
194
|
"@types/express": "^4.17.21",
|
|
@@ -172,6 +206,18 @@
|
|
|
172
206
|
"typescript": "^5.4.5",
|
|
173
207
|
"viem": "^2.52.0"
|
|
174
208
|
},
|
|
209
|
+
"engines": {
|
|
210
|
+
"node": ">=22"
|
|
211
|
+
},
|
|
212
|
+
"keywords": [
|
|
213
|
+
"stellar",
|
|
214
|
+
"soroban",
|
|
215
|
+
"usdc",
|
|
216
|
+
"x402",
|
|
217
|
+
"mpp",
|
|
218
|
+
"payments",
|
|
219
|
+
"ai-agents"
|
|
220
|
+
],
|
|
175
221
|
"scripts": {
|
|
176
222
|
"build": "tsup",
|
|
177
223
|
"dev": "tsup --watch",
|