@agent-score/commerce 2.6.8 → 2.7.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.
Files changed (40) hide show
  1. package/README.md +1 -1
  2. package/dist/challenge/index.d.mts +3 -3
  3. package/dist/challenge/index.d.ts +3 -3
  4. package/dist/challenge/index.js.map +1 -1
  5. package/dist/challenge/index.mjs.map +1 -1
  6. package/dist/{checkout-U3tGU1Au.d.ts → checkout-CIH1UcKZ.d.ts} +2 -2
  7. package/dist/{checkout-PjmMESkc.d.mts → checkout-Wc7NUHxZ.d.mts} +2 -2
  8. package/dist/core.js +1 -1
  9. package/dist/core.mjs +1 -1
  10. package/dist/discovery/index.d.mts +4 -4
  11. package/dist/discovery/index.d.ts +4 -4
  12. package/dist/identity/express.js +1 -1
  13. package/dist/identity/express.mjs +1 -1
  14. package/dist/identity/fastify.js +1 -1
  15. package/dist/identity/fastify.mjs +1 -1
  16. package/dist/identity/hono.js +1 -1
  17. package/dist/identity/hono.mjs +1 -1
  18. package/dist/identity/nextjs.js +1 -1
  19. package/dist/identity/nextjs.mjs +1 -1
  20. package/dist/identity/web.js +1 -1
  21. package/dist/identity/web.mjs +1 -1
  22. package/dist/index.d.mts +7 -7
  23. package/dist/index.d.ts +7 -7
  24. package/dist/index.js +1 -3
  25. package/dist/index.js.map +1 -1
  26. package/dist/index.mjs +1 -3
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/{network_kind-D2xpo2Fj.d.mts → network_kind-CLdLbqU5.d.mts} +1 -1
  29. package/dist/{network_kind-BmbWKNud.d.ts → network_kind-toxNABqw.d.ts} +1 -1
  30. package/dist/payment/index.d.mts +3 -3
  31. package/dist/payment/index.d.ts +3 -3
  32. package/dist/payment/index.js +0 -2
  33. package/dist/payment/index.js.map +1 -1
  34. package/dist/payment/index.mjs +0 -2
  35. package/dist/payment/index.mjs.map +1 -1
  36. package/dist/{pricing-CytRwhC2.d.ts → pricing-Dx3F1VAv.d.ts} +1 -1
  37. package/dist/{pricing-KHDqMLd7.d.mts → pricing-sfv3CPiY.d.mts} +1 -1
  38. package/dist/{rail_spec-BFZmW9RN.d.mts → rail_spec-DGdb4Gnd.d.mts} +0 -25
  39. package/dist/{rail_spec-BFZmW9RN.d.ts → rail_spec-DGdb4Gnd.d.ts} +0 -25
  40. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
- import { T as TempoRailSpec, S as SolanaMppRailSpec, c as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from './rail_spec-BFZmW9RN.js';
2
- import { P as PricingBlock, R as RailKey } from './pricing-CytRwhC2.js';
1
+ import { T as TempoRailSpec, S as SolanaMppRailSpec, c as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from './rail_spec-DGdb4Gnd.js';
2
+ import { P as PricingBlock, R as RailKey } from './pricing-Dx3F1VAv.js';
3
3
  import { CreateSessionOnMissing, AgentScoreCoreOptions, DenialReason } from './core.js';
4
4
  import { a as X402Server } from './x402_server-Ciz2mls2.js';
5
5
  import { T as TrustLevel } from './types-D1slMt0H.js';
@@ -1,5 +1,5 @@
1
- import { T as TempoRailSpec, S as SolanaMppRailSpec, c as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from './rail_spec-BFZmW9RN.mjs';
2
- import { P as PricingBlock, R as RailKey } from './pricing-KHDqMLd7.mjs';
1
+ import { T as TempoRailSpec, S as SolanaMppRailSpec, c as TempoSessionRailSpec, b as StripeRailSpec, X as X402BaseRailSpec } from './rail_spec-DGdb4Gnd.mjs';
2
+ import { P as PricingBlock, R as RailKey } from './pricing-sfv3CPiY.mjs';
3
3
  import { CreateSessionOnMissing, AgentScoreCoreOptions, DenialReason } from './core.mjs';
4
4
  import { a as X402Server } from './x402_server-Ciz2mls2.mjs';
5
5
  import { T as TrustLevel } from './types-D1slMt0H.mjs';
package/dist/core.js CHANGED
@@ -227,7 +227,7 @@ function createAgentScoreCore(options) {
227
227
  } = options;
228
228
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
229
229
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
230
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
230
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
231
231
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
232
232
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
233
233
  const sessionSdkCache = /* @__PURE__ */ new Map();
package/dist/core.mjs CHANGED
@@ -209,7 +209,7 @@ function createAgentScoreCore(options) {
209
209
  } = options;
210
210
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
211
211
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
212
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
212
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
213
213
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
214
214
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
215
215
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -1,7 +1,7 @@
1
- import { R as RailKey, C as CompatibleClients } from '../pricing-KHDqMLd7.mjs';
2
- export { g as compatibleClientsByRails } from '../pricing-KHDqMLd7.mjs';
3
- import { C as Checkout, p as UCPServiceBinding, a as AgentScoreGatePolicy } from '../checkout-PjmMESkc.mjs';
4
- import '../rail_spec-BFZmW9RN.mjs';
1
+ import { R as RailKey, C as CompatibleClients } from '../pricing-sfv3CPiY.mjs';
2
+ export { g as compatibleClientsByRails } from '../pricing-sfv3CPiY.mjs';
3
+ import { C as Checkout, p as UCPServiceBinding, a as AgentScoreGatePolicy } from '../checkout-Wc7NUHxZ.mjs';
4
+ import '../rail_spec-DGdb4Gnd.mjs';
5
5
  import '../core.mjs';
6
6
  import '@agent-score/sdk';
7
7
  import '../signer-3FAit11j.mjs';
@@ -1,7 +1,7 @@
1
- import { R as RailKey, C as CompatibleClients } from '../pricing-CytRwhC2.js';
2
- export { g as compatibleClientsByRails } from '../pricing-CytRwhC2.js';
3
- import { C as Checkout, p as UCPServiceBinding, a as AgentScoreGatePolicy } from '../checkout-U3tGU1Au.js';
4
- import '../rail_spec-BFZmW9RN.js';
1
+ import { R as RailKey, C as CompatibleClients } from '../pricing-Dx3F1VAv.js';
2
+ export { g as compatibleClientsByRails } from '../pricing-Dx3F1VAv.js';
3
+ import { C as Checkout, p as UCPServiceBinding, a as AgentScoreGatePolicy } from '../checkout-CIH1UcKZ.js';
4
+ import '../rail_spec-DGdb4Gnd.js';
5
5
  import '../core.js';
6
6
  import '@agent-score/sdk';
7
7
  import '../signer-3FAit11j.js';
@@ -920,7 +920,7 @@ function createAgentScoreCore(options) {
920
920
  } = options;
921
921
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
922
922
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
923
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
923
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
924
924
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
925
925
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
926
926
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -892,7 +892,7 @@ function createAgentScoreCore(options) {
892
892
  } = options;
893
893
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
894
894
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
895
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
895
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
896
896
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
897
897
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
898
898
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -921,7 +921,7 @@ function createAgentScoreCore(options) {
921
921
  } = options;
922
922
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
923
923
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
924
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
924
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
925
925
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
926
926
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
927
927
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -892,7 +892,7 @@ function createAgentScoreCore(options) {
892
892
  } = options;
893
893
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
894
894
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
895
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
895
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
896
896
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
897
897
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
898
898
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -901,7 +901,7 @@ function createAgentScoreCore(options) {
901
901
  } = options;
902
902
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
903
903
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
904
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
904
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
905
905
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
906
906
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
907
907
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -873,7 +873,7 @@ function createAgentScoreCore(options) {
873
873
  } = options;
874
874
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
875
875
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
876
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
876
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
877
877
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
878
878
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
879
879
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -922,7 +922,7 @@ function createAgentScoreCore(options) {
922
922
  } = options;
923
923
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
924
924
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
925
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
925
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
926
926
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
927
927
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
928
928
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -897,7 +897,7 @@ function createAgentScoreCore(options) {
897
897
  } = options;
898
898
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
899
899
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
900
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
900
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
901
901
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
902
902
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
903
903
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -898,7 +898,7 @@ function createAgentScoreCore(options) {
898
898
  } = options;
899
899
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
900
900
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
901
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
901
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
902
902
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
903
903
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
904
904
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -873,7 +873,7 @@ function createAgentScoreCore(options) {
873
873
  } = options;
874
874
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
875
875
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
876
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
876
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
877
877
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
878
878
  const sdk = new AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
879
879
  const sessionSdkCache = /* @__PURE__ */ new Map();
package/dist/index.d.mts CHANGED
@@ -1,20 +1,20 @@
1
1
  import { VerifyWalletSignerResult, DenialReason } from './core.mjs';
2
2
  export { AccountVerification, AgentIdentity, AgentMemoryHint, AgentScoreCore, AssessResult, CreateSessionOnMissing, DenialCode, EvaluateOutcome, OperatorVerification, PolicyCheck, PolicyResult, SignerVerdict, buildAgentMemoryHint } from './core.mjs';
3
3
  export { P as PaymentSigner, S as SignerNetwork, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from './signer-3FAit11j.mjs';
4
- import { q as UCPSigningKey, n as UCPProfile } from './checkout-PjmMESkc.mjs';
5
- export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildAipTrustedIssuers, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-PjmMESkc.mjs';
4
+ import { q as UCPSigningKey, n as UCPProfile } from './checkout-Wc7NUHxZ.mjs';
5
+ export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildAipTrustedIssuers, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-Wc7NUHxZ.mjs';
6
6
  export { EnforcementMode, GateResult, IdentityStatus, PolicyBlock, buildGateFromPolicy, runGateWithEnforcement, shippingCountryAllowed, shippingStateAllowed, validateShippingAgainstPolicy } from './identity/policy.mjs';
7
- import { H as HeadersLike } from './network_kind-D2xpo2Fj.mjs';
8
- export { M as MalformedPaymentCredential, c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, i as isEvmNetwork, j as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential } from './network_kind-D2xpo2Fj.mjs';
9
- import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-BFZmW9RN.mjs';
10
- export { c as TempoSessionRailSpec } from './rail_spec-BFZmW9RN.mjs';
7
+ import { H as HeadersLike } from './network_kind-CLdLbqU5.mjs';
8
+ export { M as MalformedPaymentCredential, c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, i as isEvmNetwork, j as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential } from './network_kind-CLdLbqU5.mjs';
9
+ import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-DGdb4Gnd.mjs';
10
+ export { c as TempoSessionRailSpec } from './rail_spec-DGdb4Gnd.mjs';
11
11
  import { Context } from 'hono';
12
12
  import { l as VerifyRequestContext } from './gate-GCXy4FHI.mjs';
13
13
  export { A as AGENTSCORE_CANONICAL_ISSUER, a as AGENT_IDENTITY_HEADER, b as AipErrorRequirements, c as AipGateEvaluation, d as AipGateOptions, e as AipGateResult, H as HARD_MAX_CACHE_SECONDS, J as JWKS_WELL_KNOWN_PATH, f as JwksCache, g as JwksCacheOptions, h as JwksLookupResult, V as VerifiedAit, i as VerifyAitFailure, j as VerifyAitOptions, k as VerifyAitResult, m as aipErrorCode, n as aipErrorStatus, o as buildAipErrorBody, p as buildAipWeakAuthBody, q as canonicalizeIssuer, r as checkTrustRequirements, s as evaluateAipParts, t as evaluateAipRequest, v as verifyAit, u as verifyAitRequest } from './gate-GCXy4FHI.mjs';
14
14
  import { JWK } from 'jose';
15
15
  export { A as AitHeader, a as AitPayload, b as AitValidationResult, c as AmrValue, I as IdentityClaim, d as IntentClaim, T as TrustLevel, i as isAitShape, v as validateAitPayload } from './types-D1slMt0H.mjs';
16
16
  import '@agent-score/sdk';
17
- import './pricing-KHDqMLd7.mjs';
17
+ import './pricing-sfv3CPiY.mjs';
18
18
  import './x402_server-Ciz2mls2.mjs';
19
19
 
20
20
  /**
package/dist/index.d.ts CHANGED
@@ -1,20 +1,20 @@
1
1
  import { VerifyWalletSignerResult, DenialReason } from './core.js';
2
2
  export { AccountVerification, AgentIdentity, AgentMemoryHint, AgentScoreCore, AssessResult, CreateSessionOnMissing, DenialCode, EvaluateOutcome, OperatorVerification, PolicyCheck, PolicyResult, SignerVerdict, buildAgentMemoryHint } from './core.js';
3
3
  export { P as PaymentSigner, S as SignerNetwork, e as extractPaymentSigner, a as extractPaymentSignerFromAuth, b as extractSignerForPrecheck, r as readX402PaymentHeader } from './signer-3FAit11j.js';
4
- import { q as UCPSigningKey, n as UCPProfile } from './checkout-U3tGU1Au.js';
5
- export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildAipTrustedIssuers, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-U3tGU1Au.js';
4
+ import { q as UCPSigningKey, n as UCPProfile } from './checkout-CIH1UcKZ.js';
5
+ export { A as AGENTSCORE_UCP_CAPABILITY, a as AgentScoreGatePolicy, C as Checkout, b as CheckoutContext, c as CheckoutGateConfig, d as CheckoutRailSpec, e as CheckoutRequest, f as CheckoutResult, g as ComposeMppxFn, D as DiscoveryProbeConfig, G as GateDenial, I as IsCachedAddressFn, M as MountUcpRoutesOptions, h as MppxComposeOutcome, O as OnSettledFn, P as PreValidateFn, i as PricingFn, j as PricingResult, R as RecipientsFn, k as ReferenceIdFn, l as RunGateFn, S as SettleOutcome, U as UCPCapabilityBinding, m as UCPPaymentHandlerBinding, o as UCPProfileBody, p as UCPServiceBinding, r as buildAipTrustedIssuers, s as buildUCPProfile, t as getIdentityStatus, u as makeMppxComposeHook, v as mppPaymentHandler, w as pricingResult, x as stripeSptPaymentHandler, y as validationEnvelope, z as validationResponseExpress, B as validationResponseFastify, E as validationResponseHono, F as validationResponseNextjs, H as validationResponseWeb, J as x402PaymentHandler } from './checkout-CIH1UcKZ.js';
6
6
  export { EnforcementMode, GateResult, IdentityStatus, PolicyBlock, buildGateFromPolicy, runGateWithEnforcement, shippingCountryAllowed, shippingStateAllowed, validateShippingAgainstPolicy } from './identity/policy.js';
7
- import { H as HeadersLike } from './network_kind-BmbWKNud.js';
8
- export { M as MalformedPaymentCredential, c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, i as isEvmNetwork, j as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential } from './network_kind-BmbWKNud.js';
9
- import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-BFZmW9RN.js';
10
- export { c as TempoSessionRailSpec } from './rail_spec-BFZmW9RN.js';
7
+ import { H as HeadersLike } from './network_kind-toxNABqw.js';
8
+ export { M as MalformedPaymentCredential, c as buildDefaultCheckoutRails, d as buildMppxComposeRails, f as formatUsdCents, h as hasMppxHeader, e as hasPaymentHeader, g as hasX402Header, i as isEvmNetwork, j as isSolanaNetwork, l as loadSolanaFeePayer, m as malformedPaymentCredential } from './network_kind-toxNABqw.js';
9
+ import { T as TempoRailSpec, X as X402BaseRailSpec, S as SolanaMppRailSpec, b as StripeRailSpec } from './rail_spec-DGdb4Gnd.js';
10
+ export { c as TempoSessionRailSpec } from './rail_spec-DGdb4Gnd.js';
11
11
  import { Context } from 'hono';
12
12
  import { l as VerifyRequestContext } from './gate-D2RP6bZg.js';
13
13
  export { A as AGENTSCORE_CANONICAL_ISSUER, a as AGENT_IDENTITY_HEADER, b as AipErrorRequirements, c as AipGateEvaluation, d as AipGateOptions, e as AipGateResult, H as HARD_MAX_CACHE_SECONDS, J as JWKS_WELL_KNOWN_PATH, f as JwksCache, g as JwksCacheOptions, h as JwksLookupResult, V as VerifiedAit, i as VerifyAitFailure, j as VerifyAitOptions, k as VerifyAitResult, m as aipErrorCode, n as aipErrorStatus, o as buildAipErrorBody, p as buildAipWeakAuthBody, q as canonicalizeIssuer, r as checkTrustRequirements, s as evaluateAipParts, t as evaluateAipRequest, v as verifyAit, u as verifyAitRequest } from './gate-D2RP6bZg.js';
14
14
  import { JWK } from 'jose';
15
15
  export { A as AitHeader, a as AitPayload, b as AitValidationResult, c as AmrValue, I as IdentityClaim, d as IntentClaim, T as TrustLevel, i as isAitShape, v as validateAitPayload } from './types-D1slMt0H.js';
16
16
  import '@agent-score/sdk';
17
- import './pricing-CytRwhC2.js';
17
+ import './pricing-Dx3F1VAv.js';
18
18
  import './x402_server-Ciz2mls2.js';
19
19
 
20
20
  /**
package/dist/index.js CHANGED
@@ -22666,7 +22666,7 @@ function createAgentScoreCore(options) {
22666
22666
  } = options;
22667
22667
  const baseUrl = stripTrailingSlashes(rawBaseUrl);
22668
22668
  const agentMemoryHint = buildAgentMemoryHint(aipTrustedIssuers);
22669
- const defaultUa = `@agent-score/commerce@${"2.6.8"}`;
22669
+ const defaultUa = `@agent-score/commerce@${"2.7.0"}`;
22670
22670
  const userAgentHeader = userAgent ? `${userAgent} (${defaultUa})` : defaultUa;
22671
22671
  const sdk = new import_sdk.AgentScore({ apiKey, baseUrl, userAgent: userAgentHeader });
22672
22672
  const sessionSdkCache = /* @__PURE__ */ new Map();
@@ -24819,13 +24819,11 @@ async function registerSolana(spec) {
24819
24819
  "createMppxServer: SolanaMppRailSpec requires a string recipient (per-order factories not supported here)."
24820
24820
  );
24821
24821
  }
24822
- const ataCreationRequired = spec.ataCreationRequired !== false;
24823
24822
  const baseMethod = solanaMpp.charge({
24824
24823
  recipient: spec.recipient,
24825
24824
  currency: spec.token ?? defaultMint,
24826
24825
  decimals: spec.decimals ?? defaultDecimals,
24827
24826
  network,
24828
- ...ataCreationRequired ? { splits: [{ recipient: spec.recipient, amount: "0", ataCreationRequired: true }] } : {},
24829
24827
  ...spec.rpcUrl ? { rpcUrl: spec.rpcUrl } : {},
24830
24828
  ...spec.signer ? { signer: spec.signer } : {},
24831
24829
  ...spec.tokenProgram ? { tokenProgram: spec.tokenProgram } : {}