@rhinestone/deposit-modal 0.1.44 → 0.1.46

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.
@@ -20,7 +20,7 @@ import {
20
20
  loadSessionOwnerFromStorage,
21
21
  saveSessionOwnerToStorage,
22
22
  toEvmCaip2
23
- } from "./chunk-QIK6ONMQ.mjs";
23
+ } from "./chunk-U6KOKXWY.mjs";
24
24
  import {
25
25
  DEFAULT_BACKEND_URL,
26
26
  DEFAULT_SIGNER_ADDRESS,
@@ -33,7 +33,7 @@ import {
33
33
  getTokenDecimalsByAddress,
34
34
  getTokenIcon,
35
35
  getTokenSymbol
36
- } from "./chunk-ZJQZEIHA.mjs";
36
+ } from "./chunk-AVASFOLP.mjs";
37
37
 
38
38
  // src/WithdrawModal.tsx
39
39
  import {
@@ -1422,7 +1422,7 @@ function WithdrawFlow({
1422
1422
  // src/WithdrawModal.tsx
1423
1423
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1424
1424
  var ReownWithdrawInner = lazy(
1425
- () => import("./WithdrawModalReown-7CSCY55U.mjs").then((m) => ({
1425
+ () => import("./WithdrawModalReown-FM2TJFOV.mjs").then((m) => ({
1426
1426
  default: m.WithdrawModalReown
1427
1427
  }))
1428
1428
  );
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
10
+ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
11
11
 
12
12
  // src/components/ui/Modal.tsx
13
13
 
@@ -619,14 +619,14 @@ function normalizeOrchestratorPortfolio(data) {
619
619
  const unlocked = _nullishCoalesce(_optionalChain([chainBalance, 'access', _17 => _17.balance, 'optionalAccess', _18 => _18.unlocked]), () => ( "0"));
620
620
  const normalizedName = tokenData.tokenName.trim();
621
621
  const isNativeSymbol = normalizedName.toUpperCase() === "ETH" || normalizedName.toUpperCase() === "ETHER";
622
- const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkNELAYNA3cjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
623
- const resolvedTokenAddress = isNativeSymbol ? _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
622
+ const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkZNHU72LIcjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
623
+ const resolvedTokenAddress = isNativeSymbol ? _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
624
624
  if (!resolvedTokenAddress) {
625
625
  continue;
626
626
  }
627
- const registrySymbol = _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
627
+ const registrySymbol = _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
628
628
  const symbol = registrySymbol !== "Token" ? registrySymbol : normalizedName || "Token";
629
- const decimals = registrySymbol !== "Token" ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
629
+ const decimals = registrySymbol !== "Token" ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
630
630
  tokens.push({
631
631
  chainId: chainBalance.chainId,
632
632
  address: resolvedTokenAddress,
@@ -655,14 +655,14 @@ function normalizeDirectToken(token) {
655
655
  const address = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "address"), () => ( extractString(token, "tokenAddress"))), () => ( extractString(
656
656
  token.token,
657
657
  "address"
658
- ))), () => ( (typeof chainId === "number" ? _chunkNELAYNA3cjs.getTokenAddress.call(void 0, symbol, chainId) : void 0)));
658
+ ))), () => ( (typeof chainId === "number" ? _chunkZNHU72LIcjs.getTokenAddress.call(void 0, symbol, chainId) : void 0)));
659
659
  if (!address) return null;
660
660
  const balanceUsd = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractNumber(token, "balanceUsd"), () => ( extractNumber(token, "usdValue"))), () => ( extractNumber(token, "valueUsd"))), () => ( extractNumericString(token, "balanceUsd"))), () => ( extractNumericString(token, "usdValue"))), () => ( extractNumericString(token, "valueUsd"))), () => ( 0));
661
661
  const isSolanaToken = chainId === "solana";
662
- const registrySymbol = isSolanaToken ? "Token" : _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, address, chainId);
662
+ const registrySymbol = isSolanaToken ? "Token" : _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, address, chainId);
663
663
  const resolvedSymbol = isSolanaToken ? symbol : registrySymbol !== "Token" ? registrySymbol : symbol;
664
664
  const backendDecimals = _nullishCoalesce(extractNumber(token, "decimals"), () => ( extractNumber(token, "tokenDecimals")));
665
- const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, address, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
665
+ const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, address, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
666
666
  return {
667
667
  chainId,
668
668
  address,
@@ -1599,8 +1599,8 @@ function ProcessingStep({
1599
1599
  const displaySourceChain = _nullishCoalesce(sourceDetails.chainId, () => ( sourceChain));
1600
1600
  const displaySourceToken = _nullishCoalesce(sourceDetails.token, () => ( sourceToken));
1601
1601
  const displayAmount = _nullishCoalesce(sourceDetails.amount, () => ( amount));
1602
- const sourceExplorerUrl = _chunkNELAYNA3cjs.getExplorerTxUrl.call(void 0, displaySourceChain, txHash);
1603
- const destExplorerUrl = destinationTxHash ? _chunkNELAYNA3cjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1602
+ const sourceExplorerUrl = _chunkZNHU72LIcjs.getExplorerTxUrl.call(void 0, displaySourceChain, txHash);
1603
+ const destExplorerUrl = destinationTxHash ? _chunkZNHU72LIcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1604
1604
  const truncateHash = (hash) => `${hash.slice(0, 10)}...${hash.slice(-8)}`;
1605
1605
  const formatElapsedTime = (seconds) => {
1606
1606
  if (seconds < 60) return `${seconds} second${seconds !== 1 ? "s" : ""}`;
@@ -1609,8 +1609,8 @@ function ProcessingStep({
1609
1609
  return `${mins}m ${secs}s`;
1610
1610
  };
1611
1611
  const isEvmSourceToken = /^0x[a-fA-F0-9]{40}$/.test(displaySourceToken);
1612
- const sourceSymbol = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceSymbol, () => ( "SOL")) : isEvmSourceToken ? _chunkNELAYNA3cjs.getTokenSymbol.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceSymbol, () => ( "Token"));
1613
- const sourceDecimals = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceDecimals, () => ( 9)) : isEvmSourceToken ? _chunkNELAYNA3cjs.getTokenDecimalsByAddress.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceDecimals, () => ( 18));
1612
+ const sourceSymbol = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceSymbol, () => ( "SOL")) : isEvmSourceToken ? _chunkZNHU72LIcjs.getTokenSymbol.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceSymbol, () => ( "Token"));
1613
+ const sourceDecimals = displaySourceChain === "solana" ? _nullishCoalesce(providedSourceDecimals, () => ( 9)) : isEvmSourceToken ? _chunkZNHU72LIcjs.getTokenDecimalsByAddress.call(void 0, displaySourceToken, displaySourceChain) : _nullishCoalesce(providedSourceDecimals, () => ( 18));
1614
1614
  const formattedReceivedAmount = (() => {
1615
1615
  try {
1616
1616
  const raw = _viem.formatUnits.call(void 0, BigInt(displayAmount), sourceDecimals);
@@ -1681,15 +1681,15 @@ function ProcessingStep({
1681
1681
  className: "rs-card-value",
1682
1682
  style: { display: "flex", alignItems: "center", gap: 6 },
1683
1683
  children: [
1684
- _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1684
+ _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1685
1685
  "img",
1686
1686
  {
1687
- src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain),
1687
+ src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain),
1688
1688
  alt: "",
1689
1689
  style: { width: 14, height: 14, borderRadius: "50%" }
1690
1690
  }
1691
1691
  ),
1692
- _chunkNELAYNA3cjs.getChainName.call(void 0, displaySourceChain)
1692
+ _chunkZNHU72LIcjs.getChainName.call(void 0, displaySourceChain)
1693
1693
  ]
1694
1694
  }
1695
1695
  )
@@ -1702,15 +1702,15 @@ function ProcessingStep({
1702
1702
  className: "rs-card-value",
1703
1703
  style: { display: "flex", alignItems: "center", gap: 6 },
1704
1704
  children: [
1705
- _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1705
+ _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1706
1706
  "img",
1707
1707
  {
1708
- src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
1708
+ src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
1709
1709
  alt: "",
1710
1710
  style: { width: 14, height: 14, borderRadius: "50%" }
1711
1711
  }
1712
1712
  ),
1713
- _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
1713
+ _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
1714
1714
  ]
1715
1715
  }
1716
1716
  )
@@ -1832,7 +1832,7 @@ function ProcessingStep({
1832
1832
  {
1833
1833
  className: `rs-step-description ${isError ? "rs-text-error" : "rs-text-secondary"}`,
1834
1834
  children: [
1835
- state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _104 => _104.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _105 => _105.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)}.`),
1835
+ state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _104 => _104.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _105 => _105.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)}.`),
1836
1836
  state.type === "failed" && state.message,
1837
1837
  state.type === "error" && state.message
1838
1838
  ]
@@ -1888,15 +1888,15 @@ function ProcessingStep({
1888
1888
  className: "rs-card-value",
1889
1889
  style: { display: "flex", alignItems: "center", gap: 8 },
1890
1890
  children: [
1891
- _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1891
+ _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1892
1892
  "img",
1893
1893
  {
1894
- src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, displaySourceChain),
1894
+ src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, displaySourceChain),
1895
1895
  alt: "",
1896
1896
  style: { width: 16, height: 16, borderRadius: "50%" }
1897
1897
  }
1898
1898
  ),
1899
- _chunkNELAYNA3cjs.getChainName.call(void 0, displaySourceChain)
1899
+ _chunkZNHU72LIcjs.getChainName.call(void 0, displaySourceChain)
1900
1900
  ]
1901
1901
  }
1902
1902
  )
@@ -1909,15 +1909,15 @@ function ProcessingStep({
1909
1909
  className: "rs-card-value",
1910
1910
  style: { display: "flex", alignItems: "center", gap: 8 },
1911
1911
  children: [
1912
- _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1912
+ _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1913
1913
  "img",
1914
1914
  {
1915
- src: _chunkNELAYNA3cjs.getChainIcon.call(void 0, targetChain),
1915
+ src: _chunkZNHU72LIcjs.getChainIcon.call(void 0, targetChain),
1916
1916
  alt: "",
1917
1917
  style: { width: 16, height: 16, borderRadius: "50%" }
1918
1918
  }
1919
1919
  ),
1920
- _chunkNELAYNA3cjs.getChainName.call(void 0, targetChain)
1920
+ _chunkZNHU72LIcjs.getChainName.call(void 0, targetChain)
1921
1921
  ]
1922
1922
  }
1923
1923
  )
@@ -1970,7 +1970,7 @@ var clientCache = /* @__PURE__ */ new Map();
1970
1970
  function getPublicClient(chainId) {
1971
1971
  let client = clientCache.get(chainId);
1972
1972
  if (!client) {
1973
- const chain = _chunkNELAYNA3cjs.CHAIN_BY_ID[chainId];
1973
+ const chain = _chunkZNHU72LIcjs.CHAIN_BY_ID[chainId];
1974
1974
  client = _viem.createPublicClient.call(void 0, {
1975
1975
  chain,
1976
1976
  transport: _viem.http.call(void 0, )
@@ -23,10 +23,10 @@ var ALL_CHAINS_BY_ID = {
23
23
  [soneium.id]: soneium
24
24
  };
25
25
  var SUPPORTED_TOKEN_MATRIX = {
26
- ETH: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id, soneium.id],
27
- WETH: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id, soneium.id],
28
- USDC: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id, soneium.id],
29
- USDT: [mainnet.id, arbitrum.id, polygon.id, bsc.id, plasma.id]
26
+ ETH: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id],
27
+ WETH: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id],
28
+ USDC: [mainnet.id, base.id, arbitrum.id, optimism.id, polygon.id],
29
+ USDT: [mainnet.id, arbitrum.id, polygon.id, bsc.id]
30
30
  };
31
31
  var CHAIN_DISPLAY_ORDER = [
32
32
  mainnet.id,
@@ -34,9 +34,7 @@ var CHAIN_DISPLAY_ORDER = [
34
34
  arbitrum.id,
35
35
  optimism.id,
36
36
  polygon.id,
37
- bsc.id,
38
- plasma.id,
39
- soneium.id
37
+ bsc.id
40
38
  ];
41
39
  var supportedChainSet = /* @__PURE__ */ new Set();
42
40
  for (const chainIds of Object.values(SUPPORTED_TOKEN_MATRIX)) {
@@ -25,7 +25,7 @@ import {
25
25
  toEvmCaip2,
26
26
  tokenFormatter,
27
27
  txRefsMatch
28
- } from "./chunk-QIK6ONMQ.mjs";
28
+ } from "./chunk-U6KOKXWY.mjs";
29
29
  import {
30
30
  DEFAULT_BACKEND_URL,
31
31
  DEFAULT_SIGNER_ADDRESS,
@@ -41,7 +41,7 @@ import {
41
41
  getTokenIcon,
42
42
  getTokenSymbol,
43
43
  isStablecoinSymbol
44
- } from "./chunk-ZJQZEIHA.mjs";
44
+ } from "./chunk-AVASFOLP.mjs";
45
45
 
46
46
  // src/DepositModal.tsx
47
47
  import {
@@ -861,7 +861,6 @@ function AmountStep({
861
861
  }
862
862
  )
863
863
  ] }),
864
- chainMismatch && !isSwitching && /* @__PURE__ */ jsx3("div", { className: "rs-chain-switch", style: { marginTop: 16 }, children: /* @__PURE__ */ jsx3("div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${getChainName(asset.chainId)} to continue.` }) }),
865
864
  error && /* @__PURE__ */ jsxs3("div", { className: "rs-amount-error", children: [
866
865
  /* @__PURE__ */ jsx3(
867
866
  "svg",
@@ -1109,7 +1108,6 @@ function ConfirmStep({
1109
1108
  )
1110
1109
  ] })
1111
1110
  ] }),
1112
- chainMismatch && !isSwitching && /* @__PURE__ */ jsx4("div", { className: "rs-chain-switch", children: /* @__PURE__ */ jsx4("div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${getChainName(asset.chainId)} to sign.` }) }),
1113
1111
  error && /* @__PURE__ */ jsxs4("div", { className: "rs-alert rs-alert--error", children: [
1114
1112
  /* @__PURE__ */ jsx4(
1115
1113
  "svg",
@@ -3095,7 +3093,7 @@ function DepositFlow({
3095
3093
  return;
3096
3094
  }
3097
3095
  }
3098
- if (!hasWalletOptions && dappAddress && !hasReownSession) {
3096
+ if (!hasWalletOptions && dappAddress && !hasReownSession && !dappWalletClient) {
3099
3097
  handleSelectTransferCrypto();
3100
3098
  setIsConnectSelectionConfirmed(true);
3101
3099
  }
@@ -3106,6 +3104,7 @@ function DepositFlow({
3106
3104
  flowMode,
3107
3105
  selectedWalletIdEffective,
3108
3106
  dappAddress,
3107
+ dappWalletClient,
3109
3108
  walletOptions,
3110
3109
  handleSelectProvider,
3111
3110
  handleSelectSolanaWallet,
@@ -3418,7 +3417,7 @@ function DepositFlow({
3418
3417
  // src/DepositModal.tsx
3419
3418
  import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
3420
3419
  var ReownDepositInner = lazy(
3421
- () => import("./DepositModalReown-AY4LO4QK.mjs").then((m) => ({ default: m.DepositModalReown }))
3420
+ () => import("./DepositModalReown-23JR6Q4C.mjs").then((m) => ({ default: m.DepositModalReown }))
3422
3421
  );
3423
3422
  function DepositModal(props) {
3424
3423
  const needsReown = !!props.reownAppId;
@@ -57,7 +57,8 @@ function getOrCreateAdapter(projectId, theme) {
57
57
  connectMethodsOrder: ["wallet"],
58
58
  email: false,
59
59
  socials: false
60
- }
60
+ },
61
+ allowUnsupportedChain: true
61
62
  });
62
63
  return cachedAdapter;
63
64
  }
@@ -7,7 +7,7 @@ import {
7
7
  getTokenAddress,
8
8
  getTokenDecimalsByAddress,
9
9
  getTokenSymbol
10
- } from "./chunk-ZJQZEIHA.mjs";
10
+ } from "./chunk-AVASFOLP.mjs";
11
11
 
12
12
  // src/components/ui/Modal.tsx
13
13
  import {
@@ -57,7 +57,8 @@ function getOrCreateAdapter(projectId, theme) {
57
57
  connectMethodsOrder: ["wallet"],
58
58
  email: false,
59
59
  socials: false
60
- }
60
+ },
61
+ allowUnsupportedChain: true
61
62
  });
62
63
  return cachedAdapter;
63
64
  }
@@ -23,10 +23,10 @@ var ALL_CHAINS_BY_ID = {
23
23
  [_chains.soneium.id]: _chains.soneium
24
24
  };
25
25
  var SUPPORTED_TOKEN_MATRIX = {
26
- ETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
27
- WETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
28
- USDC: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id, _chains.soneium.id],
29
- USDT: [_chains.mainnet.id, _chains.arbitrum.id, _chains.polygon.id, _chains.bsc.id, _chains.plasma.id]
26
+ ETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
27
+ WETH: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
28
+ USDC: [_chains.mainnet.id, _chains.base.id, _chains.arbitrum.id, _chains.optimism.id, _chains.polygon.id],
29
+ USDT: [_chains.mainnet.id, _chains.arbitrum.id, _chains.polygon.id, _chains.bsc.id]
30
30
  };
31
31
  var CHAIN_DISPLAY_ORDER = [
32
32
  _chains.mainnet.id,
@@ -34,9 +34,7 @@ var CHAIN_DISPLAY_ORDER = [
34
34
  _chains.arbitrum.id,
35
35
  _chains.optimism.id,
36
36
  _chains.polygon.id,
37
- _chains.bsc.id,
38
- _chains.plasma.id,
39
- _chains.soneium.id
37
+ _chains.bsc.id
40
38
  ];
41
39
  var supportedChainSet = /* @__PURE__ */ new Set();
42
40
  for (const chainIds of Object.values(SUPPORTED_TOKEN_MATRIX)) {
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
30
+ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
31
31
 
32
32
 
33
33
 
@@ -57,4 +57,4 @@ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
57
57
 
58
58
 
59
59
 
60
- exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.isSupportedTokenAddressForChain;
60
+ exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkZNHU72LIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkZNHU72LIcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkZNHU72LIcjs.chainRegistry; exports.findChainIdForToken = _chunkZNHU72LIcjs.findChainIdForToken; exports.getChainBadge = _chunkZNHU72LIcjs.getChainBadge; exports.getChainIcon = _chunkZNHU72LIcjs.getChainIcon; exports.getChainId = _chunkZNHU72LIcjs.getChainId; exports.getChainName = _chunkZNHU72LIcjs.getChainName; exports.getChainObject = _chunkZNHU72LIcjs.getChainObject; exports.getExplorerName = _chunkZNHU72LIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkZNHU72LIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkZNHU72LIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkZNHU72LIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkZNHU72LIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkZNHU72LIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkZNHU72LIcjs.getTokenAddress; exports.getTokenDecimals = _chunkZNHU72LIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkZNHU72LIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkZNHU72LIcjs.getTokenIcon; exports.getTokenSymbol = _chunkZNHU72LIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkZNHU72LIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkZNHU72LIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkZNHU72LIcjs.isSupportedTokenAddressForChain;
@@ -27,7 +27,7 @@ import {
27
27
  getUsdcAddress,
28
28
  getUsdcDecimals,
29
29
  isSupportedTokenAddressForChain
30
- } from "./chunk-ZJQZEIHA.mjs";
30
+ } from "./chunk-AVASFOLP.mjs";
31
31
  export {
32
32
  CHAIN_BY_ID,
33
33
  DEFAULT_BACKEND_URL,
package/dist/deposit.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCOA6XZYEcjs = require('./chunk-COA6XZYE.cjs');
4
- require('./chunk-LT3QKJI2.cjs');
5
- require('./chunk-NELAYNA3.cjs');
3
+ var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
4
+ require('./chunk-55QIUUIS.cjs');
5
+ require('./chunk-ZNHU72LI.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunkCOA6XZYEcjs.DepositModal;
8
+ exports.DepositModal = _chunk2XGN65KAcjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-IBPVZH5W.mjs";
4
- import "./chunk-QIK6ONMQ.mjs";
5
- import "./chunk-ZJQZEIHA.mjs";
3
+ } from "./chunk-B2VXZW4V.mjs";
4
+ import "./chunk-U6KOKXWY.mjs";
5
+ import "./chunk-AVASFOLP.mjs";
6
6
  export {
7
7
  DepositModal
8
8
  };
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCOA6XZYEcjs = require('./chunk-COA6XZYE.cjs');
3
+ var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
4
4
 
5
5
 
6
- var _chunk37CTMJMOcjs = require('./chunk-37CTMJMO.cjs');
7
- require('./chunk-LT3QKJI2.cjs');
6
+ var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
7
+ require('./chunk-55QIUUIS.cjs');
8
8
 
9
9
 
10
10
 
@@ -34,7 +34,7 @@ require('./chunk-LT3QKJI2.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
37
+ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
38
38
 
39
39
 
40
40
 
@@ -66,4 +66,4 @@ var _chunkNELAYNA3cjs = require('./chunk-NELAYNA3.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkNELAYNA3cjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkNELAYNA3cjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkNELAYNA3cjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkCOA6XZYEcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkNELAYNA3cjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkNELAYNA3cjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkNELAYNA3cjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk37CTMJMOcjs.WithdrawModal; exports.chainRegistry = _chunkNELAYNA3cjs.chainRegistry; exports.findChainIdForToken = _chunkNELAYNA3cjs.findChainIdForToken; exports.getChainBadge = _chunkNELAYNA3cjs.getChainBadge; exports.getChainIcon = _chunkNELAYNA3cjs.getChainIcon; exports.getChainId = _chunkNELAYNA3cjs.getChainId; exports.getChainName = _chunkNELAYNA3cjs.getChainName; exports.getChainObject = _chunkNELAYNA3cjs.getChainObject; exports.getExplorerName = _chunkNELAYNA3cjs.getExplorerName; exports.getExplorerTxUrl = _chunkNELAYNA3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkNELAYNA3cjs.getExplorerUrl; exports.getSupportedChainIds = _chunkNELAYNA3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkNELAYNA3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkNELAYNA3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkNELAYNA3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkNELAYNA3cjs.getTokenAddress; exports.getTokenDecimals = _chunkNELAYNA3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkNELAYNA3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkNELAYNA3cjs.getTokenIcon; exports.getTokenSymbol = _chunkNELAYNA3cjs.getTokenSymbol; exports.getUsdcAddress = _chunkNELAYNA3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunkNELAYNA3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkNELAYNA3cjs.isSupportedTokenAddressForChain;
69
+ exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkZNHU72LIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkZNHU72LIcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal; exports.chainRegistry = _chunkZNHU72LIcjs.chainRegistry; exports.findChainIdForToken = _chunkZNHU72LIcjs.findChainIdForToken; exports.getChainBadge = _chunkZNHU72LIcjs.getChainBadge; exports.getChainIcon = _chunkZNHU72LIcjs.getChainIcon; exports.getChainId = _chunkZNHU72LIcjs.getChainId; exports.getChainName = _chunkZNHU72LIcjs.getChainName; exports.getChainObject = _chunkZNHU72LIcjs.getChainObject; exports.getExplorerName = _chunkZNHU72LIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkZNHU72LIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkZNHU72LIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkZNHU72LIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkZNHU72LIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkZNHU72LIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkZNHU72LIcjs.getTokenAddress; exports.getTokenDecimals = _chunkZNHU72LIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkZNHU72LIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkZNHU72LIcjs.getTokenIcon; exports.getTokenSymbol = _chunkZNHU72LIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkZNHU72LIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkZNHU72LIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkZNHU72LIcjs.isSupportedTokenAddressForChain;
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-IBPVZH5W.mjs";
3
+ } from "./chunk-B2VXZW4V.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-KWAFKVV6.mjs";
7
- import "./chunk-QIK6ONMQ.mjs";
6
+ } from "./chunk-4MKJ5R6Q.mjs";
7
+ import "./chunk-U6KOKXWY.mjs";
8
8
  import {
9
9
  CHAIN_BY_ID,
10
10
  DEFAULT_BACKEND_URL,
@@ -34,7 +34,7 @@ import {
34
34
  getUsdcAddress,
35
35
  getUsdcDecimals,
36
36
  isSupportedTokenAddressForChain
37
- } from "./chunk-ZJQZEIHA.mjs";
37
+ } from "./chunk-AVASFOLP.mjs";
38
38
  export {
39
39
  CHAIN_BY_ID,
40
40
  DEFAULT_BACKEND_URL,
package/dist/reown.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCOA6XZYEcjs = require('./chunk-COA6XZYE.cjs');
3
+ var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
4
4
 
5
5
 
6
- var _chunk37CTMJMOcjs = require('./chunk-37CTMJMO.cjs');
7
- require('./chunk-LT3QKJI2.cjs');
8
- require('./chunk-NELAYNA3.cjs');
6
+ var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
7
+ require('./chunk-55QIUUIS.cjs');
8
+ require('./chunk-ZNHU72LI.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunkCOA6XZYEcjs.DepositModal; exports.WithdrawModal = _chunk37CTMJMOcjs.WithdrawModal;
12
+ exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal;
package/dist/reown.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-IBPVZH5W.mjs";
3
+ } from "./chunk-B2VXZW4V.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-KWAFKVV6.mjs";
7
- import "./chunk-QIK6ONMQ.mjs";
8
- import "./chunk-ZJQZEIHA.mjs";
6
+ } from "./chunk-4MKJ5R6Q.mjs";
7
+ import "./chunk-U6KOKXWY.mjs";
8
+ import "./chunk-AVASFOLP.mjs";
9
9
  export {
10
10
  DepositModal,
11
11
  WithdrawModal
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk37CTMJMOcjs = require('./chunk-37CTMJMO.cjs');
4
- require('./chunk-LT3QKJI2.cjs');
5
- require('./chunk-NELAYNA3.cjs');
3
+ var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
4
+ require('./chunk-55QIUUIS.cjs');
5
+ require('./chunk-ZNHU72LI.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunk37CTMJMOcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-KWAFKVV6.mjs";
4
- import "./chunk-QIK6ONMQ.mjs";
5
- import "./chunk-ZJQZEIHA.mjs";
3
+ } from "./chunk-4MKJ5R6Q.mjs";
4
+ import "./chunk-U6KOKXWY.mjs";
5
+ import "./chunk-AVASFOLP.mjs";
6
6
  export {
7
7
  WithdrawModal
8
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {