@agent-score/commerce 2.7.1 → 2.7.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/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/identity/express.js +1 -1
- package/dist/identity/express.mjs +1 -1
- package/dist/identity/fastify.js +1 -1
- package/dist/identity/fastify.mjs +1 -1
- package/dist/identity/hono.js +1 -1
- package/dist/identity/hono.mjs +1 -1
- package/dist/identity/nextjs.js +1 -1
- package/dist/identity/nextjs.mjs +1 -1
- package/dist/identity/web.js +1 -1
- package/dist/identity/web.mjs +1 -1
- package/dist/index.js +50 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +50 -6
- package/dist/index.mjs.map +1 -1
- package/dist/stripe-multichain/index.js +49 -5
- package/dist/stripe-multichain/index.js.map +1 -1
- package/dist/stripe-multichain/index.mjs +49 -5
- package/dist/stripe-multichain/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -19519,7 +19519,7 @@ var version3;
|
|
|
19519
19519
|
var init_version2 = __esm({
|
|
19520
19520
|
"node_modules/viem/_esm/errors/version.js"() {
|
|
19521
19521
|
"use strict";
|
|
19522
|
-
version3 = "2.
|
|
19522
|
+
version3 = "2.55.2";
|
|
19523
19523
|
}
|
|
19524
19524
|
});
|
|
19525
19525
|
|
|
@@ -20075,6 +20075,8 @@ var Assets_exports = {};
|
|
|
20075
20075
|
__export(Assets_exports, {
|
|
20076
20076
|
base: () => base,
|
|
20077
20077
|
baseSepolia: () => baseSepolia,
|
|
20078
|
+
celo: () => celo,
|
|
20079
|
+
celoSepolia: () => celoSepolia,
|
|
20078
20080
|
define: () => define,
|
|
20079
20081
|
fromToken: () => fromToken,
|
|
20080
20082
|
isAsset: () => isAsset,
|
|
@@ -20162,7 +20164,7 @@ function withTokenDefaults(transfer, token) {
|
|
|
20162
20164
|
name: token.name
|
|
20163
20165
|
};
|
|
20164
20166
|
}
|
|
20165
|
-
var knownAsset, base, baseSepolia;
|
|
20167
|
+
var knownAsset, base, baseSepolia, celo, celoSepolia;
|
|
20166
20168
|
var init_Assets = __esm({
|
|
20167
20169
|
"node_modules/mppx/dist/x402/Assets.js"() {
|
|
20168
20170
|
"use strict";
|
|
@@ -20194,6 +20196,42 @@ var init_Assets = __esm({
|
|
|
20194
20196
|
}
|
|
20195
20197
|
})
|
|
20196
20198
|
};
|
|
20199
|
+
celo = {
|
|
20200
|
+
USDC: define({
|
|
20201
|
+
address: "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
|
|
20202
|
+
decimals: 6,
|
|
20203
|
+
network: "eip155:42220",
|
|
20204
|
+
transfer: {
|
|
20205
|
+
// Celo USDC signs with the shorter EIP-712 domain name.
|
|
20206
|
+
name: "USDC",
|
|
20207
|
+
type: "eip3009",
|
|
20208
|
+
version: "2"
|
|
20209
|
+
}
|
|
20210
|
+
}),
|
|
20211
|
+
USDT: define({
|
|
20212
|
+
address: "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
|
|
20213
|
+
decimals: 6,
|
|
20214
|
+
network: "eip155:42220",
|
|
20215
|
+
transfer: {
|
|
20216
|
+
// Celo USDT signs with domain version "1", unlike Circle's FiatToken "2".
|
|
20217
|
+
name: "Tether USD",
|
|
20218
|
+
type: "eip3009",
|
|
20219
|
+
version: "1"
|
|
20220
|
+
}
|
|
20221
|
+
})
|
|
20222
|
+
};
|
|
20223
|
+
celoSepolia = {
|
|
20224
|
+
USDC: define({
|
|
20225
|
+
address: "0x01C5C0122039549AD1493B8220cABEdD739BC44E",
|
|
20226
|
+
decimals: 6,
|
|
20227
|
+
network: "eip155:11142220",
|
|
20228
|
+
transfer: {
|
|
20229
|
+
name: "USDC",
|
|
20230
|
+
type: "eip3009",
|
|
20231
|
+
version: "2"
|
|
20232
|
+
}
|
|
20233
|
+
})
|
|
20234
|
+
};
|
|
20197
20235
|
}
|
|
20198
20236
|
});
|
|
20199
20237
|
|
|
@@ -20202,6 +20240,8 @@ var Assets_exports2 = {};
|
|
|
20202
20240
|
__export(Assets_exports2, {
|
|
20203
20241
|
base: () => base,
|
|
20204
20242
|
baseSepolia: () => baseSepolia,
|
|
20243
|
+
celo: () => celo,
|
|
20244
|
+
celoSepolia: () => celoSepolia,
|
|
20205
20245
|
define: () => define,
|
|
20206
20246
|
fromToken: () => fromToken,
|
|
20207
20247
|
isAsset: () => isAsset,
|
|
@@ -20223,14 +20263,18 @@ var init_Assets2 = __esm({
|
|
|
20223
20263
|
var Chains_exports = {};
|
|
20224
20264
|
__export(Chains_exports, {
|
|
20225
20265
|
base: () => base2,
|
|
20226
|
-
baseSepolia: () => baseSepolia2
|
|
20266
|
+
baseSepolia: () => baseSepolia2,
|
|
20267
|
+
celo: () => celo2,
|
|
20268
|
+
celoSepolia: () => celoSepolia2
|
|
20227
20269
|
});
|
|
20228
|
-
var base2, baseSepolia2;
|
|
20270
|
+
var base2, baseSepolia2, celo2, celoSepolia2;
|
|
20229
20271
|
var init_Chains = __esm({
|
|
20230
20272
|
"node_modules/mppx/dist/evm/Chains.js"() {
|
|
20231
20273
|
"use strict";
|
|
20232
20274
|
base2 = 8453;
|
|
20233
20275
|
baseSepolia2 = 84532;
|
|
20276
|
+
celo2 = 42220;
|
|
20277
|
+
celoSepolia2 = 11142220;
|
|
20234
20278
|
}
|
|
20235
20279
|
});
|
|
20236
20280
|
|
|
@@ -20902,7 +20946,7 @@ var init_Header = __esm({
|
|
|
20902
20946
|
if (record2.x402Version !== 2 || !Array.isArray(record2.accepts))
|
|
20903
20947
|
throw new InvalidJsonHeaderError();
|
|
20904
20948
|
const resource = ResourceInfoSchema.parse(record2.resource);
|
|
20905
|
-
const extensions = record2.extensions
|
|
20949
|
+
const extensions = record2.extensions !== void 0 ? ExtensionsSchema.safeParse(record2.extensions).data : void 0;
|
|
20906
20950
|
return {
|
|
20907
20951
|
accepts: record2.accepts,
|
|
20908
20952
|
...extensions ? { extensions } : {},
|