@agent-score/commerce 2.7.5 → 2.7.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/dist/challenge/index.d.mts +3 -3
- package/dist/challenge/index.d.ts +3 -3
- package/dist/{checkout-DKq9gV3G.d.mts → checkout-B0jIzAEo.d.mts} +5 -5
- package/dist/{checkout-DW7GgRrl.d.ts → checkout-BRdpPSnc.d.ts} +5 -5
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/discovery/index.d.mts +6 -6
- package/dist/discovery/index.d.ts +6 -6
- package/dist/{gate-GCXy4FHI.d.mts → gate-BMUMi-P0.d.mts} +2 -2
- package/dist/{gate-D2RP6bZg.d.ts → gate-Bhbi5zvG.d.ts} +2 -2
- package/dist/identity/express.d.mts +2 -2
- package/dist/identity/express.d.ts +2 -2
- package/dist/identity/express.js +1 -1
- package/dist/identity/express.mjs +1 -1
- package/dist/identity/fastify.d.mts +2 -2
- package/dist/identity/fastify.d.ts +2 -2
- package/dist/identity/fastify.js +1 -1
- package/dist/identity/fastify.mjs +1 -1
- package/dist/identity/hono.d.mts +2 -2
- package/dist/identity/hono.d.ts +2 -2
- package/dist/identity/hono.js +1 -1
- package/dist/identity/hono.mjs +1 -1
- package/dist/identity/nextjs.d.mts +2 -2
- package/dist/identity/nextjs.d.ts +2 -2
- package/dist/identity/nextjs.js +1 -1
- package/dist/identity/nextjs.mjs +1 -1
- package/dist/identity/web.d.mts +2 -2
- package/dist/identity/web.d.ts +2 -2
- package/dist/identity/web.js +1 -1
- package/dist/identity/web.mjs +1 -1
- package/dist/index.d.mts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +179 -65
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +179 -65
- package/dist/index.mjs.map +1 -1
- package/dist/{network_kind-toxNABqw.d.ts → network_kind-C3NA2wX2.d.ts} +2 -2
- package/dist/{network_kind-CLdLbqU5.d.mts → network_kind-DmHbQbOb.d.mts} +2 -2
- package/dist/payment/index.d.mts +5 -5
- package/dist/payment/index.d.ts +5 -5
- package/dist/{pricing-Dx3F1VAv.d.ts → pricing-DUYE2hIy.d.ts} +1 -1
- package/dist/{pricing-sfv3CPiY.d.mts → pricing-Wqbq6xIR.d.mts} +1 -1
- package/dist/{rail_spec-DGdb4Gnd.d.mts → rail_spec-C-jTQ7g6.d.mts} +1 -1
- package/dist/{rail_spec-DGdb4Gnd.d.ts → rail_spec-C-jTQ7g6.d.ts} +1 -1
- package/dist/stripe-multichain/index.js +175 -61
- package/dist/stripe-multichain/index.js.map +1 -1
- package/dist/stripe-multichain/index.mjs +175 -61
- package/dist/stripe-multichain/index.mjs.map +1 -1
- package/dist/{types-D1slMt0H.d.mts → types-1Mr5ZDas.d.mts} +1 -1
- package/dist/{types-D1slMt0H.d.ts → types-1Mr5ZDas.d.ts} +1 -1
- package/dist/{x402_server-Ciz2mls2.d.mts → x402_server-hgQzWQwB.d.mts} +1 -1
- package/dist/{x402_server-Ciz2mls2.d.ts → x402_server-hgQzWQwB.d.ts} +1 -1
- package/package.json +15 -14
|
@@ -134,4 +134,4 @@ declare const isAitShape: (payload: unknown) => boolean;
|
|
|
134
134
|
/** Validate the structural contract of a decoded AIT payload. */
|
|
135
135
|
declare const validateAitPayload: (payload: unknown) => AitValidationResult;
|
|
136
136
|
|
|
137
|
-
export { type
|
|
137
|
+
export { type AitPayload as A, type IdentityClaim as I, type TrustLevel as T, type AitHeader as a, type AitValidationResult as b, type AmrValue as c, type IntentClaim as d, isAitShape as i, validateAitPayload as v };
|
|
@@ -134,4 +134,4 @@ declare const isAitShape: (payload: unknown) => boolean;
|
|
|
134
134
|
/** Validate the structural contract of a decoded AIT payload. */
|
|
135
135
|
declare const validateAitPayload: (payload: unknown) => AitValidationResult;
|
|
136
136
|
|
|
137
|
-
export { type
|
|
137
|
+
export { type AitPayload as A, type IdentityClaim as I, type TrustLevel as T, type AitHeader as a, type AitValidationResult as b, type AmrValue as c, type IntentClaim as d, isAitShape as i, validateAitPayload as v };
|
|
@@ -78,4 +78,4 @@ interface BuildX402AcceptsForOptions {
|
|
|
78
78
|
*/
|
|
79
79
|
declare function buildX402AcceptsFor402(server: X402Server, opts: BuildX402AcceptsForOptions): Promise<unknown[]>;
|
|
80
80
|
|
|
81
|
-
export { type BuildX402AcceptsForOptions as B, type CreateX402ServerOptions as C, type
|
|
81
|
+
export { type BuildX402AcceptsForOptions as B, type CreateX402ServerOptions as C, type X402Server as X, type X402FacilitatorChoice as a, type X402SymbolicRail as b, buildX402AcceptsFor402 as c, createX402Server as d };
|
|
@@ -78,4 +78,4 @@ interface BuildX402AcceptsForOptions {
|
|
|
78
78
|
*/
|
|
79
79
|
declare function buildX402AcceptsFor402(server: X402Server, opts: BuildX402AcceptsForOptions): Promise<unknown[]>;
|
|
80
80
|
|
|
81
|
-
export { type BuildX402AcceptsForOptions as B, type CreateX402ServerOptions as C, type
|
|
81
|
+
export { type BuildX402AcceptsForOptions as B, type CreateX402ServerOptions as C, type X402Server as X, type X402FacilitatorChoice as a, type X402SymbolicRail as b, buildX402AcceptsFor402 as c, createX402Server as d };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-score/commerce",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.7",
|
|
4
4
|
"description": "Agentic commerce SDK: identity middleware (Hono, Express, Fastify, Next.js, Web Fetch) + payment helpers + 402 builders + discovery + Stripe multichain. The full merchant-side toolkit for AgentScore-powered agentic commerce.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -148,10 +148,10 @@
|
|
|
148
148
|
"bun": ">=1.3.0 <2"
|
|
149
149
|
},
|
|
150
150
|
"dependencies": {
|
|
151
|
-
"@agent-score/sdk": "^2.6.
|
|
151
|
+
"@agent-score/sdk": "^2.6.4"
|
|
152
152
|
},
|
|
153
153
|
"overrides": {
|
|
154
|
-
"axios": "^1.
|
|
154
|
+
"axios": "^1.18.0",
|
|
155
155
|
"fast-uri": "^3.1.1",
|
|
156
156
|
"minimatch@^3.0.0": {
|
|
157
157
|
"brace-expansion": "1.1.12"
|
|
@@ -163,7 +163,8 @@
|
|
|
163
163
|
"vite": "^8.0.16",
|
|
164
164
|
"esbuild": "^0.28.1",
|
|
165
165
|
"js-yaml": "^4.2.0",
|
|
166
|
-
"form-data": "^4.0.6"
|
|
166
|
+
"form-data": "^4.0.6",
|
|
167
|
+
"find-my-way": "^9.7.0"
|
|
167
168
|
},
|
|
168
169
|
"peerDependencies": {
|
|
169
170
|
"@solana/kit": ">=7.0.0 <8.0.0",
|
|
@@ -202,7 +203,7 @@
|
|
|
202
203
|
}
|
|
203
204
|
},
|
|
204
205
|
"devDependencies": {
|
|
205
|
-
"@a2a-js/sdk": "^0.
|
|
206
|
+
"@a2a-js/sdk": "^1.0.0",
|
|
206
207
|
"@coinbase/x402": "^2.1.0",
|
|
207
208
|
"@eslint/js": "^9.39.5",
|
|
208
209
|
"@solana/kit": "^7.0.0",
|
|
@@ -210,25 +211,25 @@
|
|
|
210
211
|
"@types/express": "^5.0.6",
|
|
211
212
|
"@types/node": "^26.1.1",
|
|
212
213
|
"@vitest/coverage-v8": "^4.1.10",
|
|
213
|
-
"@x402/core": "^2.
|
|
214
|
-
"@x402/evm": "^2.
|
|
215
|
-
"@x402/extensions": "^2.
|
|
214
|
+
"@x402/core": "^2.19.0",
|
|
215
|
+
"@x402/evm": "^2.19.0",
|
|
216
|
+
"@x402/extensions": "^2.19.0",
|
|
216
217
|
"dotenv": "^17.4.2",
|
|
217
218
|
"eslint": "^9.39.5",
|
|
218
219
|
"eslint-plugin-import": "^2.32.0",
|
|
219
220
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
220
221
|
"express": "^5.2.1",
|
|
221
222
|
"fastify": "^5.10.0",
|
|
222
|
-
"hono": "^4.12.
|
|
223
|
+
"hono": "^4.12.31",
|
|
223
224
|
"ioredis": "^5.11.1",
|
|
224
|
-
"jose": "^6.2.
|
|
225
|
-
"knip": "^6.
|
|
225
|
+
"jose": "^6.2.4",
|
|
226
|
+
"knip": "^6.29.0",
|
|
226
227
|
"lefthook": "^2.1.10",
|
|
227
|
-
"mppx": "0.8.
|
|
228
|
+
"mppx": "0.8.14",
|
|
228
229
|
"tsup": "^8.5.1",
|
|
229
230
|
"typescript": "^6.0.3",
|
|
230
|
-
"typescript-eslint": "^8.
|
|
231
|
-
"viem": "2.55.
|
|
231
|
+
"typescript-eslint": "^8.65.0",
|
|
232
|
+
"viem": "2.55.8",
|
|
232
233
|
"vitest": "^4.1.10"
|
|
233
234
|
},
|
|
234
235
|
"packageManager": "bun@1.3.13"
|