@rhinestone/deposit-modal 0.11.0 → 0.12.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.
Files changed (45) hide show
  1. package/dist/{DepositModalReown-6RVLEM3B.mjs → DepositModalReown-MVVRUXO4.mjs} +7 -7
  2. package/dist/{DepositModalReown-TXTLVZIQ.cjs → DepositModalReown-PZXHTPIS.cjs} +17 -17
  3. package/dist/{chunk-VRNRRN2U.mjs → chunk-2AMRKYJ4.mjs} +4 -4
  4. package/dist/{chunk-JYKMR6QI.cjs → chunk-2PQ34KU3.cjs} +3 -3
  5. package/dist/{chunk-TENL4H64.cjs → chunk-4R2ZHSDQ.cjs} +4 -9
  6. package/dist/{chunk-XVKBCDZI.cjs → chunk-4SRVZRZF.cjs} +1 -1
  7. package/dist/{chunk-MZ53PDIX.mjs → chunk-53IGTENZ.mjs} +1 -1
  8. package/dist/{chunk-ITAYM7SB.mjs → chunk-5IP67CL5.mjs} +45 -17
  9. package/dist/{chunk-HCQWFL3A.cjs → chunk-6ZJTZ7DS.cjs} +81 -80
  10. package/dist/{chunk-BLJMYCBF.cjs → chunk-BK54FZAE.cjs} +83 -83
  11. package/dist/{chunk-G4FVZQOM.mjs → chunk-EUIPQ3T4.mjs} +7 -7
  12. package/dist/{chunk-QRR3Y7EK.mjs → chunk-GZNMBZHY.mjs} +1 -1
  13. package/dist/{chunk-NPSC5R22.cjs → chunk-LBJFACLH.cjs} +125 -97
  14. package/dist/{chunk-7RNEYPI4.cjs → chunk-LTPVHQXJ.cjs} +555 -549
  15. package/dist/{chunk-TRD2FCAR.mjs → chunk-Q5MFRAWD.mjs} +417 -411
  16. package/dist/{chunk-WLDTBKRA.mjs → chunk-QF5T6HXC.mjs} +5 -4
  17. package/dist/{chunk-DYTRG4C7.mjs → chunk-RMYUE6HJ.mjs} +1 -1
  18. package/dist/{chunk-GWA6GFTI.cjs → chunk-WZJMJFP7.cjs} +62 -62
  19. package/dist/{chunk-JPRV36DT.cjs → chunk-XJB3VG4C.cjs} +2 -2
  20. package/dist/{chunk-53IFZGSF.mjs → chunk-YR43AAX5.mjs} +0 -5
  21. package/dist/claim.cjs +6 -6
  22. package/dist/claim.d.cts +2 -2
  23. package/dist/claim.d.ts +2 -2
  24. package/dist/claim.mjs +5 -5
  25. package/dist/constants.cjs +3 -3
  26. package/dist/constants.d.cts +1 -1
  27. package/dist/constants.d.ts +1 -1
  28. package/dist/constants.mjs +2 -2
  29. package/dist/deposit.cjs +8 -8
  30. package/dist/deposit.d.cts +2 -2
  31. package/dist/deposit.d.ts +2 -2
  32. package/dist/deposit.mjs +7 -7
  33. package/dist/index.cjs +10 -10
  34. package/dist/index.d.cts +1 -1
  35. package/dist/index.d.ts +1 -1
  36. package/dist/index.mjs +9 -9
  37. package/dist/polymarket.cjs +5 -5
  38. package/dist/polymarket.mjs +2 -2
  39. package/dist/{types-C7wag_iL.d.cts → types-BO4iP6fG.d.cts} +6 -1
  40. package/dist/{types-D4b6Cjox.d.ts → types-oFblf65g.d.ts} +6 -1
  41. package/dist/withdraw.cjs +6 -6
  42. package/dist/withdraw.d.cts +2 -2
  43. package/dist/withdraw.d.ts +2 -2
  44. package/dist/withdraw.mjs +5 -5
  45. package/package.json +1 -1
@@ -24,7 +24,7 @@ import {
24
24
  tokenAmountToNumber,
25
25
  useExplorerTxUrl,
26
26
  useLatestRef
27
- } from "./chunk-ITAYM7SB.mjs";
27
+ } from "./chunk-5IP67CL5.mjs";
28
28
  import {
29
29
  NATIVE_TOKEN_ADDRESS,
30
30
  cdnIconUrl,
@@ -34,7 +34,7 @@ import {
34
34
  targetChainToCaip2,
35
35
  targetChainToChainId,
36
36
  toEvmCaip2
37
- } from "./chunk-53IFZGSF.mjs";
37
+ } from "./chunk-YR43AAX5.mjs";
38
38
 
39
39
  // src/core/removed-props.ts
40
40
  var MANAGED_ACCOUNT_REMOVALS = {
@@ -63,7 +63,8 @@ var REMOVED_PROPS = {
63
63
  }
64
64
  };
65
65
  var REMOVED_UI_CONFIG_KEYS = {
66
- checkLiquidity: "removed \u2014 the liquidity cap is shown on the QR / transfer screen, which checks it directly."
66
+ checkLiquidity: "removed \u2014 the liquidity cap is shown on the QR / transfer screen, which checks it directly.",
67
+ showHistoryButton: "removed \u2014 deposit history is always offered, from the modal's home screen. There is no way to hide it."
67
68
  };
68
69
  var warned = /* @__PURE__ */ new Set();
69
70
  function warnOnce(component, key, replacement) {
@@ -71,7 +72,7 @@ function warnOnce(component, key, replacement) {
71
72
  if (warned.has(id)) return;
72
73
  warned.add(id);
73
74
  console.error(
74
- `[rhinestone] <${component}> was passed \`${key}\`, which no longer exists in 0.9.0: ${replacement}`
75
+ `[rhinestone] <${component}> was passed \`${key}\`, which no longer exists: ${replacement}`
75
76
  );
76
77
  }
77
78
  function warnRemovedProps(component, props) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CdnIcon,
3
3
  ChevronRightIcon
4
- } from "./chunk-ITAYM7SB.mjs";
4
+ } from "./chunk-5IP67CL5.mjs";
5
5
 
6
6
  // src/components/ui/ListRow.tsx
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -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 _chunkJYKMR6QIcjs = require('./chunk-JYKMR6QI.cjs');
3
+ var _chunk2PQ34KU3cjs = require('./chunk-2PQ34KU3.cjs');
4
4
 
5
5
 
6
6
 
@@ -28,17 +28,17 @@ var _chunkJYKMR6QIcjs = require('./chunk-JYKMR6QI.cjs');
28
28
 
29
29
 
30
30
 
31
- var _chunkNPSC5R22cjs = require('./chunk-NPSC5R22.cjs');
31
+ var _chunkLBJFACLHcjs = require('./chunk-LBJFACLH.cjs');
32
32
 
33
33
 
34
- var _chunkXVKBCDZIcjs = require('./chunk-XVKBCDZI.cjs');
34
+ var _chunk4SRVZRZFcjs = require('./chunk-4SRVZRZF.cjs');
35
35
 
36
36
 
37
37
 
38
38
 
39
39
 
40
40
 
41
- var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
41
+ var _chunk4R2ZHSDQcjs = require('./chunk-4R2ZHSDQ.cjs');
42
42
 
43
43
  // src/ClaimModal.tsx
44
44
 
@@ -68,7 +68,7 @@ var Input = _react.forwardRef.call(void 0,
68
68
  }
69
69
  ),
70
70
  error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "rs-input-error", children: [
71
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
71
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.AlertTriangleIcon, { className: "rs-input-error-icon" }),
72
72
  error
73
73
  ] })
74
74
  ] });
@@ -154,7 +154,7 @@ async function submitSignedRecovery(params) {
154
154
  try {
155
155
  signature = await signRecovery({ typedData, signer, depositId, destination });
156
156
  } catch (error) {
157
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
157
+ _chunkLBJFACLHcjs.debugError.call(void 0, debug, scope, "signRecovery:failed", error);
158
158
  throw new RecoveryError(
159
159
  "Signature request was declined. Approve it in your wallet to recover this deposit.",
160
160
  0,
@@ -171,7 +171,7 @@ async function submitSignedRecovery(params) {
171
171
  );
172
172
  }
173
173
  const url = `${backendUrl.replace(/\/$/, "")}/deposits/recover`;
174
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
174
+ _chunkLBJFACLHcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:request", {
175
175
  url,
176
176
  depositId,
177
177
  signer
@@ -183,19 +183,19 @@ async function submitSignedRecovery(params) {
183
183
  // The shared const, so recovery carries `x-deposit-modal-version` like
184
184
  // every other backend call. Without it this path would be invisible in the
185
185
  // per-client version telemetry the processor records.
186
- headers: _chunkXVKBCDZIcjs.SERVICE_HEADERS,
186
+ headers: _chunk4SRVZRZFcjs.SERVICE_HEADERS,
187
187
  // `depositId` as a string: it is a uint256 upstream and JSON numbers lose
188
188
  // precision well before that range.
189
189
  body: JSON.stringify({ depositId, destination, signature })
190
190
  });
191
191
  } catch (error) {
192
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
192
+ _chunkLBJFACLHcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:network", error);
193
193
  const { message, retryable } = formatRecoveryError(0);
194
194
  throw new RecoveryError(message, 0, void 0, retryable);
195
195
  }
196
196
  if (!response.ok) {
197
197
  const body = await response.json().catch(() => ({}));
198
- _chunkNPSC5R22cjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
198
+ _chunkLBJFACLHcjs.debugError.call(void 0, debug, scope, "submitSignedRecovery:failed", body, {
199
199
  status: response.status
200
200
  });
201
201
  const { message, retryable } = formatRecoveryError(
@@ -206,7 +206,7 @@ async function submitSignedRecovery(params) {
206
206
  throw new RecoveryError(message, response.status, body.code, retryable);
207
207
  }
208
208
  const result = await response.json();
209
- _chunkNPSC5R22cjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
209
+ _chunkLBJFACLHcjs.debugLog.call(void 0, debug, scope, "submitSignedRecovery:success", {
210
210
  transactionHash: result.transactionHash
211
211
  });
212
212
  return result;
@@ -224,17 +224,17 @@ function isEligible(row) {
224
224
  }
225
225
  function describeDeposit(row) {
226
226
  const chainId = _nullishCoalesce(evmChainIdFromCaip2(row.chain), () => ( 0));
227
- const decimals = _chunkTENL4H64cjs.getTokenDecimalsByAddress.call(void 0, row.token, chainId);
228
- const symbol = _chunkTENL4H64cjs.getTokenSymbol.call(void 0, row.token, chainId);
227
+ const decimals = _chunk4R2ZHSDQcjs.getTokenDecimalsByAddress.call(void 0, row.token, chainId);
228
+ const symbol = _chunk4R2ZHSDQcjs.getTokenSymbol.call(void 0, row.token, chainId);
229
229
  const raw = BigInt(_nullishCoalesce(_nullishCoalesce(row.sourceAmount, () => ( row.amount)), () => ( "0")));
230
230
  const human = Number(_viem.formatUnits.call(void 0, raw, decimals));
231
- const amount = _nullishCoalesce(_chunkNPSC5R22cjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
231
+ const amount = _nullishCoalesce(_chunkLBJFACLHcjs.formatTokenAmount.call(void 0, human, symbol), () => ( _viem.formatUnits.call(void 0, raw, decimals)));
232
232
  return {
233
233
  chainId,
234
234
  symbol,
235
235
  amount,
236
- chainName: _chunkTENL4H64cjs.getChainName.call(void 0, chainId),
237
- chainIcon: _chunkTENL4H64cjs.getChainIcon.call(void 0, chainId)
236
+ chainName: _chunk4R2ZHSDQcjs.getChainName.call(void 0, chainId),
237
+ chainIcon: _chunk4R2ZHSDQcjs.getChainIcon.call(void 0, chainId)
238
238
  };
239
239
  }
240
240
  function shortenHash(hash) {
@@ -325,15 +325,15 @@ function ClaimModal({
325
325
  onError,
326
326
  debug
327
327
  }) {
328
- _chunkNPSC5R22cjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
328
+ _chunkLBJFACLHcjs.checkBackendUrl.call(void 0, "ClaimModal", backendUrl);
329
329
  const modalRef = _react.useRef.call(void 0, null);
330
- const onReadyRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onReady);
331
- const onLifecycleRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onLifecycle);
332
- const onEventRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onEvent);
333
- const onErrorRef = _chunkNPSC5R22cjs.useLatestRef.call(void 0, onError);
334
- const rpcUrls = _chunkNPSC5R22cjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
330
+ const onReadyRef = _chunkLBJFACLHcjs.useLatestRef.call(void 0, onReady);
331
+ const onLifecycleRef = _chunkLBJFACLHcjs.useLatestRef.call(void 0, onLifecycle);
332
+ const onEventRef = _chunkLBJFACLHcjs.useLatestRef.call(void 0, onEvent);
333
+ const onErrorRef = _chunkLBJFACLHcjs.useLatestRef.call(void 0, onError);
334
+ const rpcUrls = _chunkLBJFACLHcjs.useStableRpcUrls.call(void 0, rpcUrlsProp);
335
335
  const service = _react.useMemo.call(void 0,
336
- () => _chunkNPSC5R22cjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
336
+ () => _chunkLBJFACLHcjs.createDepositService.call(void 0, backendUrl, { debug, debugScope: "service:claim" }),
337
337
  [backendUrl, debug]
338
338
  );
339
339
  const [state, dispatch] = _react.useReducer.call(void 0, claimReducer, INITIAL_STATE);
@@ -341,7 +341,7 @@ function ClaimModal({
341
341
  const isOpenRef = _react.useRef.call(void 0, isOpen);
342
342
  isOpenRef.current = isOpen;
343
343
  _react.useEffect.call(void 0, () => {
344
- if (isOpen && modalRef.current) _chunkNPSC5R22cjs.applyTheme.call(void 0, modalRef.current, theme);
344
+ if (isOpen && modalRef.current) _chunkLBJFACLHcjs.applyTheme.call(void 0, modalRef.current, theme);
345
345
  }, [isOpen, theme]);
346
346
  _react.useEffect.call(void 0, () => {
347
347
  if (isOpen) {
@@ -363,8 +363,8 @@ function ClaimModal({
363
363
  }, [state.step, onClose]);
364
364
  const canGoBack = state.step === "select" || state.step === "review" || state.step === "failed";
365
365
  const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _7 => _7.showBackButton]), () => ( true));
366
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
367
- _chunkNPSC5R22cjs.Modal,
366
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
367
+ _chunkLBJFACLHcjs.Modal,
368
368
  {
369
369
  isOpen,
370
370
  onClose: handleClose,
@@ -380,7 +380,7 @@ function ClaimModal({
380
380
  className: "rs-modal-header-back",
381
381
  "aria-label": "Go back",
382
382
  onClick: () => dispatch({ type: "back" }),
383
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ChevronLeftIcon, {})
383
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.ChevronLeftIcon, {})
384
384
  }
385
385
  ) }),
386
386
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-header-nav-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -391,7 +391,7 @@ function ClaimModal({
391
391
  disabled: state.step === "processing",
392
392
  className: "rs-modal-close",
393
393
  "aria-label": "Close",
394
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CloseIcon, {})
394
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.CloseIcon, {})
395
395
  }
396
396
  ) })
397
397
  ] }),
@@ -524,12 +524,12 @@ function ClaimBody({
524
524
  });
525
525
  if (!isCurrentOperation()) return;
526
526
  const paidTo = destination;
527
- const decimals = _chunkTENL4H64cjs.getTokenDecimalsByAddress.call(void 0, token, sourceChainId);
528
- const symbol = _chunkTENL4H64cjs.getTokenSymbol.call(void 0, token, sourceChainId);
527
+ const decimals = _chunk4R2ZHSDQcjs.getTokenDecimalsByAddress.call(void 0, token, sourceChainId);
528
+ const symbol = _chunk4R2ZHSDQcjs.getTokenSymbol.call(void 0, token, sourceChainId);
529
529
  const refundedRaw = BigInt(
530
530
  _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(result.amount, () => ( deposit.sourceAmount)), () => ( deposit.amount)), () => ( "0"))
531
531
  );
532
- const amountDisplay = _nullishCoalesce(_chunkNPSC5R22cjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
532
+ const amountDisplay = _nullishCoalesce(_chunkLBJFACLHcjs.formatTokenAmount.call(void 0, Number(_viem.formatUnits.call(void 0, refundedRaw, decimals)), symbol), () => ( _viem.formatUnits.call(void 0, refundedRaw, decimals)));
533
533
  dispatch({
534
534
  type: "complete",
535
535
  txHash: result.transactionHash,
@@ -556,7 +556,7 @@ function ClaimBody({
556
556
  if (!isCurrentOperation()) return;
557
557
  const recoveryError = err instanceof RecoveryError ? err : void 0;
558
558
  const status = _optionalChain([recoveryError, 'optionalAccess', _16 => _16.status]);
559
- const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunkNPSC5R22cjs.formatUserError.call(void 0,
559
+ const message = _nullishCoalesce(_optionalChain([recoveryError, 'optionalAccess', _17 => _17.message]), () => ( _chunkLBJFACLHcjs.formatUserError.call(void 0,
560
560
  err instanceof Error ? err.message : "Recovery failed"
561
561
  )));
562
562
  dispatch({
@@ -621,7 +621,7 @@ function LookupStep({
621
621
  onResults(deposits);
622
622
  } catch (err) {
623
623
  if (!isCurrentOperation()) return;
624
- const message = _chunkNPSC5R22cjs.formatUserError.call(void 0,
624
+ const message = _chunkLBJFACLHcjs.formatUserError.call(void 0,
625
625
  err instanceof Error ? err.message : "Lookup failed"
626
626
  );
627
627
  setError(message);
@@ -642,9 +642,9 @@ function LookupStep({
642
642
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
643
643
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
644
644
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
645
- _chunkNPSC5R22cjs.BodyHeader,
645
+ _chunkLBJFACLHcjs.BodyHeader,
646
646
  {
647
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HandCoinsIcon, {}),
647
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.HandCoinsIcon, {}),
648
648
  title: "Claim a deposit",
649
649
  subtitle: "Get funds from a failed deposit sent back to you on the source chain."
650
650
  }
@@ -659,9 +659,9 @@ function LookupStep({
659
659
  error: trimmed.length > 0 && !validTxHash ? "Enter a valid transaction hash" : void 0
660
660
  }
661
661
  ),
662
- error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
662
+ error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Callout, { variant: "error", children: error }),
663
663
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
664
- _chunkNPSC5R22cjs.Button,
664
+ _chunkLBJFACLHcjs.Button,
665
665
  {
666
666
  onClick: handleLookup,
667
667
  loading,
@@ -672,7 +672,7 @@ function LookupStep({
672
672
  }
673
673
  )
674
674
  ] }),
675
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
675
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.PoweredBy, {})
676
676
  ] });
677
677
  }
678
678
  function SelectStep({
@@ -682,9 +682,9 @@ function SelectStep({
682
682
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
683
683
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
684
684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
685
- _chunkNPSC5R22cjs.BodyHeader,
685
+ _chunkLBJFACLHcjs.BodyHeader,
686
686
  {
687
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CoinsIcon, {}),
687
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.CoinsIcon, {}),
688
688
  title: "Select a deposit",
689
689
  subtitle: "This transaction produced multiple deposits. Choose the one to claim."
690
690
  }
@@ -693,9 +693,9 @@ function SelectStep({
693
693
  const { symbol, amount, chainName } = describeDeposit(row);
694
694
  const eligible = isEligible(row);
695
695
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
696
- _chunkJYKMR6QIcjs.ListRow,
696
+ _chunk2PQ34KU3cjs.ListRow,
697
697
  {
698
- leadingMedia: _chunkTENL4H64cjs.tokenIconUrl.call(void 0, symbol),
698
+ leadingMedia: _chunk4R2ZHSDQcjs.tokenIconUrl.call(void 0, symbol),
699
699
  title: `${amount} ${symbol}`,
700
700
  subtitle: chainName,
701
701
  meta: eligible ? void 0 : humanizeStatus(row.status),
@@ -706,7 +706,7 @@ function SelectStep({
706
706
  );
707
707
  }) })
708
708
  ] }),
709
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
709
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.PoweredBy, {})
710
710
  ] });
711
711
  }
712
712
  function ReviewStep({
@@ -716,15 +716,15 @@ function ReviewStep({
716
716
  onSubmit
717
717
  }) {
718
718
  const { chainId, symbol, amount, chainName, chainIcon } = describeDeposit(deposit);
719
- const explorerTxUrl = _chunkNPSC5R22cjs.useExplorerTxUrl.call(void 0, );
719
+ const explorerTxUrl = _chunkLBJFACLHcjs.useExplorerTxUrl.call(void 0, );
720
720
  const [destination, setDestination] = _react.useState.call(void 0, _nullishCoalesce(defaultRefundDestination, () => ( "")));
721
721
  const destinationValid = _viem.isAddress.call(void 0, destination);
722
722
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
723
723
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
724
724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
725
- _chunkNPSC5R22cjs.BodyHeader,
725
+ _chunkLBJFACLHcjs.BodyHeader,
726
726
  {
727
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.HandCoinsIcon, {}),
727
+ icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.HandCoinsIcon, {}),
728
728
  title: "Review refund",
729
729
  subtitle: "This returns the funds on the source chain. It does not retry the original bridge."
730
730
  }
@@ -738,14 +738,14 @@ function ReviewStep({
738
738
  " ",
739
739
  symbol
740
740
  ] }),
741
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol }) })
741
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.TokenIcon, { symbol }) })
742
742
  ] })
743
743
  ] }),
744
744
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
745
745
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Source chain" }),
746
746
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
747
747
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: chainName }),
748
- chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CdnIcon, { src: chainIcon }) })
748
+ chainIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.CdnIcon, { src: chainIcon }) })
749
749
  ] })
750
750
  ] }),
751
751
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -762,7 +762,7 @@ function ReviewStep({
762
762
  rel: "noreferrer",
763
763
  children: [
764
764
  short,
765
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ExternalLinkIcon, {})
765
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.ExternalLinkIcon, {})
766
766
  ]
767
767
  }
768
768
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
@@ -780,7 +780,7 @@ function ReviewStep({
780
780
  }
781
781
  ),
782
782
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
783
- _chunkNPSC5R22cjs.Button,
783
+ _chunkLBJFACLHcjs.Button,
784
784
  {
785
785
  onClick: () => destinationValid && onSubmit(destination),
786
786
  loading: submitting,
@@ -791,7 +791,7 @@ function ReviewStep({
791
791
  }
792
792
  )
793
793
  ] }),
794
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
794
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.PoweredBy, {})
795
795
  ] });
796
796
  }
797
797
  function ResultStep({
@@ -802,13 +802,13 @@ function ResultStep({
802
802
  onRetry
803
803
  }) {
804
804
  const success = !!result;
805
- const explorerTxUrl = _chunkNPSC5R22cjs.useExplorerTxUrl.call(void 0, );
805
+ const explorerTxUrl = _chunkLBJFACLHcjs.useExplorerTxUrl.call(void 0, );
806
806
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen", children: [
807
807
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
808
808
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
809
- _chunkNPSC5R22cjs.BodyHeader,
809
+ _chunkLBJFACLHcjs.BodyHeader,
810
810
  {
811
- icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.AlertTriangleIcon, {}),
811
+ icon: success ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.AlertTriangleIcon, {}),
812
812
  variant: success ? "success" : "error",
813
813
  title: success ? "Refund submitted" : "Refund failed",
814
814
  subtitle: success ? "Your funds are being returned on the source chain." : void 0
@@ -823,7 +823,7 @@ function ResultStep({
823
823
  " ",
824
824
  result.symbol
825
825
  ] }),
826
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.TokenIcon, { symbol: result.symbol }) })
826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.TokenIcon, { symbol: result.symbol }) })
827
827
  ] })
828
828
  ] }),
829
829
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
@@ -844,22 +844,22 @@ function ResultStep({
844
844
  rel: "noreferrer",
845
845
  children: [
846
846
  short,
847
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.ExternalLinkIcon, {})
847
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.ExternalLinkIcon, {})
848
848
  ]
849
849
  }
850
850
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-value", children: short });
851
851
  })()
852
852
  ] })
853
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Callout, { variant: "error", children: error }),
853
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Callout, { variant: "error", children: error }),
854
854
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-screen-button-row", children: success ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
855
- onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
856
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
855
+ onReset && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Button, { variant: "outline", onClick: onReset, fullWidth: true, children: "Claim another deposit" }),
856
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Button, { onClick: onClose, fullWidth: true, children: "Done" })
857
857
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
858
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
859
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
858
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Button, { variant: "outline", onClick: onClose, fullWidth: true, children: "Cancel" }),
859
+ onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.Button, { onClick: onRetry, fullWidth: true, children: "Try again" })
860
860
  ] }) })
861
861
  ] }),
862
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNPSC5R22cjs.PoweredBy, {})
862
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBJFACLHcjs.PoweredBy, {})
863
863
  ] });
864
864
  }
865
865
 
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
3
+ var _chunk4R2ZHSDQcjs = require('./chunk-4R2ZHSDQ.cjs');
4
4
 
5
5
  // src/core/dapp-imports/polymarket/constants.ts
6
6
  var POLYMARKET_POLYGON_CHAIN_ID = 137;
@@ -9,7 +9,7 @@ var POLYMARKET_USDCE_ADDRESS = "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174";
9
9
  var POLYMARKET_COLLATERAL_OFFRAMP_ADDRESS = "0x2957922Eb93258b93368531d39fAcCA3B4dC5854";
10
10
  var SAFE_MULTI_SEND_CALL_ONLY_ADDRESS = "0x40A2aCCbd92BCA938b02010E17A5b8929b49130D";
11
11
  var GAMMA_API_PUBLIC_PROFILE = "https://gamma-api.polymarket.com/public-profile";
12
- var POLYMARKET_ICON_URL = _chunkTENL4H64cjs.cdnIconUrl.call(void 0, "dapps", "polymarket");
12
+ var POLYMARKET_ICON_URL = _chunk4R2ZHSDQcjs.cdnIconUrl.call(void 0, "dapps", "polymarket");
13
13
 
14
14
  // src/core/dapp-imports/polymarket/gamma-api.ts
15
15
  var _viem = require('viem');
@@ -705,10 +705,6 @@ function isSupportedTokenAddressForChain(token, chainId) {
705
705
  function getSupportedTargetTokens(chainId) {
706
706
  return toTokenOptions(getSupportedTokenSymbolsForChain(chainId), chainId);
707
707
  }
708
- function getBundledTargetTokens(chainId) {
709
- const symbols = SUPPORTED_TOKENS_BY_CHAIN[chainId];
710
- return symbols?.length ? toTokenOptions([...symbols], chainId) : [];
711
- }
712
708
  function toTokenOptions(symbols, chainId) {
713
709
  const options = [];
714
710
  for (const symbol of symbols) {
@@ -940,7 +936,6 @@ export {
940
936
  getSupportedChainIds,
941
937
  isSupportedTokenAddressForChain,
942
938
  getSupportedTargetTokens,
943
- getBundledTargetTokens,
944
939
  findTokenDecimals,
945
940
  getTokenDecimalsByAddress,
946
941
  findChainIdForToken,
package/dist/claim.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGWA6GFTIcjs = require('./chunk-GWA6GFTI.cjs');
4
- require('./chunk-JYKMR6QI.cjs');
5
- require('./chunk-NPSC5R22.cjs');
6
- require('./chunk-XVKBCDZI.cjs');
7
- require('./chunk-TENL4H64.cjs');
3
+ var _chunkWZJMJFP7cjs = require('./chunk-WZJMJFP7.cjs');
4
+ require('./chunk-2PQ34KU3.cjs');
5
+ require('./chunk-LBJFACLH.cjs');
6
+ require('./chunk-4SRVZRZF.cjs');
7
+ require('./chunk-4R2ZHSDQ.cjs');
8
8
 
9
9
 
10
- exports.ClaimModal = _chunkGWA6GFTIcjs.ClaimModal;
10
+ exports.ClaimModal = _chunkWZJMJFP7cjs.ClaimModal;
package/dist/claim.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-C7wag_iL.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-C7wag_iL.cjs';
2
+ import { d as ClaimModalProps } from './types-BO4iP6fG.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-BO4iP6fG.cjs';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.cjs';
6
6
 
package/dist/claim.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-D4b6Cjox.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-D4b6Cjox.js';
2
+ import { d as ClaimModalProps } from './types-oFblf65g.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-oFblf65g.js';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.js';
6
6
 
package/dist/claim.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ClaimModal
3
- } from "./chunk-VRNRRN2U.mjs";
4
- import "./chunk-DYTRG4C7.mjs";
5
- import "./chunk-ITAYM7SB.mjs";
6
- import "./chunk-QRR3Y7EK.mjs";
7
- import "./chunk-53IFZGSF.mjs";
3
+ } from "./chunk-2AMRKYJ4.mjs";
4
+ import "./chunk-RMYUE6HJ.mjs";
5
+ import "./chunk-5IP67CL5.mjs";
6
+ import "./chunk-GZNMBZHY.mjs";
7
+ import "./chunk-YR43AAX5.mjs";
8
8
  export {
9
9
  ClaimModal
10
10
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkXVKBCDZIcjs = require('./chunk-XVKBCDZI.cjs');
3
+ var _chunk4SRVZRZFcjs = require('./chunk-4SRVZRZF.cjs');
4
4
 
5
5
 
6
6
 
@@ -35,7 +35,7 @@ var _chunkXVKBCDZIcjs = require('./chunk-XVKBCDZI.cjs');
35
35
 
36
36
 
37
37
 
38
- var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
38
+ var _chunk4R2ZHSDQcjs = require('./chunk-4R2ZHSDQ.cjs');
39
39
 
40
40
 
41
41
 
@@ -71,4 +71,4 @@ var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
71
71
 
72
72
 
73
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 = _chunkXVKBCDZIcjs.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;
74
+ exports.CHAIN_BY_ID = _chunk4R2ZHSDQcjs.CHAIN_BY_ID; exports.HYPERCORE_CHAIN_ID = _chunk4R2ZHSDQcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunk4R2ZHSDQcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunk4R2ZHSDQcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunk4SRVZRZFcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunk4R2ZHSDQcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunk4R2ZHSDQcjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunk4R2ZHSDQcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunk4R2ZHSDQcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunk4R2ZHSDQcjs.chainRegistry; exports.findChainIdForToken = _chunk4R2ZHSDQcjs.findChainIdForToken; exports.getChainBadge = _chunk4R2ZHSDQcjs.getChainBadge; exports.getChainIcon = _chunk4R2ZHSDQcjs.getChainIcon; exports.getChainId = _chunk4R2ZHSDQcjs.getChainId; exports.getChainName = _chunk4R2ZHSDQcjs.getChainName; exports.getChainObject = _chunk4R2ZHSDQcjs.getChainObject; exports.getExplorerName = _chunk4R2ZHSDQcjs.getExplorerName; exports.getExplorerTxUrl = _chunk4R2ZHSDQcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunk4R2ZHSDQcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunk4R2ZHSDQcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunk4R2ZHSDQcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunk4R2ZHSDQcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunk4R2ZHSDQcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunk4R2ZHSDQcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunk4R2ZHSDQcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunk4R2ZHSDQcjs.getTokenAddress; exports.getTokenDecimals = _chunk4R2ZHSDQcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunk4R2ZHSDQcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunk4R2ZHSDQcjs.getTokenIcon; exports.getTokenSymbol = _chunk4R2ZHSDQcjs.getTokenSymbol; exports.getUsdcAddress = _chunk4R2ZHSDQcjs.getUsdcAddress; exports.getUsdcDecimals = _chunk4R2ZHSDQcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunk4R2ZHSDQcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunk4R2ZHSDQcjs.tokenIconUrl;
@@ -3,7 +3,7 @@ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC
3
3
  import 'viem/chains';
4
4
  import 'viem';
5
5
 
6
- declare const MODAL_VERSION = "0.11.0";
6
+ declare const MODAL_VERSION = "0.12.0";
7
7
 
8
8
  /**
9
9
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -3,7 +3,7 @@ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC
3
3
  import 'viem/chains';
4
4
  import 'viem';
5
5
 
6
- declare const MODAL_VERSION = "0.11.0";
6
+ declare const MODAL_VERSION = "0.12.0";
7
7
 
8
8
  /**
9
9
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MODAL_VERSION
3
- } from "./chunk-QRR3Y7EK.mjs";
3
+ } from "./chunk-GZNMBZHY.mjs";
4
4
  import {
5
5
  CHAIN_BY_ID,
6
6
  HYPERCORE_CHAIN_ID,
@@ -35,7 +35,7 @@ import {
35
35
  getUsdcDecimals,
36
36
  isSupportedTokenAddressForChain,
37
37
  tokenIconUrl
38
- } from "./chunk-53IFZGSF.mjs";
38
+ } from "./chunk-YR43AAX5.mjs";
39
39
  export {
40
40
  CHAIN_BY_ID,
41
41
  HYPERCORE_CHAIN_ID,
package/dist/deposit.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk7RNEYPI4cjs = require('./chunk-7RNEYPI4.cjs');
4
- require('./chunk-HCQWFL3A.cjs');
5
- require('./chunk-JYKMR6QI.cjs');
6
- require('./chunk-NPSC5R22.cjs');
7
- require('./chunk-XVKBCDZI.cjs');
8
- require('./chunk-JPRV36DT.cjs');
9
- require('./chunk-TENL4H64.cjs');
3
+ var _chunkLTPVHQXJcjs = require('./chunk-LTPVHQXJ.cjs');
4
+ require('./chunk-6ZJTZ7DS.cjs');
5
+ require('./chunk-2PQ34KU3.cjs');
6
+ require('./chunk-LBJFACLH.cjs');
7
+ require('./chunk-4SRVZRZF.cjs');
8
+ require('./chunk-XJB3VG4C.cjs');
9
+ require('./chunk-4R2ZHSDQ.cjs');
10
10
 
11
11
 
12
- exports.DepositModal = _chunk7RNEYPI4cjs.DepositModal;
12
+ exports.DepositModal = _chunkLTPVHQXJcjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-C7wag_iL.cjs';
3
- export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-C7wag_iL.cjs';
2
+ import { i as DepositModalProps } from './types-BO4iP6fG.cjs';
3
+ export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-BO4iP6fG.cjs';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.cjs';
6
6
 
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-D4b6Cjox.js';
3
- export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-D4b6Cjox.js';
2
+ import { i as DepositModalProps } from './types-oFblf65g.js';
3
+ export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-oFblf65g.js';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.js';
6
6