@astrasyncai/verification-gateway 4.0.0 → 4.2.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.
- package/README.md +106 -29
- package/dist/adapter-interface/interface.d.mts +2 -2
- package/dist/adapter-interface/interface.d.ts +2 -2
- package/dist/adapters/express.d.mts +2 -2
- package/dist/adapters/express.d.ts +2 -2
- package/dist/adapters/express.js +398 -15
- package/dist/adapters/express.js.map +1 -1
- package/dist/adapters/express.mjs +398 -15
- package/dist/adapters/express.mjs.map +1 -1
- package/dist/adapters/http-pdlss.d.mts +3 -3
- package/dist/adapters/http-pdlss.d.ts +3 -3
- package/dist/adapters/http-pdlss.js.map +1 -1
- package/dist/adapters/http-pdlss.mjs.map +1 -1
- package/dist/adapters/mcp.d.mts +56 -36
- package/dist/adapters/mcp.d.ts +56 -36
- package/dist/adapters/mcp.js +220 -3
- package/dist/adapters/mcp.js.map +1 -1
- package/dist/adapters/mcp.mjs +220 -3
- package/dist/adapters/mcp.mjs.map +1 -1
- package/dist/adapters/nextjs.d.mts +2 -2
- package/dist/adapters/nextjs.d.ts +2 -2
- package/dist/adapters/nextjs.js +433 -18
- package/dist/adapters/nextjs.js.map +1 -1
- package/dist/adapters/nextjs.mjs +433 -18
- package/dist/adapters/nextjs.mjs.map +1 -1
- package/dist/adapters/sdk.d.mts +2 -2
- package/dist/adapters/sdk.d.ts +2 -2
- package/dist/adapters/sdk.js +2 -2
- package/dist/adapters/sdk.js.map +1 -1
- package/dist/adapters/sdk.mjs +2 -2
- package/dist/adapters/sdk.mjs.map +1 -1
- package/dist/agent/index.d.mts +2 -2
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/index.mjs.map +1 -1
- package/dist/bin/astrasync-claude-hook.js +13 -13
- package/dist/bin/astrasync-codex-hook.js +13 -13
- package/dist/bin/astrasync-guard.js +100 -13
- package/dist/bin/astrasync.js +168 -27
- package/dist/browser/background.js +13 -13
- package/dist/browser/background.js.map +1 -1
- package/dist/browser/background.mjs +13 -13
- package/dist/browser/background.mjs.map +1 -1
- package/dist/browser/browser-adapter.d.mts +2 -2
- package/dist/browser/browser-adapter.d.ts +2 -2
- package/dist/claude-code/claude-code-adapter.d.mts +2 -2
- package/dist/claude-code/claude-code-adapter.d.ts +2 -2
- package/dist/cli/index.d.mts +2 -2
- package/dist/cli/index.d.ts +2 -2
- package/dist/codex/index.d.mts +3 -3
- package/dist/codex/index.d.ts +3 -3
- package/dist/codex/index.js +24 -13
- package/dist/codex/index.js.map +1 -1
- package/dist/codex/index.mjs +24 -13
- package/dist/codex/index.mjs.map +1 -1
- package/dist/cursor/cursor-adapter.d.mts +2 -2
- package/dist/cursor/cursor-adapter.d.ts +2 -2
- package/dist/cursor/extension.d.mts +2 -2
- package/dist/cursor/extension.d.ts +2 -2
- package/dist/cursor/extension.js +13 -13
- package/dist/cursor/extension.js.map +1 -1
- package/dist/cursor/extension.mjs +13 -13
- package/dist/cursor/extension.mjs.map +1 -1
- package/dist/edge-config.d.mts +22 -7
- package/dist/edge-config.d.ts +22 -7
- package/dist/edge-config.js.map +1 -1
- package/dist/edge-config.mjs.map +1 -1
- package/dist/edge-core/index.d.mts +425 -0
- package/dist/edge-core/index.d.ts +425 -0
- package/dist/edge-core/index.js +1482 -0
- package/dist/edge-core/index.js.map +1 -0
- package/dist/edge-core/index.mjs +1437 -0
- package/dist/edge-core/index.mjs.map +1 -0
- package/dist/{express-BZajRs4i.d.mts → express-BVd1_3FE.d.ts} +9 -7
- package/dist/{express-CjCUB1k7.d.ts → express-D_4hTn5Z.d.mts} +9 -7
- package/dist/gateway/gateway.d.mts +2 -2
- package/dist/gateway/gateway.d.ts +2 -2
- package/dist/gateway/gateway.js +13 -13
- package/dist/gateway/gateway.js.map +1 -1
- package/dist/gateway/gateway.mjs +13 -13
- package/dist/gateway/gateway.mjs.map +1 -1
- package/dist/git-trigger/git-hooks.d.mts +2 -2
- package/dist/git-trigger/git-hooks.d.ts +2 -2
- package/dist/{index-adgKhujR.d.ts → index-B0YHu_SP.d.ts} +30 -27
- package/dist/{index-B0cyMZDL.d.mts → index-BPEBlOsE.d.mts} +30 -27
- package/dist/{index-BRYteOqO.d.mts → index-DQb5-_1X.d.mts} +1 -1
- package/dist/{index-BZQdVqNw.d.ts → index-T1aBoUcc.d.ts} +1 -1
- package/dist/index.d.mts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +477 -265
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +474 -265
- package/dist/index.mjs.map +1 -1
- package/dist/local-evaluator/evaluator.d.mts +2 -2
- package/dist/local-evaluator/evaluator.d.ts +2 -2
- package/dist/metadata-capture.d.mts +63 -4
- package/dist/metadata-capture.d.ts +63 -4
- package/dist/metadata-capture.js +67 -0
- package/dist/metadata-capture.js.map +1 -1
- package/dist/metadata-capture.mjs +64 -0
- package/dist/metadata-capture.mjs.map +1 -1
- package/dist/{nextjs-DeUTnOBd.d.mts → nextjs-WyeVr2Kp.d.mts} +3 -3
- package/dist/{nextjs-D_iFf5k-.d.ts → nextjs-w7RTbP1P.d.ts} +3 -3
- package/dist/platform-signatures.d.mts +5 -6
- package/dist/platform-signatures.d.ts +5 -6
- package/dist/platform-signatures.js.map +1 -1
- package/dist/platform-signatures.mjs.map +1 -1
- package/dist/registration/index.d.mts +10 -11
- package/dist/registration/index.d.ts +10 -11
- package/dist/registration/index.js.map +1 -1
- package/dist/registration/index.mjs.map +1 -1
- package/dist/{sdk-BM3mwEAq.d.ts → sdk-CbTNIkAa.d.mts} +4 -4
- package/dist/{sdk-_il1Q41f.d.mts → sdk-QeX0Z8Ho.d.ts} +4 -4
- package/dist/transport/index.d.mts +2 -2
- package/dist/transport/index.d.ts +2 -2
- package/dist/transport/index.js.map +1 -1
- package/dist/transport/index.mjs.map +1 -1
- package/dist/{types-CHKCgDFC.d.ts → types-BLUx92FJ.d.ts} +1 -1
- package/dist/{types-DfnP7JiM.d.mts → types-DqfPU5Bl.d.mts} +1 -1
- package/dist/{types-BcDf9Kk0.d.mts → types-r850cOt0.d.mts} +106 -88
- package/dist/{types-fTQD448H.d.ts → types-sMxBT-nM.d.ts} +106 -88
- package/dist/ui/index.d.mts +11 -7
- package/dist/ui/index.d.ts +11 -7
- package/dist/ui/index.js +13 -9
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +10 -8
- package/dist/ui/index.mjs.map +1 -1
- package/dist/verify.d.mts +8 -7
- package/dist/verify.d.ts +8 -7
- package/dist/verify.js +1 -1
- package/dist/verify.js.map +1 -1
- package/dist/verify.mjs +1 -1
- package/dist/verify.mjs.map +1 -1
- package/package.json +8 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AstraSyncGateway } from '../gateway/gateway.mjs';
|
|
2
|
-
import { V as VerificationDecision, P as PDLSSContext } from '../types-
|
|
3
|
-
import '../types-
|
|
2
|
+
import { V as VerificationDecision, P as PDLSSContext } from '../types-DqfPU5Bl.mjs';
|
|
3
|
+
import '../types-r850cOt0.mjs';
|
|
4
4
|
import '../metadata-capture.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AstraSyncGateway } from '../gateway/gateway.js';
|
|
2
|
-
import { V as VerificationDecision, P as PDLSSContext } from '../types-
|
|
3
|
-
import '../types-
|
|
2
|
+
import { V as VerificationDecision, P as PDLSSContext } from '../types-BLUx92FJ.js';
|
|
3
|
+
import '../types-sMxBT-nM.js';
|
|
4
4
|
import '../metadata-capture.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AstraSyncCredentials, m as ProtocolTransport } from './types-
|
|
1
|
+
import { c as AstraSyncCredentials, m as ProtocolTransport } from './types-sMxBT-nM.js';
|
|
2
2
|
import { JWK } from 'jose';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -57,7 +57,7 @@ declare function extractMcpCredentials(params: McpParams): AstraSyncCredentials
|
|
|
57
57
|
/**
|
|
58
58
|
* Protocol request -> AstraSync PDLSS purpose category mapping.
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
* Commerce purpose mapping table, extended with MPP + x402
|
|
61
61
|
* entries (April 2026 protocol landscape).
|
|
62
62
|
*/
|
|
63
63
|
type CommercePurpose = 'commerce.checkout.create' | 'commerce.checkout.update' | 'commerce.checkout.confirm' | 'commerce.checkout.cancel' | 'commerce.payment.execute' | 'commerce.payment.stream' | 'commerce.delegation.intent' | 'commerce.delegation.checkout' | 'commerce.delegation.payment' | 'commerce.identity_probe' | 'commerce.browsing';
|
|
@@ -158,7 +158,8 @@ declare function extractX402TransactionValue(req: X402RequestForValue): Transact
|
|
|
158
158
|
* RFC 9421 HTTP Message Signatures parser.
|
|
159
159
|
*
|
|
160
160
|
* Wraps `structured-headers` (transitive dep of http-message-signatures) to
|
|
161
|
-
* parse the Signature-Input and Signature Dictionary headers per RFC 9421
|
|
161
|
+
* parse the Signature-Input and Signature Dictionary headers per RFC 9421
|
|
162
|
+
* Section 2.
|
|
162
163
|
*
|
|
163
164
|
* Produces structured metadata (kid, algorithm, covered components, tag,
|
|
164
165
|
* created/expires/nonce, signature bytes) without verifying the signature —
|
|
@@ -177,7 +178,7 @@ interface RFC9421SignatureParams {
|
|
|
177
178
|
kid: string;
|
|
178
179
|
/** Algorithm declared in the Signature-Input params (e.g. "ecdsa-p256-sha256", "ed25519"). */
|
|
179
180
|
alg?: string;
|
|
180
|
-
/** Covered components, in order, per RFC 9421
|
|
181
|
+
/** Covered components, in order, per RFC 9421 Section 2.1. */
|
|
181
182
|
covered: string[];
|
|
182
183
|
/** Base64url-encoded signature bytes extracted from the paired Signature header. */
|
|
183
184
|
signatureBase64: string;
|
|
@@ -214,9 +215,9 @@ interface ResolveContext {
|
|
|
214
215
|
/**
|
|
215
216
|
* Shared nonce/signature replay-protection store for transport verifiers.
|
|
216
217
|
*
|
|
217
|
-
*
|
|
218
|
-
* MPP) validates a created/expires window but
|
|
219
|
-
* cache
|
|
218
|
+
* Rationale: every transport-signature verifier (RFC9421, VI, AP2, ACP,
|
|
219
|
+
* MPP) validates a created/expires window, but without a seen-nonce
|
|
220
|
+
* cache any captured signed request can be replayed within the (default
|
|
220
221
|
* 300s, now tightened to 60s) tolerance window.
|
|
221
222
|
*
|
|
222
223
|
* This module ships a bounded in-memory LRU as the default. Production
|
|
@@ -264,11 +265,11 @@ interface RFC9421VerifyRequest {
|
|
|
264
265
|
}
|
|
265
266
|
interface RFC9421VerifyOptions {
|
|
266
267
|
resolver: RegistryResolver;
|
|
267
|
-
/** Seconds of tolerance around created/expires. Default 60 (
|
|
268
|
+
/** Seconds of tolerance around created/expires. Default 60 (tightened from 300). */
|
|
268
269
|
clockSkewSec?: number;
|
|
269
270
|
/** Injectable for deterministic tests. */
|
|
270
271
|
now?: () => number;
|
|
271
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
272
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
272
273
|
nonceStore?: NonceStore;
|
|
273
274
|
}
|
|
274
275
|
interface RFC9421VerifyResult {
|
|
@@ -502,8 +503,8 @@ declare function verifyStripeWebhook(payload: string, signatureHeader: string |
|
|
|
502
503
|
* against a transaction context.
|
|
503
504
|
*
|
|
504
505
|
* Types 5/6/7 (budget, recurrence, agent_recurrence) extract through but
|
|
505
|
-
* enforcement is deferred to the cross-merchant budget service
|
|
506
|
-
*
|
|
506
|
+
* enforcement is deferred to the cross-merchant budget service.
|
|
507
|
+
* This module returns per-constraint {ok, reason} results
|
|
507
508
|
* so a policy layer can decide hard-deny vs trust-signal.
|
|
508
509
|
*/
|
|
509
510
|
|
|
@@ -722,8 +723,8 @@ declare function extractAP2Mandates(input: AP2MandateTripleInput): AP2MandateTri
|
|
|
722
723
|
interface AP2VerifyInput {
|
|
723
724
|
triple: AP2MandateTriple;
|
|
724
725
|
/**
|
|
725
|
-
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
726
|
-
*
|
|
726
|
+
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
727
|
+
* (tightened from the previous 300s default).
|
|
727
728
|
*/
|
|
728
729
|
clockSkewSec?: number;
|
|
729
730
|
now?: () => number;
|
|
@@ -731,7 +732,6 @@ interface AP2VerifyInput {
|
|
|
731
732
|
* Optional replay-protection store. Defaults to in-process LRU. When the
|
|
732
733
|
* payment mandate carries an id, this verifier registers it as seen so
|
|
733
734
|
* the same payment mandate replayed within the expiry window is rejected.
|
|
734
|
-
* Audit F-A1-05.
|
|
735
735
|
*/
|
|
736
736
|
nonceStore?: NonceStore;
|
|
737
737
|
}
|
|
@@ -780,11 +780,11 @@ interface ACPVerifyInput {
|
|
|
780
780
|
jwk: JWK;
|
|
781
781
|
alg?: ACPSignatureAlgorithm | string;
|
|
782
782
|
}>;
|
|
783
|
-
/** Clock skew tolerance in seconds (default 60,
|
|
783
|
+
/** Clock skew tolerance in seconds (default 60, tightened from 300). */
|
|
784
784
|
clockSkewSec?: number;
|
|
785
785
|
/** Injectable now for tests. */
|
|
786
786
|
now?: () => number;
|
|
787
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
787
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
788
788
|
nonceStore?: NonceStore;
|
|
789
789
|
}
|
|
790
790
|
interface ACPVerifyResult {
|
|
@@ -917,11 +917,11 @@ interface MPPVerifyInput {
|
|
|
917
917
|
context: MPPRequestContext;
|
|
918
918
|
/** Raw request body to validate BodyDigest against, if the challenge declares one. */
|
|
919
919
|
rawBody?: string;
|
|
920
|
-
/** Seconds of clock-skew tolerance on challenge.expires. Default 60
|
|
920
|
+
/** Seconds of clock-skew tolerance on challenge.expires. Default 60. */
|
|
921
921
|
clockSkewSec?: number;
|
|
922
922
|
/** Injectable for deterministic tests. */
|
|
923
923
|
now?: () => number;
|
|
924
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
924
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
925
925
|
nonceStore?: NonceStore;
|
|
926
926
|
}
|
|
927
927
|
interface MPPVerifyResult {
|
|
@@ -1046,7 +1046,7 @@ interface VILayer {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
interface VIVerifyInput {
|
|
1048
1048
|
/**
|
|
1049
|
-
* Layers in chain order. L1 is REQUIRED by default
|
|
1049
|
+
* Layers in chain order. L1 is REQUIRED by default —
|
|
1050
1050
|
* without L1 there is no chain root and L2 can be verified against any
|
|
1051
1051
|
* attacker-supplied key. Callers who have resolved L2's signing key by
|
|
1052
1052
|
* a trusted out-of-band mechanism (wallet binding, prior protocol step)
|
|
@@ -1066,14 +1066,14 @@ interface VIVerifyInput {
|
|
|
1066
1066
|
*/
|
|
1067
1067
|
verifySignature: (layer: VILayer, expectedKey: JWK | null) => Promise<boolean>;
|
|
1068
1068
|
/**
|
|
1069
|
-
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
1070
|
-
*
|
|
1069
|
+
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
1070
|
+
* (tightened from the previous 300s default).
|
|
1071
1071
|
*/
|
|
1072
1072
|
clockSkewSec?: number;
|
|
1073
1073
|
now?: () => number;
|
|
1074
1074
|
/**
|
|
1075
|
-
* Explicit opt-in to verify a chain with L1 omitted.
|
|
1076
|
-
*
|
|
1075
|
+
* Explicit opt-in to verify a chain with L1 omitted.
|
|
1076
|
+
* Defaults to false. When true, `expectedL2Key` MUST also be supplied
|
|
1077
1077
|
* (used as the expected signing key for L2 verification).
|
|
1078
1078
|
*/
|
|
1079
1079
|
allowUnboundChain?: boolean;
|
|
@@ -1106,8 +1106,10 @@ declare function verifyVIChain(input: VIVerifyInput): Promise<VIVerifyResult>;
|
|
|
1106
1106
|
* evaluation + trust signals into a single CommerceContext result.
|
|
1107
1107
|
*
|
|
1108
1108
|
* This is AstraSync whitespace: the orchestration over the library-backed
|
|
1109
|
-
* primitives.
|
|
1110
|
-
* the
|
|
1109
|
+
* primitives. The backend verify-access service is the sole per-request
|
|
1110
|
+
* caller — the edge adapters forward raw artifacts to verify-access and
|
|
1111
|
+
* never call this module directly. The admin transport playground also
|
|
1112
|
+
* calls it ad-hoc.
|
|
1111
1113
|
*
|
|
1112
1114
|
* Policy:
|
|
1113
1115
|
* - Hard-deny (ok=false) on bad signatures, expired mandates, constraint
|
|
@@ -1201,10 +1203,11 @@ interface CommerceContext {
|
|
|
1201
1203
|
declare function runCommercePipeline(input: CommercePipelineInput): Promise<CommerceContext>;
|
|
1202
1204
|
|
|
1203
1205
|
/**
|
|
1204
|
-
* Pluggable extractor registry for
|
|
1206
|
+
* Pluggable extractor registry for the Trusted Agent Gateway edge
|
|
1207
|
+
* adapters and other callers that need a curated extractor set.
|
|
1205
1208
|
*
|
|
1206
1209
|
* Built-in extractors (VI, UCP, ACP, RFC 9421, MPP, x402, Stripe webhook)
|
|
1207
|
-
* are NOT auto-registered.
|
|
1210
|
+
* are NOT auto-registered. A caller imports this module, picks the set
|
|
1208
1211
|
* it wants, and calls registerTransportExtractor() for each.
|
|
1209
1212
|
*
|
|
1210
1213
|
* Re-registering by name replaces the prior extractor (idempotent).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AstraSyncCredentials, m as ProtocolTransport } from './types-
|
|
1
|
+
import { c as AstraSyncCredentials, m as ProtocolTransport } from './types-r850cOt0.mjs';
|
|
2
2
|
import { JWK } from 'jose';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -57,7 +57,7 @@ declare function extractMcpCredentials(params: McpParams): AstraSyncCredentials
|
|
|
57
57
|
/**
|
|
58
58
|
* Protocol request -> AstraSync PDLSS purpose category mapping.
|
|
59
59
|
*
|
|
60
|
-
*
|
|
60
|
+
* Commerce purpose mapping table, extended with MPP + x402
|
|
61
61
|
* entries (April 2026 protocol landscape).
|
|
62
62
|
*/
|
|
63
63
|
type CommercePurpose = 'commerce.checkout.create' | 'commerce.checkout.update' | 'commerce.checkout.confirm' | 'commerce.checkout.cancel' | 'commerce.payment.execute' | 'commerce.payment.stream' | 'commerce.delegation.intent' | 'commerce.delegation.checkout' | 'commerce.delegation.payment' | 'commerce.identity_probe' | 'commerce.browsing';
|
|
@@ -158,7 +158,8 @@ declare function extractX402TransactionValue(req: X402RequestForValue): Transact
|
|
|
158
158
|
* RFC 9421 HTTP Message Signatures parser.
|
|
159
159
|
*
|
|
160
160
|
* Wraps `structured-headers` (transitive dep of http-message-signatures) to
|
|
161
|
-
* parse the Signature-Input and Signature Dictionary headers per RFC 9421
|
|
161
|
+
* parse the Signature-Input and Signature Dictionary headers per RFC 9421
|
|
162
|
+
* Section 2.
|
|
162
163
|
*
|
|
163
164
|
* Produces structured metadata (kid, algorithm, covered components, tag,
|
|
164
165
|
* created/expires/nonce, signature bytes) without verifying the signature —
|
|
@@ -177,7 +178,7 @@ interface RFC9421SignatureParams {
|
|
|
177
178
|
kid: string;
|
|
178
179
|
/** Algorithm declared in the Signature-Input params (e.g. "ecdsa-p256-sha256", "ed25519"). */
|
|
179
180
|
alg?: string;
|
|
180
|
-
/** Covered components, in order, per RFC 9421
|
|
181
|
+
/** Covered components, in order, per RFC 9421 Section 2.1. */
|
|
181
182
|
covered: string[];
|
|
182
183
|
/** Base64url-encoded signature bytes extracted from the paired Signature header. */
|
|
183
184
|
signatureBase64: string;
|
|
@@ -214,9 +215,9 @@ interface ResolveContext {
|
|
|
214
215
|
/**
|
|
215
216
|
* Shared nonce/signature replay-protection store for transport verifiers.
|
|
216
217
|
*
|
|
217
|
-
*
|
|
218
|
-
* MPP) validates a created/expires window but
|
|
219
|
-
* cache
|
|
218
|
+
* Rationale: every transport-signature verifier (RFC9421, VI, AP2, ACP,
|
|
219
|
+
* MPP) validates a created/expires window, but without a seen-nonce
|
|
220
|
+
* cache any captured signed request can be replayed within the (default
|
|
220
221
|
* 300s, now tightened to 60s) tolerance window.
|
|
221
222
|
*
|
|
222
223
|
* This module ships a bounded in-memory LRU as the default. Production
|
|
@@ -264,11 +265,11 @@ interface RFC9421VerifyRequest {
|
|
|
264
265
|
}
|
|
265
266
|
interface RFC9421VerifyOptions {
|
|
266
267
|
resolver: RegistryResolver;
|
|
267
|
-
/** Seconds of tolerance around created/expires. Default 60 (
|
|
268
|
+
/** Seconds of tolerance around created/expires. Default 60 (tightened from 300). */
|
|
268
269
|
clockSkewSec?: number;
|
|
269
270
|
/** Injectable for deterministic tests. */
|
|
270
271
|
now?: () => number;
|
|
271
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
272
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
272
273
|
nonceStore?: NonceStore;
|
|
273
274
|
}
|
|
274
275
|
interface RFC9421VerifyResult {
|
|
@@ -502,8 +503,8 @@ declare function verifyStripeWebhook(payload: string, signatureHeader: string |
|
|
|
502
503
|
* against a transaction context.
|
|
503
504
|
*
|
|
504
505
|
* Types 5/6/7 (budget, recurrence, agent_recurrence) extract through but
|
|
505
|
-
* enforcement is deferred to the cross-merchant budget service
|
|
506
|
-
*
|
|
506
|
+
* enforcement is deferred to the cross-merchant budget service.
|
|
507
|
+
* This module returns per-constraint {ok, reason} results
|
|
507
508
|
* so a policy layer can decide hard-deny vs trust-signal.
|
|
508
509
|
*/
|
|
509
510
|
|
|
@@ -722,8 +723,8 @@ declare function extractAP2Mandates(input: AP2MandateTripleInput): AP2MandateTri
|
|
|
722
723
|
interface AP2VerifyInput {
|
|
723
724
|
triple: AP2MandateTriple;
|
|
724
725
|
/**
|
|
725
|
-
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
726
|
-
*
|
|
726
|
+
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
727
|
+
* (tightened from the previous 300s default).
|
|
727
728
|
*/
|
|
728
729
|
clockSkewSec?: number;
|
|
729
730
|
now?: () => number;
|
|
@@ -731,7 +732,6 @@ interface AP2VerifyInput {
|
|
|
731
732
|
* Optional replay-protection store. Defaults to in-process LRU. When the
|
|
732
733
|
* payment mandate carries an id, this verifier registers it as seen so
|
|
733
734
|
* the same payment mandate replayed within the expiry window is rejected.
|
|
734
|
-
* Audit F-A1-05.
|
|
735
735
|
*/
|
|
736
736
|
nonceStore?: NonceStore;
|
|
737
737
|
}
|
|
@@ -780,11 +780,11 @@ interface ACPVerifyInput {
|
|
|
780
780
|
jwk: JWK;
|
|
781
781
|
alg?: ACPSignatureAlgorithm | string;
|
|
782
782
|
}>;
|
|
783
|
-
/** Clock skew tolerance in seconds (default 60,
|
|
783
|
+
/** Clock skew tolerance in seconds (default 60, tightened from 300). */
|
|
784
784
|
clockSkewSec?: number;
|
|
785
785
|
/** Injectable now for tests. */
|
|
786
786
|
now?: () => number;
|
|
787
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
787
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
788
788
|
nonceStore?: NonceStore;
|
|
789
789
|
}
|
|
790
790
|
interface ACPVerifyResult {
|
|
@@ -917,11 +917,11 @@ interface MPPVerifyInput {
|
|
|
917
917
|
context: MPPRequestContext;
|
|
918
918
|
/** Raw request body to validate BodyDigest against, if the challenge declares one. */
|
|
919
919
|
rawBody?: string;
|
|
920
|
-
/** Seconds of clock-skew tolerance on challenge.expires. Default 60
|
|
920
|
+
/** Seconds of clock-skew tolerance on challenge.expires. Default 60. */
|
|
921
921
|
clockSkewSec?: number;
|
|
922
922
|
/** Injectable for deterministic tests. */
|
|
923
923
|
now?: () => number;
|
|
924
|
-
/** Optional replay-protection store. Defaults to in-process LRU.
|
|
924
|
+
/** Optional replay-protection store. Defaults to in-process LRU. */
|
|
925
925
|
nonceStore?: NonceStore;
|
|
926
926
|
}
|
|
927
927
|
interface MPPVerifyResult {
|
|
@@ -1046,7 +1046,7 @@ interface VILayer {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
interface VIVerifyInput {
|
|
1048
1048
|
/**
|
|
1049
|
-
* Layers in chain order. L1 is REQUIRED by default
|
|
1049
|
+
* Layers in chain order. L1 is REQUIRED by default —
|
|
1050
1050
|
* without L1 there is no chain root and L2 can be verified against any
|
|
1051
1051
|
* attacker-supplied key. Callers who have resolved L2's signing key by
|
|
1052
1052
|
* a trusted out-of-band mechanism (wallet binding, prior protocol step)
|
|
@@ -1066,14 +1066,14 @@ interface VIVerifyInput {
|
|
|
1066
1066
|
*/
|
|
1067
1067
|
verifySignature: (layer: VILayer, expectedKey: JWK | null) => Promise<boolean>;
|
|
1068
1068
|
/**
|
|
1069
|
-
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
1070
|
-
*
|
|
1069
|
+
* Clock skew tolerance in seconds for expiry checks. Default 60s
|
|
1070
|
+
* (tightened from the previous 300s default).
|
|
1071
1071
|
*/
|
|
1072
1072
|
clockSkewSec?: number;
|
|
1073
1073
|
now?: () => number;
|
|
1074
1074
|
/**
|
|
1075
|
-
* Explicit opt-in to verify a chain with L1 omitted.
|
|
1076
|
-
*
|
|
1075
|
+
* Explicit opt-in to verify a chain with L1 omitted.
|
|
1076
|
+
* Defaults to false. When true, `expectedL2Key` MUST also be supplied
|
|
1077
1077
|
* (used as the expected signing key for L2 verification).
|
|
1078
1078
|
*/
|
|
1079
1079
|
allowUnboundChain?: boolean;
|
|
@@ -1106,8 +1106,10 @@ declare function verifyVIChain(input: VIVerifyInput): Promise<VIVerifyResult>;
|
|
|
1106
1106
|
* evaluation + trust signals into a single CommerceContext result.
|
|
1107
1107
|
*
|
|
1108
1108
|
* This is AstraSync whitespace: the orchestration over the library-backed
|
|
1109
|
-
* primitives.
|
|
1110
|
-
* the
|
|
1109
|
+
* primitives. The backend verify-access service is the sole per-request
|
|
1110
|
+
* caller — the edge adapters forward raw artifacts to verify-access and
|
|
1111
|
+
* never call this module directly. The admin transport playground also
|
|
1112
|
+
* calls it ad-hoc.
|
|
1111
1113
|
*
|
|
1112
1114
|
* Policy:
|
|
1113
1115
|
* - Hard-deny (ok=false) on bad signatures, expired mandates, constraint
|
|
@@ -1201,10 +1203,11 @@ interface CommerceContext {
|
|
|
1201
1203
|
declare function runCommercePipeline(input: CommercePipelineInput): Promise<CommerceContext>;
|
|
1202
1204
|
|
|
1203
1205
|
/**
|
|
1204
|
-
* Pluggable extractor registry for
|
|
1206
|
+
* Pluggable extractor registry for the Trusted Agent Gateway edge
|
|
1207
|
+
* adapters and other callers that need a curated extractor set.
|
|
1205
1208
|
*
|
|
1206
1209
|
* Built-in extractors (VI, UCP, ACP, RFC 9421, MPP, x402, Stripe webhook)
|
|
1207
|
-
* are NOT auto-registered.
|
|
1210
|
+
* are NOT auto-registered. A caller imports this module, picks the set
|
|
1208
1211
|
* it wants, and calls registerTransportExtractor() for each.
|
|
1209
1212
|
*
|
|
1210
1213
|
* Re-registering by name replaces the prior extractor (idempotent).
|
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { G as GatewayConfig, s as StepUpApprovalInfo, u as StepUpOutcome, t as StepUpApprovalStatus, E as EnhancedVerificationResult, A as AccessFailure } from './types-
|
|
2
|
-
export { a as AccessLevel, b as AgentCredentials, c as AstraSyncCredentials, d as AttemptOutcome, e as AttemptReport, C as CallerMetadata, f as CommerceArtifactsPayload, g as CommerceShieldProps, h as ConsiderationItem, i as ConsiderationSet, j as CounterpartyType, k as ExpressMiddlewareOptions, F as FiatSettlementBinding, l as GuidanceInfo, N as NextJsMiddlewareOptions, P as PDLSSInfo, m as ProtocolTransport, R as RouteAccessConfig, n as RuntimeChallengeResult, S as SDKOptions, o as SettlementArtifact, p as SettlementArtifactBinding, q as SettlementArtifactBindingBase, r as StablecoinSettlementBinding, T as TokenGuidance, v as TrustLevel, V as
|
|
3
|
-
export { A as ACCESS_LEVEL_DESCRIPTIONS, a as ACCESS_LEVEL_HIERARCHY, b as AccessCapabilities, D as DEFAULT_TRUST_THRESHOLDS, T as TRUST_LEVEL_RANGES, d as determineAccessLevel, g as getAccessLevelForScore, e as getCapabilities, f as getTrustLevel, h as hasMinimumAccess, s as sdk } from './sdk-
|
|
1
|
+
import { G as GatewayConfig, s as StepUpApprovalInfo, u as StepUpOutcome, t as StepUpApprovalStatus, E as EnhancedVerificationResult, A as AccessFailure } from './types-r850cOt0.mjs';
|
|
2
|
+
export { a as AccessLevel, b as AgentCredentials, c as AstraSyncCredentials, d as AttemptOutcome, e as AttemptReport, C as CallerMetadata, f as CommerceArtifactsPayload, g as CommerceShieldProps, h as ConsiderationItem, i as ConsiderationSet, j as CounterpartyType, k as ExpressMiddlewareOptions, F as FiatSettlementBinding, l as GuidanceInfo, N as NextJsMiddlewareOptions, P as PDLSSInfo, m as ProtocolTransport, R as RouteAccessConfig, n as RuntimeChallengeResult, S as SDKOptions, o as SettlementArtifact, p as SettlementArtifactBinding, q as SettlementArtifactBindingBase, r as StablecoinSettlementBinding, T as TokenGuidance, v as TrustLevel, V as VerificationInterstitialProps, w as VerificationRequest, x as VerificationResult, y as VerifiedAgent, z as VerifiedDeveloper, B as VerifiedOrganization } from './types-r850cOt0.mjs';
|
|
3
|
+
export { A as ACCESS_LEVEL_DESCRIPTIONS, a as ACCESS_LEVEL_HIERARCHY, b as AccessCapabilities, D as DEFAULT_TRUST_THRESHOLDS, T as TRUST_LEVEL_RANGES, d as determineAccessLevel, g as getAccessLevelForScore, e as getCapabilities, f as getTrustLevel, h as hasMinimumAccess, s as sdk } from './sdk-CbTNIkAa.mjs';
|
|
4
4
|
export { VerifyOptions, clearCache, extractCredentials, fetchRoutes, hasCredentials, quickVerify, reportAttempt, reportUnregisteredAttempt, verify } from './verify.mjs';
|
|
5
|
-
export { e as express } from './express-
|
|
6
|
-
export { n as nextjs } from './nextjs-
|
|
7
|
-
export { aR as extractMcpCredentials, bg as setMcpMeta, b1 as transport } from './index-
|
|
5
|
+
export { e as express } from './express-D_4hTn5Z.mjs';
|
|
6
|
+
export { n as nextjs } from './nextjs-WyeVr2Kp.mjs';
|
|
7
|
+
export { aR as extractMcpCredentials, bg as setMcpMeta, b1 as transport } from './index-BPEBlOsE.mjs';
|
|
8
8
|
export { McpMiddlewareOptions, ToolGateConfig, createMcpMiddleware } from './adapters/mcp.mjs';
|
|
9
9
|
export { AgentProtocol, AgentRecord, AstraSync, AstraSyncConfig, AstraSyncError, AuthenticationError, BuildGuidanceParams, FrameworkConfig, GuidanceEnvelope, HealthResponse, KYDRequiredError, ModelConfig, PDLSSConfig, PDLSSDuration, PDLSSLimits, PDLSSPurpose, PDLSSScope, PDLSSSelfInstantiation, PendingRegistrationResponse, PollRegistrationResult, RegisterOptions, RegisterResult, RegistrationDeniedError, RegistrationExpiredError, RegistrationResponse, RegistrationTimeoutError, VerifyResponse, WaitForApprovalOptions, buildGuidance } from './registration/index.mjs';
|
|
10
|
-
export { A as AgentClient, C as ChallengeHandler, i as agent, r as recordDecision } from './index-
|
|
10
|
+
export { A as AgentClient, C as ChallengeHandler, i as agent, r as recordDecision } from './index-DQb5-_1X.mjs';
|
|
11
11
|
export { DEFAULT_EDGE_CONFIG, EdgeConfig, EdgeMode, EdgePathRule, EdgeVerificationDepth, FetchEdgeConfigResult, FetchEdgeConfigSuccess, _resetEdgeConfigCache, degradeToObserve, fetchEdgeConfig, getEdgeConfig, isEdgeConfig, matchEdgePathRule } from './edge-config.mjs';
|
|
12
12
|
export { DynamicPlatformFingerprint, PLATFORM_AGENT_SIGNATURES, PlatformAgentVendor, PlatformDetectionInput, PlatformFingerprint, PlatformSignatureDef, detectPlatformFingerprint, matchPlatformSignature } from './platform-signatures.mjs';
|
|
13
|
-
export { MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, ObservedMetadata, SanitizeHeadersResult, extractApiKeyFormat, extractPlatformHeaders, sanitizeHeaders } from './metadata-capture.mjs';
|
|
13
|
+
export { CAPTURE_SCHEMA_VERSION, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, ObservedMetadata, SanitizeHeadersResult, buildSdkObservedMetadata, deriveConnectionFromHeaders, extractApiKeyFormat, extractPlatformHeaders, sanitizeHeaders } from './metadata-capture.mjs';
|
|
14
14
|
import 'express';
|
|
15
15
|
import 'next/server';
|
|
16
16
|
import 'jose';
|
|
@@ -128,7 +128,7 @@ declare function getWellKnownUrls(apiBaseUrl: string): Promise<WellKnownAgenticC
|
|
|
128
128
|
declare function getCachedWellKnownUrls(apiBaseUrl: string): WellKnownAgenticCommerce | undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Single source-of-truth for the SDK's
|
|
132
132
|
* package version emitted on verify-access bodies (and any future
|
|
133
133
|
* telemetry). Bumped alongside `package.json#version` on every release.
|
|
134
134
|
*
|
|
@@ -141,10 +141,10 @@ declare function getCachedWellKnownUrls(apiBaseUrl: string): WellKnownAgenticCom
|
|
|
141
141
|
* bundlers, Deno) without runtime fs / network access.
|
|
142
142
|
*
|
|
143
143
|
* Release discipline: a CI lint can grep `package.json#version` against
|
|
144
|
-
* this constant if the two ever diverge in the wild.
|
|
144
|
+
* this constant if the two ever diverge in the wild. A manual bump
|
|
145
145
|
* is fine — bumping both in the release-ceremony commit keeps them
|
|
146
146
|
* lockstep.
|
|
147
147
|
*/
|
|
148
|
-
declare const SDK_VERSION = "4.
|
|
148
|
+
declare const SDK_VERSION = "4.1.0";
|
|
149
149
|
|
|
150
150
|
export { EnhancedVerificationResult, GatewayConfig, type SettlementDecision, type SettlementRequest, StepUpApprovalInfo, StepUpApprovalStatus, StepUpOutcome, SDK_VERSION as VERSION, type WellKnownAgenticCommerce, authorizeSettlement, awaitStepUpApproval, getCachedWellKnownUrls, getWellKnownUrls, pollStepUpStatus, prefetchWellKnown };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { G as GatewayConfig, s as StepUpApprovalInfo, u as StepUpOutcome, t as StepUpApprovalStatus, E as EnhancedVerificationResult, A as AccessFailure } from './types-
|
|
2
|
-
export { a as AccessLevel, b as AgentCredentials, c as AstraSyncCredentials, d as AttemptOutcome, e as AttemptReport, C as CallerMetadata, f as CommerceArtifactsPayload, g as CommerceShieldProps, h as ConsiderationItem, i as ConsiderationSet, j as CounterpartyType, k as ExpressMiddlewareOptions, F as FiatSettlementBinding, l as GuidanceInfo, N as NextJsMiddlewareOptions, P as PDLSSInfo, m as ProtocolTransport, R as RouteAccessConfig, n as RuntimeChallengeResult, S as SDKOptions, o as SettlementArtifact, p as SettlementArtifactBinding, q as SettlementArtifactBindingBase, r as StablecoinSettlementBinding, T as TokenGuidance, v as TrustLevel, V as
|
|
3
|
-
export { A as ACCESS_LEVEL_DESCRIPTIONS, a as ACCESS_LEVEL_HIERARCHY, b as AccessCapabilities, D as DEFAULT_TRUST_THRESHOLDS, T as TRUST_LEVEL_RANGES, d as determineAccessLevel, g as getAccessLevelForScore, e as getCapabilities, f as getTrustLevel, h as hasMinimumAccess, s as sdk } from './sdk-
|
|
1
|
+
import { G as GatewayConfig, s as StepUpApprovalInfo, u as StepUpOutcome, t as StepUpApprovalStatus, E as EnhancedVerificationResult, A as AccessFailure } from './types-sMxBT-nM.js';
|
|
2
|
+
export { a as AccessLevel, b as AgentCredentials, c as AstraSyncCredentials, d as AttemptOutcome, e as AttemptReport, C as CallerMetadata, f as CommerceArtifactsPayload, g as CommerceShieldProps, h as ConsiderationItem, i as ConsiderationSet, j as CounterpartyType, k as ExpressMiddlewareOptions, F as FiatSettlementBinding, l as GuidanceInfo, N as NextJsMiddlewareOptions, P as PDLSSInfo, m as ProtocolTransport, R as RouteAccessConfig, n as RuntimeChallengeResult, S as SDKOptions, o as SettlementArtifact, p as SettlementArtifactBinding, q as SettlementArtifactBindingBase, r as StablecoinSettlementBinding, T as TokenGuidance, v as TrustLevel, V as VerificationInterstitialProps, w as VerificationRequest, x as VerificationResult, y as VerifiedAgent, z as VerifiedDeveloper, B as VerifiedOrganization } from './types-sMxBT-nM.js';
|
|
3
|
+
export { A as ACCESS_LEVEL_DESCRIPTIONS, a as ACCESS_LEVEL_HIERARCHY, b as AccessCapabilities, D as DEFAULT_TRUST_THRESHOLDS, T as TRUST_LEVEL_RANGES, d as determineAccessLevel, g as getAccessLevelForScore, e as getCapabilities, f as getTrustLevel, h as hasMinimumAccess, s as sdk } from './sdk-QeX0Z8Ho.js';
|
|
4
4
|
export { VerifyOptions, clearCache, extractCredentials, fetchRoutes, hasCredentials, quickVerify, reportAttempt, reportUnregisteredAttempt, verify } from './verify.js';
|
|
5
|
-
export { e as express } from './express-
|
|
6
|
-
export { n as nextjs } from './nextjs-
|
|
7
|
-
export { aR as extractMcpCredentials, bg as setMcpMeta, b1 as transport } from './index-
|
|
5
|
+
export { e as express } from './express-BVd1_3FE.js';
|
|
6
|
+
export { n as nextjs } from './nextjs-w7RTbP1P.js';
|
|
7
|
+
export { aR as extractMcpCredentials, bg as setMcpMeta, b1 as transport } from './index-B0YHu_SP.js';
|
|
8
8
|
export { McpMiddlewareOptions, ToolGateConfig, createMcpMiddleware } from './adapters/mcp.js';
|
|
9
9
|
export { AgentProtocol, AgentRecord, AstraSync, AstraSyncConfig, AstraSyncError, AuthenticationError, BuildGuidanceParams, FrameworkConfig, GuidanceEnvelope, HealthResponse, KYDRequiredError, ModelConfig, PDLSSConfig, PDLSSDuration, PDLSSLimits, PDLSSPurpose, PDLSSScope, PDLSSSelfInstantiation, PendingRegistrationResponse, PollRegistrationResult, RegisterOptions, RegisterResult, RegistrationDeniedError, RegistrationExpiredError, RegistrationResponse, RegistrationTimeoutError, VerifyResponse, WaitForApprovalOptions, buildGuidance } from './registration/index.js';
|
|
10
|
-
export { A as AgentClient, C as ChallengeHandler, i as agent, r as recordDecision } from './index-
|
|
10
|
+
export { A as AgentClient, C as ChallengeHandler, i as agent, r as recordDecision } from './index-T1aBoUcc.js';
|
|
11
11
|
export { DEFAULT_EDGE_CONFIG, EdgeConfig, EdgeMode, EdgePathRule, EdgeVerificationDepth, FetchEdgeConfigResult, FetchEdgeConfigSuccess, _resetEdgeConfigCache, degradeToObserve, fetchEdgeConfig, getEdgeConfig, isEdgeConfig, matchEdgePathRule } from './edge-config.js';
|
|
12
12
|
export { DynamicPlatformFingerprint, PLATFORM_AGENT_SIGNATURES, PlatformAgentVendor, PlatformDetectionInput, PlatformFingerprint, PlatformSignatureDef, detectPlatformFingerprint, matchPlatformSignature } from './platform-signatures.js';
|
|
13
|
-
export { MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, ObservedMetadata, SanitizeHeadersResult, extractApiKeyFormat, extractPlatformHeaders, sanitizeHeaders } from './metadata-capture.js';
|
|
13
|
+
export { CAPTURE_SCHEMA_VERSION, MAX_HEADERS, MAX_HEADER_VALUE_BYTES, MAX_TOTAL_BYTES, ObservedMetadata, SanitizeHeadersResult, buildSdkObservedMetadata, deriveConnectionFromHeaders, extractApiKeyFormat, extractPlatformHeaders, sanitizeHeaders } from './metadata-capture.js';
|
|
14
14
|
import 'express';
|
|
15
15
|
import 'next/server';
|
|
16
16
|
import 'jose';
|
|
@@ -128,7 +128,7 @@ declare function getWellKnownUrls(apiBaseUrl: string): Promise<WellKnownAgenticC
|
|
|
128
128
|
declare function getCachedWellKnownUrls(apiBaseUrl: string): WellKnownAgenticCommerce | undefined;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Single source-of-truth for the SDK's
|
|
132
132
|
* package version emitted on verify-access bodies (and any future
|
|
133
133
|
* telemetry). Bumped alongside `package.json#version` on every release.
|
|
134
134
|
*
|
|
@@ -141,10 +141,10 @@ declare function getCachedWellKnownUrls(apiBaseUrl: string): WellKnownAgenticCom
|
|
|
141
141
|
* bundlers, Deno) without runtime fs / network access.
|
|
142
142
|
*
|
|
143
143
|
* Release discipline: a CI lint can grep `package.json#version` against
|
|
144
|
-
* this constant if the two ever diverge in the wild.
|
|
144
|
+
* this constant if the two ever diverge in the wild. A manual bump
|
|
145
145
|
* is fine — bumping both in the release-ceremony commit keeps them
|
|
146
146
|
* lockstep.
|
|
147
147
|
*/
|
|
148
|
-
declare const SDK_VERSION = "4.
|
|
148
|
+
declare const SDK_VERSION = "4.1.0";
|
|
149
149
|
|
|
150
150
|
export { EnhancedVerificationResult, GatewayConfig, type SettlementDecision, type SettlementRequest, StepUpApprovalInfo, StepUpApprovalStatus, StepUpOutcome, SDK_VERSION as VERSION, type WellKnownAgenticCommerce, authorizeSettlement, awaitStepUpApproval, getCachedWellKnownUrls, getWellKnownUrls, pollStepUpStatus, prefetchWellKnown };
|