@dexterai/connect 0.34.0 → 0.36.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.
@@ -18,7 +18,7 @@ import {
18
18
  resolveWalletStoreMode,
19
19
  shouldUsePopup,
20
20
  validateMissingVaultRecoveryAssertion
21
- } from "./chunk-Q7HTBUJF.js";
21
+ } from "./chunk-SGWYN67U.js";
22
22
 
23
23
  // src/missingVaultRecovery.ts
24
24
  import {
@@ -1,4 +1,4 @@
1
- import { P as PasskeyLoginTokens, I as PasskeyLoginConfig, a as CeremonyPhase, S as SignInResult } from './accountIdentity-DQ_C-WAi.js';
1
+ import { P as PasskeyLoginTokens, I as PasskeyLoginConfig, a as CeremonyPhase, S as SignInResult } from './accountIdentity-BHazSkuz.js';
2
2
 
3
3
  /**
4
4
  * Framework-neutral Wallet/account relationship controller.
package/dist/hosted.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as SignInResult, C as CreateWalletResult, a as CeremonyPhase, W as WalletStoreMode, b as SpendPolicy, A as AccountIdentityResult, R as RecoverOutcome } from './accountIdentity-DQ_C-WAi.js';
1
+ import { S as SignInResult, C as CreateWalletResult, a as CeremonyPhase, W as WalletStoreMode, b as SpendPolicy, A as AccountIdentityResult, R as RecoverOutcome } from './accountIdentity-BHazSkuz.js';
2
2
  import { AuthenticationResponseJSON } from '@simplewebauthn/browser';
3
3
 
4
4
  type ContinueResult = ({
package/dist/hosted.js CHANGED
@@ -1,18 +1,19 @@
1
1
  import {
2
2
  recoverWallet,
3
3
  runHostedMissingVaultRecoveryProof
4
- } from "./chunk-3SBEND6T.js";
4
+ } from "./chunk-ZVUFVXUG.js";
5
5
  import {
6
6
  ConnectError,
7
7
  DEXTER_API_BASE,
8
+ DEXTER_WALLET_CLOSED_CODE,
9
+ DEXTER_WALLET_CLOSED_MESSAGE,
8
10
  continueWithDexter,
9
- createWallet,
10
11
  enrollAccountIdentity,
11
12
  passkeyLogin,
12
13
  resolveAgentDelegationMode,
13
14
  resolveWalletStoreMode,
14
15
  signInAccountIdentity
15
- } from "./chunk-Q7HTBUJF.js";
16
+ } from "./chunk-SGWYN67U.js";
16
17
  import "./chunk-EMCGL64H.js";
17
18
 
18
19
  // src/hosted.ts
@@ -62,15 +63,7 @@ async function runHostedCeremony(request) {
62
63
  request.onPhase
63
64
  );
64
65
  case "create":
65
- return await createWallet({
66
- apiBase: DEXTER_API_BASE,
67
- transport: "inline",
68
- ...persistence,
69
- ...request.name !== void 0 ? { name: request.name } : {},
70
- ...request.spendPolicy !== void 0 ? { spendPolicy: request.spendPolicy } : {},
71
- ...request.agentDelegation !== void 0 ? { agentDelegation: request.agentDelegation } : {},
72
- ...request.onPhase !== void 0 ? { onPhase: request.onPhase } : {}
73
- });
66
+ throw new ConnectError(DEXTER_WALLET_CLOSED_CODE, DEXTER_WALLET_CLOSED_MESSAGE);
74
67
  case "recover":
75
68
  return await recoverWallet({
76
69
  apiBase: DEXTER_API_BASE,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { M as MissingVaultRecoveryConfig, c as MissingVaultRecoveryResult, d as ConnectVault, e as RecoverWalletConfig, R as RecoverOutcome, A as AccountIdentityResult, f as ConnectError, g as WalletIdentityProof, a as CeremonyPhase } from './accountIdentity-DQ_C-WAi.js';
2
- export { h as ACCOUNT_IDENTITY_API_PATH, i as AccountAccessResult, j as AccountIdentityCredential, k as AccountIdentitySession, l as AccountRefusalRequest, m as AgentDelegationMode, n as CeremonyOperation, o as CreateWalletConfig, C as CreateWalletResult, D as DexterConnectConfig, E as EnrollAccountIdentityConfig, H as HostedSignRequestPayload, p as HostedSignResult, q as HostedSignVaultIdentity, r as MissingVaultRecoveryAccount, s as MissingVaultRecoveryVault, P as PasskeyLoginTokens, t as RecoverVault, u as SESSION_TTL_30D, v as SignInAccountIdentityConfig, S as SignInResult, b as SpendPolicy, w as authoredPolicy, x as createWallet, y as enrollAccountAccess, z as enrollAccountIdentity, B as signInAccountAccess, F as signInAccountIdentity, G as usdToAtomic } from './accountIdentity-DQ_C-WAi.js';
1
+ import { M as MissingVaultRecoveryConfig, c as MissingVaultRecoveryResult, d as ConnectVault, e as RecoverWalletConfig, R as RecoverOutcome, A as AccountIdentityResult, f as ConnectError, g as WalletIdentityProof, a as CeremonyPhase } from './accountIdentity-BHazSkuz.js';
2
+ export { h as ACCOUNT_IDENTITY_API_PATH, i as AccountAccessResult, j as AccountIdentityCredential, k as AccountIdentitySession, l as AccountRefusalRequest, m as AgentDelegationMode, n as CeremonyOperation, o as CreateWalletConfig, C as CreateWalletResult, D as DexterConnectConfig, E as EnrollAccountIdentityConfig, H as HostedSignRequestPayload, p as HostedSignResult, q as HostedSignVaultIdentity, r as MissingVaultRecoveryAccount, s as MissingVaultRecoveryVault, P as PasskeyLoginTokens, t as RecoverVault, u as SESSION_TTL_30D, v as SignInAccountIdentityConfig, S as SignInResult, b as SpendPolicy, w as authoredPolicy, x as createWallet, y as enrollAccountAccess, z as enrollAccountIdentity, B as signInAccountAccess, F as signInAccountIdentity, G as usdToAtomic } from './accountIdentity-BHazSkuz.js';
3
3
  import { PasskeySignerWithPublicKey } from '@dexterai/vault/signers';
4
- import { A as ActiveWalletBindingIdentity, W as WalletBindingCandidate, a as WalletAccountRelationSnapshot, B as BindingFetch, b as WalletAccountBindingClient } from './connectionContract-BA03zq2D.js';
5
- export { c as AccountBindingCandidate, d as AccountSessionClearer, e as AccountSessionInstaller, f as BindingResolutionResult, C as ConnectDexterIdentityConfig, D as DexterConnectionCapability, g as DexterConnectionIntent, h as DexterConnectionPermissions, i as DexterControlModel, j as DexterControlPrimaryAction, k as DexterControlStage, l as DisconnectDexterIdentityConfig, R as RelationCandidates, m as RelationCheckReason, n as RelationRuntime, o as ResolveWalletAccountBindingInput, p as ResolvedWalletAccountRelation, S as ServerRelationVerificationRequest, q as ServerRelationVerificationResult, r as ServerRelationVerifier, s as WALLET_ACCOUNT_BINDING_PATH, t as WalletAccountBindingClientConfig, u as WalletAccountRelation, v as WalletAccountRelationController, w as WalletAccountRelationControllerOptions, x as WalletIdentityFetchInput, y as accountBindingCandidate, z as connectDexterIdentity, E as createDexterControlModel, F as createWalletAccountBindingClient, G as disconnectDexterIdentity, H as fetchWithWalletIdentity, I as walletBindingCandidate } from './connectionContract-BA03zq2D.js';
4
+ import { A as ActiveWalletBindingIdentity, W as WalletBindingCandidate, a as WalletAccountRelationSnapshot, B as BindingFetch, b as WalletAccountBindingClient } from './connectionContract-CSZiddpS.js';
5
+ export { c as AccountBindingCandidate, d as AccountSessionClearer, e as AccountSessionInstaller, f as BindingResolutionResult, C as ConnectDexterIdentityConfig, D as DexterConnectionCapability, g as DexterConnectionIntent, h as DexterConnectionPermissions, i as DexterControlModel, j as DexterControlPrimaryAction, k as DexterControlStage, l as DisconnectDexterIdentityConfig, R as RelationCandidates, m as RelationCheckReason, n as RelationRuntime, o as ResolveWalletAccountBindingInput, p as ResolvedWalletAccountRelation, S as ServerRelationVerificationRequest, q as ServerRelationVerificationResult, r as ServerRelationVerifier, s as WALLET_ACCOUNT_BINDING_PATH, t as WalletAccountBindingClientConfig, u as WalletAccountRelation, v as WalletAccountRelationController, w as WalletAccountRelationControllerOptions, x as WalletIdentityFetchInput, y as accountBindingCandidate, z as connectDexterIdentity, E as createDexterControlModel, F as createWalletAccountBindingClient, G as disconnectDexterIdentity, H as fetchWithWalletIdentity, I as walletBindingCandidate } from './connectionContract-CSZiddpS.js';
6
6
  import { PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
7
7
 
8
8
  /**
@@ -103,7 +103,7 @@ interface AccountPasskey {
103
103
  /** An operation whose last step was approved and whose outcome the API does not know yet. */
104
104
  interface AccountUnsettled {
105
105
  readonly operationId: string;
106
- readonly flow: 'setup' | 'send';
106
+ readonly flow: AccountFlowName;
107
107
  readonly step: string;
108
108
  }
109
109
  interface AccountOverview {
@@ -153,6 +153,36 @@ interface AccountOperationDetails {
153
153
  readonly to: string | null;
154
154
  }
155
155
  type AccountStepPhase = 'preparing' | 'ready' | 'passkey' | 'sending' | 'confirmed';
156
+ /** The operations an Account approval belongs to. */
157
+ type AccountFlowName = 'setup' | 'send' | 'connection';
158
+ /** An amount in a token's smallest unit, with what it takes to show it. */
159
+ interface AccountAmount {
160
+ readonly amount: string;
161
+ readonly mint: string;
162
+ readonly decimals: number;
163
+ readonly symbol: string | null;
164
+ }
165
+ /** What an agent connection may spend. The API decides the figures; pages only show them. */
166
+ interface AccountConnectionLimits {
167
+ readonly perPayment: AccountAmount;
168
+ readonly per30Days: AccountAmount;
169
+ readonly days: number;
170
+ }
171
+ interface AccountConnectionClient {
172
+ readonly name: string;
173
+ readonly kind: 'chatgpt' | 'claude' | 'other';
174
+ }
175
+ /** What a connection approval or stop is about, as the API prepared it. */
176
+ interface AccountConnectionDetails {
177
+ readonly connectionId: string;
178
+ readonly limits: AccountConnectionLimits | null;
179
+ readonly payee: {
180
+ readonly name: string | null;
181
+ readonly address: string;
182
+ } | null;
183
+ readonly client: AccountConnectionClient | null;
184
+ readonly state: 'pending' | 'active' | 'stopped' | 'revoked' | null;
185
+ }
156
186
  /** One approval, as the page should show it. */
157
187
  interface AccountStepView {
158
188
  /** The API's name for the step. The page words the steps it knows. */
@@ -163,6 +193,8 @@ interface AccountStepView {
163
193
  readonly statement: string | null;
164
194
  readonly stepsRemaining: number | null;
165
195
  readonly details: AccountOperationDetails | null;
196
+ /** Set for a connection's approval or stop. */
197
+ readonly connection: AccountConnectionDetails | null;
166
198
  readonly phase: AccountStepPhase;
167
199
  /** Set once the step is confirmed. */
168
200
  readonly signature: string | null;
@@ -183,6 +215,8 @@ interface AccountOperationConfig {
183
215
  interface AccountFlowResult {
184
216
  /** Signatures of the transactions the flow sent, in order. A held setup step sends none. */
185
217
  readonly signatures: readonly string[];
218
+ /** The last step's own answer, for flows that return more than a signature. */
219
+ readonly outcome: Readonly<Record<string, string>>;
186
220
  }
187
221
  /**
188
222
  * Where one operation stands, from the API's own record and the chain.
@@ -192,11 +226,13 @@ interface AccountFlowResult {
192
226
  type AccountOperationStatus = 'prepared' | 'sending' | 'confirmed' | 'failed' | 'expired';
193
227
  interface AccountOperationState {
194
228
  readonly operationId: string;
195
- readonly flow: 'setup' | 'send';
229
+ readonly flow: AccountFlowName;
196
230
  readonly step: string;
197
231
  readonly status: AccountOperationStatus;
198
232
  readonly signature: string | null;
199
233
  readonly next: string | null;
234
+ /** A connection's id, state or redirect, when the operation's answer carries them. */
235
+ readonly outcome: Readonly<Record<string, string>>;
200
236
  }
201
237
  /**
202
238
  * An approved step whose outcome is not known: the reply was lost, slow, or
@@ -206,9 +242,9 @@ interface AccountOperationState {
206
242
  */
207
243
  declare class AccountOperationUnsettledError extends ConnectError {
208
244
  readonly operationId: string;
209
- readonly flow: 'setup' | 'send';
245
+ readonly flow: AccountFlowName;
210
246
  readonly step: string;
211
- constructor(operationId: string, flow: 'setup' | 'send', step: string);
247
+ constructor(operationId: string, flow: AccountFlowName, step: string);
212
248
  }
213
249
  /** Read the signed-in owner's Account, or `null` when none is open yet. */
214
250
  declare function getAccount(config: Pick<AccountOperationConfig, 'identity' | 'signal'>): Promise<DexterAccount | null>;
@@ -242,6 +278,62 @@ declare function sendFromAccount(config: AccountOperationConfig & {
242
278
  declare function formatAccountAmount(amount: string, decimals: number): string;
243
279
  /** Turn what a person typed ("2.5") into a smallest-unit string, or `null` if it is not an amount. */
244
280
  declare function parseAccountAmount(input: string, decimals: number): string | null;
281
+ /** An OAuth request for an agent connection, as the owner reviews it. */
282
+ interface AccountConnectionReview {
283
+ readonly requestId: string;
284
+ readonly client: AccountConnectionClient & {
285
+ readonly redirectHost: string;
286
+ };
287
+ readonly scope: string;
288
+ readonly limits: AccountConnectionLimits;
289
+ readonly payee: AccountConnectionDetails['payee'];
290
+ readonly expiresAt: string | null;
291
+ }
292
+ /** An agent connection on the owner's Account. */
293
+ interface AccountConnection {
294
+ readonly connectionId: string;
295
+ readonly client: AccountConnectionClient;
296
+ readonly limits: AccountConnectionLimits;
297
+ readonly spent30Days: AccountAmount | null;
298
+ /**
299
+ * `pending`: an approval that did not finish (stop it to abandon it); `stopped`: Dexter's servers no
300
+ * longer sign for it; `revoked`: the permission is gone on chain.
301
+ */
302
+ readonly state: 'pending' | 'active' | 'stopped' | 'revoked';
303
+ readonly createdAt: string | null;
304
+ readonly stoppedAt: string | null;
305
+ readonly revokedAt: string | null;
306
+ }
307
+ /** Read an agent's OAuth request so the owner can review it before approving. */
308
+ declare function getConnectionRequest(config: Pick<AccountOperationConfig, 'identity' | 'signal'> & {
309
+ readonly requestId: string;
310
+ }): Promise<AccountConnectionReview>;
311
+ /** List the owner's agent connections. */
312
+ declare function listConnections(config: Pick<AccountOperationConfig, 'identity' | 'signal'>): Promise<readonly AccountConnection[]>;
313
+ /** Read one of the owner's agent connections. */
314
+ declare function getConnection(config: Pick<AccountOperationConfig, 'identity' | 'signal'> & {
315
+ readonly connectionId: string;
316
+ }): Promise<AccountConnection>;
317
+ /**
318
+ * Approve an agent's spending permission with the owner's passkey. Resolves
319
+ * with the new connection and the address to return the person to, which must
320
+ * be on the host the reviewed request named.
321
+ */
322
+ declare function grantConnection(config: AccountOperationConfig & {
323
+ readonly request: Pick<AccountConnectionReview, 'requestId' | 'client'>;
324
+ }): Promise<AccountFlowResult & {
325
+ readonly connectionId: string;
326
+ readonly redirectUrl: string;
327
+ }>;
328
+ /**
329
+ * Stop an agent connection. Dexter's servers stop signing for it when the stop
330
+ * is prepared; the owner's passkey then revokes the permission on chain.
331
+ */
332
+ declare function revokeConnection(config: AccountOperationConfig & {
333
+ readonly connectionId: string;
334
+ }): Promise<AccountFlowResult & {
335
+ readonly state: 'revoked';
336
+ }>;
245
337
 
246
338
  /** One localStorage entry per Wallet keeps inactive Wallet proofs independent. */
247
339
  declare const WALLET_PROOF_SESSION_STORAGE_PREFIX: "dexter:wallet-identity-proof-session:";
@@ -812,4 +904,54 @@ declare function readAgentAuthority(input: {
812
904
  fetchImpl?: typeof fetch;
813
905
  }): Promise<AgentAuthorityStatus>;
814
906
 
815
- export { ACCOUNT_API_PATH, AGENT_AUTHORITY_NAMESPACE, AGENT_AUTHORITY_STATUS_NAMESPACE, type AccountBalances, type AccountFlowResult, AccountIdentityResult, type AccountOperationConfig, type AccountOperationDetails, type AccountOperationState, type AccountOperationStatus, AccountOperationUnsettledError, type AccountOverview, type AccountPasskey, type AccountSendRequest, type AccountStepPhase, type AccountStepView, type AccountTokenBalance, type AccountUnsettled, type AgentAuthorityActiveRole, type AgentAuthorityApprovalMode, type AgentAuthorityAuthorization, type AgentAuthorityBootstrapRequest, type AgentAuthorityCapacity, AgentAuthorityError, type AgentAuthorityRule, type AgentAuthorityRuleBase, type AgentAuthorityStagedReceipt, type AgentAuthorityStatus, type AgentAuthorityTarget, AgentSpendError, type AgentSpendIdentity, type AgentSpendStatus, type AgentSpendTab, type AnonChallengeResult, type AnonServerPolicy, type AutomaticAgentSpend, BindingFetch, AgentAuthorityError as BoundedX402AuthorityError, type BoundedX402Authorization, type BoundedX402BootstrapRequest, type BoundedX402Draft, type BoundedX402Limits, type BoundedX402Rule, type BoundedX402StagedReceipt, type BoundedX402Validation, CeremonyPhase, ConnectError, ConnectVault, type CreatePasskeySignerOptions, type DexterAccount, type DexterIdentityCoordinator, type DexterIdentityCoordinatorOptions, type EnableAgentSpendResult, MAX_AUTHORITY_AMOUNT_ATOMIC, MissingVaultRecoveryConfig, MissingVaultRecoveryResult, type PasskeySignalSupport, type RawAgentSpendSession, type RawAgentSpendStatus, RecoverOutcome, RecoverWalletConfig, type RevokeAgentSpendResult, type StagedAgentAuthorityRule, type TradeAuthorityRule, WALLET_PROOF_SESSION_STORAGE_PREFIX, WalletAccountBindingClient, WalletAccountRelationSnapshot, WalletBindingCandidate, WalletIdentityProof, type WalletProofLifecycleEvent, type WalletProofSession, type WalletProofSessionEvent, type WalletProofSessionOperation, type WalletProofSessionStorage, type WalletProofSessionStore, type WalletProofSessionStoreOptions, type WalletProofStorageEvent, type WalletProofStorageEventSource, type X402LimitDraft, type X402LimitValidation, type X402Limits, type X402PaymentAuthorityRule, X402_ALLOWED_SCHEMES, X402_ASSET, X402_COUNTERPARTY_SCOPE, X402_PROTOCOL_ID, X402_PROTOCOL_VERSION, assembleAgentSpendStatus, beginAgentAuthority, beginBoundedX402Authority, buildAgentAuthorityRequest, buildBoundedX402BootstrapRequest, buildX402PaymentRule, ceremonyPhaseLabel, createAnonServerPolicy, createDexterIdentityCoordinator, createPasskeySigner, createWalletProofSessionStore, describeAgentSpendError, enableAgentSpend, exactAgentAuthorityApprovalRedirect, exactBoundedX402ApprovalRedirect, formatAccountAmount, getAccount, getAccountBalances, getAccountOperation, getAccountOverview, noCustomX402Limits, openAccount, parseAccountAmount, passkeySignalSupport, prunePasskey, readAgentAuthority, recoverMissingVaultForAccount, recoverWallet, renamePasskey, revokeAgentSpend, sendFromAccount, stageAgentAuthority, stageBoundedX402Authority, syncAcceptedPasskeys, validateBoundedX402Draft, walletProofSessionStore };
907
+ /** The request that opened this review, so the result can return to the same app request. */
908
+ interface AccountConnectionRequest {
909
+ /** The requesting app as shown to the owner, e.g. "ChatGPT" or "Claude". */
910
+ app: string;
911
+ origin: string;
912
+ returnUrl?: string;
913
+ state?: string;
914
+ }
915
+ /** The principal being acted for (a person or a company). Context only: it grants nothing. */
916
+ interface AccountPrincipalContext {
917
+ kind: 'person' | 'company';
918
+ address: string;
919
+ name?: string;
920
+ }
921
+ interface SignAccountChallengeConfig {
922
+ /** The exact bytes to sign. Passed to WebAuthn unchanged (base64url-encoded as the challenge). */
923
+ challenge: Uint8Array;
924
+ /** Relying-party id. Passed through when given; never defaulted here. */
925
+ rpId?: string;
926
+ /** Restrict the ceremony to these credential ids (base64url). */
927
+ allowCredentialIds?: readonly string[];
928
+ /** Milliseconds before the browser abandons the ceremony. */
929
+ timeoutMs?: number;
930
+ connectionRequest?: AccountConnectionRequest;
931
+ principal?: AccountPrincipalContext;
932
+ }
933
+ /** Every field base64url, as WebAuthn returned it. `signature` is the authenticator's DER signature. */
934
+ interface AccountChallengeAssertion {
935
+ credentialId: string;
936
+ authenticatorData: string;
937
+ clientDataJSON: string;
938
+ signature: string;
939
+ userHandle: string | null;
940
+ }
941
+ type SignAccountChallengeResult = {
942
+ status: 'signed';
943
+ assertion: AccountChallengeAssertion;
944
+ connectionRequest?: AccountConnectionRequest;
945
+ principal?: AccountPrincipalContext;
946
+ } | {
947
+ status: 'cancelled';
948
+ connectionRequest?: AccountConnectionRequest;
949
+ } | {
950
+ status: 'refused';
951
+ reason: 'webauthn_unavailable' | 'invalid_challenge' | 'credential_not_allowed' | 'webauthn_failed';
952
+ detail?: string;
953
+ connectionRequest?: AccountConnectionRequest;
954
+ };
955
+ declare function signAccountChallenge(config: SignAccountChallengeConfig): Promise<SignAccountChallengeResult>;
956
+
957
+ export { ACCOUNT_API_PATH, AGENT_AUTHORITY_NAMESPACE, AGENT_AUTHORITY_STATUS_NAMESPACE, type AccountAmount, type AccountBalances, type AccountChallengeAssertion, type AccountConnection, type AccountConnectionClient, type AccountConnectionDetails, type AccountConnectionLimits, type AccountConnectionRequest, type AccountConnectionReview, type AccountFlowName, type AccountFlowResult, AccountIdentityResult, type AccountOperationConfig, type AccountOperationDetails, type AccountOperationState, type AccountOperationStatus, AccountOperationUnsettledError, type AccountOverview, type AccountPasskey, type AccountPrincipalContext, type AccountSendRequest, type AccountStepPhase, type AccountStepView, type AccountTokenBalance, type AccountUnsettled, type AgentAuthorityActiveRole, type AgentAuthorityApprovalMode, type AgentAuthorityAuthorization, type AgentAuthorityBootstrapRequest, type AgentAuthorityCapacity, AgentAuthorityError, type AgentAuthorityRule, type AgentAuthorityRuleBase, type AgentAuthorityStagedReceipt, type AgentAuthorityStatus, type AgentAuthorityTarget, AgentSpendError, type AgentSpendIdentity, type AgentSpendStatus, type AgentSpendTab, type AnonChallengeResult, type AnonServerPolicy, type AutomaticAgentSpend, BindingFetch, AgentAuthorityError as BoundedX402AuthorityError, type BoundedX402Authorization, type BoundedX402BootstrapRequest, type BoundedX402Draft, type BoundedX402Limits, type BoundedX402Rule, type BoundedX402StagedReceipt, type BoundedX402Validation, CeremonyPhase, ConnectError, ConnectVault, type CreatePasskeySignerOptions, type DexterAccount, type DexterIdentityCoordinator, type DexterIdentityCoordinatorOptions, type EnableAgentSpendResult, MAX_AUTHORITY_AMOUNT_ATOMIC, MissingVaultRecoveryConfig, MissingVaultRecoveryResult, type PasskeySignalSupport, type RawAgentSpendSession, type RawAgentSpendStatus, RecoverOutcome, RecoverWalletConfig, type RevokeAgentSpendResult, type SignAccountChallengeConfig, type SignAccountChallengeResult, type StagedAgentAuthorityRule, type TradeAuthorityRule, WALLET_PROOF_SESSION_STORAGE_PREFIX, WalletAccountBindingClient, WalletAccountRelationSnapshot, WalletBindingCandidate, WalletIdentityProof, type WalletProofLifecycleEvent, type WalletProofSession, type WalletProofSessionEvent, type WalletProofSessionOperation, type WalletProofSessionStorage, type WalletProofSessionStore, type WalletProofSessionStoreOptions, type WalletProofStorageEvent, type WalletProofStorageEventSource, type X402LimitDraft, type X402LimitValidation, type X402Limits, type X402PaymentAuthorityRule, X402_ALLOWED_SCHEMES, X402_ASSET, X402_COUNTERPARTY_SCOPE, X402_PROTOCOL_ID, X402_PROTOCOL_VERSION, assembleAgentSpendStatus, beginAgentAuthority, beginBoundedX402Authority, buildAgentAuthorityRequest, buildBoundedX402BootstrapRequest, buildX402PaymentRule, ceremonyPhaseLabel, createAnonServerPolicy, createDexterIdentityCoordinator, createPasskeySigner, createWalletProofSessionStore, describeAgentSpendError, enableAgentSpend, exactAgentAuthorityApprovalRedirect, exactBoundedX402ApprovalRedirect, formatAccountAmount, getAccount, getAccountBalances, getAccountOperation, getAccountOverview, getConnection, getConnectionRequest, grantConnection, listConnections, noCustomX402Limits, openAccount, parseAccountAmount, passkeySignalSupport, prunePasskey, readAgentAuthority, recoverMissingVaultForAccount, recoverWallet, renamePasskey, revokeAgentSpend, revokeConnection, sendFromAccount, signAccountChallenge, stageAgentAuthority, stageBoundedX402Authority, syncAcceptedPasskeys, validateBoundedX402Draft, walletProofSessionStore };