@dexterai/connect 0.29.0 → 0.29.1

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.
@@ -0,0 +1,72 @@
1
+ import { S as SignInResult, C as CreateWalletResult, W as WalletStoreMode, a as CeremonyPhase, b as SpendPolicy, R as RecoverOutcome } from './enroll-DrgEW0X8.js';
2
+
3
+ type ContinueResult = ({
4
+ kind: 'signin';
5
+ } & SignInResult) | ({
6
+ kind: 'create';
7
+ } & CreateWalletResult)
8
+ /** This device has no passkey (proven by an immediate fast-fail) but the
9
+ * caller supplied neither an authored spendPolicy nor explicit deferred
10
+ * agent setup — collect name + allowance, then call createWallet. */
11
+ | {
12
+ kind: 'needs_create';
13
+ }
14
+ /** Cannot silently probe (no immediate support, no local handle): render an
15
+ * explicit "Sign in" / "I'm new" choice. Never guess. */
16
+ | {
17
+ kind: 'needs_choice';
18
+ }
19
+ /** The user dismissed the passkey sheet. Not an error — stay quiet. */
20
+ | {
21
+ kind: 'cancelled';
22
+ };
23
+
24
+ /** The only production browser origin allowed to run an inline Dexter ceremony. */
25
+ declare const DEXTER_HOSTED_CEREMONY_ORIGIN = "https://dexter.cash";
26
+ type HostedCeremonyOperation = 'signin' | 'continue' | 'create' | 'recover';
27
+ type HostedContinueResult = ContinueResult;
28
+ interface HostedCeremonyBase {
29
+ /** Commit to Dexter's host-side Wallet store, or return the Wallet provisionally. */
30
+ walletStore?: WalletStoreMode;
31
+ onPhase?: (phase: CeremonyPhase) => void;
32
+ }
33
+ interface HostedSignInCeremony extends HostedCeremonyBase {
34
+ operation: 'signin';
35
+ }
36
+ type HostedDelegationChoice = {
37
+ agentDelegation: 'configure-now';
38
+ spendPolicy: SpendPolicy;
39
+ } | {
40
+ agentDelegation: 'deferred';
41
+ spendPolicy?: never;
42
+ } | {
43
+ agentDelegation?: undefined;
44
+ spendPolicy?: SpendPolicy;
45
+ };
46
+ type HostedContinueCeremony = HostedCeremonyBase & HostedDelegationChoice & {
47
+ operation: 'continue';
48
+ name?: string;
49
+ };
50
+ type HostedCreateCeremony = HostedCeremonyBase & HostedDelegationChoice & {
51
+ operation: 'create';
52
+ name?: string;
53
+ };
54
+ interface HostedRecoverCeremony extends HostedCeremonyBase {
55
+ operation: 'recover';
56
+ preferImmediate?: boolean;
57
+ }
58
+ type HostedCeremonyRequest = HostedSignInCeremony | HostedContinueCeremony | HostedCreateCeremony | HostedRecoverCeremony;
59
+ type HostedCeremonyResult<O extends HostedCeremonyOperation> = O extends 'signin' ? SignInResult : O extends 'continue' ? HostedContinueResult : O extends 'create' ? CreateWalletResult : RecoverOutcome;
60
+ /**
61
+ * Run one first-party hosted Wallet ceremony.
62
+ *
63
+ * The caller chooses only the operation and host-side persistence behavior.
64
+ * API origin and transport are fixed here so a hosted route cannot drift into
65
+ * a second implementation or accept an opener-controlled credential server.
66
+ */
67
+ declare function runHostedCeremony(request: HostedSignInCeremony): Promise<SignInResult>;
68
+ declare function runHostedCeremony(request: HostedContinueCeremony): Promise<HostedContinueResult>;
69
+ declare function runHostedCeremony(request: HostedCreateCeremony): Promise<CreateWalletResult>;
70
+ declare function runHostedCeremony(request: HostedRecoverCeremony): Promise<RecoverOutcome>;
71
+
72
+ export { DEXTER_HOSTED_CEREMONY_ORIGIN, type HostedCeremonyOperation, type HostedCeremonyRequest, type HostedCeremonyResult, type HostedContinueCeremony, type HostedContinueResult, type HostedCreateCeremony, type HostedRecoverCeremony, type HostedSignInCeremony, runHostedCeremony };
package/dist/hosted.js ADDED
@@ -0,0 +1,95 @@
1
+ import {
2
+ recoverWallet
3
+ } from "./chunk-LHYU2EZQ.js";
4
+ import {
5
+ ConnectError,
6
+ DEXTER_API_BASE,
7
+ continueWithDexter,
8
+ createWallet,
9
+ passkeyLogin,
10
+ resolveAgentDelegationMode,
11
+ resolveWalletStoreMode
12
+ } from "./chunk-CZL7NGVV.js";
13
+ import "./chunk-EMCGL64H.js";
14
+
15
+ // src/hosted.ts
16
+ var DEXTER_HOSTED_CEREMONY_ORIGIN = "https://dexter.cash";
17
+ async function runHostedCeremony(request) {
18
+ assertHostedCeremonyOrigin();
19
+ const walletStore = resolveWalletStoreMode(request.walletStore);
20
+ assertHostedDelegationChoice(request);
21
+ const persistence = walletStore === "provisional" ? { walletStore } : {};
22
+ switch (request.operation) {
23
+ case "signin":
24
+ return await passkeyLogin(
25
+ {
26
+ apiBase: DEXTER_API_BASE,
27
+ transport: "inline",
28
+ ...persistence
29
+ },
30
+ request.onPhase
31
+ );
32
+ case "continue":
33
+ return await continueWithDexter(
34
+ {
35
+ apiBase: DEXTER_API_BASE,
36
+ transport: "inline",
37
+ ...persistence,
38
+ ...request.name !== void 0 ? { name: request.name } : {},
39
+ ...request.spendPolicy !== void 0 ? { spendPolicy: request.spendPolicy } : {},
40
+ ...request.agentDelegation !== void 0 ? { agentDelegation: request.agentDelegation } : {}
41
+ },
42
+ request.onPhase
43
+ );
44
+ case "create":
45
+ return await createWallet({
46
+ apiBase: DEXTER_API_BASE,
47
+ transport: "inline",
48
+ ...persistence,
49
+ ...request.name !== void 0 ? { name: request.name } : {},
50
+ ...request.spendPolicy !== void 0 ? { spendPolicy: request.spendPolicy } : {},
51
+ ...request.agentDelegation !== void 0 ? { agentDelegation: request.agentDelegation } : {},
52
+ ...request.onPhase !== void 0 ? { onPhase: request.onPhase } : {}
53
+ });
54
+ case "recover":
55
+ return await recoverWallet({
56
+ apiBase: DEXTER_API_BASE,
57
+ transport: "inline",
58
+ ...persistence,
59
+ ...request.preferImmediate !== void 0 ? { preferImmediate: request.preferImmediate } : {},
60
+ ...request.onPhase !== void 0 ? { onPhase: request.onPhase } : {}
61
+ });
62
+ default:
63
+ throw new ConnectError("unsupported_hosted_ceremony");
64
+ }
65
+ }
66
+ function assertHostedDelegationChoice(request) {
67
+ if (request.operation !== "continue" && request.operation !== "create") return;
68
+ const agentDelegation = resolveAgentDelegationMode(
69
+ request.agentDelegation ?? (request.spendPolicy ? "configure-now" : void 0)
70
+ );
71
+ if (agentDelegation === "configure-now" && !request.spendPolicy) {
72
+ throw new ConnectError(
73
+ "missing_spend_policy",
74
+ "agentDelegation configure-now requires a spendPolicy"
75
+ );
76
+ }
77
+ if (agentDelegation === "deferred" && request.spendPolicy) {
78
+ throw new ConnectError(
79
+ "conflicting_agent_delegation",
80
+ "agentDelegation deferred cannot include a spendPolicy"
81
+ );
82
+ }
83
+ }
84
+ function assertHostedCeremonyOrigin() {
85
+ if (typeof window === "undefined" || window.location.origin !== DEXTER_HOSTED_CEREMONY_ORIGIN) {
86
+ throw new ConnectError(
87
+ "hosted_ceremony_origin_required",
88
+ `Hosted Wallet ceremonies run only on ${DEXTER_HOSTED_CEREMONY_ORIGIN}`
89
+ );
90
+ }
91
+ }
92
+ export {
93
+ DEXTER_HOSTED_CEREMONY_ORIGIN,
94
+ runHostedCeremony
95
+ };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { C as ConnectVault, R as RecoverWalletConfig, a as RecoverOutcome, W as WalletIdentityProof, A as ActiveWalletBindingIdentity, b as WalletBindingCandidate, c as WalletAccountRelationSnapshot, B as BindingFetch, d as WalletAccountBindingClient, e as CeremonyPhase } from './connectionContract-QGRidIHM.js';
2
- export { f as AccountBindingCandidate, g as AccountSessionClearer, h as AccountSessionInstaller, i as AgentDelegationMode, j as BindingResolutionResult, k as CeremonyOperation, l as ConnectDexterIdentityConfig, m as ConnectError, n as CreateWalletConfig, o as CreateWalletResult, D as DexterConnectConfig, p as DexterConnectionCapability, q as DexterConnectionIntent, r as DexterConnectionPermissions, s as DexterControlModel, t as DexterControlPrimaryAction, u as DexterControlStage, v as DisconnectDexterIdentityConfig, H as HostedSignRequestPayload, w as HostedSignResult, x as HostedSignVaultIdentity, P as PasskeyLoginTokens, y as RecoverVault, z as RelationCandidates, E as RelationCheckReason, F as RelationRuntime, G as ResolveWalletAccountBindingInput, I as ResolvedWalletAccountRelation, S as SESSION_TTL_30D, J as ServerRelationVerificationRequest, K as ServerRelationVerificationResult, L as ServerRelationVerifier, M as SignInResult, N as SpendPolicy, O as WALLET_ACCOUNT_BINDING_PATH, Q as WalletAccountBindingClientConfig, T as WalletAccountRelation, U as WalletAccountRelationController, V as WalletAccountRelationControllerOptions, X as accountBindingCandidate, Y as authoredPolicy, Z as connectDexterIdentity, _ as createDexterControlModel, $ as createWallet, a0 as createWalletAccountBindingClient, a1 as disconnectDexterIdentity, a2 as usdToAtomic, a3 as walletBindingCandidate } from './connectionContract-QGRidIHM.js';
1
+ import { c as ConnectVault, d as RecoverWalletConfig, R as RecoverOutcome, e as WalletIdentityProof, a as CeremonyPhase } from './enroll-DrgEW0X8.js';
2
+ export { A as AgentDelegationMode, f as CeremonyOperation, g as ConnectError, h as CreateWalletConfig, C as CreateWalletResult, D as DexterConnectConfig, H as HostedSignRequestPayload, i as HostedSignResult, j as HostedSignVaultIdentity, P as PasskeyLoginTokens, k as RecoverVault, l as SESSION_TTL_30D, S as SignInResult, b as SpendPolicy, m as authoredPolicy, n as createWallet, u as usdToAtomic } from './enroll-DrgEW0X8.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-CR478cfF.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 accountBindingCandidate, y as connectDexterIdentity, z as createDexterControlModel, E as createWalletAccountBindingClient, F as disconnectDexterIdentity, G as walletBindingCandidate } from './connectionContract-CR478cfF.js';
4
6
  import { PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
5
7
 
6
8
  /** What `issueChallenge` returns to the SDK signer. */
package/dist/index.js CHANGED
@@ -1,40 +1,38 @@
1
+ import {
2
+ WalletAccountRelationController,
3
+ ceremonyPhaseLabel,
4
+ connectDexterIdentity,
5
+ createDexterControlModel,
6
+ createDexterIdentityCoordinator,
7
+ disconnectDexterIdentity,
8
+ passkeySignalSupport,
9
+ prunePasskey,
10
+ renamePasskey,
11
+ syncAcceptedPasskeys
12
+ } from "./chunk-2BTS6DCR.js";
13
+ import {
14
+ recoverWallet
15
+ } from "./chunk-LHYU2EZQ.js";
1
16
  import {
2
17
  ConnectError,
3
18
  SESSION_TTL_30D,
4
19
  WALLET_ACCOUNT_BINDING_PATH,
5
20
  WALLET_PROOF_SESSION_STORAGE_PREFIX,
6
- WalletAccountRelationController,
7
21
  accountBindingCandidate,
8
- activateRecoveredVault,
9
22
  authoredPolicy,
10
23
  bytesEqual,
11
- ceremonyPhaseLabel,
12
- classifyWebAuthnRejection,
13
- connectDexterIdentity,
14
- createDexterControlModel,
15
- createDexterIdentityCoordinator,
16
24
  createWallet,
17
25
  createWalletAccountBindingClient,
18
26
  createWalletProofSessionStore,
19
- disconnectDexterIdentity,
20
- immediateAuthentication,
21
- immediateGetSupported,
22
27
  openCeremonyPopup,
23
- parseWalletIdentityProof,
24
- passkeySignalSupport,
25
- primeImmediateSupport,
26
- prunePasskey,
27
28
  readErrorCode,
28
- renamePasskey,
29
29
  resolveDexterApiBase,
30
30
  resolveDexterRpId,
31
- resolveWalletStoreMode,
32
31
  shouldUsePopup,
33
- syncAcceptedPasskeys,
34
32
  usdToAtomic,
35
33
  walletBindingCandidate,
36
34
  walletProofSessionStore
37
- } from "./chunk-XKOVUW5P.js";
35
+ } from "./chunk-CZL7NGVV.js";
38
36
  import {
39
37
  base64ToBytes,
40
38
  base64urlToBytes,
@@ -209,170 +207,6 @@ async function validateHostedSignResult(result, operationMessage, expectedVault)
209
207
  };
210
208
  }
211
209
 
212
- // src/recover.ts
213
- import { startAuthentication, browserSupportsWebAuthn } from "@simplewebauthn/browser";
214
- var ANON_SIGN_BASE2 = "/api/passkey-anon/sign";
215
- primeImmediateSupport();
216
- async function recoverWallet(config = {}) {
217
- let apiBase;
218
- let walletStore;
219
- try {
220
- apiBase = resolveDexterApiBase(config.apiBase);
221
- } catch (err) {
222
- return netError("untrusted_api_base", err);
223
- }
224
- try {
225
- walletStore = resolveWalletStoreMode(config.walletStore);
226
- } catch (err) {
227
- return {
228
- ok: false,
229
- reason: "error",
230
- error: err instanceof ConnectError ? err : new ConnectError("invalid_wallet_store_mode")
231
- };
232
- }
233
- if (shouldUsePopup(config.transport)) {
234
- let outcome;
235
- try {
236
- outcome = await openCeremonyPopup("recover", {
237
- connectHost: config.connectHost,
238
- preferImmediate: config.preferImmediate,
239
- ...walletStore === "provisional" ? { walletStore } : {}
240
- });
241
- } catch (err) {
242
- const ce = err instanceof ConnectError ? err : new ConnectError("popup_failed", err instanceof Error ? err.message : String(err));
243
- if (ce.code === "popup_closed") return { ok: false, reason: "cancelled" };
244
- return { ok: false, reason: "error", error: ce };
245
- }
246
- if (outcome.ok) {
247
- try {
248
- outcome = {
249
- ...outcome,
250
- walletIdentityProof: parseWalletIdentityProof(
251
- outcome.walletIdentityProof
252
- )
253
- };
254
- } catch (err) {
255
- return netError("wallet_identity_proof_malformed", err);
256
- }
257
- if (walletStore === "commit") {
258
- activateRecoveredVault(
259
- outcome.userHandle,
260
- outcome.credentialId,
261
- outcome.vault,
262
- outcome.walletIdentityProof
263
- );
264
- }
265
- }
266
- return outcome;
267
- }
268
- if (typeof navigator === "undefined" || !browserSupportsWebAuthn()) {
269
- return {
270
- ok: false,
271
- reason: "error",
272
- error: new ConnectError("webauthn_unsupported", "WebAuthn unavailable in this environment")
273
- };
274
- }
275
- const onPhase = config.onPhase;
276
- onPhase?.("challenge");
277
- let options;
278
- try {
279
- const res = await fetch(`${apiBase}${ANON_SIGN_BASE2}/recover-challenge`, {
280
- method: "POST",
281
- headers: { "content-type": "application/json" },
282
- body: "{}"
283
- });
284
- if (!res.ok) return { ok: false, reason: "error", error: new ConnectError(await readErrorCode(res)) };
285
- const serverOptions = (await res.json()).options;
286
- if (!serverOptions?.challenge) {
287
- return {
288
- ok: false,
289
- reason: "error",
290
- error: new ConnectError("recover_challenge_malformed", "no challenge in response")
291
- };
292
- }
293
- options = { ...serverOptions, rpId: resolveDexterRpId(serverOptions.rpId) };
294
- } catch (err) {
295
- if (err instanceof ConnectError && err.code === "untrusted_rp_id") {
296
- return { ok: false, reason: "error", error: err };
297
- }
298
- return netError("recover_challenge_failed", err);
299
- }
300
- onPhase?.("passkey");
301
- const useImmediate = Boolean(config.preferImmediate) && await immediateGetSupported();
302
- let credential;
303
- try {
304
- credential = useImmediate ? await immediateAuthentication(options) : await startAuthentication({ optionsJSON: options });
305
- } catch (err) {
306
- if (classifyWebAuthnRejection(err)) {
307
- return { ok: false, reason: useImmediate ? "no_credential" : "cancelled" };
308
- }
309
- return {
310
- ok: false,
311
- reason: "error",
312
- error: new ConnectError("webauthn_failed", err instanceof Error ? err.message : String(err))
313
- };
314
- }
315
- onPhase?.("verifying");
316
- let userHandle;
317
- let credentialId;
318
- let walletIdentityProof;
319
- try {
320
- const res = await fetch(`${apiBase}${ANON_SIGN_BASE2}/recover-verify`, {
321
- method: "POST",
322
- headers: { "content-type": "application/json" },
323
- body: JSON.stringify({ credential })
324
- });
325
- if (res.status === 404) return { ok: false, reason: "no_credential" };
326
- if (!res.ok) return { ok: false, reason: "error", error: new ConnectError(await readErrorCode(res)) };
327
- const data = await res.json();
328
- userHandle = data.userHandle;
329
- credentialId = data.credentialId;
330
- walletIdentityProof = parseWalletIdentityProof(data.walletIdentityProof);
331
- } catch (err) {
332
- return netError("recover_verify_failed", err);
333
- }
334
- let vault;
335
- try {
336
- const res = await fetch(
337
- `${apiBase}/api/passkey-vault-anon/status?user_handle=${encodeURIComponent(userHandle)}`
338
- );
339
- if (!res.ok) return { ok: false, reason: "error", error: new ConnectError(await readErrorCode(res)) };
340
- const data = await res.json();
341
- if (!data.hasVault || !data.vault) {
342
- return {
343
- ok: false,
344
- reason: "error",
345
- error: new ConnectError("vault_not_found", "this sign-in key has no wallet attached")
346
- };
347
- }
348
- vault = {
349
- vaultPda: data.vault.vaultPda,
350
- swigAddress: data.vault.swigAddress,
351
- receiveAddress: data.vault.receiveAddress ?? null,
352
- isActivated: Boolean(data.vault.isActivated),
353
- walletLabel: data.vault.walletLabel ?? null
354
- };
355
- } catch (err) {
356
- return netError("vault_status_failed", err);
357
- }
358
- if (walletStore === "commit") {
359
- activateRecoveredVault(
360
- userHandle,
361
- credentialId,
362
- vault,
363
- walletIdentityProof
364
- );
365
- }
366
- return { ok: true, userHandle, credentialId, vault, walletIdentityProof };
367
- }
368
- function netError(code, err) {
369
- return {
370
- ok: false,
371
- reason: "error",
372
- error: new ConnectError(code, err instanceof Error ? err.message : String(err))
373
- };
374
- }
375
-
376
210
  // src/agentSpend.ts
377
211
  import { PublicKey as PublicKey2 } from "@solana/web3.js";
378
212
  import { WebAuthnAssertion } from "@dexterai/vault/signers/browser";
package/dist/react.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- import { c as WalletAccountRelationSnapshot, s as DexterControlModel, m as ConnectError, M as SignInResult, q as DexterConnectionIntent, h as AccountSessionInstaller, g as AccountSessionClearer, B as BindingFetch, a4 as PasskeyLoginConfig, o as CreateWalletResult, i as AgentDelegationMode } from './connectionContract-QGRidIHM.js';
2
- export { C as ConnectVault, p as DexterConnectionCapability, r as DexterConnectionPermissions, t as DexterControlPrimaryAction, u as DexterControlStage, a as RecoverOutcome, y as RecoverVault, W as WalletIdentityProof } from './connectionContract-QGRidIHM.js';
1
+ import { g as ConnectError, S as SignInResult, o as PasskeyLoginConfig, C as CreateWalletResult, A as AgentDelegationMode } from './enroll-DrgEW0X8.js';
2
+ export { c as ConnectVault, R as RecoverOutcome, k as RecoverVault, e as WalletIdentityProof } from './enroll-DrgEW0X8.js';
3
+ import { a as WalletAccountRelationSnapshot, i as DexterControlModel, g as DexterConnectionIntent, e as AccountSessionInstaller, d as AccountSessionClearer, B as BindingFetch } from './connectionContract-CR478cfF.js';
4
+ export { D as DexterConnectionCapability, h as DexterConnectionPermissions, j as DexterControlPrimaryAction, k as DexterControlStage } from './connectionContract-CR478cfF.js';
3
5
  import { ButtonHTMLAttributes, ReactNode, ReactElement } from 'react';
4
6
 
5
7
  /** The Dexter passkey mark carried on the branded button. */
package/dist/react.js CHANGED
@@ -1,28 +1,30 @@
1
1
  import {
2
- ConnectError,
3
- authoredPolicy,
4
2
  ceremonyPhaseLabel,
5
3
  connectDexterIdentity,
6
4
  createDexterControlModel,
7
5
  createDexterIdentityCoordinator,
6
+ disconnectDexterIdentity,
7
+ passkeySignalSupport,
8
+ prunePasskey,
9
+ renamePasskey
10
+ } from "./chunk-2BTS6DCR.js";
11
+ import {
12
+ ConnectError,
13
+ authoredPolicy,
8
14
  createWallet,
9
15
  disconnectActiveWallet,
10
- disconnectDexterIdentity,
11
16
  ejectActiveWallet,
12
17
  forgetWallet,
13
18
  getActiveHandle,
14
19
  listWallets,
15
- passkeySignalSupport,
16
- prunePasskey,
17
20
  removeWalletFromDeviceRoster,
18
- renamePasskey,
19
21
  setActiveHandle,
20
22
  setActiveWallet,
21
23
  shouldUsePopup,
22
24
  subscribe,
23
25
  switchWallet,
24
26
  walletProofSessionStore
25
- } from "./chunk-XKOVUW5P.js";
27
+ } from "./chunk-CZL7NGVV.js";
26
28
  import {
27
29
  DexterButton,
28
30
  DexterMark,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexterai/connect",
3
- "version": "0.29.0",
3
+ "version": "0.29.1",
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"