@rhinestone/deposit-modal 0.10.0 → 0.11.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.
Files changed (49) hide show
  1. package/dist/{DepositModalReown-MTWT6Y66.mjs → DepositModalReown-MO5QDLIT.mjs} +96 -26
  2. package/dist/{DepositModalReown-S3DSFXTX.cjs → DepositModalReown-YGB73NMW.cjs} +97 -27
  3. package/dist/caip-D8aRWdEY.d.cts +40 -0
  4. package/dist/caip-D8aRWdEY.d.ts +40 -0
  5. package/dist/{chunk-NF4NBRUP.cjs → chunk-4FTI3GTB.cjs} +1 -1
  6. package/dist/{chunk-A223BLVC.mjs → chunk-53IFZGSF.mjs} +177 -21
  7. package/dist/{chunk-VDGT6NZQ.mjs → chunk-5746YXKC.mjs} +14 -31
  8. package/dist/{chunk-7TV7GLJB.mjs → chunk-CWGUBFJL.mjs} +763 -169
  9. package/dist/{chunk-LR7MKHYV.mjs → chunk-EIWOVX53.mjs} +27 -25
  10. package/dist/{chunk-VTVOHNXM.cjs → chunk-FVUXJ3RP.cjs} +3 -3
  11. package/dist/{chunk-A42XAHIB.cjs → chunk-HUHBNYD3.cjs} +84 -101
  12. package/dist/{chunk-YEBXUUH3.cjs → chunk-JPRV36DT.cjs} +2 -2
  13. package/dist/{chunk-UMCDZJMG.cjs → chunk-LQGYPM5B.cjs} +96 -94
  14. package/dist/{chunk-ILT2PITN.mjs → chunk-MZ53PDIX.mjs} +1 -1
  15. package/dist/{chunk-5NJYW5FT.mjs → chunk-OWYPKCYD.mjs} +12 -9
  16. package/dist/{chunk-W4YAOJPG.cjs → chunk-SSQ27YFB.cjs} +625 -568
  17. package/dist/{chunk-H577RJN5.cjs → chunk-TENL4H64.cjs} +186 -30
  18. package/dist/{chunk-5OEWGJR4.mjs → chunk-URFSTNRS.mjs} +1 -1
  19. package/dist/{chunk-KW32UBUQ.mjs → chunk-V6T7LORJ.mjs} +1 -1
  20. package/dist/{chunk-MHIOMTMM.mjs → chunk-YELNYILK.mjs} +391 -334
  21. package/dist/{chunk-PUJHXHRA.cjs → chunk-ZQR36NCV.cjs} +845 -251
  22. package/dist/{chunk-DEF767BA.cjs → chunk-ZRIRCIQM.cjs} +66 -63
  23. package/dist/claim.cjs +6 -6
  24. package/dist/claim.d.cts +3 -2
  25. package/dist/claim.d.ts +3 -2
  26. package/dist/claim.mjs +5 -5
  27. package/dist/{caip-523Zrc3r.d.cts → constants-FuzG3h4m.d.cts} +1 -18
  28. package/dist/{caip-523Zrc3r.d.ts → constants-FuzG3h4m.d.ts} +1 -18
  29. package/dist/constants.cjs +5 -3
  30. package/dist/constants.d.cts +3 -2
  31. package/dist/constants.d.ts +3 -2
  32. package/dist/constants.mjs +4 -2
  33. package/dist/deposit.cjs +8 -8
  34. package/dist/deposit.d.cts +3 -2
  35. package/dist/deposit.d.ts +3 -2
  36. package/dist/deposit.mjs +7 -7
  37. package/dist/index.cjs +12 -10
  38. package/dist/index.d.cts +3 -2
  39. package/dist/index.d.ts +3 -2
  40. package/dist/index.mjs +11 -9
  41. package/dist/polymarket.cjs +5 -5
  42. package/dist/polymarket.mjs +2 -2
  43. package/dist/{types-C0SGf-21.d.cts → types-CsGa-HxD.d.cts} +10 -3
  44. package/dist/{types-C0SGf-21.d.ts → types-DdS8OySJ.d.ts} +10 -3
  45. package/dist/withdraw.cjs +6 -6
  46. package/dist/withdraw.d.cts +3 -2
  47. package/dist/withdraw.d.ts +3 -2
  48. package/dist/withdraw.mjs +5 -5
  49. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkVTVOHNXMcjs = require('./chunk-VTVOHNXM.cjs');
3
+ var _chunkFVUXJ3RPcjs = require('./chunk-FVUXJ3RP.cjs');
4
4
 
5
5
 
6
6
 
@@ -26,18 +26,19 @@ var _chunkVTVOHNXMcjs = require('./chunk-VTVOHNXM.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkPUJHXHRAcjs = require('./chunk-PUJHXHRA.cjs');
30
29
 
31
30
 
32
- var _chunkNF4NBRUPcjs = require('./chunk-NF4NBRUP.cjs');
31
+ var _chunkZQR36NCVcjs = require('./chunk-ZQR36NCV.cjs');
33
32
 
34
33
 
34
+ var _chunk4FTI3GTBcjs = require('./chunk-4FTI3GTB.cjs');
35
35
 
36
36
 
37
37
 
38
38
 
39
39
 
40
- var _chunkH577RJN5cjs = require('./chunk-H577RJN5.cjs');
40
+
41
+ var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
41
42
 
42
43
  // src/ClaimModal.tsx
43
44
 
@@ -67,7 +68,7 @@ var Input = _react.forwardRef.call(void 0,
67
68
  }
68
69
  ),
69
70
  error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-input-error", children: [
70
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
71
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
71
72
  error
72
73
  ] })
73
74
  ] });
@@ -153,7 +154,7 @@ async function submitSignedRecovery(params) {
153
154
  try {
154
155
  signature = await signRecovery({ typedData, signer, depositId, destination });
155
156
  } catch (error) {
156
- _chunkPUJHXHRAcjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
157
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
157
158
  throw new RecoveryError(
158
159
  "Signature request was declined. Approve it in your wallet to recover this deposit.",
159
160
  0,
@@ -170,7 +171,7 @@ async function submitSignedRecovery(params) {
170
171
  );
171
172
  }
172
173
  const url = `${backendUrl.replace(/\/$/, "")}/deposits/recover`;
173
- _chunkPUJHXHRAcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
174
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
174
175
  url,
175
176
  depositId,
176
177
  signer
@@ -182,19 +183,19 @@ async function submitSignedRecovery(params) {
182
183
  // The shared const, so recovery carries `x-deposit-modal-version` like
183
184
  // every other backend call. Without it this path would be invisible in the
184
185
  // per-client version telemetry the processor records.
185
- headers: _chunkNF4NBRUPcjs.SERVICE_HEADERS,
186
+ headers: _chunk4FTI3GTBcjs.SERVICE_HEADERS,
186
187
  // `depositId` as a string: it is a uint256 upstream and JSON numbers lose
187
188
  // precision well before that range.
188
189
  body: JSON.stringify({ depositId, destination, signature })
189
190
  });
190
191
  } catch (error) {
191
- _chunkPUJHXHRAcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
192
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
192
193
  const { message, retryable } = formatRecoveryError(0);
193
194
  throw new RecoveryError(message, 0, void 0, retryable);
194
195
  }
195
196
  if (!response.ok) {
196
197
  const body = await response.json().catch(() => ({}));
197
- _chunkPUJHXHRAcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
198
+ _chunkZQR36NCVcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
198
199
  status: response.status
199
200
  });
200
201
  const { message, retryable } = formatRecoveryError(
@@ -205,7 +206,7 @@ async function submitSignedRecovery(params) {
205
206
  throw new RecoveryError(message, response.status, body.code, retryable);
206
207
  }
207
208
  const result = await response.json();
208
- _chunkPUJHXHRAcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
209
+ _chunkZQR36NCVcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
209
210
  transactionHash: result.transactionHash
210
211
  });
211
212
  return result;
@@ -223,17 +224,17 @@ function isEligible(row) {
223
224
  }
224
225
  function describeDeposit(row) {
225
226
  const chainId = _nullishCoalesce(evmChainIdFromCaip2(row.chain), () => ( 0));
226
- const decimals = _chunkH577RJN5cjs.getTokenDecimalsByAddress.call(void 0, row.token, chainId);
227
- const symbol = _chunkH577RJN5cjs.getTokenSymbol.call(void 0, row.token, chainId);
227
+ const decimals = _chunkTENL4H64cjs.getTokenDecimalsByAddress.call(void 0, row.token, chainId);
228
+ const symbol = _chunkTENL4H64cjs.getTokenSymbol.call(void 0, row.token, chainId);
228
229
  const raw = BigInt(_nullishCoalesce(_nullishCoalesce(row.sourceAmount, () => ( row.amount)), () => ( "0")));
229
230
  const human = Number(_viem.formatUnits.call(void 0, raw, decimals));
230
- const amount = _nullishCoalesce(_chunkPUJHXHRAcjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
231
+ const amount = _nullishCoalesce(_chunkZQR36NCVcjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
231
232
  return {
232
233
  chainId,
233
234
  symbol,
234
235
  amount,
235
- chainName: _chunkH577RJN5cjs.getChainName.call(void 0, chainId),
236
- chainIcon: _chunkH577RJN5cjs.getChainIcon.call(void 0, chainId)
236
+ chainName: _chunkTENL4H64cjs.getChainName.call(void 0, chainId),
237
+ chainIcon: _chunkTENL4H64cjs.getChainIcon.call(void 0, chainId)
237
238
  };
238
239
  }
239
240
  function shortenHash(hash) {
@@ -324,15 +325,15 @@ function ClaimModal({
324
325
  onError,
325
326
  debug
326
327
  }) {
327
- _chunkPUJHXHRAcjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
328
+ _chunkZQR36NCVcjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
328
329
  const modalRef = _react.useRef.call(void 0, null);
329
- const onReadyRef = _chunkPUJHXHRAcjs.useLatestRef.call(void 0, onReady);
330
- const onLifecycleRef = _chunkPUJHXHRAcjs.useLatestRef.call(void 0, onLifecycle);
331
- const onEventRef = _chunkPUJHXHRAcjs.useLatestRef.call(void 0, onEvent);
332
- const onErrorRef = _chunkPUJHXHRAcjs.useLatestRef.call(void 0, onError);
333
- const rpcUrls = _chunkPUJHXHRAcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
330
+ const onReadyRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onReady);
331
+ const onLifecycleRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onLifecycle);
332
+ const onEventRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onEvent);
333
+ const onErrorRef = _chunkZQR36NCVcjs.useLatestRef.call(void 0, onError);
334
+ const rpcUrls = _chunkZQR36NCVcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
334
335
  const service = _react.useMemo.call(void 0,
335
- () => _chunkPUJHXHRAcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
336
+ () => _chunkZQR36NCVcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
336
337
  [backendUrl, debug]
337
338
  );
338
339
  const [state, dispatch] = _react.useReducer.call(void 0, claimReducer, INITIAL_STATE);
@@ -340,7 +341,7 @@ function ClaimModal({
340
341
  const isOpenRef = _react.useRef.call(void 0, isOpen);
341
342
  isOpenRef.current = isOpen;
342
343
  _react.useEffect.call(void 0, () => {
343
- if (isOpen && modalRef.current) _chunkPUJHXHRAcjs.applyTheme.call(void 0, modalRef.current, theme);
344
+ if (isOpen && modalRef.current) _chunkZQR36NCVcjs.applyTheme.call(void 0, modalRef.current, theme);
344
345
  }, [isOpen, theme]);
345
346
  _react.useEffect.call(void 0, () => {
346
347
  if (isOpen) {
@@ -362,8 +363,8 @@ function ClaimModal({
362
363
  }, [state.step, onClose]);
363
364
  const canGoBack = state.step === "select" || state.step === "review" || state.step === "failed";
364
365
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _7 => _7.showBackButton]), () => ( true));
365
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
366
- _chunkPUJHXHRAcjs.Modal,
366
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
367
+ _chunkZQR36NCVcjs.Modal,
367
368
  {
368
369
  isOpen,
369
370
  onClose: handleClose,
@@ -379,7 +380,7 @@ function ClaimModal({
379
380
  className: "rs-modal-header-back",
380
381
  "aria-label": "Go back",
381
382
  onClick: () => dispatch({ type: "back" }),
382
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.ChevronLeftIcon, {})
383
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ChevronLeftIcon, {})
383
384
  }
384
385
  ) }),
385
386
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -390,7 +391,7 @@ function ClaimModal({
390
391
  disabled: state.step === "processing",
391
392
  className: "rs-modal-close",
392
393
  "aria-label": "Close",
393
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.CloseIcon, {})
394
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CloseIcon, {})
394
395
  }
395
396
  ) })
396
397
  ] }),
@@ -415,7 +416,7 @@ function ClaimModal({
415
416
  ) })
416
417
  ] })
417
418
  }
418
- ) });
419
+ ) }) });
419
420
  }
420
421
  function ClaimBody({
421
422
  state,
@@ -523,12 +524,12 @@ function ClaimBody({
523
524
  });
524
525
  if (!isCurrentOperation()) return;
525
526
  const paidTo = destination;
526
- const decimals = _chunkH577RJN5cjs.getTokenDecimalsByAddress.call(void 0, token, sourceChainId);
527
- const symbol = _chunkH577RJN5cjs.getTokenSymbol.call(void 0, token, sourceChainId);
527
+ const decimals = _chunkTENL4H64cjs.getTokenDecimalsByAddress.call(void 0, token, sourceChainId);
528
+ const symbol = _chunkTENL4H64cjs.getTokenSymbol.call(void 0, token, sourceChainId);
528
529
  const refundedRaw = BigInt(
529
530
  _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(result.amount, () => ( deposit.sourceAmount)), () => ( deposit.amount)), () => ( "0"))
530
531
  );
531
- const amountDisplay = _nullishCoalesce(_chunkPUJHXHRAcjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
532
+ const amountDisplay = _nullishCoalesce(_chunkZQR36NCVcjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
532
533
  dispatch({
533
534
  type: "complete",
534
535
  txHash: result.transactionHash,
@@ -555,7 +556,7 @@ function ClaimBody({
555
556
  if (!isCurrentOperation()) return;
556
557
  const recoveryError = err instanceof RecoveryError ? err : void 0;
557
558
  const status = _optionalChain([recoveryError, 'optionalAccess', _16 => _16.status]);
558
- const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunkPUJHXHRAcjs.formatUserError.call(void 0,
559
+ const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunkZQR36NCVcjs.formatUserError.call(void 0,
559
560
  err instanceof Error ? err.message : "Recovery failed"
560
561
  )));
561
562
  dispatch({
@@ -620,7 +621,7 @@ function LookupStep({
620
621
  onResults(deposits);
621
622
  } catch (err) {
622
623
  if (!isCurrentOperation()) return;
623
- const message = _chunkPUJHXHRAcjs.formatUserError.call(void 0,
624
+ const message = _chunkZQR36NCVcjs.formatUserError.call(void 0,
624
625
  err instanceof Error ? err.message : "Lookup failed"
625
626
  );
626
627
  setError(message);
@@ -641,9 +642,9 @@ function LookupStep({
641
642
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
642
643
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
643
644
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
644
- _chunkPUJHXHRAcjs.BodyHeader,
645
+ _chunkZQR36NCVcjs.BodyHeader,
645
646
  {
646
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.HandCoinsIcon, {}),
647
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HandCoinsIcon, {}),
647
648
  title: "Claim a deposit",
648
649
  subtitle: "Get funds from a failed deposit sent back to you on the source chain."
649
650
  }
@@ -658,9 +659,9 @@ function LookupStep({
658
659
  error: trimmed.length > 0 && !validTxHash ? "Enter a valid transaction hash" : void 0
659
660
  }
660
661
  ),
661
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Callout, { variant: "error", children: error }),
662
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
662
663
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
663
- _chunkPUJHXHRAcjs.Button,
664
+ _chunkZQR36NCVcjs.Button,
664
665
  {
665
666
  onClick: handleLookup,
666
667
  loading,
@@ -671,7 +672,7 @@ function LookupStep({
671
672
  }
672
673
  )
673
674
  ] }),
674
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.PoweredBy, {})
675
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
675
676
  ] });
676
677
  }
677
678
  function SelectStep({
@@ -681,9 +682,9 @@ function SelectStep({
681
682
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
682
683
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
683
684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
684
- _chunkPUJHXHRAcjs.BodyHeader,
685
+ _chunkZQR36NCVcjs.BodyHeader,
685
686
  {
686
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.CoinsIcon, {}),
687
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CoinsIcon, {}),
687
688
  title: "Select a deposit",
688
689
  subtitle: "This transaction produced multiple deposits. Choose the one to claim."
689
690
  }
@@ -692,9 +693,9 @@ function SelectStep({
692
693
  const { symbol, amount, chainName } = describeDeposit(row);
693
694
  const eligible = isEligible(row);
694
695
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
695
- _chunkVTVOHNXMcjs.ListRow,
696
+ _chunkFVUXJ3RPcjs.ListRow,
696
697
  {
697
- leadingMedia: _chunkH577RJN5cjs.tokenIconUrl.call(void 0, symbol),
698
+ leadingMedia: _chunkTENL4H64cjs.tokenIconUrl.call(void 0, symbol),
698
699
  title: `${amount} ${symbol}`,
699
700
  subtitle: chainName,
700
701
  meta: eligible ? void 0 : humanizeStatus(row.status),
@@ -705,7 +706,7 @@ function SelectStep({
705
706
  );
706
707
  }) })
707
708
  ] }),
708
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.PoweredBy, {})
709
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
709
710
  ] });
710
711
  }
711
712
  function ReviewStep({
@@ -715,14 +716,15 @@ function ReviewStep({
715
716
  onSubmit
716
717
  }) {
717
718
  const { chainId, symbol, amount, chainName, chainIcon } = describeDeposit(deposit);
719
+ const explorerTxUrl = _chunkZQR36NCVcjs.useExplorerTxUrl.call(void 0, );
718
720
  const [destination, setDestination] = _react.useState.call(void 0, _nullishCoalesce(defaultRefundDestination, () => ( "")));
719
721
  const destinationValid = _viem.isAddress.call(void 0, destination);
720
722
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
721
723
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
722
724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
723
- _chunkPUJHXHRAcjs.BodyHeader,
725
+ _chunkZQR36NCVcjs.BodyHeader,
724
726
  {
725
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.HandCoinsIcon, {}),
727
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.HandCoinsIcon, {}),
726
728
  title: "Review refund",
727
729
  subtitle: "This returns the funds on the source chain. It does not retry the original bridge."
728
730
  }
@@ -736,20 +738,20 @@ function ReviewStep({
736
738
  " ",
737
739
  symbol
738
740
  ] }),
739
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.TokenIcon, { symbol }) })
741
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol }) })
740
742
  ] })
741
743
  ] }),
742
744
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
743
745
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
744
746
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
745
747
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
746
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.CdnIcon, { src: chainIcon }) })
748
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CdnIcon, { src: chainIcon }) })
747
749
  ] })
748
750
  ] }),
749
751
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
750
752
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Deposit transaction" }),
751
753
  (() => {
752
- const url = deposit.txHash ? _chunkH577RJN5cjs.getExplorerTxUrl.call(void 0, chainId, deposit.txHash) : null;
754
+ const url = deposit.txHash ? explorerTxUrl(chainId, deposit.txHash) : null;
753
755
  const short = deposit.txHash ? shortenHash(deposit.txHash) : "\u2014";
754
756
  return url ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
755
757
  "a",
@@ -760,7 +762,7 @@ function ReviewStep({
760
762
  rel: "noreferrer",
761
763
  children: [
762
764
  short,
763
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.ExternalLinkIcon, {})
765
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ExternalLinkIcon, {})
764
766
  ]
765
767
  }
766
768
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
@@ -778,7 +780,7 @@ function ReviewStep({
778
780
  }
779
781
  ),
780
782
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
781
- _chunkPUJHXHRAcjs.Button,
783
+ _chunkZQR36NCVcjs.Button,
782
784
  {
783
785
  onClick: () => destinationValid && onSubmit(destination),
784
786
  loading: submitting,
@@ -789,7 +791,7 @@ function ReviewStep({
789
791
  }
790
792
  )
791
793
  ] }),
792
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.PoweredBy, {})
794
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
793
795
  ] });
794
796
  }
795
797
  function ResultStep({
@@ -800,12 +802,13 @@ function ResultStep({
800
802
  onRetry
801
803
  }) {
802
804
  const success = !!result;
805
+ const explorerTxUrl = _chunkZQR36NCVcjs.useExplorerTxUrl.call(void 0, );
803
806
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
804
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
805
808
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
806
- _chunkPUJHXHRAcjs.BodyHeader,
809
+ _chunkZQR36NCVcjs.BodyHeader,
807
810
  {
808
- icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.AlertTriangleIcon, {}),
811
+ icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.AlertTriangleIcon, {}),
809
812
  variant: success ? "success" : "error",
810
813
  title: success ? "Refund submitted" : "Refund failed",
811
814
  subtitle: success ? "Your funds are being returned on the source chain." : void 0
@@ -820,7 +823,7 @@ function ResultStep({
820
823
  " ",
821
824
  result.symbol
822
825
  ] }),
823
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.TokenIcon, { symbol: result.symbol }) })
826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.TokenIcon, { symbol: result.symbol }) })
824
827
  ] })
825
828
  ] }),
826
829
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -830,7 +833,7 @@ function ResultStep({
830
833
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
831
834
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Transaction" }),
832
835
  (() => {
833
- const url = _chunkH577RJN5cjs.getExplorerTxUrl.call(void 0, result.chain, result.txHash);
836
+ const url = explorerTxUrl(result.chain, result.txHash);
834
837
  const short = shortenHash(result.txHash);
835
838
  return url ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
836
839
  "a",
@@ -841,22 +844,22 @@ function ResultStep({
841
844
  rel: "noreferrer",
842
845
  children: [
843
846
  short,
844
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.ExternalLinkIcon, {})
847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.ExternalLinkIcon, {})
845
848
  ]
846
849
  }
847
850
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
848
851
  })()
849
852
  ] })
850
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Callout, { variant: "error", children: error }),
853
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Callout, { variant: "error", children: error }),
851
854
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-button-row", children: success ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
852
- onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
853
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
855
+ onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
856
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
854
857
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
855
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
856
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
858
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
859
+ onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
857
860
  ] }) })
858
861
  ] }),
859
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPUJHXHRAcjs.PoweredBy, {})
862
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZQR36NCVcjs.PoweredBy, {})
860
863
  ] });
861
864
  }
862
865
 
package/dist/claim.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkDEF767BAcjs = require('./chunk-DEF767BA.cjs');
4
- require('./chunk-VTVOHNXM.cjs');
5
- require('./chunk-PUJHXHRA.cjs');
6
- require('./chunk-NF4NBRUP.cjs');
7
- require('./chunk-H577RJN5.cjs');
3
+ var _chunkZRIRCIQMcjs = require('./chunk-ZRIRCIQM.cjs');
4
+ require('./chunk-FVUXJ3RP.cjs');
5
+ require('./chunk-ZQR36NCV.cjs');
6
+ require('./chunk-4FTI3GTB.cjs');
7
+ require('./chunk-TENL4H64.cjs');
8
8
 
9
9
 
10
- exports.ClaimModal = _chunkDEF767BAcjs.ClaimModal;
10
+ exports.ClaimModal = _chunkZRIRCIQMcjs.ClaimModal;
package/dist/claim.d.cts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-C0SGf-21.cjs';
3
- export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-C0SGf-21.cjs';
2
+ import { d as ClaimModalProps } from './types-CsGa-HxD.cjs';
3
+ export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-CsGa-HxD.cjs';
4
4
  import 'viem';
5
+ import './caip-D8aRWdEY.cjs';
5
6
 
6
7
  declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, }: ClaimModalProps): react.JSX.Element;
7
8
 
package/dist/claim.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-C0SGf-21.js';
3
- export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-C0SGf-21.js';
2
+ import { d as ClaimModalProps } from './types-DdS8OySJ.js';
3
+ export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-DdS8OySJ.js';
4
4
  import 'viem';
5
+ import './caip-D8aRWdEY.js';
5
6
 
6
7
  declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, }: ClaimModalProps): react.JSX.Element;
7
8
 
package/dist/claim.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ClaimModal
3
- } from "./chunk-5NJYW5FT.mjs";
4
- import "./chunk-KW32UBUQ.mjs";
5
- import "./chunk-7TV7GLJB.mjs";
6
- import "./chunk-5OEWGJR4.mjs";
7
- import "./chunk-A223BLVC.mjs";
3
+ } from "./chunk-OWYPKCYD.mjs";
4
+ import "./chunk-V6T7LORJ.mjs";
5
+ import "./chunk-CWGUBFJL.mjs";
6
+ import "./chunk-URFSTNRS.mjs";
7
+ import "./chunk-53IFZGSF.mjs";
8
8
  export {
9
9
  ClaimModal
10
10
  };
@@ -55,21 +55,4 @@ declare function getExplorerUrl(chainId: number | "solana" | "hypercore"): strin
55
55
  declare function getExplorerTxUrl(chainId: number | "solana" | "hypercore", txHash: string): string | undefined;
56
56
  declare function getExplorerName(chainId: number | "solana" | "hypercore"): string;
57
57
 
58
- /**
59
- * HyperCore — Hyperliquid's virtual trading L1 (internal chain id 1337),
60
- * settling on HyperEVM (999). It is USDC-only and requires an EOA recipient. It
61
- * has no node of its own and must never be used as an EVM RPC target. Its
62
- * canonical CAIP-2 is `hypercore:mainnet` (RHI-4560), NOT `eip155:1337`;
63
- * `targetChainToCaip2(1337)` emits the former.
64
- */
65
- declare const HYPERCORE_CHAIN_ID = 1337;
66
- /** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */
67
- declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
68
- /**
69
- * USDT0 on HyperEVM (999). HyperCore-origin deposits accept USDC *and* USDT0
70
- * (both land on HyperEVM and route out via the orchestrator). Destination
71
- * delivery stays USDC-only, so this is a *source*-token address only.
72
- */
73
- declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
74
-
75
- export { type SupportedTokenOption as A, CHAIN_BY_ID as C, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, HYPERCORE_USDC_ADDRESS as a, HYPERCORE_USDT0_ADDRESS as b, SUPPORTED_CHAINS as c, chainRegistry as d, getChainIcon as e, findChainIdForToken as f, getChainBadge as g, getChainId as h, getChainName as i, getChainObject as j, getExplorerName as k, getExplorerTxUrl as l, getExplorerUrl as m, getSupportedChainIds as n, getSupportedTargetTokens as o, getSupportedTokenSymbolsForChain as p, getTargetTokenSymbolsForChain as q, getTokenAddress as r, getTokenDecimals as s, getTokenDecimalsByAddress as t, getTokenIcon as u, getTokenSymbol as v, getUsdcAddress as w, getUsdcDecimals as x, isSupportedTokenAddressForChain as y, tokenIconUrl as z };
58
+ export { CHAIN_BY_ID as C, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, SUPPORTED_CHAINS as a, getChainIcon as b, chainRegistry as c, getChainId as d, getChainName as e, findChainIdForToken as f, getChainBadge as g, getChainObject as h, getExplorerName as i, getExplorerTxUrl as j, getExplorerUrl as k, getSupportedChainIds as l, getSupportedTargetTokens as m, getSupportedTokenSymbolsForChain as n, getTargetTokenSymbolsForChain as o, getTokenAddress as p, getTokenDecimals as q, getTokenDecimalsByAddress as r, getTokenIcon as s, getTokenSymbol as t, getUsdcAddress as u, getUsdcDecimals as v, isSupportedTokenAddressForChain as w, tokenIconUrl as x, type SupportedTokenOption as y };
@@ -55,21 +55,4 @@ declare function getExplorerUrl(chainId: number | "solana" | "hypercore"): strin
55
55
  declare function getExplorerTxUrl(chainId: number | "solana" | "hypercore", txHash: string): string | undefined;
56
56
  declare function getExplorerName(chainId: number | "solana" | "hypercore"): string;
57
57
 
58
- /**
59
- * HyperCore — Hyperliquid's virtual trading L1 (internal chain id 1337),
60
- * settling on HyperEVM (999). It is USDC-only and requires an EOA recipient. It
61
- * has no node of its own and must never be used as an EVM RPC target. Its
62
- * canonical CAIP-2 is `hypercore:mainnet` (RHI-4560), NOT `eip155:1337`;
63
- * `targetChainToCaip2(1337)` emits the former.
64
- */
65
- declare const HYPERCORE_CHAIN_ID = 1337;
66
- /** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */
67
- declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
68
- /**
69
- * USDT0 on HyperEVM (999). HyperCore-origin deposits accept USDC *and* USDT0
70
- * (both land on HyperEVM and route out via the orchestrator). Destination
71
- * delivery stays USDC-only, so this is a *source*-token address only.
72
- */
73
- declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb";
74
-
75
- export { type SupportedTokenOption as A, CHAIN_BY_ID as C, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, HYPERCORE_USDC_ADDRESS as a, HYPERCORE_USDT0_ADDRESS as b, SUPPORTED_CHAINS as c, chainRegistry as d, getChainIcon as e, findChainIdForToken as f, getChainBadge as g, getChainId as h, getChainName as i, getChainObject as j, getExplorerName as k, getExplorerTxUrl as l, getExplorerUrl as m, getSupportedChainIds as n, getSupportedTargetTokens as o, getSupportedTokenSymbolsForChain as p, getTargetTokenSymbolsForChain as q, getTokenAddress as r, getTokenDecimals as s, getTokenDecimalsByAddress as t, getTokenIcon as u, getTokenSymbol as v, getUsdcAddress as w, getUsdcDecimals as x, isSupportedTokenAddressForChain as y, tokenIconUrl as z };
58
+ export { CHAIN_BY_ID as C, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, SUPPORTED_CHAINS as a, getChainIcon as b, chainRegistry as c, getChainId as d, getChainName as e, findChainIdForToken as f, getChainBadge as g, getChainObject as h, getExplorerName as i, getExplorerTxUrl as j, getExplorerUrl as k, getSupportedChainIds as l, getSupportedTargetTokens as m, getSupportedTokenSymbolsForChain as n, getTargetTokenSymbolsForChain as o, getTokenAddress as p, getTokenDecimals as q, getTokenDecimalsByAddress as r, getTokenIcon as s, getTokenSymbol as t, getUsdcAddress as u, getUsdcDecimals as v, isSupportedTokenAddressForChain as w, tokenIconUrl as x, type SupportedTokenOption as y };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkNF4NBRUPcjs = require('./chunk-NF4NBRUP.cjs');
3
+ var _chunk4FTI3GTBcjs = require('./chunk-4FTI3GTB.cjs');
4
4
 
5
5
 
6
6
 
@@ -34,8 +34,8 @@ var _chunkNF4NBRUPcjs = require('./chunk-NF4NBRUP.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkH577RJN5cjs = require('./chunk-H577RJN5.cjs');
38
37
 
38
+ var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
39
39
 
40
40
 
41
41
 
@@ -69,4 +69,6 @@ var _chunkH577RJN5cjs = require('./chunk-H577RJN5.cjs');
69
69
 
70
70
 
71
71
 
72
- exports.CHAIN_BY_ID = _chunkH577RJN5cjs.CHAIN_BY_ID; exports.HYPERCORE_CHAIN_ID = _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkH577RJN5cjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkNF4NBRUPcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkH577RJN5cjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkH577RJN5cjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunkH577RJN5cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkH577RJN5cjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkH577RJN5cjs.chainRegistry; exports.findChainIdForToken = _chunkH577RJN5cjs.findChainIdForToken; exports.getChainBadge = _chunkH577RJN5cjs.getChainBadge; exports.getChainIcon = _chunkH577RJN5cjs.getChainIcon; exports.getChainId = _chunkH577RJN5cjs.getChainId; exports.getChainName = _chunkH577RJN5cjs.getChainName; exports.getChainObject = _chunkH577RJN5cjs.getChainObject; exports.getExplorerName = _chunkH577RJN5cjs.getExplorerName; exports.getExplorerTxUrl = _chunkH577RJN5cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkH577RJN5cjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkH577RJN5cjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkH577RJN5cjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkH577RJN5cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkH577RJN5cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkH577RJN5cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkH577RJN5cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkH577RJN5cjs.getTokenAddress; exports.getTokenDecimals = _chunkH577RJN5cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkH577RJN5cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkH577RJN5cjs.getTokenIcon; exports.getTokenSymbol = _chunkH577RJN5cjs.getTokenSymbol; exports.getUsdcAddress = _chunkH577RJN5cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkH577RJN5cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkH577RJN5cjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkH577RJN5cjs.tokenIconUrl;
72
+
73
+
74
+ exports.CHAIN_BY_ID = _chunkTENL4H64cjs.CHAIN_BY_ID; exports.HYPERCORE_CHAIN_ID = _chunkTENL4H64cjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkTENL4H64cjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkTENL4H64cjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunk4FTI3GTBcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkTENL4H64cjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkTENL4H64cjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunkTENL4H64cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkTENL4H64cjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkTENL4H64cjs.chainRegistry; exports.findChainIdForToken = _chunkTENL4H64cjs.findChainIdForToken; exports.getChainBadge = _chunkTENL4H64cjs.getChainBadge; exports.getChainIcon = _chunkTENL4H64cjs.getChainIcon; exports.getChainId = _chunkTENL4H64cjs.getChainId; exports.getChainName = _chunkTENL4H64cjs.getChainName; exports.getChainObject = _chunkTENL4H64cjs.getChainObject; exports.getExplorerName = _chunkTENL4H64cjs.getExplorerName; exports.getExplorerTxUrl = _chunkTENL4H64cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkTENL4H64cjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkTENL4H64cjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkTENL4H64cjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkTENL4H64cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkTENL4H64cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkTENL4H64cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkTENL4H64cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkTENL4H64cjs.getTokenAddress; exports.getTokenDecimals = _chunkTENL4H64cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkTENL4H64cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkTENL4H64cjs.getTokenIcon; exports.getTokenSymbol = _chunkTENL4H64cjs.getTokenSymbol; exports.getUsdcAddress = _chunkTENL4H64cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkTENL4H64cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkTENL4H64cjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkTENL4H64cjs.tokenIconUrl;
@@ -1,8 +1,9 @@
1
- export { C as CHAIN_BY_ID, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_USDC_ADDRESS, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, c as SUPPORTED_CHAINS, A as SupportedTokenOption, d as chainRegistry, f as findChainIdForToken, g as getChainBadge, e as getChainIcon, h as getChainId, i as getChainName, j as getChainObject, k as getExplorerName, l as getExplorerTxUrl, m as getExplorerUrl, n as getSupportedChainIds, o as getSupportedTargetTokens, p as getSupportedTokenSymbolsForChain, q as getTargetTokenSymbolsForChain, r as getTokenAddress, s as getTokenDecimals, t as getTokenDecimalsByAddress, u as getTokenIcon, v as getTokenSymbol, w as getUsdcAddress, x as getUsdcDecimals, y as isSupportedTokenAddressForChain, z as tokenIconUrl } from './caip-523Zrc3r.cjs';
1
+ export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, y as SupportedTokenOption, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, b as getChainIcon, d as getChainId, e as getChainName, h as getChainObject, i as getExplorerName, j as getExplorerTxUrl, k as getExplorerUrl, l as getSupportedChainIds, m as getSupportedTargetTokens, n as getSupportedTokenSymbolsForChain, o as getTargetTokenSymbolsForChain, p as getTokenAddress, q as getTokenDecimals, r as getTokenDecimalsByAddress, s as getTokenIcon, t as getTokenSymbol, u as getUsdcAddress, v as getUsdcDecimals, w as isSupportedTokenAddressForChain, x as tokenIconUrl } from './constants-FuzG3h4m.cjs';
2
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-D8aRWdEY.cjs';
2
3
  import 'viem/chains';
3
4
  import 'viem';
4
5
 
5
- declare const MODAL_VERSION = "0.10.0";
6
+ declare const MODAL_VERSION = "0.11.1";
6
7
 
7
8
  /**
8
9
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,8 +1,9 @@
1
- export { C as CHAIN_BY_ID, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_USDC_ADDRESS, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, c as SUPPORTED_CHAINS, A as SupportedTokenOption, d as chainRegistry, f as findChainIdForToken, g as getChainBadge, e as getChainIcon, h as getChainId, i as getChainName, j as getChainObject, k as getExplorerName, l as getExplorerTxUrl, m as getExplorerUrl, n as getSupportedChainIds, o as getSupportedTargetTokens, p as getSupportedTokenSymbolsForChain, q as getTargetTokenSymbolsForChain, r as getTokenAddress, s as getTokenDecimals, t as getTokenDecimalsByAddress, u as getTokenIcon, v as getTokenSymbol, w as getUsdcAddress, x as getUsdcDecimals, y as isSupportedTokenAddressForChain, z as tokenIconUrl } from './caip-523Zrc3r.js';
1
+ export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, y as SupportedTokenOption, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, b as getChainIcon, d as getChainId, e as getChainName, h as getChainObject, i as getExplorerName, j as getExplorerTxUrl, k as getExplorerUrl, l as getSupportedChainIds, m as getSupportedTargetTokens, n as getSupportedTokenSymbolsForChain, o as getTargetTokenSymbolsForChain, p as getTokenAddress, q as getTokenDecimals, r as getTokenDecimalsByAddress, s as getTokenIcon, t as getTokenSymbol, u as getUsdcAddress, v as getUsdcDecimals, w as isSupportedTokenAddressForChain, x as tokenIconUrl } from './constants-FuzG3h4m.js';
2
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-D8aRWdEY.js';
2
3
  import 'viem/chains';
3
4
  import 'viem';
4
5
 
5
- declare const MODAL_VERSION = "0.10.0";
6
+ declare const MODAL_VERSION = "0.11.1";
6
7
 
7
8
  /**
8
9
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  MODAL_VERSION
3
- } from "./chunk-5OEWGJR4.mjs";
3
+ } from "./chunk-URFSTNRS.mjs";
4
4
  import {
5
5
  CHAIN_BY_ID,
6
6
  HYPERCORE_CHAIN_ID,
7
+ HYPERCORE_SPOT_CAIP2,
7
8
  HYPERCORE_USDC_ADDRESS,
8
9
  NATIVE_TOKEN_ADDRESS,
9
10
  SOLANA_TOKENS,
@@ -34,10 +35,11 @@ import {
34
35
  getUsdcDecimals,
35
36
  isSupportedTokenAddressForChain,
36
37
  tokenIconUrl
37
- } from "./chunk-A223BLVC.mjs";
38
+ } from "./chunk-53IFZGSF.mjs";
38
39
  export {
39
40
  CHAIN_BY_ID,
40
41
  HYPERCORE_CHAIN_ID,
42
+ HYPERCORE_SPOT_CAIP2,
41
43
  HYPERCORE_USDC_ADDRESS,
42
44
  MODAL_VERSION,
43
45
  NATIVE_TOKEN_ADDRESS,
package/dist/deposit.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkW4YAOJPGcjs = require('./chunk-W4YAOJPG.cjs');
4
- require('./chunk-A42XAHIB.cjs');
5
- require('./chunk-VTVOHNXM.cjs');
6
- require('./chunk-PUJHXHRA.cjs');
7
- require('./chunk-NF4NBRUP.cjs');
8
- require('./chunk-YEBXUUH3.cjs');
9
- require('./chunk-H577RJN5.cjs');
3
+ var _chunkSSQ27YFBcjs = require('./chunk-SSQ27YFB.cjs');
4
+ require('./chunk-HUHBNYD3.cjs');
5
+ require('./chunk-FVUXJ3RP.cjs');
6
+ require('./chunk-ZQR36NCV.cjs');
7
+ require('./chunk-4FTI3GTB.cjs');
8
+ require('./chunk-JPRV36DT.cjs');
9
+ require('./chunk-TENL4H64.cjs');
10
10
 
11
11
 
12
- exports.DepositModal = _chunkW4YAOJPGcjs.DepositModal;
12
+ exports.DepositModal = _chunkSSQ27YFBcjs.DepositModal;