@rhinestone/deposit-modal 0.1.31 → 0.1.33

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 (35) hide show
  1. package/dist/{DepositModalReown-S7HER5HU.mjs → DepositModalReown-7ZO7HUN3.mjs} +9 -5
  2. package/dist/{DepositModalReown-N7GCYZF7.cjs → DepositModalReown-VNKZT5A7.cjs} +12 -8
  3. package/dist/{WithdrawModalReown-DMDRLYTE.mjs → WithdrawModalReown-PMPLUJBE.mjs} +9 -5
  4. package/dist/{WithdrawModalReown-DJCJ5U7E.cjs → WithdrawModalReown-YP4PEERJ.cjs} +12 -8
  5. package/dist/{chunk-SZ35G2DT.cjs → chunk-4WXSBBHQ.cjs} +101 -107
  6. package/dist/{chunk-3ICS43XC.mjs → chunk-C6I5TFSL.mjs} +4 -0
  7. package/dist/{chunk-EVU7M7A6.mjs → chunk-DLFUXLAM.mjs} +14 -13
  8. package/dist/{chunk-SLI5FHTT.mjs → chunk-ECLVABYN.mjs} +34 -40
  9. package/dist/{chunk-AWFJFSPH.mjs → chunk-HNDZ6G5K.mjs} +166 -249
  10. package/dist/{chunk-PE6OK3FH.cjs → chunk-S4UBVD3H.cjs} +5 -1
  11. package/dist/{chunk-MU2BOEDN.cjs → chunk-SIGTZB3C.cjs} +244 -327
  12. package/dist/{chunk-CS6UIMCF.mjs → chunk-SJEIKMVO.mjs} +10 -2
  13. package/dist/{chunk-VKQA3FO3.cjs → chunk-V7I5T4SW.cjs} +9 -1
  14. package/dist/{chunk-G2RDCQHL.cjs → chunk-YIHOACM3.cjs} +38 -37
  15. package/dist/constants.cjs +2 -2
  16. package/dist/constants.mjs +1 -1
  17. package/dist/deposit.cjs +4 -4
  18. package/dist/deposit.d.cts +2 -2
  19. package/dist/deposit.d.ts +2 -2
  20. package/dist/deposit.mjs +3 -3
  21. package/dist/index.cjs +5 -5
  22. package/dist/index.d.cts +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.mjs +4 -4
  25. package/dist/reown.cjs +5 -5
  26. package/dist/reown.d.cts +1 -1
  27. package/dist/reown.d.ts +1 -1
  28. package/dist/reown.mjs +4 -4
  29. package/dist/{types-DTBfMH0p.d.ts → types-Bp2n2RQ3.d.ts} +0 -1
  30. package/dist/{types-DELv717e.d.cts → types-CIaQPR6F.d.cts} +0 -1
  31. package/dist/withdraw.cjs +4 -4
  32. package/dist/withdraw.d.cts +2 -2
  33. package/dist/withdraw.d.ts +2 -2
  34. package/dist/withdraw.mjs +3 -3
  35. package/package.json +1 -1
@@ -12,7 +12,7 @@ import {
12
12
  polygon,
13
13
  bsc
14
14
  } from "@reown/appkit/networks";
15
- import { useWalletClient, usePublicClient, useSwitchChain } from "wagmi";
15
+ import { useWalletClient, usePublicClient, useSwitchChain, useDisconnect } from "wagmi";
16
16
  import { jsx } from "react/jsx-runtime";
17
17
  var NETWORKS = [
18
18
  mainnet,
@@ -71,6 +71,7 @@ function useReownWallet() {
71
71
  const { data: walletClient } = useWalletClient();
72
72
  const publicClient = usePublicClient();
73
73
  const { switchChainAsync } = useSwitchChain();
74
+ const { disconnect: wagmiDisconnect } = useDisconnect();
74
75
  return {
75
76
  walletClient: walletClient ?? void 0,
76
77
  publicClient: publicClient ?? void 0,
@@ -78,9 +79,16 @@ function useReownWallet() {
78
79
  isConnected,
79
80
  icon: walletInfo?.icon,
80
81
  openConnect: () => {
81
- void open({ view: isConnected ? "Account" : "Connect" });
82
+ void open({ view: "Connect" });
83
+ },
84
+ disconnect: () => {
85
+ wagmiDisconnect();
82
86
  },
83
87
  switchChain: async (chainId) => {
88
+ if (walletClient?.switchChain) {
89
+ await walletClient.switchChain({ id: chainId });
90
+ return;
91
+ }
84
92
  await switchChainAsync({ chainId });
85
93
  }
86
94
  };
@@ -71,6 +71,7 @@ function useReownWallet() {
71
71
  const { data: walletClient } = _wagmi.useWalletClient.call(void 0, );
72
72
  const publicClient = _wagmi.usePublicClient.call(void 0, );
73
73
  const { switchChainAsync } = _wagmi.useSwitchChain.call(void 0, );
74
+ const { disconnect: wagmiDisconnect } = _wagmi.useDisconnect.call(void 0, );
74
75
  return {
75
76
  walletClient: _nullishCoalesce(walletClient, () => ( void 0)),
76
77
  publicClient: _nullishCoalesce(publicClient, () => ( void 0)),
@@ -78,9 +79,16 @@ function useReownWallet() {
78
79
  isConnected,
79
80
  icon: _optionalChain([walletInfo, 'optionalAccess', _3 => _3.icon]),
80
81
  openConnect: () => {
81
- void open({ view: isConnected ? "Account" : "Connect" });
82
+ void open({ view: "Connect" });
83
+ },
84
+ disconnect: () => {
85
+ wagmiDisconnect();
82
86
  },
83
87
  switchChain: async (chainId) => {
88
+ if (_optionalChain([walletClient, 'optionalAccess', _4 => _4.switchChain])) {
89
+ await walletClient.switchChain({ id: chainId });
90
+ return;
91
+ }
84
92
  await switchChainAsync({ chainId });
85
93
  }
86
94
  };
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
10
+ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
11
11
 
12
12
  // src/components/ui/Modal.tsx
13
13
 
@@ -360,14 +360,14 @@ function normalizeOrchestratorPortfolio(data) {
360
360
  const unlocked = _nullishCoalesce(_optionalChain([chainBalance, 'access', _4 => _4.balance, 'optionalAccess', _5 => _5.unlocked]), () => ( "0"));
361
361
  const normalizedName = tokenData.tokenName.trim();
362
362
  const isNativeSymbol = normalizedName.toUpperCase() === "ETH" || normalizedName.toUpperCase() === "ETHER";
363
- const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkPE6OK3FHcjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
364
- const resolvedTokenAddress = isNativeSymbol ? _chunkPE6OK3FHcjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
363
+ const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkS4UBVD3Hcjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
364
+ const resolvedTokenAddress = isNativeSymbol ? _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
365
365
  if (!resolvedTokenAddress) {
366
366
  continue;
367
367
  }
368
- const registrySymbol = _chunkPE6OK3FHcjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
368
+ const registrySymbol = _chunkS4UBVD3Hcjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
369
369
  const symbol = registrySymbol !== "Token" ? registrySymbol : normalizedName || "Token";
370
- const decimals = registrySymbol !== "Token" ? _chunkPE6OK3FHcjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
370
+ const decimals = registrySymbol !== "Token" ? _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
371
371
  tokens.push({
372
372
  chainId: chainBalance.chainId,
373
373
  address: resolvedTokenAddress,
@@ -394,14 +394,14 @@ function normalizeDirectToken(token) {
394
394
  const address = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "address"), () => ( extractString(token, "tokenAddress"))), () => ( extractString(
395
395
  token.token,
396
396
  "address"
397
- ))), () => ( _chunkPE6OK3FHcjs.getTokenAddress.call(void 0, symbol, chainId)));
397
+ ))), () => ( _chunkS4UBVD3Hcjs.getTokenAddress.call(void 0, symbol, chainId)));
398
398
  if (!address) return null;
399
399
  const addressAsToken = address;
400
400
  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));
401
- const registrySymbol = _chunkPE6OK3FHcjs.getTokenSymbol.call(void 0, addressAsToken, chainId);
401
+ const registrySymbol = _chunkS4UBVD3Hcjs.getTokenSymbol.call(void 0, addressAsToken, chainId);
402
402
  const resolvedSymbol = registrySymbol !== "Token" ? registrySymbol : symbol;
403
403
  const backendDecimals = _nullishCoalesce(extractNumber(token, "decimals"), () => ( extractNumber(token, "tokenDecimals")));
404
- const resolvedDecimals = registrySymbol !== "Token" ? _chunkPE6OK3FHcjs.getTokenDecimalsByAddress.call(void 0, addressAsToken, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
404
+ const resolvedDecimals = registrySymbol !== "Token" ? _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress.call(void 0, addressAsToken, chainId) : _nullishCoalesce(backendDecimals, () => ( 18));
405
405
  return {
406
406
  chainId,
407
407
  address: addressAsToken,
@@ -663,12 +663,13 @@ function ExternalLinkIcon() {
663
663
  ] });
664
664
  }
665
665
  function TransferIcon() {
666
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
666
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "svg", { viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
667
667
  "path",
668
668
  {
669
- d: "M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-9L21 12m0 0l-4.5 4.5M21 12H7.5",
670
- strokeLinecap: "round",
671
- strokeLinejoin: "round"
669
+ fillRule: "evenodd",
670
+ clipRule: "evenodd",
671
+ d: "M9.99256 0.0706115C10.2112 0.195503 10.3185 0.457071 10.2527 0.704513L8.80705 6.13519H14.0826C14.2993 6.13519 14.4954 6.26695 14.5818 6.47064C14.6682 6.67433 14.6284 6.91113 14.4805 7.07349L6.85913 15.4396C6.68832 15.6271 6.41472 15.6711 6.19607 15.5462C5.97742 15.4213 5.87009 15.1598 5.93595 14.9123L7.38158 9.48164H2.10607C1.8893 9.48164 1.69319 9.34988 1.60679 9.14619C1.5204 8.9425 1.56019 8.7057 1.7081 8.54334L9.32949 0.177204C9.5003 -0.0102968 9.77391 -0.0542802 9.99256 0.0706115Z",
672
+ fill: "currentColor"
672
673
  }
673
674
  ) });
674
675
  }
@@ -706,6 +707,7 @@ function ConnectStep({
706
707
  onSelectTransferCrypto,
707
708
  onRequestConnect,
708
709
  onConnect,
710
+ onDisconnect,
709
711
  onContinue,
710
712
  continueButtonLabel = "Continue",
711
713
  connectButtonLabel = "Connect external wallet"
@@ -777,19 +779,19 @@ function ConnectStep({
777
779
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-icon rs-connect-wallet-icon--action", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TransferIcon, {}) }),
778
780
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
779
781
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-label", children: "Transfer Crypto" }),
780
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "Deposit via QR code" })
782
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "No limit instant transfer" })
781
783
  ] }),
782
784
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-indicator", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChevronRightIcon, {}) })
783
785
  ]
784
786
  }
785
787
  )
786
788
  ] }),
787
- onConnect && _optionalChain([walletOptions, 'optionalAccess', _39 => _39.some, 'call', _40 => _40((option) => option.kind === "external")]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
789
+ (onDisconnect || onConnect) && _optionalChain([walletOptions, 'optionalAccess', _39 => _39.some, 'call', _40 => _40((option) => option.kind === "external")]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
788
790
  "button",
789
791
  {
790
792
  type: "button",
791
793
  className: "rs-connect-wallet-manage",
792
- onClick: onConnect,
794
+ onClick: _nullishCoalesce(onDisconnect, () => ( onConnect)),
793
795
  children: "Disconnect Wallet"
794
796
  }
795
797
  )
@@ -819,7 +821,7 @@ function ConnectStep({
819
821
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-icon rs-connect-wallet-icon--action", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TransferIcon, {}) }),
820
822
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
821
823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-label", children: "Transfer Crypto" }),
822
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "Deposit via QR code" })
824
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "No limit instant transfer" })
823
825
  ] }),
824
826
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-indicator", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChevronRightIcon, {}) })
825
827
  ]
@@ -1046,7 +1048,6 @@ function ProcessingStep({
1046
1048
  sourceChain,
1047
1049
  sourceToken,
1048
1050
  targetChain,
1049
- targetToken,
1050
1051
  amount,
1051
1052
  waitForFinalTx,
1052
1053
  service,
@@ -1208,8 +1209,8 @@ function ProcessingStep({
1208
1209
  const flowNoun = flowLabel === "withdraw" ? "withdrawal" : "deposit";
1209
1210
  const flowCapitalized = flowLabel === "withdraw" ? "Withdrawal" : "Deposit";
1210
1211
  const destinationTxHash = _optionalChain([lastEvent, 'optionalAccess', _76 => _76.data, 'optionalAccess', _77 => _77.destination, 'optionalAccess', _78 => _78.transactionHash]) || null;
1211
- const sourceExplorerUrl = _chunkPE6OK3FHcjs.getExplorerTxUrl.call(void 0, sourceChain, txHash);
1212
- const destExplorerUrl = destinationTxHash ? _chunkPE6OK3FHcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1212
+ const sourceExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl.call(void 0, sourceChain, txHash);
1213
+ const destExplorerUrl = destinationTxHash ? _chunkS4UBVD3Hcjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
1213
1214
  const truncateHash = (hash) => `${hash.slice(0, 10)}...${hash.slice(-8)}`;
1214
1215
  const formatElapsedTime = (seconds) => {
1215
1216
  if (seconds < 60) return `${seconds} second${seconds !== 1 ? "s" : ""}`;
@@ -1217,8 +1218,8 @@ function ProcessingStep({
1217
1218
  const secs = seconds % 60;
1218
1219
  return `${mins}m ${secs}s`;
1219
1220
  };
1220
- const targetSymbol = _chunkPE6OK3FHcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1221
- const sourceDecimals = _chunkPE6OK3FHcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1221
+ const sourceSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol.call(void 0, sourceToken, sourceChain);
1222
+ const sourceDecimals = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress.call(void 0, sourceToken, sourceChain);
1222
1223
  const formattedReceivedAmount = (() => {
1223
1224
  try {
1224
1225
  const raw = _viem.formatUnits.call(void 0, BigInt(amount), sourceDecimals);
@@ -1272,11 +1273,11 @@ function ProcessingStep({
1272
1273
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-card-value", children: formatElapsedTime(elapsedSeconds) })
1273
1274
  ] }),
1274
1275
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-card-row", children: [
1275
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-card-label", children: "You received" }),
1276
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-card-label", children: "You sent" }),
1276
1277
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-card-value", children: [
1277
1278
  formattedReceivedAmount,
1278
1279
  " ",
1279
- targetSymbol
1280
+ sourceSymbol
1280
1281
  ] })
1281
1282
  ] })
1282
1283
  ] }),
@@ -1289,15 +1290,15 @@ function ProcessingStep({
1289
1290
  className: "rs-card-value",
1290
1291
  style: { display: "flex", alignItems: "center", gap: 6 },
1291
1292
  children: [
1292
- _chunkPE6OK3FHcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1293
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1293
1294
  "img",
1294
1295
  {
1295
- src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, sourceChain),
1296
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain),
1296
1297
  alt: "",
1297
1298
  style: { width: 14, height: 14, borderRadius: "50%" }
1298
1299
  }
1299
1300
  ),
1300
- _chunkPE6OK3FHcjs.getChainName.call(void 0, sourceChain)
1301
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, sourceChain)
1301
1302
  ]
1302
1303
  }
1303
1304
  )
@@ -1310,15 +1311,15 @@ function ProcessingStep({
1310
1311
  className: "rs-card-value",
1311
1312
  style: { display: "flex", alignItems: "center", gap: 6 },
1312
1313
  children: [
1313
- _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1314
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1314
1315
  "img",
1315
1316
  {
1316
- src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain),
1317
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain),
1317
1318
  alt: "",
1318
1319
  style: { width: 14, height: 14, borderRadius: "50%" }
1319
1320
  }
1320
1321
  ),
1321
- _chunkPE6OK3FHcjs.getChainName.call(void 0, targetChain)
1322
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, targetChain)
1322
1323
  ]
1323
1324
  }
1324
1325
  )
@@ -1440,7 +1441,7 @@ function ProcessingStep({
1440
1441
  {
1441
1442
  className: `rs-step-description ${isError ? "rs-text-error" : "rs-text-secondary"}`,
1442
1443
  children: [
1443
- state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _79 => _79.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _80 => _80.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkPE6OK3FHcjs.getChainName.call(void 0, targetChain)}.`),
1444
+ state.type === "processing" && (_optionalChain([lastEvent, 'optionalAccess', _79 => _79.type]) === "deposit-received" ? "Transfer received. Preparing bridge..." : _optionalChain([lastEvent, 'optionalAccess', _80 => _80.type]) === "bridge-started" ? "Transfer confirmed. Funds arriving shortly..." : `Bridging your ${flowNoun} to ${_chunkS4UBVD3Hcjs.getChainName.call(void 0, targetChain)}.`),
1444
1445
  state.type === "failed" && state.message,
1445
1446
  state.type === "error" && state.message
1446
1447
  ]
@@ -1496,15 +1497,15 @@ function ProcessingStep({
1496
1497
  className: "rs-card-value",
1497
1498
  style: { display: "flex", alignItems: "center", gap: 8 },
1498
1499
  children: [
1499
- _chunkPE6OK3FHcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1500
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1500
1501
  "img",
1501
1502
  {
1502
- src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, sourceChain),
1503
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain),
1503
1504
  alt: "",
1504
1505
  style: { width: 16, height: 16, borderRadius: "50%" }
1505
1506
  }
1506
1507
  ),
1507
- _chunkPE6OK3FHcjs.getChainName.call(void 0, sourceChain)
1508
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, sourceChain)
1508
1509
  ]
1509
1510
  }
1510
1511
  )
@@ -1517,15 +1518,15 @@ function ProcessingStep({
1517
1518
  className: "rs-card-value",
1518
1519
  style: { display: "flex", alignItems: "center", gap: 8 },
1519
1520
  children: [
1520
- _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1521
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1521
1522
  "img",
1522
1523
  {
1523
- src: _chunkPE6OK3FHcjs.getChainIcon.call(void 0, targetChain),
1524
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain),
1524
1525
  alt: "",
1525
1526
  style: { width: 16, height: 16, borderRadius: "50%" }
1526
1527
  }
1527
1528
  ),
1528
- _chunkPE6OK3FHcjs.getChainName.call(void 0, targetChain)
1529
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, targetChain)
1529
1530
  ]
1530
1531
  }
1531
1532
  )
@@ -1578,7 +1579,7 @@ var clientCache = /* @__PURE__ */ new Map();
1578
1579
  function getPublicClient(chainId) {
1579
1580
  let client = clientCache.get(chainId);
1580
1581
  if (!client) {
1581
- const chain = _chunkPE6OK3FHcjs.CHAIN_BY_ID[chainId];
1582
+ const chain = _chunkS4UBVD3Hcjs.CHAIN_BY_ID[chainId];
1582
1583
  client = _viem.createPublicClient.call(void 0, {
1583
1584
  chain,
1584
1585
  transport: _viem.http.call(void 0, )
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
30
+ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
31
31
 
32
32
 
33
33
 
@@ -57,4 +57,4 @@ var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
57
57
 
58
58
 
59
59
 
60
- exports.CHAIN_BY_ID = _chunkPE6OK3FHcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkPE6OK3FHcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkPE6OK3FHcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkPE6OK3FHcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkPE6OK3FHcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkPE6OK3FHcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkPE6OK3FHcjs.chainRegistry; exports.findChainIdForToken = _chunkPE6OK3FHcjs.findChainIdForToken; exports.getChainBadge = _chunkPE6OK3FHcjs.getChainBadge; exports.getChainIcon = _chunkPE6OK3FHcjs.getChainIcon; exports.getChainId = _chunkPE6OK3FHcjs.getChainId; exports.getChainName = _chunkPE6OK3FHcjs.getChainName; exports.getChainObject = _chunkPE6OK3FHcjs.getChainObject; exports.getExplorerName = _chunkPE6OK3FHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkPE6OK3FHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkPE6OK3FHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkPE6OK3FHcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkPE6OK3FHcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkPE6OK3FHcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkPE6OK3FHcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkPE6OK3FHcjs.getTokenAddress; exports.getTokenDecimals = _chunkPE6OK3FHcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkPE6OK3FHcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkPE6OK3FHcjs.getTokenIcon; exports.getTokenSymbol = _chunkPE6OK3FHcjs.getTokenSymbol; exports.getUsdcAddress = _chunkPE6OK3FHcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkPE6OK3FHcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkPE6OK3FHcjs.isSupportedTokenAddressForChain;
60
+ exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkS4UBVD3Hcjs.chainRegistry; exports.findChainIdForToken = _chunkS4UBVD3Hcjs.findChainIdForToken; exports.getChainBadge = _chunkS4UBVD3Hcjs.getChainBadge; exports.getChainIcon = _chunkS4UBVD3Hcjs.getChainIcon; exports.getChainId = _chunkS4UBVD3Hcjs.getChainId; exports.getChainName = _chunkS4UBVD3Hcjs.getChainName; exports.getChainObject = _chunkS4UBVD3Hcjs.getChainObject; exports.getExplorerName = _chunkS4UBVD3Hcjs.getExplorerName; exports.getExplorerTxUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkS4UBVD3Hcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkS4UBVD3Hcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkS4UBVD3Hcjs.getTokenAddress; exports.getTokenDecimals = _chunkS4UBVD3Hcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkS4UBVD3Hcjs.getTokenIcon; exports.getTokenSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol; exports.getUsdcAddress = _chunkS4UBVD3Hcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkS4UBVD3Hcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkS4UBVD3Hcjs.isSupportedTokenAddressForChain;
@@ -27,7 +27,7 @@ import {
27
27
  getUsdcAddress,
28
28
  getUsdcDecimals,
29
29
  isSupportedTokenAddressForChain
30
- } from "./chunk-3ICS43XC.mjs";
30
+ } from "./chunk-C6I5TFSL.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 _chunkMU2BOEDNcjs = require('./chunk-MU2BOEDN.cjs');
4
- require('./chunk-G2RDCQHL.cjs');
5
- require('./chunk-PE6OK3FH.cjs');
3
+ var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
4
+ require('./chunk-YIHOACM3.cjs');
5
+ require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunkMU2BOEDNcjs.DepositModal;
8
+ exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as DepositModalProps } from './types-DELv717e.cjs';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData } from './types-DELv717e.cjs';
2
+ import { c as DepositModalProps } from './types-CIaQPR6F.cjs';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData } from './types-CIaQPR6F.cjs';
4
4
  import 'viem';
5
5
  import './safe.cjs';
6
6
 
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as DepositModalProps } from './types-DTBfMH0p.js';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData } from './types-DTBfMH0p.js';
2
+ import { c as DepositModalProps } from './types-Bp2n2RQ3.js';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData } from './types-Bp2n2RQ3.js';
4
4
  import 'viem';
5
5
  import './safe.js';
6
6
 
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-AWFJFSPH.mjs";
4
- import "./chunk-EVU7M7A6.mjs";
5
- import "./chunk-3ICS43XC.mjs";
3
+ } from "./chunk-HNDZ6G5K.mjs";
4
+ import "./chunk-DLFUXLAM.mjs";
5
+ import "./chunk-C6I5TFSL.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 _chunkMU2BOEDNcjs = require('./chunk-MU2BOEDN.cjs');
3
+ var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
4
4
 
5
5
 
6
- var _chunkSZ35G2DTcjs = require('./chunk-SZ35G2DT.cjs');
7
- require('./chunk-G2RDCQHL.cjs');
6
+ var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
7
+ require('./chunk-YIHOACM3.cjs');
8
8
 
9
9
 
10
10
 
@@ -34,7 +34,7 @@ require('./chunk-G2RDCQHL.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
37
+ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
38
38
 
39
39
 
40
40
 
@@ -66,4 +66,4 @@ var _chunkPE6OK3FHcjs = require('./chunk-PE6OK3FH.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkPE6OK3FHcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkPE6OK3FHcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkPE6OK3FHcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkMU2BOEDNcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkPE6OK3FHcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkPE6OK3FHcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkPE6OK3FHcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkSZ35G2DTcjs.WithdrawModal; exports.chainRegistry = _chunkPE6OK3FHcjs.chainRegistry; exports.findChainIdForToken = _chunkPE6OK3FHcjs.findChainIdForToken; exports.getChainBadge = _chunkPE6OK3FHcjs.getChainBadge; exports.getChainIcon = _chunkPE6OK3FHcjs.getChainIcon; exports.getChainId = _chunkPE6OK3FHcjs.getChainId; exports.getChainName = _chunkPE6OK3FHcjs.getChainName; exports.getChainObject = _chunkPE6OK3FHcjs.getChainObject; exports.getExplorerName = _chunkPE6OK3FHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkPE6OK3FHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkPE6OK3FHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkPE6OK3FHcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkPE6OK3FHcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkPE6OK3FHcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkPE6OK3FHcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkPE6OK3FHcjs.getTokenAddress; exports.getTokenDecimals = _chunkPE6OK3FHcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkPE6OK3FHcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkPE6OK3FHcjs.getTokenIcon; exports.getTokenSymbol = _chunkPE6OK3FHcjs.getTokenSymbol; exports.getUsdcAddress = _chunkPE6OK3FHcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkPE6OK3FHcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkPE6OK3FHcjs.isSupportedTokenAddressForChain;
69
+ exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal; exports.chainRegistry = _chunkS4UBVD3Hcjs.chainRegistry; exports.findChainIdForToken = _chunkS4UBVD3Hcjs.findChainIdForToken; exports.getChainBadge = _chunkS4UBVD3Hcjs.getChainBadge; exports.getChainIcon = _chunkS4UBVD3Hcjs.getChainIcon; exports.getChainId = _chunkS4UBVD3Hcjs.getChainId; exports.getChainName = _chunkS4UBVD3Hcjs.getChainName; exports.getChainObject = _chunkS4UBVD3Hcjs.getChainObject; exports.getExplorerName = _chunkS4UBVD3Hcjs.getExplorerName; exports.getExplorerTxUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkS4UBVD3Hcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkS4UBVD3Hcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkS4UBVD3Hcjs.getTokenAddress; exports.getTokenDecimals = _chunkS4UBVD3Hcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkS4UBVD3Hcjs.getTokenIcon; exports.getTokenSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol; exports.getUsdcAddress = _chunkS4UBVD3Hcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkS4UBVD3Hcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkS4UBVD3Hcjs.isSupportedTokenAddressForChain;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-DELv717e.cjs';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-CIaQPR6F.cjs';
4
4
  export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.cjs';
5
5
  export { SafeTransactionRequest } from './safe.cjs';
6
6
  import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-DTBfMH0p.js';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-Bp2n2RQ3.js';
4
4
  export { CHAIN_BY_ID, DEFAULT_BACKEND_URL, DEFAULT_SIGNER_ADDRESS, NATIVE_TOKEN_ADDRESS, SOURCE_CHAINS, SUPPORTED_CHAINS, chainRegistry, findChainIdForToken, getChainBadge, getChainIcon, getChainId, getChainName, getChainObject, getExplorerName, getExplorerTxUrl, getExplorerUrl, getSupportedChainIds, getSupportedTargetTokens, getSupportedTokenSymbolsForChain, getTargetTokenSymbolsForChain, getTokenAddress, getTokenDecimals, getTokenDecimalsByAddress, getTokenIcon, getTokenSymbol, getUsdcAddress, getUsdcDecimals, isSupportedTokenAddressForChain } from './constants.js';
5
5
  export { SafeTransactionRequest } from './safe.js';
6
6
  import 'react/jsx-runtime';
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-AWFJFSPH.mjs";
3
+ } from "./chunk-HNDZ6G5K.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-SLI5FHTT.mjs";
7
- import "./chunk-EVU7M7A6.mjs";
6
+ } from "./chunk-ECLVABYN.mjs";
7
+ import "./chunk-DLFUXLAM.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-3ICS43XC.mjs";
37
+ } from "./chunk-C6I5TFSL.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 _chunkMU2BOEDNcjs = require('./chunk-MU2BOEDN.cjs');
3
+ var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
4
4
 
5
5
 
6
- var _chunkSZ35G2DTcjs = require('./chunk-SZ35G2DT.cjs');
7
- require('./chunk-G2RDCQHL.cjs');
8
- require('./chunk-PE6OK3FH.cjs');
6
+ var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
7
+ require('./chunk-YIHOACM3.cjs');
8
+ require('./chunk-S4UBVD3H.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunkMU2BOEDNcjs.DepositModal; exports.WithdrawModal = _chunkSZ35G2DTcjs.WithdrawModal;
12
+ exports.DepositModal = _chunkSIGTZB3Ccjs.DepositModal; exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal;
package/dist/reown.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-DELv717e.cjs';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-CIaQPR6F.cjs';
4
4
  export { SafeTransactionRequest } from './safe.cjs';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/reown.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
- export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-DTBfMH0p.js';
3
+ export { A as AssetOption, C as ConnectedEventData, D as DepositCompleteEventData, a as DepositFailedEventData, b as DepositModalBranding, c as DepositModalProps, d as DepositModalTheme, e as DepositModalUIConfig, f as DepositSubmittedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, h as WithdrawModalProps, i as WithdrawSubmittedEventData } from './types-Bp2n2RQ3.js';
4
4
  export { SafeTransactionRequest } from './safe.js';
5
5
  import 'react/jsx-runtime';
6
6
  import 'viem';
package/dist/reown.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-AWFJFSPH.mjs";
3
+ } from "./chunk-HNDZ6G5K.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-SLI5FHTT.mjs";
7
- import "./chunk-EVU7M7A6.mjs";
8
- import "./chunk-3ICS43XC.mjs";
6
+ } from "./chunk-ECLVABYN.mjs";
7
+ import "./chunk-DLFUXLAM.mjs";
8
+ import "./chunk-C6I5TFSL.mjs";
9
9
  export {
10
10
  DepositModal,
11
11
  WithdrawModal
@@ -19,7 +19,6 @@ interface DepositModalUIConfig {
19
19
  title: string;
20
20
  amount?: string;
21
21
  };
22
- showTokenBalance?: boolean;
23
22
  maxDepositUsd?: number;
24
23
  minDepositUsd?: number;
25
24
  }
@@ -19,7 +19,6 @@ interface DepositModalUIConfig {
19
19
  title: string;
20
20
  amount?: string;
21
21
  };
22
- showTokenBalance?: boolean;
23
22
  maxDepositUsd?: number;
24
23
  minDepositUsd?: number;
25
24
  }
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkSZ35G2DTcjs = require('./chunk-SZ35G2DT.cjs');
4
- require('./chunk-G2RDCQHL.cjs');
5
- require('./chunk-PE6OK3FH.cjs');
3
+ var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
4
+ require('./chunk-YIHOACM3.cjs');
5
+ require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkSZ35G2DTcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunk4WXSBBHQcjs.WithdrawModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { h as WithdrawModalProps } from './types-DELv717e.cjs';
3
- export { A as AssetOption, C as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, i as WithdrawSubmittedEventData } from './types-DELv717e.cjs';
2
+ import { h as WithdrawModalProps } from './types-CIaQPR6F.cjs';
3
+ export { A as AssetOption, C as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, i as WithdrawSubmittedEventData } from './types-CIaQPR6F.cjs';
4
4
  export { SafeTransactionRequest } from './safe.cjs';
5
5
  import 'viem';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { h as WithdrawModalProps } from './types-DTBfMH0p.js';
3
- export { A as AssetOption, C as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, i as WithdrawSubmittedEventData } from './types-DTBfMH0p.js';
2
+ import { h as WithdrawModalProps } from './types-Bp2n2RQ3.js';
3
+ export { A as AssetOption, C as ConnectedEventData, E as ErrorEventData, W as WithdrawCompleteEventData, g as WithdrawFailedEventData, i as WithdrawSubmittedEventData } from './types-Bp2n2RQ3.js';
4
4
  export { SafeTransactionRequest } from './safe.js';
5
5
  import 'viem';
6
6
 
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-SLI5FHTT.mjs";
4
- import "./chunk-EVU7M7A6.mjs";
5
- import "./chunk-3ICS43XC.mjs";
3
+ } from "./chunk-ECLVABYN.mjs";
4
+ import "./chunk-DLFUXLAM.mjs";
5
+ import "./chunk-C6I5TFSL.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.31",
3
+ "version": "0.1.33",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {