@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
|
@@ -19521,7 +19521,7 @@ var version3;
|
|
|
19521
19521
|
var init_version2 = __esm({
|
|
19522
19522
|
"node_modules/viem/_esm/errors/version.js"() {
|
|
19523
19523
|
"use strict";
|
|
19524
|
-
version3 = "2.
|
|
19524
|
+
version3 = "2.55.2";
|
|
19525
19525
|
}
|
|
19526
19526
|
});
|
|
19527
19527
|
|
|
@@ -20077,6 +20077,8 @@ var Assets_exports = {};
|
|
|
20077
20077
|
__export(Assets_exports, {
|
|
20078
20078
|
base: () => base,
|
|
20079
20079
|
baseSepolia: () => baseSepolia,
|
|
20080
|
+
celo: () => celo,
|
|
20081
|
+
celoSepolia: () => celoSepolia,
|
|
20080
20082
|
define: () => define,
|
|
20081
20083
|
fromToken: () => fromToken,
|
|
20082
20084
|
isAsset: () => isAsset,
|
|
@@ -20164,7 +20166,7 @@ function withTokenDefaults(transfer, token) {
|
|
|
20164
20166
|
name: token.name
|
|
20165
20167
|
};
|
|
20166
20168
|
}
|
|
20167
|
-
var knownAsset, base, baseSepolia;
|
|
20169
|
+
var knownAsset, base, baseSepolia, celo, celoSepolia;
|
|
20168
20170
|
var init_Assets = __esm({
|
|
20169
20171
|
"node_modules/mppx/dist/x402/Assets.js"() {
|
|
20170
20172
|
"use strict";
|
|
@@ -20196,6 +20198,42 @@ var init_Assets = __esm({
|
|
|
20196
20198
|
}
|
|
20197
20199
|
})
|
|
20198
20200
|
};
|
|
20201
|
+
celo = {
|
|
20202
|
+
USDC: define({
|
|
20203
|
+
address: "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
|
|
20204
|
+
decimals: 6,
|
|
20205
|
+
network: "eip155:42220",
|
|
20206
|
+
transfer: {
|
|
20207
|
+
// Celo USDC signs with the shorter EIP-712 domain name.
|
|
20208
|
+
name: "USDC",
|
|
20209
|
+
type: "eip3009",
|
|
20210
|
+
version: "2"
|
|
20211
|
+
}
|
|
20212
|
+
}),
|
|
20213
|
+
USDT: define({
|
|
20214
|
+
address: "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
|
|
20215
|
+
decimals: 6,
|
|
20216
|
+
network: "eip155:42220",
|
|
20217
|
+
transfer: {
|
|
20218
|
+
// Celo USDT signs with domain version "1", unlike Circle's FiatToken "2".
|
|
20219
|
+
name: "Tether USD",
|
|
20220
|
+
type: "eip3009",
|
|
20221
|
+
version: "1"
|
|
20222
|
+
}
|
|
20223
|
+
})
|
|
20224
|
+
};
|
|
20225
|
+
celoSepolia = {
|
|
20226
|
+
USDC: define({
|
|
20227
|
+
address: "0x01C5C0122039549AD1493B8220cABEdD739BC44E",
|
|
20228
|
+
decimals: 6,
|
|
20229
|
+
network: "eip155:11142220",
|
|
20230
|
+
transfer: {
|
|
20231
|
+
name: "USDC",
|
|
20232
|
+
type: "eip3009",
|
|
20233
|
+
version: "2"
|
|
20234
|
+
}
|
|
20235
|
+
})
|
|
20236
|
+
};
|
|
20199
20237
|
}
|
|
20200
20238
|
});
|
|
20201
20239
|
|
|
@@ -20204,6 +20242,8 @@ var Assets_exports2 = {};
|
|
|
20204
20242
|
__export(Assets_exports2, {
|
|
20205
20243
|
base: () => base,
|
|
20206
20244
|
baseSepolia: () => baseSepolia,
|
|
20245
|
+
celo: () => celo,
|
|
20246
|
+
celoSepolia: () => celoSepolia,
|
|
20207
20247
|
define: () => define,
|
|
20208
20248
|
fromToken: () => fromToken,
|
|
20209
20249
|
isAsset: () => isAsset,
|
|
@@ -20225,14 +20265,18 @@ var init_Assets2 = __esm({
|
|
|
20225
20265
|
var Chains_exports = {};
|
|
20226
20266
|
__export(Chains_exports, {
|
|
20227
20267
|
base: () => base2,
|
|
20228
|
-
baseSepolia: () => baseSepolia2
|
|
20268
|
+
baseSepolia: () => baseSepolia2,
|
|
20269
|
+
celo: () => celo2,
|
|
20270
|
+
celoSepolia: () => celoSepolia2
|
|
20229
20271
|
});
|
|
20230
|
-
var base2, baseSepolia2;
|
|
20272
|
+
var base2, baseSepolia2, celo2, celoSepolia2;
|
|
20231
20273
|
var init_Chains = __esm({
|
|
20232
20274
|
"node_modules/mppx/dist/evm/Chains.js"() {
|
|
20233
20275
|
"use strict";
|
|
20234
20276
|
base2 = 8453;
|
|
20235
20277
|
baseSepolia2 = 84532;
|
|
20278
|
+
celo2 = 42220;
|
|
20279
|
+
celoSepolia2 = 11142220;
|
|
20236
20280
|
}
|
|
20237
20281
|
});
|
|
20238
20282
|
|
|
@@ -20904,7 +20948,7 @@ var init_Header = __esm({
|
|
|
20904
20948
|
if (record2.x402Version !== 2 || !Array.isArray(record2.accepts))
|
|
20905
20949
|
throw new InvalidJsonHeaderError();
|
|
20906
20950
|
const resource = ResourceInfoSchema.parse(record2.resource);
|
|
20907
|
-
const extensions = record2.extensions
|
|
20951
|
+
const extensions = record2.extensions !== void 0 ? ExtensionsSchema.safeParse(record2.extensions).data : void 0;
|
|
20908
20952
|
return {
|
|
20909
20953
|
accepts: record2.accepts,
|
|
20910
20954
|
...extensions ? { extensions } : {},
|