@rhinestone/deposit-modal 0.9.1 → 0.11.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 (50) hide show
  1. package/dist/{DepositModalReown-JUJI7UHE.mjs → DepositModalReown-6RVLEM3B.mjs} +96 -26
  2. package/dist/{DepositModalReown-YQSO4SVY.cjs → DepositModalReown-TXTLVZIQ.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-A223BLVC.mjs → chunk-53IFZGSF.mjs} +177 -21
  6. package/dist/{chunk-VQJHYWAE.cjs → chunk-7RNEYPI4.cjs} +836 -579
  7. package/dist/{chunk-ITFRTPGF.cjs → chunk-BLJMYCBF.cjs} +92 -90
  8. package/dist/{chunk-AYWEWI47.mjs → chunk-DYTRG4C7.mjs} +1 -1
  9. package/dist/{chunk-QGXAAFHU.mjs → chunk-G4FVZQOM.mjs} +23 -21
  10. package/dist/{chunk-SQOEHQNT.cjs → chunk-GWA6GFTI.cjs} +66 -63
  11. package/dist/{chunk-EEEQZOTJ.cjs → chunk-HCQWFL3A.cjs} +84 -101
  12. package/dist/{chunk-WUQZYQRK.mjs → chunk-ITAYM7SB.mjs} +784 -167
  13. package/dist/{chunk-YEBXUUH3.cjs → chunk-JPRV36DT.cjs} +2 -2
  14. package/dist/{chunk-EAUF7SGM.cjs → chunk-JYKMR6QI.cjs} +3 -3
  15. package/dist/{chunk-ILT2PITN.mjs → chunk-MZ53PDIX.mjs} +1 -1
  16. package/dist/{chunk-6U2H3R3T.cjs → chunk-NPSC5R22.cjs} +862 -245
  17. package/dist/{chunk-QLZ5RZTA.mjs → chunk-QRR3Y7EK.mjs} +1 -1
  18. package/dist/{chunk-H577RJN5.cjs → chunk-TENL4H64.cjs} +186 -30
  19. package/dist/{chunk-N3OHR3T2.mjs → chunk-TRD2FCAR.mjs} +363 -106
  20. package/dist/{chunk-7OQO6JDC.mjs → chunk-VRNRRN2U.mjs} +12 -9
  21. package/dist/{chunk-GYEUZSQP.mjs → chunk-WLDTBKRA.mjs} +14 -31
  22. package/dist/{chunk-XJE5MRY4.cjs → chunk-XVKBCDZI.cjs} +1 -1
  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/styles.css +14 -0
  44. package/dist/{types-C0SGf-21.d.cts → types-C7wag_iL.d.cts} +4 -3
  45. package/dist/{types-C0SGf-21.d.ts → types-D4b6Cjox.d.ts} +4 -3
  46. package/dist/withdraw.cjs +6 -6
  47. package/dist/withdraw.d.cts +3 -2
  48. package/dist/withdraw.d.ts +3 -2
  49. package/dist/withdraw.mjs +5 -5
  50. package/package.json +1 -1
@@ -1,12 +1,13 @@
1
1
  import {
2
2
  ListRow
3
- } from "./chunk-AYWEWI47.mjs";
3
+ } from "./chunk-DYTRG4C7.mjs";
4
4
  import {
5
5
  AlertTriangleIcon,
6
6
  BodyHeader,
7
7
  Button,
8
8
  Callout,
9
9
  CdnIcon,
10
+ ChainCatalogProvider,
10
11
  CheckIcon,
11
12
  ChevronLeftIcon,
12
13
  CloseIcon,
@@ -24,20 +25,20 @@ import {
24
25
  debugLog,
25
26
  formatTokenAmount,
26
27
  formatUserError,
28
+ useExplorerTxUrl,
27
29
  useLatestRef,
28
30
  useStableRpcUrls
29
- } from "./chunk-WUQZYQRK.mjs";
31
+ } from "./chunk-ITAYM7SB.mjs";
30
32
  import {
31
33
  SERVICE_HEADERS
32
- } from "./chunk-QLZ5RZTA.mjs";
34
+ } from "./chunk-QRR3Y7EK.mjs";
33
35
  import {
34
36
  getChainIcon,
35
37
  getChainName,
36
- getExplorerTxUrl,
37
38
  getTokenDecimalsByAddress,
38
39
  getTokenSymbol,
39
40
  tokenIconUrl
40
- } from "./chunk-A223BLVC.mjs";
41
+ } from "./chunk-53IFZGSF.mjs";
41
42
 
42
43
  // src/ClaimModal.tsx
43
44
  import {
@@ -362,7 +363,7 @@ function ClaimModal({
362
363
  }, [state.step, onClose]);
363
364
  const canGoBack = state.step === "select" || state.step === "review" || state.step === "failed";
364
365
  const showBackButton = uiConfig?.showBackButton ?? true;
365
- return /* @__PURE__ */ jsx2(RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ jsx2(
366
+ return /* @__PURE__ */ jsx2(RpcUrlsProvider, { value: rpcUrls, children: /* @__PURE__ */ jsx2(ChainCatalogProvider, { service, rpcUrls, children: /* @__PURE__ */ jsx2(
366
367
  Modal,
367
368
  {
368
369
  isOpen,
@@ -415,7 +416,7 @@ function ClaimModal({
415
416
  ) })
416
417
  ] })
417
418
  }
418
- ) });
419
+ ) }) });
419
420
  }
420
421
  function ClaimBody({
421
422
  state,
@@ -715,6 +716,7 @@ function ReviewStep({
715
716
  onSubmit
716
717
  }) {
717
718
  const { chainId, symbol, amount, chainName, chainIcon } = describeDeposit(deposit);
719
+ const explorerTxUrl = useExplorerTxUrl();
718
720
  const [destination, setDestination] = useState(defaultRefundDestination ?? "");
719
721
  const destinationValid = isAddress(destination);
720
722
  return /* @__PURE__ */ jsxs2("div", { className: "rs-screen", children: [
@@ -749,7 +751,7 @@ function ReviewStep({
749
751
  /* @__PURE__ */ jsxs2("div", { className: "rs-review-detail-row", children: [
750
752
  /* @__PURE__ */ jsx2("span", { children: "Deposit transaction" }),
751
753
  (() => {
752
- const url = deposit.txHash ? getExplorerTxUrl(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__ */ jsxs2(
755
757
  "a",
@@ -800,6 +802,7 @@ function ResultStep({
800
802
  onRetry
801
803
  }) {
802
804
  const success = !!result;
805
+ const explorerTxUrl = useExplorerTxUrl();
803
806
  return /* @__PURE__ */ jsxs2("div", { className: "rs-screen", children: [
804
807
  /* @__PURE__ */ jsxs2("div", { className: "rs-screen-body rs-screen-body--gap-32", children: [
805
808
  /* @__PURE__ */ jsx2(
@@ -830,7 +833,7 @@ function ResultStep({
830
833
  /* @__PURE__ */ jsxs2("div", { className: "rs-review-detail-row", children: [
831
834
  /* @__PURE__ */ jsx2("span", { children: "Transaction" }),
832
835
  (() => {
833
- const url = getExplorerTxUrl(result.chain, result.txHash);
836
+ const url = explorerTxUrl(result.chain, result.txHash);
834
837
  const short = shortenHash(result.txHash);
835
838
  return url ? /* @__PURE__ */ jsxs2(
836
839
  "a",
@@ -21,20 +21,20 @@ import {
21
21
  quoteFeeGroups,
22
22
  quoteFeeRow,
23
23
  resolveTokenDisplay,
24
- rpcUrlFor,
25
24
  tokenAmountToNumber,
25
+ useExplorerTxUrl,
26
26
  useLatestRef
27
- } from "./chunk-WUQZYQRK.mjs";
27
+ } from "./chunk-ITAYM7SB.mjs";
28
28
  import {
29
- CHAIN_BY_ID,
30
29
  NATIVE_TOKEN_ADDRESS,
31
30
  cdnIconUrl,
32
31
  getChainIcon,
33
32
  getChainName,
34
- getExplorerTxUrl,
33
+ targetChainToAccountKey,
35
34
  targetChainToCaip2,
35
+ targetChainToChainId,
36
36
  toEvmCaip2
37
- } from "./chunk-A223BLVC.mjs";
37
+ } from "./chunk-53IFZGSF.mjs";
38
38
 
39
39
  // src/core/removed-props.ts
40
40
  var MANAGED_ACCOUNT_REMOVALS = {
@@ -884,6 +884,7 @@ function ProcessingStep({
884
884
  const onDepositCompleteRef = useLatestRef(onDepositComplete);
885
885
  const onDepositFailedRef = useLatestRef(onDepositFailed);
886
886
  const onErrorRef = useLatestRef(onError);
887
+ const explorerTxUrl = useExplorerTxUrl();
887
888
  const initialTerminalEventRef = useRef2(null);
888
889
  const [state, setState] = useState4(() => {
889
890
  if (directTransfer) return { type: "complete" };
@@ -1222,8 +1223,9 @@ function ProcessingStep({
1222
1223
  const displaySourceChain = sourceDetails.chainId ?? sourceChain;
1223
1224
  const displaySourceToken = sourceDetails.token ?? sourceToken;
1224
1225
  const displayAmount = sourceDetails.amount ?? amount;
1225
- const sourceExplorerUrl = getExplorerTxUrl(displaySourceChain, txHash);
1226
- const destExplorerUrl = destinationTxHash ? getExplorerTxUrl(targetChain, destinationTxHash) : null;
1226
+ const targetChainId = targetChainToChainId(targetChain);
1227
+ const sourceExplorerUrl = explorerTxUrl(displaySourceChain, txHash);
1228
+ const destExplorerUrl = destinationTxHash ? explorerTxUrl(targetChainId, destinationTxHash) : null;
1227
1229
  const sourceDisplay = (() => {
1228
1230
  const resolved = resolveTokenDisplay(displaySourceToken, displaySourceChain, {
1229
1231
  symbol: providedSourceSymbol ?? (displaySourceChain === "solana" ? "SOL" : "Token"),
@@ -1240,7 +1242,7 @@ function ProcessingStep({
1240
1242
  const eventDestination = getEventDestinationDetails(lastEvent);
1241
1243
  const targetDisplay = resolveTokenDisplay(
1242
1244
  eventDestination.token ?? targetToken,
1243
- eventDestination.chainId ?? targetChain,
1245
+ eventDestination.chainId ?? targetChainId,
1244
1246
  // Dapp deposits default to USDC targets; mirror the source symbol last so
1245
1247
  // unresolvable same-token routes still label sensibly.
1246
1248
  { symbol: providedSourceSymbol ?? "USDC" }
@@ -1255,7 +1257,7 @@ function ProcessingStep({
1255
1257
  symbol: sourceDisplay.symbol
1256
1258
  },
1257
1259
  {
1258
- chainId: eventDestination.chainId ?? targetChain,
1260
+ chainId: eventDestination.chainId ?? targetChainId,
1259
1261
  address: eventDestination.token ?? targetToken,
1260
1262
  symbol: targetDisplay.symbol
1261
1263
  }
@@ -1303,9 +1305,9 @@ function ProcessingStep({
1303
1305
  void delayPhaseId;
1304
1306
  void hasEscalatedDelay;
1305
1307
  const sourceChainIcon = getChainIcon(displaySourceChain);
1306
- const targetChainIcon = getChainIcon(targetChain);
1308
+ const targetChainIcon = getChainIcon(targetChainId);
1307
1309
  const sourceChainName = getChainName(displaySourceChain);
1308
- const targetChainName = getChainName(targetChain);
1310
+ const targetChainName = getChainName(targetChainId);
1309
1311
  const timerText = formatTimer(elapsedSeconds);
1310
1312
  const feeSponsored = uiConfig?.feeSponsored ?? false;
1311
1313
  const feeTooltip = uiConfig?.feeTooltip ?? (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.");
@@ -1556,24 +1558,6 @@ function ProcessingStep({
1556
1558
  ] });
1557
1559
  }
1558
1560
 
1559
- // src/core/public-client.ts
1560
- import { createPublicClient, http } from "viem";
1561
- var clientCache = /* @__PURE__ */ new Map();
1562
- function getPublicClient(chainId, rpcUrls) {
1563
- const url = rpcUrlFor(rpcUrls, chainId);
1564
- const cacheKey = `${chainId}|${url ?? ""}`;
1565
- let client = clientCache.get(cacheKey);
1566
- if (!client) {
1567
- const chain = CHAIN_BY_ID[chainId];
1568
- client = createPublicClient({
1569
- chain,
1570
- transport: http(url)
1571
- });
1572
- clientCache.set(cacheKey, client);
1573
- }
1574
- return client;
1575
- }
1576
-
1577
1561
  // src/core/account-setup.ts
1578
1562
  import { concat, isAddress, keccak256, toHex } from "viem";
1579
1563
  var SetupError = class extends Error {
@@ -1607,7 +1591,7 @@ function deriveAccountSalt(input) {
1607
1591
  return keccak256(
1608
1592
  concat([
1609
1593
  keccak256(toHex(normalizeKeyToken(input.recipient) ?? "")),
1610
- keccak256(toHex(targetChainToCaip2(input.targetChain))),
1594
+ keccak256(toHex(targetChainToAccountKey(input.targetChain))),
1611
1595
  keccak256(toHex(normalizeKeyToken(input.targetToken) ?? ""))
1612
1596
  ])
1613
1597
  );
@@ -1773,7 +1757,6 @@ export {
1773
1757
  fetchTokenPriceUsd,
1774
1758
  useTokenPrices,
1775
1759
  ProcessingStep,
1776
- getPublicClient,
1777
1760
  SetupError,
1778
1761
  deriveAccountSalt,
1779
1762
  computeRequestKey,
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/core/version.ts
2
- var MODAL_VERSION = "0.9.1";
2
+ var MODAL_VERSION = "0.11.0";
3
3
  var SERVICE_HEADERS = {
4
4
  "Content-Type": "application/json",
5
5
  "x-deposit-modal-version": MODAL_VERSION
package/dist/claim.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSQOEHQNTcjs = require('./chunk-SQOEHQNT.cjs');
4
- require('./chunk-EAUF7SGM.cjs');
5
- require('./chunk-6U2H3R3T.cjs');
6
- require('./chunk-XJE5MRY4.cjs');
7
- require('./chunk-H577RJN5.cjs');
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');
8
8
 
9
9
 
10
- exports.ClaimModal = _chunkSQOEHQNTcjs.ClaimModal;
10
+ exports.ClaimModal = _chunkGWA6GFTIcjs.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-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';
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-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';
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-7OQO6JDC.mjs";
4
- import "./chunk-AYWEWI47.mjs";
5
- import "./chunk-WUQZYQRK.mjs";
6
- import "./chunk-QLZ5RZTA.mjs";
7
- import "./chunk-A223BLVC.mjs";
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";
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 _chunkXJE5MRY4cjs = require('./chunk-XJE5MRY4.cjs');
3
+ var _chunkXVKBCDZIcjs = require('./chunk-XVKBCDZI.cjs');
4
4
 
5
5
 
6
6
 
@@ -34,8 +34,8 @@ var _chunkXJE5MRY4cjs = require('./chunk-XJE5MRY4.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 = _chunkXJE5MRY4cjs.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 = _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;
@@ -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.9.1";
6
+ declare const MODAL_VERSION = "0.11.0";
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.9.1";
6
+ declare const MODAL_VERSION = "0.11.0";
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-QLZ5RZTA.mjs";
3
+ } from "./chunk-QRR3Y7EK.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 _chunkVQJHYWAEcjs = require('./chunk-VQJHYWAE.cjs');
4
- require('./chunk-EEEQZOTJ.cjs');
5
- require('./chunk-EAUF7SGM.cjs');
6
- require('./chunk-6U2H3R3T.cjs');
7
- require('./chunk-XJE5MRY4.cjs');
8
- require('./chunk-YEBXUUH3.cjs');
9
- require('./chunk-H577RJN5.cjs');
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');
10
10
 
11
11
 
12
- exports.DepositModal = _chunkVQJHYWAEcjs.DepositModal;
12
+ exports.DepositModal = _chunk7RNEYPI4cjs.DepositModal;
@@ -1,7 +1,8 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-C0SGf-21.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-C0SGf-21.cjs';
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';
4
4
  import 'viem';
5
+ import './caip-D8aRWdEY.cjs';
5
6
 
6
7
  declare function DepositModal(props: DepositModalProps): react.JSX.Element;
7
8
  declare namespace DepositModal {
package/dist/deposit.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-C0SGf-21.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-C0SGf-21.js';
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';
4
4
  import 'viem';
5
+ import './caip-D8aRWdEY.js';
5
6
 
6
7
  declare function DepositModal(props: DepositModalProps): react.JSX.Element;
7
8
  declare namespace DepositModal {
package/dist/deposit.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-N3OHR3T2.mjs";
4
- import "./chunk-GYEUZSQP.mjs";
5
- import "./chunk-AYWEWI47.mjs";
6
- import "./chunk-WUQZYQRK.mjs";
7
- import "./chunk-QLZ5RZTA.mjs";
8
- import "./chunk-ILT2PITN.mjs";
9
- import "./chunk-A223BLVC.mjs";
3
+ } from "./chunk-TRD2FCAR.mjs";
4
+ import "./chunk-WLDTBKRA.mjs";
5
+ import "./chunk-DYTRG4C7.mjs";
6
+ import "./chunk-ITAYM7SB.mjs";
7
+ import "./chunk-QRR3Y7EK.mjs";
8
+ import "./chunk-MZ53PDIX.mjs";
9
+ import "./chunk-53IFZGSF.mjs";
10
10
  export {
11
11
  DepositModal
12
12
  };
package/dist/index.cjs CHANGED
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
- var _chunkVQJHYWAEcjs = require('./chunk-VQJHYWAE.cjs');
3
+ var _chunk7RNEYPI4cjs = require('./chunk-7RNEYPI4.cjs');
4
4
 
5
5
 
6
- var _chunkITFRTPGFcjs = require('./chunk-ITFRTPGF.cjs');
7
- require('./chunk-EEEQZOTJ.cjs');
6
+ var _chunkBLJMYCBFcjs = require('./chunk-BLJMYCBF.cjs');
7
+ require('./chunk-HCQWFL3A.cjs');
8
8
 
9
9
 
10
- var _chunkSQOEHQNTcjs = require('./chunk-SQOEHQNT.cjs');
11
- require('./chunk-EAUF7SGM.cjs');
12
- require('./chunk-6U2H3R3T.cjs');
13
- require('./chunk-XJE5MRY4.cjs');
14
- require('./chunk-YEBXUUH3.cjs');
10
+ var _chunkGWA6GFTIcjs = require('./chunk-GWA6GFTI.cjs');
11
+ require('./chunk-JYKMR6QI.cjs');
12
+ require('./chunk-NPSC5R22.cjs');
13
+ require('./chunk-XVKBCDZI.cjs');
14
+ require('./chunk-JPRV36DT.cjs');
15
15
 
16
16
 
17
17
 
@@ -43,7 +43,8 @@ require('./chunk-YEBXUUH3.cjs');
43
43
 
44
44
 
45
45
 
46
- var _chunkH577RJN5cjs = require('./chunk-H577RJN5.cjs');
46
+
47
+ var _chunkTENL4H64cjs = require('./chunk-TENL4H64.cjs');
47
48
 
48
49
  // src/core/reown-disconnect.ts
49
50
  async function disconnectWallet() {
@@ -99,4 +100,5 @@ async function disconnectWallet() {
99
100
 
100
101
 
101
102
 
102
- exports.CHAIN_BY_ID = _chunkH577RJN5cjs.CHAIN_BY_ID; exports.ClaimModal = _chunkSQOEHQNTcjs.ClaimModal; exports.DepositModal = _chunkVQJHYWAEcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkH577RJN5cjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkH577RJN5cjs.HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = _chunkH577RJN5cjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkH577RJN5cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkH577RJN5cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkH577RJN5cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkITFRTPGFcjs.WithdrawModal; exports.chainRegistry = _chunkH577RJN5cjs.chainRegistry; exports.disconnectWallet = disconnectWallet; 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.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;
103
+
104
+ exports.CHAIN_BY_ID = _chunkTENL4H64cjs.CHAIN_BY_ID; exports.ClaimModal = _chunkGWA6GFTIcjs.ClaimModal; exports.DepositModal = _chunk7RNEYPI4cjs.DepositModal; 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.HYPERCORE_USDT0_ADDRESS = _chunkTENL4H64cjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkTENL4H64cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkTENL4H64cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkTENL4H64cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkBLJMYCBFcjs.WithdrawModal; exports.chainRegistry = _chunkTENL4H64cjs.chainRegistry; exports.disconnectWallet = disconnectWallet; 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.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;
package/dist/index.d.cts CHANGED
@@ -1,9 +1,10 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
3
  export { ClaimModal } from './claim.cjs';
4
- export { A as AssetMigrationsConfig, a as AssetOption, C as ChainId, b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, d as ClaimModalProps, e as ConnectedEventData, D as DepositAnalyticsEvent, f as DepositCompleteEventData, g as DepositFailedEventData, h as DepositLifecycleEvent, i as DepositModalProps, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, M as ModalAnalyticsEvent, O as OutputTokenRule, R as RpcUrlMap, W as WithdrawAnalyticsEvent, m as WithdrawCompleteEventData, n as WithdrawFailedEventData, o as WithdrawLifecycleEvent, p as WithdrawModalProps, q as WithdrawSubmittedEventData, r as WithdrawTransferRequest } from './types-C0SGf-21.cjs';
4
+ export { A as AssetMigrationsConfig, a as AssetOption, C as ChainId, b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, d as ClaimModalProps, e as ConnectedEventData, D as DepositAnalyticsEvent, f as DepositCompleteEventData, g as DepositFailedEventData, h as DepositLifecycleEvent, i as DepositModalProps, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, M as ModalAnalyticsEvent, O as OutputTokenRule, R as RpcUrlMap, W as WithdrawAnalyticsEvent, m as WithdrawCompleteEventData, n as WithdrawFailedEventData, o as WithdrawLifecycleEvent, p as WithdrawModalProps, q as WithdrawSubmittedEventData, r as WithdrawTransferRequest } from './types-C7wag_iL.cjs';
5
5
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.cjs';
6
- export { C as CHAIN_BY_ID, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_USDC_ADDRESS, b as HYPERCORE_USDT0_ADDRESS, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, c as SUPPORTED_CHAINS, 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';
6
+ export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, 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';
7
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, T as TargetChain } from './caip-D8aRWdEY.cjs';
7
8
  import 'react';
8
9
  import 'viem';
9
10
  import 'viem/chains';
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
3
  export { ClaimModal } from './claim.js';
4
- export { A as AssetMigrationsConfig, a as AssetOption, C as ChainId, b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, d as ClaimModalProps, e as ConnectedEventData, D as DepositAnalyticsEvent, f as DepositCompleteEventData, g as DepositFailedEventData, h as DepositLifecycleEvent, i as DepositModalProps, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, M as ModalAnalyticsEvent, O as OutputTokenRule, R as RpcUrlMap, W as WithdrawAnalyticsEvent, m as WithdrawCompleteEventData, n as WithdrawFailedEventData, o as WithdrawLifecycleEvent, p as WithdrawModalProps, q as WithdrawSubmittedEventData, r as WithdrawTransferRequest } from './types-C0SGf-21.js';
4
+ export { A as AssetMigrationsConfig, a as AssetOption, C as ChainId, b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, d as ClaimModalProps, e as ConnectedEventData, D as DepositAnalyticsEvent, f as DepositCompleteEventData, g as DepositFailedEventData, h as DepositLifecycleEvent, i as DepositModalProps, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, M as ModalAnalyticsEvent, O as OutputTokenRule, R as RpcUrlMap, W as WithdrawAnalyticsEvent, m as WithdrawCompleteEventData, n as WithdrawFailedEventData, o as WithdrawLifecycleEvent, p as WithdrawModalProps, q as WithdrawSubmittedEventData, r as WithdrawTransferRequest } from './types-D4b6Cjox.js';
5
5
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.js';
6
- export { C as CHAIN_BY_ID, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_USDC_ADDRESS, b as HYPERCORE_USDT0_ADDRESS, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, c as SUPPORTED_CHAINS, 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';
6
+ export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, 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';
7
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, T as TargetChain } from './caip-D8aRWdEY.js';
7
8
  import 'react';
8
9
  import 'viem';
9
10
  import 'viem/chains';
package/dist/index.mjs CHANGED
@@ -1,20 +1,21 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-N3OHR3T2.mjs";
3
+ } from "./chunk-TRD2FCAR.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-QGXAAFHU.mjs";
7
- import "./chunk-GYEUZSQP.mjs";
6
+ } from "./chunk-G4FVZQOM.mjs";
7
+ import "./chunk-WLDTBKRA.mjs";
8
8
  import {
9
9
  ClaimModal
10
- } from "./chunk-7OQO6JDC.mjs";
11
- import "./chunk-AYWEWI47.mjs";
12
- import "./chunk-WUQZYQRK.mjs";
13
- import "./chunk-QLZ5RZTA.mjs";
14
- import "./chunk-ILT2PITN.mjs";
10
+ } from "./chunk-VRNRRN2U.mjs";
11
+ import "./chunk-DYTRG4C7.mjs";
12
+ import "./chunk-ITAYM7SB.mjs";
13
+ import "./chunk-QRR3Y7EK.mjs";
14
+ import "./chunk-MZ53PDIX.mjs";
15
15
  import {
16
16
  CHAIN_BY_ID,
17
17
  HYPERCORE_CHAIN_ID,
18
+ HYPERCORE_SPOT_CAIP2,
18
19
  HYPERCORE_USDC_ADDRESS,
19
20
  HYPERCORE_USDT0_ADDRESS,
20
21
  NATIVE_TOKEN_ADDRESS,
@@ -43,7 +44,7 @@ import {
43
44
  getUsdcDecimals,
44
45
  isSupportedTokenAddressForChain,
45
46
  tokenIconUrl
46
- } from "./chunk-A223BLVC.mjs";
47
+ } from "./chunk-53IFZGSF.mjs";
47
48
 
48
49
  // src/core/reown-disconnect.ts
49
50
  async function disconnectWallet() {
@@ -69,6 +70,7 @@ export {
69
70
  ClaimModal,
70
71
  DepositModal,
71
72
  HYPERCORE_CHAIN_ID,
73
+ HYPERCORE_SPOT_CAIP2,
72
74
  HYPERCORE_USDC_ADDRESS,
73
75
  HYPERCORE_USDT0_ADDRESS,
74
76
  NATIVE_TOKEN_ADDRESS,