@dexterai/connect 0.31.3 → 0.34.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/dist/react.js CHANGED
@@ -7,13 +7,14 @@ import {
7
7
  passkeySignalSupport,
8
8
  prunePasskey,
9
9
  renamePasskey
10
- } from "./chunk-UQE76AJW.js";
10
+ } from "./chunk-SLI2QCWN.js";
11
11
  import {
12
12
  ConnectError,
13
13
  authoredPolicy,
14
14
  createWallet,
15
15
  disconnectActiveWallet,
16
16
  ejectActiveWallet,
17
+ enrollAccountIdentity,
17
18
  forgetWallet,
18
19
  getActiveHandle,
19
20
  listWallets,
@@ -21,10 +22,11 @@ import {
21
22
  setActiveHandle,
22
23
  setActiveWallet,
23
24
  shouldUsePopup,
25
+ signInAccountIdentity,
24
26
  subscribe,
25
27
  switchWallet,
26
28
  walletProofSessionStore
27
- } from "./chunk-IPEINLMT.js";
29
+ } from "./chunk-Q7HTBUJF.js";
28
30
  import {
29
31
  DexterButton,
30
32
  DexterMark,
@@ -713,6 +715,7 @@ function CreateWalletPanel(props) {
713
715
  withMark = true
714
716
  } = props;
715
717
  const account = terminology === "account";
718
+ const credentialOnly = !!props.onCredentialCreated;
716
719
  useEffect5(ensureConsentStyles, []);
717
720
  useEffect5(ensureDexterButtonStyles, []);
718
721
  const nameInputId = useId2();
@@ -728,7 +731,8 @@ function CreateWalletPanel(props) {
728
731
  setResolvedTransport(shouldUsePopup(transport) ? "popup" : "inline");
729
732
  }, [transport]);
730
733
  const hosted = resolvedTransport === "popup";
731
- const ownerOnly = agentDelegation === "deferred";
734
+ const ownerOnly = credentialOnly || agentDelegation === "deferred";
735
+ const passkeyHint = account && ownerOnly && resolvedTransport === "inline";
732
736
  const policy = resolvedTransport === "inline" && !ownerOnly ? authoredPolicy(value ?? "") : null;
733
737
  const canContinue = hosted || ownerOnly || Boolean(policy);
734
738
  const statusText = running ? phase ? ceremonyPhaseLabel(phase) : "Starting your passkey\u2026" : resolvedTransport === "unknown" ? account ? "Preparing account setup..." : "Preparing wallet setup\u2026" : hosted ? account ? "Account setup continues in Dexter." : "Wallet setup continues in Dexter Wallet." : ownerOnly ? "" : policy ? "Ready to create." : "Choose an agent allowance.";
@@ -739,6 +743,11 @@ function CreateWalletPanel(props) {
739
743
  setRunning(true);
740
744
  setPhase(null);
741
745
  try {
746
+ if (props.onCredentialCreated) {
747
+ const result2 = await enrollAccountIdentity({ name: hosted ? void 0 : name.trim() || void 0, apiBase, transport, onPhase: setPhase });
748
+ props.onCredentialCreated(result2);
749
+ return;
750
+ }
742
751
  const result = await createWallet({
743
752
  name: hosted ? void 0 : name.trim() || (account ? "Dexter account" : "Dexter Wallet"),
744
753
  spendPolicy: hosted ? void 0 : policy ?? void 0,
@@ -757,23 +766,24 @@ function CreateWalletPanel(props) {
757
766
  setPhase(null);
758
767
  }
759
768
  };
769
+ const nameField = /* @__PURE__ */ jsxs2("div", { className: "dx-cwp__field", children: [
770
+ /* @__PURE__ */ jsx2("label", { className: "dx-cwp__label", htmlFor: nameInputId, children: credentialOnly ? "Passkey name" : account ? "Account name" : "Name your wallet" }),
771
+ /* @__PURE__ */ jsx2(
772
+ "input",
773
+ {
774
+ id: nameInputId,
775
+ className: "dx-cwp__name",
776
+ maxLength: 40,
777
+ placeholder: account ? "Dexter account" : "Dexter Wallet",
778
+ value: name,
779
+ disabled: running,
780
+ autoComplete: "off",
781
+ onChange: (e) => setName(e.target.value)
782
+ }
783
+ )
784
+ ] });
760
785
  return /* @__PURE__ */ jsxs2("div", { className: cx("dx-cwp", className), children: [
761
- !hosted && resolvedTransport === "inline" && showName && /* @__PURE__ */ jsxs2("div", { className: "dx-cwp__field", children: [
762
- /* @__PURE__ */ jsx2("label", { className: "dx-cwp__label", htmlFor: nameInputId, children: account ? "Account name" : "Name your wallet" }),
763
- /* @__PURE__ */ jsx2(
764
- "input",
765
- {
766
- id: nameInputId,
767
- className: "dx-cwp__name",
768
- maxLength: 40,
769
- placeholder: account ? "Dexter account" : "Dexter Wallet",
770
- value: name,
771
- disabled: running,
772
- autoComplete: "off",
773
- onChange: (e) => setName(e.target.value)
774
- }
775
- )
776
- ] }),
786
+ resolvedTransport === "inline" && showName === true && nameField,
777
787
  hosted ? /* @__PURE__ */ jsx2("p", { className: "dx-cwp__hosted", children: account ? "Finish setup in Dexter." : ownerOnly ? "Finish setup in Dexter Wallet." : "Choose a name and agent allowance in Dexter Wallet." }) : resolvedTransport === "inline" ? !ownerOnly ? /* @__PURE__ */ jsxs2(Fragment, { children: [
778
788
  /* @__PURE__ */ jsxs2("div", { className: "dx-cwp__field", children: [
779
789
  /* @__PURE__ */ jsx2("span", { className: "dx-cwp__label", children: "What agents may spend automatically, per 30 days" }),
@@ -789,13 +799,22 @@ function CreateWalletPanel(props) {
789
799
  block: true,
790
800
  withMark,
791
801
  className: "dx-cwp__cta",
802
+ "aria-describedby": passkeyHint ? `${nameInputId}-hint` : void 0,
792
803
  loading: running,
793
804
  loadingLabel: phase ? ceremonyPhaseLabel(phase) : "Creating\u2026",
794
805
  disabled: !canContinue || resolvedTransport === "unknown",
795
806
  onClick: handleCreate,
796
- children: error ? "Retry" : hosted ? account ? "Continue to Dexter" : "Continue to Dexter Wallet" : account ? "Create account" : "Create your Dexter Wallet"
807
+ children: error ? "Retry" : hosted ? account ? "Continue to Dexter" : "Continue to Dexter Wallet" : account ? ownerOnly ? "Create my account" : "Create account" : "Create your Dexter Wallet"
797
808
  }
798
- )
809
+ ),
810
+ passkeyHint && /* @__PURE__ */ jsx2("p", { className: "dx-cwp__hint", id: `${nameInputId}-hint`, children: "Your device will ask for a passkey." }),
811
+ showName === "on-request" && resolvedTransport === "inline" && /* @__PURE__ */ jsxs2("details", { className: "dx-cwp__naming", children: [
812
+ /* @__PURE__ */ jsxs2("summary", { children: [
813
+ "Name this ",
814
+ credentialOnly ? "passkey" : account ? "account" : "wallet"
815
+ ] }),
816
+ nameField
817
+ ] })
799
818
  ] });
800
819
  }
801
820
 
@@ -823,9 +842,187 @@ function AccountFace() {
823
842
  /* @__PURE__ */ jsx3("path", { fill: "#f2671a", d: "M173.06,203.11c9.24-.06,21.6,4.49,22.85,14.84.3,2.12-.67,4.34-2.92,4.73-1.38.29-2.88-.05-4.09-.75-1.64-.9-2.97-2.86-4.19-3.05-1.33-.2-1.99.81-2.93,1.94-10.27,13.34-28.04,20.92-44.83,20.42-15.41-.33-31.89-5.95-43.53-17.34-3.15-3.39-1.55-9.88,3.61-9.19,1.83.32,3.29,1.45,4.76,2.65,10.49,10.12,24.85,14.04,39.12,13.03,10.55-1.23,20.38-5.47,28.74-11.92,1.11-1.06,4.45-3.63,3.5-5.12-.76-.85-4.31-.47-5.92-2.01-2.25-1.92-1.39-6.22,1.16-7.36,1.36-.65,2.96-.81,4.47-.86h.2,0Z" })
824
843
  ] }) });
825
844
  }
845
+ function AccountWordmark() {
846
+ return /* @__PURE__ */ jsxs3("svg", { viewBox: "0 0 750 250", width: "96", height: "32", role: "img", "aria-label": "Dexter", fill: "#f2671a", children: [
847
+ /* @__PURE__ */ jsx3("path", { d: "M11.79,181.18v-112.36h89.11c4.26,0,8.14,1.04,11.62,3.12s6.29,4.87,8.43,8.35c2.13,3.49,3.2,7.36,3.2,11.63v66.16c0,4.17-1.07,8.01-3.2,11.55-2.13,3.54-4.94,6.34-8.43,8.43s-7.36,3.12-11.62,3.12H11.79ZM99.65,156.83v-63.67h-63.83v63.67h63.83Z" }),
848
+ /* @__PURE__ */ jsx3("path", { d: "M141.94,181.18v-112.36h103.78v24.34h-79.27v19.66h63.83v24.34h-63.83v19.66h79.27v24.34h-103.78Z" }),
849
+ /* @__PURE__ */ jsx3("path", { d: "M259.6,181.18v-8.27l40.1-47.91-40.1-47.91v-8.27h25.12l31.21,36.99,30.9-36.99h25.12v8.27l-40.26,47.91,40.26,47.75v8.43h-25.12l-31.21-36.83-30.9,36.83h-25.12Z" }),
850
+ /* @__PURE__ */ jsx3("path", { d: "M426.27,181.18v-88.01h-44.01v-24.34h112.36v24.34h-44.01v88.01h-24.34Z" }),
851
+ /* @__PURE__ */ jsx3("path", { d: "M506.63,181.18v-112.36h103.77v24.34h-79.27v19.66h63.83v24.34h-63.83v19.66h79.27v24.34h-103.77Z" }),
852
+ /* @__PURE__ */ jsx3("path", { d: "M625.85,181.18v-112.2h89.11c4.26,0,8.14,1.04,11.63,3.12,3.48,2.08,6.29,4.89,8.43,8.43,2.13,3.54,3.2,7.39,3.2,11.55v29.02c0,4.16-1.07,8.01-3.2,11.55-2.13,3.54-4.94,6.35-8.43,8.43-3.49,2.08-7.36,3.12-11.63,3.12l-64.92.16v36.83h-24.19ZM713.71,119.85v-26.69h-63.67v26.69h63.67ZM713.09,181.18l-32.61-38.86h31.68l25.9,30.59v8.27h-24.97Z" })
853
+ ] });
854
+ }
826
855
 
827
856
  // src/accountControlStyles.ts
828
- var ACCOUNT_CONTROL_CSS = ".dx-account-control,.dx-account-panel,.dx-account-panel *{box-sizing:border-box}\n.dx-account-control{position:relative;display:inline-block}\n.dx-account-trigger{display:grid;place-items:center;width:48px;height:48px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer;transition:opacity 160ms,transform 100ms}\n.dx-account-trigger>svg{display:block;width:40px;height:32px;object-fit:contain}\n.dx-account-trigger:hover{opacity:.75}\n.dx-account-trigger:active{transform:scale(.94)}\n.dx-account-trigger:focus-visible,.dx-account-panel a:focus-visible,.dx-account-panel button:focus-visible{outline:2px solid #22272a;outline-offset:3px}\n.dx-account-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(376px,calc(100vw - 40px));max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;z-index:30;padding:24px;background:#fff;color:#22272a;border:1px solid #e4e7e8;border-radius:18px;box-shadow:0 20px 60px -16px #22272a30;transform-origin:top right;font-family:var(--dx-account-font,inherit)}\n.dx-account-panel a,.dx-account-panel button{font-family:inherit;font-weight:500;text-decoration:none;letter-spacing:0;cursor:pointer}\n.dx-account-panel button:disabled{cursor:wait;opacity:.55}\n.dx-account-identity{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-width:0}\n.dx-account-identity>svg{width:32px;height:36px;object-fit:contain;flex-shrink:0}\n.dx-account-identity>div{min-width:0;flex:1}\n.dx-account-identity h3{font-family:inherit;margin:0;font-size:18px!important;line-height:1.3;font-weight:700;letter-spacing:-.025em;overflow-wrap:anywhere}\n.dx-account-identity h3 a{color:inherit;font-weight:inherit;letter-spacing:inherit}.dx-account-identity h3 a:hover{text-decoration:underline;text-underline-offset:3px}\n.dx-account-address{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;margin-top:2px;min-width:0}\n.dx-account-panel .dx-account-copy{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 0;background:transparent;border:0;border-radius:4px;font-size:12px;line-height:20px;color:#596269;white-space:nowrap;font-variant-numeric:tabular-nums}.dx-account-panel .dx-account-copy:hover{color:#22272a}.dx-account-copy svg{flex-shrink:0}.dx-account-copyFeedback{font-size:11px;line-height:1.4;color:#596269}\n.dx-account-identity p{margin:5px 0 0!important;font-size:13px!important;line-height:1.5;color:#596269;overflow-wrap:anywhere}\n.dx-account-primary{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;font-size:15px;line-height:22px;text-align:center;color:#1c211e;background:#f2671a;border:1px solid #de5b13;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #52220814;transition:background-color 160ms,transform 100ms}\n.dx-account-primary:hover{background:#fa782f}\n.dx-account-primary:active{transform:scale(.985)}\n.dx-account-create,.dx-account-back{width:100%;min-height:44px;padding:10px 4px;background:transparent;border:0;border-radius:8px;color:#424b51;font-size:14px}\n.dx-account-create{margin-top:6px}\n.dx-account-back{text-align:left;margin-bottom:12px}\n.dx-account-create:hover,.dx-account-back:hover{background:#f5f6f6}\n.dx-account-summary{margin-bottom:18px}\n.dx-account-balanceRow{display:flex;align-items:center;gap:4px;margin:22px 0 18px}\n.dx-account-balance{display:grid;gap:5px;min-width:0;flex:1}\n.dx-account-amount{display:block;width:100%;max-width:100%;overflow-x:auto;white-space:nowrap;font-size:clamp(18px,calc(460px / var(--amount-length)),44px);font-weight:700;line-height:1.1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#22272a}\n.dx-account-balanceLabel{font-size:12px;line-height:1.5;color:#596269}\n.dx-account-balanceState{font-size:18px;letter-spacing:-.02em;font-weight:500;line-height:1.5}\n.dx-account-refresh{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;margin-right:-8px;padding:0;background:transparent;border:0;border-radius:8px;color:#788086}\n.dx-account-refresh:hover{color:#22272a;background:#f5f6f6}\n.dx-account-moneyActions{display:grid;grid-template-columns:1fr 1fr;gap:12px}\n.dx-account-moneyActions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:0;border:0;border-radius:8px;background:transparent;color:#22272a;font-size:14px;line-height:20px;font-weight:500;transition:transform 100ms}\n.dx-account-moneyActions svg{box-sizing:border-box;width:36px;height:36px;padding:9px;flex-shrink:0;background:#f2f4f4;color:#e95e13;border-radius:50%;transition:background-color 150ms,color 150ms}\n.dx-account-moneyActions a:hover svg{background:#e7ebeb;color:#d84f08}\n.dx-account-moneyActions a:active{transform:scale(.97)}\n.dx-account-destinations{display:grid;gap:2px;margin-top:8px}\n.dx-account-destinations a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;margin:0 -10px;padding:10px;border-radius:8px;font-size:14px;line-height:1.4;color:#22272a;transition:background-color 140ms}\n.dx-account-destinations svg{flex-shrink:0;color:#596269}\n.dx-account-destinationHint{margin-left:auto;font-size:11px;font-weight:400;color:#596269}\n.dx-account-destinations a:hover,.dx-account-connectionActions>button:hover,.dx-account-connectionActions>a:hover,.dx-account-manage:hover{background:#f5f6f6}\n.dx-account-connection{margin-top:14px}\n.dx-account-accountFooter{display:flex;align-items:center;justify-content:space-between;gap:12px}\n.dx-account-accountLinks{display:flex;gap:4px;margin-left:-10px}\n.dx-account-accountLinks a{display:flex;align-items:center;min-height:40px;padding:10px;font-size:13px;color:#596269;border-radius:8px}\n.dx-account-accountLinks a:hover{background:#f5f6f6;color:#22272a}\n.dx-account-manage{display:grid;place-items:center;width:40px;height:40px;margin-right:-8px;padding:0;background:transparent;border:0;border-radius:8px;color:#596269}\n.dx-account-manage[aria-expanded=true]{color:#e95e13}\n.dx-account-connectionActions{display:grid;gap:2px;padding-top:6px}\n.dx-account-connectionActions>button,.dx-account-connectionActions>a{display:flex;align-items:center;min-height:44px;width:100%;padding:10px;background:transparent;border:0;font-size:14px;line-height:1.4;color:#424b51;text-align:left;border-radius:8px}\n.dx-account-explanation,.dx-account-status,.dx-account-error{margin:8px 0 16px!important;font-size:13px!important;line-height:1.55;color:#596269;text-align:left}\n.dx-account-error{color:#a9342c;margin-bottom:0!important}\n/* Setup remains the SDK component, styled to match the shared account panel. */\n.dx-account-creation{--dx-radius:12px;--dx-ember:#f2671a;--dx-fg:#22272a}\n.dx-account-creation .dx-cwp__label{font-size:13px;font-weight:500;text-transform:none;letter-spacing:0;opacity:1;color:#424b51}\n.dx-account-creation .dx-cwp__name{font-family:inherit;font-size:16px;background:#fff;color:#22272a;border-color:#d8dddf}\n.dx-account-creation .dx-btn{min-height:48px;padding:12px 14px;background:#f2671a;color:#1c211e;border:1px solid #de5b13;border-radius:12px;font-size:14px;font-weight:500;line-height:22px;text-transform:none;letter-spacing:0;box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #52220814;filter:none}\n.dx-account-creation .dx-btn:hover{background:#fa782f;box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #52220814;filter:none}\n.dx-account-creation .dx-cwp__hosted,.dx-account-creation .dx-cwp__status{font-size:13px;line-height:1.5;color:#596269;opacity:1}\n@media(max-width:360px){.dx-account-panel{padding:20px}.dx-account-identity{gap:10px}}\n@media(prefers-reduced-motion:reduce){.dx-account-trigger,.dx-account-panel,.dx-account-primary,.dx-account-moneyActions a,.dx-account-moneyActions svg{transition:none;transform:none}}\n.dx-account-balance{text-decoration:none}\n.dx-account-linkIcon{width:20px;height:20px;flex-shrink:0}\n";
857
+ var ACCOUNT_CONTROL_CSS = `.dx-account-control,.dx-account-panel,.dx-account-panel *{box-sizing:border-box}
858
+ .dx-account-control{position:relative;display:inline-block}
859
+ .dx-account-trigger{display:grid;place-items:center;width:48px;height:48px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;cursor:pointer;transition:opacity 160ms,transform 100ms}
860
+ .dx-account-trigger>svg{display:block;width:40px;height:32px;object-fit:contain}
861
+ .dx-account-trigger:hover{opacity:.75}
862
+ .dx-account-trigger:active{transform:scale(.94)}
863
+ .dx-account-trigger:focus-visible,.dx-account-panel a:focus-visible,.dx-account-panel button:focus-visible{outline:2px solid #22272a;outline-offset:3px}
864
+ .dx-account-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(376px,calc(100vw - 40px));max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;z-index:30;padding:24px;background:#fff;color:#22272a;border:1px solid #e4e7e8;border-radius:18px;box-shadow:0 20px 60px -16px #22272a30;transform-origin:top right;font-family:var(--dx-account-font,inherit)}
865
+ .dx-account-panel a,.dx-account-panel button{font-family:inherit;font-weight:500;text-decoration:none;letter-spacing:0;cursor:pointer}
866
+ .dx-account-panel button:disabled{cursor:wait;opacity:.55}
867
+ .dx-account-identity{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-width:0}
868
+ .dx-account-identity>svg{width:32px;height:36px;object-fit:contain;flex-shrink:0}
869
+ .dx-account-identity>div{min-width:0;flex:1}
870
+ .dx-account-identity h3{font-family:inherit;margin:0;font-size:18px!important;line-height:1.3;font-weight:700;letter-spacing:-.025em;overflow-wrap:anywhere}
871
+ .dx-account-identity h3 a{color:inherit;font-weight:inherit;letter-spacing:inherit}.dx-account-identity h3 a:hover{text-decoration:underline;text-underline-offset:3px}
872
+ .dx-account-address{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;margin-top:2px;min-width:0}
873
+ .dx-account-panel .dx-account-copy{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 0;background:transparent;border:0;border-radius:4px;font-size:12px;line-height:20px;color:#596269;white-space:nowrap;font-variant-numeric:tabular-nums}.dx-account-panel .dx-account-copy:hover{color:#22272a}.dx-account-copy svg{flex-shrink:0}.dx-account-copyFeedback{font-size:11px;line-height:1.4;color:#596269}
874
+ .dx-account-identity p{margin:5px 0 0!important;font-size:13px!important;line-height:1.5;color:#596269;overflow-wrap:anywhere}
875
+ .dx-account-primary{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;font-size:15px;line-height:22px;text-align:center;color:#1c211e;background:#f2671a;border:1px solid #de5b13;border-radius:12px;box-shadow:inset 0 1px 0 #ffffff29,0 1px 2px #52220814;transition:background-color 160ms,transform 100ms}
876
+ .dx-account-primary:hover{background:#fa782f}
877
+ .dx-account-primary:active{transform:scale(.985)}
878
+ .dx-account-create,.dx-account-back{width:100%;min-height:44px;padding:10px 4px;background:transparent;border:0;border-radius:8px;color:#424b51;font-size:14px}
879
+ .dx-account-create{margin-top:6px}
880
+ .dx-account-back{text-align:left;margin-bottom:12px}
881
+ .dx-account-create:hover,.dx-account-back:hover{background:#f5f6f6}
882
+ .dx-account-summary{margin-bottom:18px}
883
+ .dx-account-balanceRow{display:flex;align-items:center;gap:4px;margin:22px 0 18px}
884
+ .dx-account-balance{display:grid;gap:5px;min-width:0;flex:1}
885
+ .dx-account-amount{display:block;width:100%;max-width:100%;overflow-x:auto;white-space:nowrap;font-size:clamp(18px,calc(460px / var(--amount-length)),44px);font-weight:700;line-height:1.1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#22272a}
886
+ .dx-account-balanceLabel{font-size:12px;line-height:1.5;color:#596269}
887
+ .dx-account-balanceState{font-size:18px;letter-spacing:-.02em;font-weight:500;line-height:1.5}
888
+ .dx-account-refresh{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;margin-right:-8px;padding:0;background:transparent;border:0;border-radius:8px;color:#788086}
889
+ .dx-account-refresh:hover{color:#22272a;background:#f5f6f6}
890
+ .dx-account-moneyActions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
891
+ .dx-account-moneyActions a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:0;border:0;border-radius:8px;background:transparent;color:#22272a;font-size:14px;line-height:20px;font-weight:500;transition:transform 100ms}
892
+ .dx-account-moneyActions svg{box-sizing:border-box;width:36px;height:36px;padding:9px;flex-shrink:0;background:#f2f4f4;color:#e95e13;border-radius:50%;transition:background-color 150ms,color 150ms}
893
+ .dx-account-moneyActions a:hover svg{background:#e7ebeb;color:#d84f08}
894
+ .dx-account-moneyActions a:active{transform:scale(.97)}
895
+ .dx-account-destinations{display:grid;gap:2px;margin-top:8px}
896
+ .dx-account-destinations a{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:44px;margin:0 -10px;padding:10px;border-radius:8px;font-size:14px;line-height:1.4;color:#22272a;transition:background-color 140ms}
897
+ .dx-account-destinations svg{flex-shrink:0;color:#596269}
898
+ .dx-account-destinationHint{margin-left:auto;font-size:11px;font-weight:400;color:#596269}
899
+ .dx-account-destinations a:hover,.dx-account-connectionActions>button:hover,.dx-account-connectionActions>a:hover,.dx-account-manage:hover{background:#f5f6f6}
900
+ .dx-account-connection{margin-top:14px}
901
+ .dx-account-accountFooter{display:flex;align-items:center;justify-content:space-between;gap:12px}
902
+ .dx-account-accountLinks{display:flex;gap:4px;margin-left:-10px}
903
+ .dx-account-accountLinks a{display:flex;align-items:center;min-height:40px;padding:10px;font-size:13px;color:#596269;border-radius:8px}
904
+ .dx-account-accountLinks a:hover{background:#f5f6f6;color:#22272a}
905
+ .dx-account-manage{display:grid;place-items:center;width:40px;height:40px;margin-right:-8px;padding:0;background:transparent;border:0;border-radius:8px;color:#596269}
906
+ .dx-account-manage[aria-expanded=true]{color:#e95e13}
907
+ .dx-account-connectionActions{display:grid;gap:2px;padding-top:6px}
908
+ .dx-account-connectionActions>button,.dx-account-connectionActions>a{display:flex;align-items:center;min-height:44px;width:100%;padding:10px;background:transparent;border:0;font-size:14px;line-height:1.4;color:#424b51;text-align:left;border-radius:8px}
909
+ .dx-account-explanation,.dx-account-status,.dx-account-error{margin:8px 0 16px!important;font-size:13px!important;line-height:1.55;color:#596269;text-align:left}
910
+ .dx-account-error{color:#a9342c;margin-bottom:0!important}
911
+ @media(max-width:360px){.dx-account-panel{padding:20px}.dx-account-identity{gap:10px}}
912
+ @media(prefers-reduced-motion:reduce){.dx-account-trigger,.dx-account-panel,.dx-account-primary,.dx-account-moneyActions a,.dx-account-moneyActions svg{transition:none;transform:none}}
913
+ .dx-account-balance{text-decoration:none}
914
+ .dx-account-linkIcon{width:20px;height:20px;flex-shrink:0}
915
+
916
+ .dx-account-panel.dx-account-welcome {
917
+ display: flex;
918
+ flex-direction: column;
919
+ min-height: min(480px, calc(100dvh - 100px));
920
+ padding: 0 22px;
921
+ border: 0;
922
+ border-radius: 12px;
923
+ background: radial-gradient(ellipse 29rem 21rem at 50% 8rem, #ffe4c7, transparent 90%), #fcf7ef;
924
+ color: #30221d;
925
+ }
926
+ .dx-welcome-header, .dx-welcome-brand {
927
+ display: flex;
928
+ align-items: center;
929
+ }
930
+ .dx-welcome-header { justify-content: space-between; min-height: 56px; }
931
+ .dx-welcome-brand { gap: 8px; font-size: 17px; letter-spacing: -.04em; }
932
+ .dx-account-creation {
933
+ padding: clamp(26px, 6svh, 48px) 0 30px;
934
+ text-align: center;
935
+ }
936
+ .dx-account-creation h2 {
937
+ margin: 0;
938
+ color: inherit;
939
+ font-family: inherit;
940
+ font-weight: 700;
941
+ font-size: clamp(28px, 8.2vw, 35px);
942
+ line-height: 1.08;
943
+ letter-spacing: -.045em;
944
+ text-wrap: balance;
945
+ }
946
+ .dx-account-creation h2:focus { outline: none; }
947
+ .dx-welcome-intro {
948
+ max-width: 32ch;
949
+ margin: 10px auto 24px;
950
+ font-size: 15px;
951
+ line-height: 1.45;
952
+ color: #513f33;
953
+ text-wrap: balance;
954
+ }
955
+ .dx-account-creation .dx-cwp { align-items: center; gap: 0; }
956
+ .dx-account-creation .dx-cwp__cta {
957
+ width: auto;
958
+ min-width: min(100%, 12rem);
959
+ max-width: 100%;
960
+ padding: 12px 22px;
961
+ min-height: 48px;
962
+ border: 1px solid;
963
+ border-color: #ff9b64 #de560d #b64108;
964
+ border-radius: 2px;
965
+ background: linear-gradient(#ff7b31, #f2671a 48%, #ec5b0e);
966
+ box-shadow: inset 0 1px 0 #ffffff47, 0 1px 0 #ac470b26;
967
+ color: #2b1b12;
968
+ font-size: 16px;
969
+ font-weight: 700;
970
+ line-height: 1.25;
971
+ text-transform: none;
972
+ letter-spacing: -.01em;
973
+ }
974
+ .dx-account-creation .dx-cwp__cta:hover:enabled { filter: brightness(1.045); }
975
+ .dx-account-creation .dx-cwp__hint,
976
+ .dx-account-creation .dx-cwp__status,
977
+ .dx-account-creation .dx-cwp__hosted {
978
+ margin: 6px 0;
979
+ color: #665041;
980
+ font-size: 13px;
981
+ line-height: 1.5;
982
+ }
983
+ .dx-account-creation .dx-cwp__err { margin-bottom: 10px; color: #902e26; overflow-wrap: anywhere; }
984
+ .dx-account-welcome .dx-welcome-link, .dx-welcome-terms a {
985
+ color: #59463a;
986
+ text-decoration: underline;
987
+ text-decoration-color: #a99a8e;
988
+ text-underline-offset: .22em;
989
+ }
990
+ .dx-account-welcome .dx-welcome-link {
991
+ min-height: 44px;
992
+ min-width: 44px;
993
+ padding: 8px 4px;
994
+ border: 0;
995
+ background: transparent;
996
+ font-size: 14px;
997
+ font-weight: 700;
998
+ }
999
+ .dx-account-creation .dx-cwp__naming {
1000
+ max-width: 100%;
1001
+ font-size: 13px;
1002
+ color: #59463a;
1003
+ }
1004
+ .dx-cwp__naming summary {
1005
+ cursor: pointer;
1006
+ display: list-item;
1007
+ padding: 6px 4px;
1008
+ line-height: 1.45;
1009
+ }
1010
+ .dx-cwp__naming .dx-cwp__field { margin: 6px 0 12px; gap: 4px; text-align: left; }
1011
+ .dx-cwp__naming .dx-cwp__label { font-size: 13px; letter-spacing: 0; text-transform: none; opacity: 1; }
1012
+ .dx-cwp__naming input { width: 100%; min-width: 0; color: #30221d; background: #fffaf2; }
1013
+ .dx-account-welcome summary:focus-visible { outline: 3px solid #944018; outline-offset: 2px; }
1014
+ .dx-welcome-terms {
1015
+ margin: auto auto 0;
1016
+ padding: 22px 2px;
1017
+ max-width: 42ch;
1018
+ color: #665041;
1019
+ font-size: 12px;
1020
+ line-height: 1.6;
1021
+ text-align: center;
1022
+ }
1023
+ .dx-account-welcome .dx-welcome-terms a { text-decoration: underline; text-underline-offset: .16em; }
1024
+ .dx-account-welcome :is(button, a):focus-visible { outline: 3px solid #944018; outline-offset: 3px; }
1025
+ `;
829
1026
 
830
1027
  // src/accountNavigation.tsx
831
1028
  import { jsx as jsx4 } from "react/jsx-runtime";
@@ -1102,6 +1299,7 @@ function DexterAccountControl({
1102
1299
  connection: dexter,
1103
1300
  open: controlledOpen,
1104
1301
  onOpenChange,
1302
+ credentialAccess,
1105
1303
  profile,
1106
1304
  navigation,
1107
1305
  items = [],
@@ -1122,6 +1320,7 @@ function DexterAccountControl({
1122
1320
  const [pending, setPending] = useState7(null);
1123
1321
  const [error, setError] = useState7("");
1124
1322
  const [createOpen, setCreateOpen] = useState7(false);
1323
+ const [credentialNeedsSignIn, setCredentialNeedsSignIn] = useState7(false);
1125
1324
  const [createdHandle, setCreatedHandle] = useState7(null);
1126
1325
  const [manageOpen, setManageOpen] = useState7(false);
1127
1326
  const [panelShift, setPanelShift] = useState7(0);
@@ -1129,6 +1328,7 @@ function DexterAccountControl({
1129
1328
  const control = useRef4(null);
1130
1329
  const trigger = useRef4(null);
1131
1330
  const panel = useRef4(null);
1331
+ const panelVisit = useRef4(0);
1132
1332
  const isOpen = useRef4(open);
1133
1333
  isOpen.current = open;
1134
1334
  const changeOpen = useRef4(setOpen);
@@ -1136,19 +1336,33 @@ function DexterAccountControl({
1136
1336
  const reduced = useReducedMotion();
1137
1337
  const id = useId5();
1138
1338
  const permissions = dexter.model.permissions;
1139
- const checking = !ready || dexter.model.stage === "checking";
1339
+ const credentialEntry = credentialAccess && dexter.model.stage === "connect" && !dexter.identity.hasWallet && !dexter.identity.hasAccount ? credentialAccess : void 0;
1340
+ const checking = !ready || dexter.model.stage === "checking" || credentialEntry?.loading === true;
1140
1341
  const busy = checking || pending !== null || dexter.operation !== "idle";
1141
1342
  const hasIdentity = ready && (dexter.identity.hasWallet || dexter.identity.hasAccount);
1142
1343
  const email = permissions.accountContentVisible ? profile?.email?.trim() ?? "" : "";
1143
1344
  const name = permissions.accountContentVisible ? profile?.name?.trim() ?? "" : "";
1144
1345
  const title = permissions.walletIdentityVisible ? dexter.identity.walletLabel?.trim() || "Your Dexter account" : name || email.split("@")[0] || "Your Dexter account";
1145
- const canCreate = !checking && dexter.model.stage === "connect";
1346
+ const canCreate = !checking && dexter.model.stage === "connect" && !credentialEntry?.signedIn && !(credentialEntry && credentialNeedsSignIn);
1347
+ const creating = canCreate && createOpen;
1146
1348
  const canOpenWallet = dexter.model.stage === "ready" && permissions.walletDataVisible;
1147
1349
  const finishCreation = Boolean(createdHandle && !permissions.accountContentVisible);
1148
1350
  const needsConnection = ["connect", "repair", "offline", "error"].includes(dexter.model.stage);
1149
1351
  const links = resolveAccountNavigation(navigation, dexter.activeWallet);
1150
1352
  const headerWallet = canOpenWallet && !busy && dexter.activeWallet?.userHandle ? dexter.activeWallet : null;
1151
1353
  const close = () => changeOpen.current(false);
1354
+ const dismiss = () => {
1355
+ close();
1356
+ trigger.current?.focus();
1357
+ };
1358
+ const welcomeTitle = useRef4(null);
1359
+ const entryAction = useRef4(null);
1360
+ const wasCreating = useRef4(false);
1361
+ useLayoutEffect(() => {
1362
+ if (open && creating) welcomeTitle.current?.focus();
1363
+ else if (open && wasCreating.current) entryAction.current?.focus();
1364
+ wasCreating.current = creating;
1365
+ }, [open, creating]);
1152
1366
  useEffect7(() => setReady(true), []);
1153
1367
  useEffect7(() => {
1154
1368
  if (permissions.accountContentVisible || dexter.activeWallet?.userHandle && dexter.activeWallet.userHandle !== createdHandle) {
@@ -1166,7 +1380,10 @@ function DexterAccountControl({
1166
1380
  };
1167
1381
  position();
1168
1382
  window.addEventListener("resize", position);
1169
- return () => window.removeEventListener("resize", position);
1383
+ return () => {
1384
+ panelVisit.current++;
1385
+ window.removeEventListener("resize", position);
1386
+ };
1170
1387
  }, [open]);
1171
1388
  useEffect7(() => {
1172
1389
  if (!open) {
@@ -1197,15 +1414,25 @@ function DexterAccountControl({
1197
1414
  }, [open]);
1198
1415
  const run = async (action) => {
1199
1416
  if (busy || pendingAction.current) return;
1417
+ const visit = panelVisit.current;
1200
1418
  pendingAction.current = true;
1201
1419
  setPending(action);
1202
1420
  setError("");
1203
1421
  try {
1422
+ if (action === "credential" && credentialEntry) {
1423
+ const result = await signInAccountIdentity();
1424
+ if (isOpen.current && visit === panelVisit.current) {
1425
+ credentialEntry.accept(result);
1426
+ setCredentialNeedsSignIn(false);
1427
+ dismiss();
1428
+ }
1429
+ }
1204
1430
  if (action === "connect") {
1205
1431
  const target = createdHandle ?? (canOpenWallet && !permissions.accountContentVisible ? dexter.activeWallet?.userHandle : void 0);
1206
1432
  if (target) await dexter.connect({ userHandle: target });
1207
1433
  else await dexter.connect();
1208
1434
  setCreatedHandle(null);
1435
+ if (isOpen.current && visit === panelVisit.current && (needsConnection || finishCreation)) dismiss();
1209
1436
  }
1210
1437
  if (action === "switch") {
1211
1438
  await dexter.useAnotherDexterWallet();
@@ -1214,11 +1441,16 @@ function DexterAccountControl({
1214
1441
  if (action === "retry") await dexter.retry();
1215
1442
  if (action === "disconnect") {
1216
1443
  await dexter.disconnectDexter();
1444
+ credentialAccess?.clear();
1217
1445
  setCreatedHandle(null);
1218
1446
  close();
1219
1447
  }
1220
1448
  } catch (caught) {
1221
- setError(action === "disconnect" ? "Dexter could not finish that action. Try again." : formatError(caught instanceof ConnectError ? caught.code : dexter.error?.code));
1449
+ if (action === "credential") {
1450
+ setError(caught instanceof ConnectError && caught.code === "user_cancelled" ? "The passkey prompt closed. Try again when you\u2019re ready." : "Dexter could not verify your passkey. Try signing in again.");
1451
+ } else {
1452
+ setError(action === "disconnect" ? "Dexter could not finish that action. Try again." : formatError(caught instanceof ConnectError ? caught.code : dexter.error?.code));
1453
+ }
1222
1454
  } finally {
1223
1455
  pendingAction.current = false;
1224
1456
  setPending(null);
@@ -1246,7 +1478,7 @@ function DexterAccountControl({
1246
1478
  id: `${id}-menu`,
1247
1479
  role: "dialog",
1248
1480
  "aria-labelledby": `${id}-title`,
1249
- className: "dx-account-panel",
1481
+ className: creating ? "dx-account-panel dx-account-welcome" : "dx-account-panel",
1250
1482
  ref: panel,
1251
1483
  style: { right: -panelShift },
1252
1484
  initial: { opacity: 0, y: reduced ? 0 : -6, scale: reduced ? 1 : 0.985 },
@@ -1257,7 +1489,13 @@ function DexterAccountControl({
1257
1489
  if (isOpen.current && document.activeElement === trigger.current) panel.current?.querySelector("button:not(:disabled), a[href]")?.focus();
1258
1490
  },
1259
1491
  children: [
1260
- /* @__PURE__ */ jsxs5("div", { className: "dx-account-identity", children: [
1492
+ creating ? /* @__PURE__ */ jsxs5("header", { className: "dx-welcome-header", children: [
1493
+ /* @__PURE__ */ jsxs5("span", { className: "dx-welcome-brand", children: [
1494
+ /* @__PURE__ */ jsx6(AccountWordmark, {}),
1495
+ "Account"
1496
+ ] }),
1497
+ /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-welcome-link", onClick: dismiss, children: "Close" })
1498
+ ] }) : /* @__PURE__ */ jsxs5("div", { className: "dx-account-identity", children: [
1261
1499
  /* @__PURE__ */ jsx6(AccountFace, {}),
1262
1500
  /* @__PURE__ */ jsxs5("div", { children: [
1263
1501
  /* @__PURE__ */ jsx6("h3", { id: `${id}-title`, children: headerWallet && links.money ? /* @__PURE__ */ jsx6(LinkComponent, { href: links.money.href, onClick: close, title: "Open wallet", children: title }) : title }),
@@ -1271,26 +1509,69 @@ function DexterAccountControl({
1271
1509
  )
1272
1510
  ] })
1273
1511
  ] }),
1274
- checking ? /* @__PURE__ */ jsx6("p", { className: "dx-account-status", role: "status", children: "Checking your connection..." }) : /* @__PURE__ */ jsx6(Fragment3, { children: canCreate && createOpen ? /* @__PURE__ */ jsxs5("div", { className: "dx-account-creation", children: [
1275
- /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-back", onClick: () => setCreateOpen(false), children: "Back to sign in" }),
1276
- /* @__PURE__ */ jsx6(CreateWalletPanel, { agentDelegation: "deferred", terminology: "account", withMark: false, onCreated: (result) => {
1277
- setCreatedHandle(result.handle);
1278
- setCreateOpen(false);
1279
- } })
1512
+ checking ? /* @__PURE__ */ jsx6("p", { className: "dx-account-status", role: "status", children: "Checking your connection..." }) : /* @__PURE__ */ jsx6(Fragment3, { children: creating ? /* @__PURE__ */ jsxs5(Fragment3, { children: [
1513
+ /* @__PURE__ */ jsxs5("div", { className: "dx-account-creation", children: [
1514
+ /* @__PURE__ */ jsx6("h2", { id: `${id}-title`, tabIndex: -1, ref: welcomeTitle, children: "Welcome to Dexter" }),
1515
+ /* @__PURE__ */ jsx6("p", { className: "dx-welcome-intro", children: "Use your account across the apps you connect. You choose what your agents can do." }),
1516
+ /* @__PURE__ */ jsx6(
1517
+ CreateWalletPanel,
1518
+ {
1519
+ agentDelegation: "deferred",
1520
+ terminology: "account",
1521
+ showName: "on-request",
1522
+ withMark: false,
1523
+ onCredentialCreated: credentialEntry ? (result) => {
1524
+ credentialEntry.accept(result);
1525
+ setCreateOpen(false);
1526
+ dismiss();
1527
+ } : void 0,
1528
+ onError: credentialEntry ? (err) => {
1529
+ if (err.code !== "account_identity_request_uncertain" && err.code !== "credential_exists") return;
1530
+ setCredentialNeedsSignIn(true);
1531
+ setCreateOpen(false);
1532
+ setError("Sign in with the passkey you created to finish setting up your account.");
1533
+ } : void 0,
1534
+ onCreated: (result) => {
1535
+ setCreatedHandle(result.handle);
1536
+ setCreateOpen(false);
1537
+ }
1538
+ }
1539
+ ),
1540
+ /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-welcome-link", onClick: () => setCreateOpen(false), children: "Sign in instead" })
1541
+ ] }),
1542
+ /* @__PURE__ */ jsxs5("footer", { className: "dx-welcome-terms", children: [
1543
+ "By creating an account, you agree to the",
1544
+ " ",
1545
+ /* @__PURE__ */ jsx6("a", { href: "https://dexter.cash/terms", target: "_blank", rel: "noreferrer", children: "Terms of Service" }),
1546
+ " and acknowledge the",
1547
+ " ",
1548
+ /* @__PURE__ */ jsx6("a", { href: "https://dexter.cash/privacy", target: "_blank", rel: "noreferrer", children: "Privacy Policy" }),
1549
+ "."
1550
+ ] })
1280
1551
  ] }) : /* @__PURE__ */ jsxs5(Fragment3, { children: [
1281
- (needsConnection || finishCreation) && /* @__PURE__ */ jsxs5("div", { className: "dx-account-entry", children: [
1552
+ credentialEntry?.signedIn && /* @__PURE__ */ jsxs5("div", { className: "dx-account-entry", children: [
1553
+ /* @__PURE__ */ jsx6("p", { className: "dx-account-status", children: "You\u2019re signed in with your passkey." }),
1554
+ /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-primary", onClick: () => void run("connect"), disabled: busy, children: "Connect a wallet" }),
1555
+ /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-create", onClick: () => {
1556
+ credentialEntry.clear();
1557
+ dismiss();
1558
+ }, disabled: busy, children: "Sign out" })
1559
+ ] }),
1560
+ !credentialEntry?.signedIn && (needsConnection || finishCreation) && /* @__PURE__ */ jsxs5("div", { className: "dx-account-entry", children: [
1282
1561
  dexter.model.stage === "repair" && /* @__PURE__ */ jsx6("p", { className: "dx-account-explanation", children: "Reconnect your passkey to continue." }),
1283
1562
  /* @__PURE__ */ jsx6(
1284
1563
  "button",
1285
1564
  {
1286
1565
  type: "button",
1287
1566
  className: "dx-account-primary",
1567
+ ref: entryAction,
1288
1568
  disabled: busy,
1289
- onClick: () => void run(dexter.model.primaryAction === "retry" ? "retry" : "connect"),
1290
- children: busy ? "Opening passkey..." : finishCreation ? "Finish signing in" : dexter.model.stage === "repair" ? "Reconnect Dexter" : dexter.model.stage === "error" || dexter.model.stage === "offline" ? "Try again" : "Sign in with Dexter"
1569
+ onClick: () => void run(credentialEntry ? "credential" : dexter.model.primaryAction === "retry" ? "retry" : "connect"),
1570
+ children: busy ? "Opening passkey..." : finishCreation ? "Finish signing in" : dexter.model.stage === "repair" ? "Reconnect Dexter" : dexter.model.stage === "error" || dexter.model.stage === "offline" ? "Try again" : "Connect Dexter"
1291
1571
  }
1292
1572
  ),
1293
- canCreate && !finishCreation && /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-create", onClick: () => setCreateOpen(true), disabled: busy, children: "Create account" })
1573
+ credentialEntry && /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-create", onClick: () => void run("connect"), disabled: busy, children: "Use an existing wallet" }),
1574
+ canCreate && !finishCreation && /* @__PURE__ */ jsx6("button", { type: "button", className: "dx-account-create", onClick: () => setCreateOpen(true), disabled: busy, children: "Create an account" })
1294
1575
  ] }),
1295
1576
  canOpenWallet && /* @__PURE__ */ jsx6("div", { children: renderSummary ? renderSummary(close) : /* @__PURE__ */ jsx6(DefaultSummary, { connection: dexter, navigation: links, LinkComponent, onNavigate: close, styleNonce }) }, `${dexter.activeWallet?.userHandle ?? "account"}:${dexter.activeWallet?.vaultPda ?? ""}`),
1296
1577
  (canOpenWallet || permissions.accountContentVisible) && /* @__PURE__ */ jsxs5("nav", { className: "dx-account-destinations", "aria-label": "Your account", children: [
package/dist/server.d.ts CHANGED
@@ -3,7 +3,7 @@ import { JWTPayload, JWK, JSONWebKeySet } from 'jose';
3
3
  /**
4
4
  * @dexterai/connect/server — offline Dexter session verification.
5
5
  *
6
- * The server half of Sign in with Dexter (CONTRACT-dexter-session-token.md):
6
+ * The server half of Dexter Connect sign-in (CONTRACT-dexter-session-token.md):
7
7
  * a local ES256 signature check against the published JWKS — no call to
8
8
  * Supabase or dexter-api on the hot path, so it runs on Node and edge
9
9
  * runtimes alike. Pre-hook tokens (no `dexter` claim) verify as signed-in
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexterai/connect",
3
- "version": "0.31.3",
3
+ "version": "0.34.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
  "packageManager": "npm@10.9.3",