@dexterai/connect 0.29.0 → 0.31.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexterai/connect",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Connect apps and agents to a self-custodial Dexter Wallet with passkey identity, governed authority, hosted signing, and verifiable sessions.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -12,6 +12,10 @@
12
12
  "types": "./dist/react.d.ts",
13
13
  "import": "./dist/react.js"
14
14
  },
15
+ "./hosted": {
16
+ "types": "./dist/hosted.d.ts",
17
+ "import": "./dist/hosted.js"
18
+ },
15
19
  "./worldid": {
16
20
  "types": "./dist/worldid.d.ts",
17
21
  "import": "./dist/worldid.js"
@@ -45,7 +49,7 @@
45
49
  }
46
50
  },
47
51
  "devDependencies": {
48
- "@dexterai/vault": "0.43.0",
52
+ "@dexterai/vault": "0.43.9",
49
53
  "@solana/web3.js": "^1.98.4",
50
54
  "@types/react": "^19.1.12",
51
55
  "@types/react-dom": "^19.2.3",
@@ -58,6 +62,7 @@
58
62
  },
59
63
  "dependencies": {
60
64
  "@simplewebauthn/browser": "^13.3.0",
65
+ "framer-motion": "^12.43.0",
61
66
  "jose": "^6.2.3"
62
67
  }
63
68
  }
@@ -1,470 +0,0 @@
1
- /** Supabase session tokens returned by dexter-api's passkey-login (camelCase). */
2
- interface PasskeyLoginTokens {
3
- accessToken: string;
4
- refreshToken: string;
5
- expiresAt: number;
6
- expiresIn: number;
7
- tokenType: string;
8
- }
9
- /** Dexter-signed Wallet identity proof returned by a completed passkey ceremony. */
10
- interface WalletIdentityProof {
11
- token: string;
12
- tokenType: 'Bearer';
13
- /** Epoch seconds. */
14
- expiresAt: number;
15
- /** Lifetime in seconds. */
16
- expiresIn: number;
17
- }
18
- /**
19
- * Wallet identity returned alongside the account session by passkey login.
20
- * `vaultPda` and `publicKey` are required by the passkey signer.
21
- */
22
- interface ConnectVault {
23
- vaultPda: string;
24
- /** Swig state address, base58 — the user-facing Dexter Wallet address. */
25
- swigAddress: string;
26
- /** v2 swig wallet PDA (deposit address); null until the swig is deployed. */
27
- receiveAddress: string | null;
28
- /** Swig wallet's USDC ATA, base58 (for the connected-chip balance read);
29
- * null until the swig is deployed. Server-resolved (off-curve-safe). */
30
- usdcAta: string | null;
31
- /** base64 33-byte SEC1 compressed P-256 authority pubkey (for the signer). */
32
- publicKey: string;
33
- userHandle: string;
34
- credentialId: string;
35
- /** The wallet's cross-device display name (user-authored via rename), or
36
- * null when never named. Identity is first-class: every sign-in carries
37
- * the human name so no consumer ever falls back to a synthetic email.
38
- * Optional for wire-compat with servers/popup pages predating 0.23. */
39
- walletLabel?: string | null;
40
- }
41
- /** Result of a completed "Sign in with Dexter" ceremony. */
42
- interface SignInResult {
43
- session: PasskeyLoginTokens;
44
- vault: ConnectVault;
45
- walletIdentityProof: WalletIdentityProof;
46
- }
47
- /**
48
- * Coarse ceremony phase, emitted as a sign-in/create ceremony progresses so the
49
- * UI can show live "connecting steps" instead of one flat spinner:
50
- * challenge → passkey (the OS prompt) → verifying → finalizing (create only).
51
- */
52
- type CeremonyPhase = 'challenge' | 'passkey' | 'verifying' | 'finalizing';
53
- /**
54
- * Controls whether a successful sign-in/recovery immediately changes the
55
- * browser's active-wallet store.
56
- *
57
- * `commit` preserves the historical SDK behavior. `provisional` returns the
58
- * verified session and Wallet without changing the browser's active Wallet.
59
- * The canonical identity transition uses it until the exact Wallet/account
60
- * pair has been verified.
61
- */
62
- type WalletStoreMode = 'commit' | 'provisional';
63
- /**
64
- * Controls whether wallet creation also asks the owner to configure an agent
65
- * spending allowance.
66
- *
67
- * `deferred` creates the wallet for its owner. `configure-now` is the explicit
68
- * compatibility path for a caller that has already collected an agent
69
- * spending allowance.
70
- */
71
- type AgentDelegationMode = 'configure-now' | 'deferred';
72
- /** Exact action the hosted Dexter consent window is being asked to perform. */
73
- type CeremonyOperation = 'signin' | 'create' | 'continue' | 'recover' | 'sign';
74
- /** Minimal vault identity transferred to Dexter's hosted signing window. */
75
- interface HostedSignVaultIdentity {
76
- vaultPda: string;
77
- publicKey: string;
78
- userHandle: string;
79
- credentialId: string;
80
- walletLabel?: string | null;
81
- }
82
- /**
83
- * Sensitive signing input. This is structured-cloned to the pinned Dexter
84
- * popup only after the browser-stamped hello/ack; it is never serialized into
85
- * the popup URL.
86
- */
87
- interface HostedSignRequestPayload {
88
- operationMessage: Uint8Array;
89
- vault: HostedSignVaultIdentity;
90
- }
91
- /** On-chain-ready assertion bytes returned by the hosted Dexter popup. */
92
- interface HostedSignResult {
93
- signature: Uint8Array;
94
- clientDataJSON: Uint8Array;
95
- authenticatorData: Uint8Array;
96
- }
97
- /**
98
- * Vault identity on the wallet-only recover leg, as reported by
99
- * /api/passkey-vault-anon/status. Narrower than ConnectVault on purpose —
100
- * the status endpoint carries no publicKey/usdcAta, so a recover cannot
101
- * construct a passkey signer; it only restores the browser Wallet candidate.
102
- */
103
- interface RecoverVault {
104
- vaultPda: string;
105
- /** Swig state address, base58 — the user-facing Dexter Wallet address. */
106
- swigAddress: string;
107
- /** Deposit address; null until the swig is deployed. */
108
- receiveAddress: string | null;
109
- isActivated: boolean;
110
- walletLabel: string | null;
111
- }
112
- /**
113
- * Result of a wallet-only recover ceremony. A discriminated RESULT, not a
114
- * throw: user-cancel is a normal outcome in WebAuthn, and consumers branch on
115
- * `reason` (no_credential → offer create; cancelled → stay silent; error →
116
- * retry copy). `no_credential` covers both the immediate-mode instant
117
- * rejection (no passkey on this device) and a verify 404 (a passkey the
118
- * server has no row for).
119
- */
120
- type RecoverOutcome = {
121
- ok: true;
122
- userHandle: string;
123
- credentialId: string;
124
- vault: RecoverVault;
125
- walletIdentityProof: WalletIdentityProof;
126
- } | {
127
- ok: false;
128
- reason: 'no_credential' | 'cancelled' | 'error';
129
- error?: ConnectError;
130
- };
131
- interface RecoverWalletConfig extends DexterConnectConfig {
132
- /** Chrome-149+ immediate UI mode: instant fast-fail when this device has no
133
- * discoverable passkey (no empty account-picker sheet). Falls back to the
134
- * normal modal wherever unsupported. */
135
- preferImmediate?: boolean;
136
- /** See `PasskeyLoginConfig.walletStore`. */
137
- walletStore?: WalletStoreMode;
138
- onPhase?: (phase: CeremonyPhase) => void;
139
- }
140
- /** Configuration for `passkeyLogin`. */
141
- interface PasskeyLoginConfig extends DexterConnectConfig {
142
- /**
143
- * Wallet-store behavior after a successful passkey ceremony. Defaults to
144
- * `commit` for backward compatibility. Use `provisional` when the returned
145
- * wallet must pass a separate approval before becoming active.
146
- */
147
- walletStore?: WalletStoreMode;
148
- }
149
- interface DexterConnectConfig {
150
- /**
151
- * Compatibility-only Dexter API base. Omit it or pass exactly
152
- * https://api.dexter.cash. Noncanonical values fail before WebAuthn and this
153
- * value is never propagated into the hosted popup.
154
- */
155
- apiBase?: string;
156
- /**
157
- * Where the WebAuthn ceremony runs:
158
- * - 'auto' (default): inline on the canonical Dexter origin (dexter.cash),
159
- * popup on ANY other origin — so a third-party site works without the
160
- * WebAuthn rpId-origin problem (in-page only works on dexter.cash).
161
- * - 'popup': always via the hosted popup (works on any website).
162
- * - 'inline': always in-page — only valid on a Dexter origin; this is what
163
- * the hosted ceremony page itself uses.
164
- */
165
- transport?: 'auto' | 'popup' | 'inline';
166
- /** Hosted ceremony page (popup transport). Default https://dexter.cash/connect. */
167
- connectHost?: string;
168
- }
169
- /** Typed error whose `code` is the server's snake_case error string. */
170
- declare class ConnectError extends Error {
171
- readonly code: string;
172
- constructor(code: string, message?: string);
173
- }
174
-
175
- /** Consent-at-birth allowance (Branch rulings 2026-07-02/03).
176
- * The user authors the number; zero is not consent; TTL is fixed 30d and
177
- * never user-editable; no caller may invent a default. */
178
- declare const SESSION_TTL_30D = "2592000";
179
- interface SpendPolicy {
180
- /** Role-2 allowance, atomic USDC (6dp), decimal string. User-authored. */
181
- spendLimitAtomic: string;
182
- /** Fixed 30d. Present for wire compatibility; always SESSION_TTL_30D. */
183
- sessionTtlSeconds: string;
184
- }
185
- /** Parse user-entered USD ("5", "$20", "1,000", "20.5") to atomic USDC.
186
- * Null on anything invalid — callers must not invent a fallback. */
187
- declare function usdToAtomic(input: string): bigint | null;
188
- /** Null when invalid or zero (zero is not consent). */
189
- declare function authoredPolicy(usdInput: string): SpendPolicy | null;
190
-
191
- interface CreateWalletConfig extends DexterConnectConfig {
192
- /**
193
- * Wallet-store behavior after successful creation. Defaults to `commit` for
194
- * backward compatibility. Use `provisional` when the created wallet must
195
- * pass a separate approval before becoming active.
196
- */
197
- walletStore?: WalletStoreMode;
198
- /** Label for the passkey in the OS keychain AND the wallet roster. Set at
199
- * creation — the only moment naming is guaranteed to stick. Default "Dexter Wallet". */
200
- name?: string;
201
- /** RP id for the new credential. Default "dexter.cash". */
202
- rpId?: string;
203
- /** Consent-at-birth allowance the user authored at creation (chips $5/$20/$50
204
- * or Custom; zero is not consent; build it with authoredPolicy()). When
205
- * present it rides the /initialize body so the number becomes the server-side
206
- * write-once consent record. The TTL is ruled fixed 30d — whatever the object
207
- * carries, the wire always sends SESSION_TTL_30D. Absent → no policy authored
208
- * (the vault initializes without one; nothing invents a default). */
209
- spendPolicy?: SpendPolicy;
210
- /**
211
- * When agent authority is configured. The default, `deferred`, creates the
212
- * wallet without an agent allowance. `configure-now` is an explicit
213
- * compatibility path for callers that have already collected a
214
- * `spendPolicy`. A deferred creation must not also carry a `spendPolicy`.
215
- */
216
- agentDelegation?: AgentDelegationMode;
217
- /** Called as the ceremony progresses, for live "connecting steps" UI:
218
- * challenge → passkey → verifying → finalizing. */
219
- onPhase?: (phase: CeremonyPhase) => void;
220
- }
221
- interface CreateWalletResult {
222
- /** Server-minted 16-byte user handle, base64url — the vault identity. */
223
- handle: string;
224
- /** base64url credential id of the new passkey. */
225
- credentialId: string;
226
- /** The freshly initialized vault (swig not yet deployed; deploys lazily). */
227
- vault: ConnectVault;
228
- /** Wallet name recorded at birth (server-confirmed via /initialize). Rides
229
- * the result so a popup-typed name reaches the OPENER's wallet store —
230
- * before 0.23.2 it lived only on the popup origin. null = unnamed. */
231
- label: string | null;
232
- /** Dexter-signed proof used to restore this Wallet's account relationship. */
233
- walletIdentityProof: WalletIdentityProof;
234
- }
235
- /**
236
- * Mint a brand-new Dexter wallet (passkey + vault). Commit mode (the default)
237
- * makes it active immediately; provisional mode returns it without changing
238
- * the active-wallet store.
239
- *
240
- * One passkey approval. Throws ConnectError on any failed leg (the `code` is the
241
- * server's error string, or webauthn_failed / no_credential for the ceremony).
242
- */
243
- declare function createWallet(config?: CreateWalletConfig): Promise<CreateWalletResult>;
244
-
245
- /**
246
- * Framework-neutral Wallet/account relationship controller.
247
- *
248
- * Browser presence is insufficient to establish a bound identity. The injected
249
- * verifier is the only path to `bound` or `conflict`; every local identity
250
- * change immediately falls back to a provisional relation while verification
251
- * runs. Candidate objects should be immutable for the duration of a check.
252
- */
253
- type WalletAccountRelation = 'none' | 'wallet_only' | 'account_only' | 'bound' | 'conflict';
254
- type RelationCheckReason = 'restore' | 'wallet_change' | 'account_change' | 'retry';
255
- type RelationRuntime = {
256
- readonly phase: 'hydrating';
257
- } | {
258
- readonly phase: 'checking';
259
- readonly reason: RelationCheckReason;
260
- } | {
261
- readonly phase: 'ready';
262
- } | {
263
- readonly phase: 'offline';
264
- } | {
265
- readonly phase: 'expired';
266
- readonly subject: 'wallet' | 'account' | 'both';
267
- } | {
268
- readonly phase: 'error';
269
- readonly code: string;
270
- };
271
- interface WalletAccountRelationSnapshot {
272
- readonly relation: WalletAccountRelation;
273
- readonly runtime: RelationRuntime;
274
- readonly walletPresent: boolean;
275
- readonly accountPresent: boolean;
276
- /** Account-scoped data and actions stay locked unless the server verified the pair. */
277
- readonly privateAccountAccess: boolean;
278
- /** A verified mismatch. Consumers should expose only their repair path. */
279
- readonly quarantined: boolean;
280
- readonly verifiedAt: number | null;
281
- readonly revision: number;
282
- }
283
- type ServerRelationVerificationResult = {
284
- readonly ok: true;
285
- readonly relation: 'bound' | 'conflict';
286
- readonly verifiedAt?: number;
287
- } | {
288
- readonly ok: false;
289
- readonly reason: 'offline';
290
- } | {
291
- readonly ok: false;
292
- readonly reason: 'expired';
293
- readonly subject: 'wallet' | 'account' | 'both';
294
- } | {
295
- readonly ok: false;
296
- readonly reason: 'error';
297
- readonly code: string;
298
- };
299
- interface ServerRelationVerificationRequest<TWallet, TAccount> {
300
- readonly wallet: TWallet;
301
- readonly account: TAccount;
302
- readonly reason: RelationCheckReason;
303
- readonly signal: AbortSignal;
304
- }
305
- type ServerRelationVerifier<TWallet, TAccount> = (request: ServerRelationVerificationRequest<TWallet, TAccount>) => Promise<ServerRelationVerificationResult>;
306
- interface WalletAccountRelationControllerOptions<TWallet, TAccount> {
307
- /**
308
- * Call the Dexter API with proof for both candidates. Local equality checks
309
- * are not verification and must not be substituted here.
310
- */
311
- readonly verify: ServerRelationVerifier<TWallet, TAccount>;
312
- readonly now?: () => number;
313
- }
314
- interface RelationCandidates<TWallet, TAccount> {
315
- readonly wallet: TWallet | null;
316
- readonly account: TAccount | null;
317
- }
318
- type Listener = (snapshot: WalletAccountRelationSnapshot) => void;
319
- /**
320
- * Owns relationship state without owning storage, HTTP, React, or credentials.
321
- * Consumers feed it Wallet/account candidates and provide the API verifier.
322
- */
323
- declare class WalletAccountRelationController<TWallet, TAccount> {
324
- private wallet;
325
- private account;
326
- private revision;
327
- private activeCheck;
328
- private readonly listeners;
329
- private readonly verify;
330
- private readonly now;
331
- private snapshot;
332
- constructor(options: WalletAccountRelationControllerOptions<TWallet, TAccount>);
333
- getSnapshot(): WalletAccountRelationSnapshot;
334
- subscribe(listener: Listener): () => void;
335
- /** Restore cached candidates, then verify the exact pair before unlocking account access. */
336
- restore(candidates: RelationCandidates<TWallet, TAccount>): Promise<WalletAccountRelationSnapshot>;
337
- /** Lock account-owned data while the host restores its account session. */
338
- beginRestore(): void;
339
- /** An explicit Wallet event always invalidates prior binding, even for the same object. */
340
- setWallet(wallet: TWallet | null): Promise<WalletAccountRelationSnapshot>;
341
- /** An explicit account event always invalidates prior binding, even for the same object. */
342
- setAccount(account: TAccount | null): Promise<WalletAccountRelationSnapshot>;
343
- retry(): Promise<WalletAccountRelationSnapshot>;
344
- dispose(): void;
345
- private runtimeAfterChange;
346
- private replaceCandidates;
347
- private invalidate;
348
- private settle;
349
- private runCheck;
350
- private isCurrentCheck;
351
- private publish;
352
- }
353
-
354
- declare const WALLET_ACCOUNT_BINDING_PATH = "/api/passkey-anon/binding/resolve";
355
- type ResolvedWalletAccountRelation = 'wallet_only' | 'account_only' | 'bound' | 'conflict';
356
- declare const walletBindingCandidateBrand: unique symbol;
357
- declare const accountBindingCandidateBrand: unique symbol;
358
- /** Opaque bearer for a server-issued Dexter Wallet identity proof. */
359
- interface WalletBindingCandidate {
360
- readonly kind: 'dexter_wallet_identity_proof';
361
- readonly [walletBindingCandidateBrand]: true;
362
- }
363
- /** The exact active Wallet selected by the consumer for this relation check. */
364
- interface ActiveWalletBindingIdentity {
365
- readonly userHandle: string;
366
- readonly vaultPda: string;
367
- }
368
- /** Opaque bearer for an authenticated Dexter account session. */
369
- interface AccountBindingCandidate {
370
- readonly kind: 'dexter_account_session';
371
- readonly [accountBindingCandidateBrand]: true;
372
- }
373
- /**
374
- * Wrap a Wallet proof before giving it to the relationship controller. The
375
- * proof stays outside enumerable object properties, JSON, and snapshots.
376
- */
377
- declare function walletBindingCandidate(identityProof: string, activeWallet: ActiveWalletBindingIdentity): WalletBindingCandidate;
378
- /**
379
- * Wrap an account access token before giving it to the relationship controller.
380
- * The token stays outside enumerable object properties, JSON, and snapshots.
381
- */
382
- declare function accountBindingCandidate(accessToken: string): AccountBindingCandidate;
383
- type BindingResolutionResult = {
384
- readonly ok: true;
385
- readonly relation: ResolvedWalletAccountRelation;
386
- } | {
387
- readonly ok: false;
388
- readonly reason: 'offline';
389
- } | {
390
- readonly ok: false;
391
- readonly reason: 'expired';
392
- readonly subject: 'wallet' | 'account' | 'both';
393
- } | {
394
- readonly ok: false;
395
- readonly reason: 'error';
396
- readonly code: string;
397
- };
398
- interface ResolveWalletAccountBindingInput {
399
- readonly wallet?: WalletBindingCandidate | null;
400
- readonly account?: AccountBindingCandidate | null;
401
- readonly signal?: AbortSignal;
402
- }
403
- type BindingFetch = (input: string | URL, init?: RequestInit) => Promise<Response>;
404
- interface WalletAccountBindingClientConfig {
405
- /** Compatibility option; only the canonical Dexter API origin is accepted. */
406
- readonly apiBase?: string;
407
- /** Injectable for tests, edge runtimes, and hosts with a custom fetch adapter. */
408
- readonly fetch?: BindingFetch;
409
- }
410
- interface WalletAccountBindingClient {
411
- resolve(input: ResolveWalletAccountBindingInput): Promise<BindingResolutionResult>;
412
- readonly verify: ServerRelationVerifier<WalletBindingCandidate, AccountBindingCandidate>;
413
- }
414
- /**
415
- * Create the API adapter that resolves Wallet/account relation from two
416
- * independently issued proofs. It never compares browser identifiers.
417
- */
418
- declare function createWalletAccountBindingClient(config?: WalletAccountBindingClientConfig): WalletAccountBindingClient;
419
-
420
- type AccountSessionInstaller = (session: PasskeyLoginTokens) => void | Promise<void>;
421
- type AccountSessionClearer = () => void | Promise<void>;
422
- interface ConnectDexterIdentityConfig extends Omit<PasskeyLoginConfig, 'walletStore'> {
423
- /**
424
- * Install the account session returned by the same passkey ceremony. Reject
425
- * without publishing a replacement session if installation fails.
426
- */
427
- readonly installAccountSession: AccountSessionInstaller;
428
- /** Injectable binding fetch for tests and non-browser hosts. */
429
- readonly bindingFetch?: BindingFetch;
430
- }
431
- interface DisconnectDexterIdentityConfig {
432
- /** Clear the host account session after Connect drops the active Wallet. */
433
- readonly clearAccountSession: AccountSessionClearer;
434
- }
435
- /**
436
- * Complete a full Dexter identity transition from one passkey result.
437
- *
438
- * The candidate Wallet and account are verified as an exact pair before local
439
- * state changes. Connect then publishes the Wallet and asks the host to install
440
- * the matching account session. A rejected install restores the prior Wallet.
441
- */
442
- declare function connectDexterIdentity(config: ConnectDexterIdentityConfig, onPhase?: (phase: CeremonyPhase) => void): Promise<SignInResult>;
443
- /** Clear the complete browser identity while retaining its device passkey. */
444
- declare function disconnectDexterIdentity(config: DisconnectDexterIdentityConfig): Promise<boolean>;
445
-
446
- type DexterConnectionIntent = 'identity' | 'wallet' | 'agent';
447
- type DexterConnectionCapability = 'identity' | 'wallet.read' | 'wallet.use' | 'agent.authority';
448
- type DexterControlStage = 'connect' | 'checking' | 'ready' | 'repair' | 'offline' | 'error';
449
- type DexterControlPrimaryAction = 'connect' | 'use_another_wallet' | 'retry' | 'repair';
450
- interface DexterConnectionPermissions {
451
- readonly capabilities: readonly DexterConnectionCapability[];
452
- readonly walletIdentityVisible: boolean;
453
- readonly walletDataVisible: boolean;
454
- readonly ownerWalletUseEnabled: boolean;
455
- readonly accountContentVisible: boolean;
456
- readonly agentAuthorityVisible: boolean;
457
- }
458
- interface DexterControlModel {
459
- readonly intent: DexterConnectionIntent;
460
- readonly stage: DexterControlStage;
461
- readonly primaryAction: DexterControlPrimaryAction;
462
- readonly permissions: DexterConnectionPermissions;
463
- }
464
- /**
465
- * Produce the display and permission contract for the canonical Dexter control.
466
- * Account-owned content is available only after the API verifies `bound`.
467
- */
468
- declare function createDexterControlModel(intent: DexterConnectionIntent, relation: WalletAccountRelationSnapshot): DexterControlModel;
469
-
470
- export { createWallet as $, type ActiveWalletBindingIdentity as A, type BindingFetch as B, type ConnectVault as C, type DexterConnectConfig as D, type RelationCheckReason as E, type RelationRuntime as F, type ResolveWalletAccountBindingInput as G, type HostedSignRequestPayload as H, type ResolvedWalletAccountRelation as I, type ServerRelationVerificationRequest as J, type ServerRelationVerificationResult as K, type ServerRelationVerifier as L, type SignInResult as M, type SpendPolicy as N, WALLET_ACCOUNT_BINDING_PATH as O, type PasskeyLoginTokens as P, type WalletAccountBindingClientConfig as Q, type RecoverWalletConfig as R, SESSION_TTL_30D as S, type WalletAccountRelation as T, WalletAccountRelationController as U, type WalletAccountRelationControllerOptions as V, type WalletIdentityProof as W, accountBindingCandidate as X, authoredPolicy as Y, connectDexterIdentity as Z, createDexterControlModel as _, type RecoverOutcome as a, createWalletAccountBindingClient as a0, disconnectDexterIdentity as a1, usdToAtomic as a2, walletBindingCandidate as a3, type PasskeyLoginConfig as a4, type WalletBindingCandidate as b, type WalletAccountRelationSnapshot as c, type WalletAccountBindingClient as d, type CeremonyPhase as e, type AccountBindingCandidate as f, type AccountSessionClearer as g, type AccountSessionInstaller as h, type AgentDelegationMode as i, type BindingResolutionResult as j, type CeremonyOperation as k, type ConnectDexterIdentityConfig as l, ConnectError as m, type CreateWalletConfig as n, type CreateWalletResult as o, type DexterConnectionCapability as p, type DexterConnectionIntent as q, type DexterConnectionPermissions as r, type DexterControlModel as s, type DexterControlPrimaryAction as t, type DexterControlStage as u, type DisconnectDexterIdentityConfig as v, type HostedSignResult as w, type HostedSignVaultIdentity as x, type RecoverVault as y, type RelationCandidates as z };