@agent-score/commerce 2.7.5 → 2.7.6
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- 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 +2 -2
- package/dist/stripe-multichain/index.js.map +1 -1
- package/dist/stripe-multichain/index.mjs +2 -2
- 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 +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as RecipientLike, T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-C-jTQ7g6.js';
|
|
2
2
|
|
|
3
3
|
/** Detects whether a request is a "settle leg" (carries a payment credential)
|
|
4
4
|
* vs a "discovery leg" (no payment credential, expects a 402).
|
|
@@ -231,4 +231,4 @@ declare function isEvmNetwork(input: NetworkLike): boolean;
|
|
|
231
231
|
* network spec — this helper treats it as false. */
|
|
232
232
|
declare function isSolanaNetwork(input: NetworkLike): boolean;
|
|
233
233
|
|
|
234
|
-
export { type BuildDefaultCheckoutRailsOptions as B, type HeadersLike as H, type MalformedPaymentCredential as M,
|
|
234
|
+
export { type BuildDefaultCheckoutRailsOptions as B, type HeadersLike as H, type MalformedPaymentCredential as M, buildMppxComposeRails as a, buildDefaultCheckoutRails as b, hasPaymentHeader as c, hasX402Header as d, isSolanaNetwork as e, formatUsdCents as f, type BuildMppxComposeRailsOptions as g, hasMppxHeader as h, isEvmNetwork as i, asHeaders as j, loadSolanaFeePayer as l, malformedPaymentCredential as m, readHeader as r, usdToAtomic as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as RecipientLike, T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-C-jTQ7g6.mjs';
|
|
2
2
|
|
|
3
3
|
/** Detects whether a request is a "settle leg" (carries a payment credential)
|
|
4
4
|
* vs a "discovery leg" (no payment credential, expects a 402).
|
|
@@ -231,4 +231,4 @@ declare function isEvmNetwork(input: NetworkLike): boolean;
|
|
|
231
231
|
* network spec — this helper treats it as false. */
|
|
232
232
|
declare function isSolanaNetwork(input: NetworkLike): boolean;
|
|
233
233
|
|
|
234
|
-
export { type BuildDefaultCheckoutRailsOptions as B, type HeadersLike as H, type MalformedPaymentCredential as M,
|
|
234
|
+
export { type BuildDefaultCheckoutRailsOptions as B, type HeadersLike as H, type MalformedPaymentCredential as M, buildMppxComposeRails as a, buildDefaultCheckoutRails as b, hasPaymentHeader as c, hasX402Header as d, isSolanaNetwork as e, formatUsdCents as f, type BuildMppxComposeRailsOptions as g, hasMppxHeader as h, isEvmNetwork as i, asHeaders as j, loadSolanaFeePayer as l, malformedPaymentCredential as m, readHeader as r, usdToAtomic as u };
|
package/dist/payment/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TempoRailSpec, S as SolanaMppRailSpec,
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export { B as BuildX402AcceptsForOptions, C as CreateX402ServerOptions,
|
|
1
|
+
import { T as TempoRailSpec, S as SolanaMppRailSpec, a as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from '../rail_spec-C-jTQ7g6.mjs';
|
|
2
|
+
export { c as RAIL_SPEC_DEFAULTS, R as RecipientLike, r as resolveRecipient } from '../rail_spec-C-jTQ7g6.mjs';
|
|
3
|
+
import { X as X402Server } from '../x402_server-hgQzWQwB.mjs';
|
|
4
|
+
export { B as BuildX402AcceptsForOptions, C as CreateX402ServerOptions, a as X402FacilitatorChoice, b as X402SymbolicRail, c as buildX402AcceptsFor402, d as createX402Server } from '../x402_server-hgQzWQwB.mjs';
|
|
5
5
|
export { a as aliasAmountFields, p as paymentRequiredHeader, w as wwwAuthenticateHeader } from '../wwwauthenticate-Dgm-_af9.mjs';
|
|
6
6
|
import { S as SignerNetwork } from '../signer-3FAit11j.mjs';
|
|
7
7
|
export { P as PaymentSigner, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from '../signer-3FAit11j.mjs';
|
|
8
|
-
export { B as BuildDefaultCheckoutRailsOptions,
|
|
8
|
+
export { B as BuildDefaultCheckoutRailsOptions, g as BuildMppxComposeRailsOptions, H as HeadersLike, M as MalformedPaymentCredential, j as asHeaders, b as buildDefaultCheckoutRails, a as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, c as hasPaymentHeader, d as hasX402Header, i as isEvmNetwork, e as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential, r as readHeader, u as usdToAtomic } from '../network_kind-DmHbQbOb.mjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Build the base64-encoded `request` blob for an MPP Payment directive (per the
|
package/dist/payment/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TempoRailSpec, S as SolanaMppRailSpec,
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export { B as BuildX402AcceptsForOptions, C as CreateX402ServerOptions,
|
|
1
|
+
import { T as TempoRailSpec, S as SolanaMppRailSpec, a as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from '../rail_spec-C-jTQ7g6.js';
|
|
2
|
+
export { c as RAIL_SPEC_DEFAULTS, R as RecipientLike, r as resolveRecipient } from '../rail_spec-C-jTQ7g6.js';
|
|
3
|
+
import { X as X402Server } from '../x402_server-hgQzWQwB.js';
|
|
4
|
+
export { B as BuildX402AcceptsForOptions, C as CreateX402ServerOptions, a as X402FacilitatorChoice, b as X402SymbolicRail, c as buildX402AcceptsFor402, d as createX402Server } from '../x402_server-hgQzWQwB.js';
|
|
5
5
|
export { a as aliasAmountFields, p as paymentRequiredHeader, w as wwwAuthenticateHeader } from '../wwwauthenticate-Dgm-_af9.js';
|
|
6
6
|
import { S as SignerNetwork } from '../signer-3FAit11j.js';
|
|
7
7
|
export { P as PaymentSigner, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from '../signer-3FAit11j.js';
|
|
8
|
-
export { B as BuildDefaultCheckoutRailsOptions,
|
|
8
|
+
export { B as BuildDefaultCheckoutRailsOptions, g as BuildMppxComposeRailsOptions, H as HeadersLike, M as MalformedPaymentCredential, j as asHeaders, b as buildDefaultCheckoutRails, a as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, c as hasPaymentHeader, d as hasX402Header, i as isEvmNetwork, e as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential, r as readHeader, u as usdToAtomic } from '../network_kind-C3NA2wX2.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Build the base64-encoded `request` blob for an MPP Payment directive (per the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-
|
|
1
|
+
import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-C-jTQ7g6.js';
|
|
2
2
|
|
|
3
3
|
interface HowToPayRailEntry {
|
|
4
4
|
setup?: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-
|
|
1
|
+
import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-C-jTQ7g6.mjs';
|
|
2
2
|
|
|
3
3
|
interface HowToPayRailEntry {
|
|
4
4
|
setup?: string[];
|
|
@@ -128,4 +128,4 @@ declare const RAIL_SPEC_DEFAULTS: {
|
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { type RecipientLike as R, type SolanaMppRailSpec as S, type TempoRailSpec as T, type X402BaseRailSpec as X, type TempoSessionRailSpec as a, type StripeRailSpec as b, RAIL_SPEC_DEFAULTS as c, resolveRecipient as r };
|
|
@@ -128,4 +128,4 @@ declare const RAIL_SPEC_DEFAULTS: {
|
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
export {
|
|
131
|
+
export { type RecipientLike as R, type SolanaMppRailSpec as S, type TempoRailSpec as T, type X402BaseRailSpec as X, type TempoSessionRailSpec as a, type StripeRailSpec as b, RAIL_SPEC_DEFAULTS as c, resolveRecipient as r };
|
|
@@ -1008,7 +1008,7 @@ var init_sha256 = __esm({
|
|
|
1008
1008
|
}
|
|
1009
1009
|
});
|
|
1010
1010
|
|
|
1011
|
-
// node_modules/@noble/curves/esm/abstract/utils.js
|
|
1011
|
+
// node_modules/ox/node_modules/@noble/curves/esm/abstract/utils.js
|
|
1012
1012
|
function equalBytes(a, b) {
|
|
1013
1013
|
if (a.length !== b.length)
|
|
1014
1014
|
return false;
|
|
@@ -1019,7 +1019,7 @@ function equalBytes(a, b) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
var hasHexBuiltin;
|
|
1021
1021
|
var init_utils2 = __esm({
|
|
1022
|
-
"node_modules/@noble/curves/esm/abstract/utils.js"() {
|
|
1022
|
+
"node_modules/ox/node_modules/@noble/curves/esm/abstract/utils.js"() {
|
|
1023
1023
|
"use strict";
|
|
1024
1024
|
hasHexBuiltin = // @ts-ignore
|
|
1025
1025
|
typeof Uint8Array.from([]).toHex === "function" && typeof Uint8Array.fromHex === "function";
|