@rhinestone/deposit-modal 0.1.30 → 0.1.32

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 (36) hide show
  1. package/dist/{DepositModalReown-OHTRNISJ.mjs → DepositModalReown-SZPCCNPH.mjs} +9 -5
  2. package/dist/{DepositModalReown-ZD3ROLZG.cjs → DepositModalReown-XUAEWIW7.cjs} +12 -8
  3. package/dist/{WithdrawModalReown-SVZQKH2X.cjs → WithdrawModalReown-53FDOZG2.cjs} +12 -8
  4. package/dist/{WithdrawModalReown-IJAMIPSY.mjs → WithdrawModalReown-YGGV7BL2.mjs} +9 -5
  5. package/dist/{chunk-6VJ2ZTNQ.cjs → chunk-52FVEYTL.cjs} +6 -0
  6. package/dist/{chunk-VL47TLTE.mjs → chunk-C6I5TFSL.mjs} +13 -8
  7. package/dist/{chunk-CIAKCO7G.mjs → chunk-DLFUXLAM.mjs} +67 -34
  8. package/dist/{chunk-LBEP3A2Z.mjs → chunk-K2JJKFTV.mjs} +8 -2
  9. package/dist/{chunk-BOKLFGNS.mjs → chunk-MKKJ7ZE2.mjs} +148 -167
  10. package/dist/{chunk-WDDONQLV.cjs → chunk-NYEWO4NW.cjs} +265 -284
  11. package/dist/{chunk-S76PY7GZ.mjs → chunk-RR25E5DZ.mjs} +35 -15
  12. package/dist/{chunk-WB3ZJJBH.cjs → chunk-S4UBVD3H.cjs} +14 -9
  13. package/dist/{chunk-K4YSUWIT.cjs → chunk-SQDXU7ML.cjs} +91 -71
  14. package/dist/{chunk-KIRDZLOS.cjs → chunk-YIHOACM3.cjs} +91 -58
  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/styles.css +8 -5
  30. package/dist/{types-CgXyx46m.d.ts → types-Bp2n2RQ3.d.ts} +4 -1
  31. package/dist/{types-BwaQ7jK5.d.cts → types-CIaQPR6F.d.cts} +4 -1
  32. package/dist/withdraw.cjs +4 -4
  33. package/dist/withdraw.d.cts +2 -2
  34. package/dist/withdraw.d.ts +2 -2
  35. package/dist/withdraw.mjs +3 -3
  36. package/package.json +1 -1
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkWB3ZJJBHcjs = require('./chunk-WB3ZJJBH.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))), () => ( _chunkWB3ZJJBHcjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
364
- const resolvedTokenAddress = isNativeSymbol ? _chunkWB3ZJJBHcjs.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 = _chunkWB3ZJJBHcjs.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" ? _chunkWB3ZJJBHcjs.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
- ))), () => ( _chunkWB3ZJJBHcjs.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 = _chunkWB3ZJJBHcjs.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" ? _chunkWB3ZJJBHcjs.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"
@@ -731,7 +733,14 @@ function ConnectStep({
731
733
  "div",
732
734
  {
733
735
  className: `rs-connect-wallet-icon ${isSelected ? "rs-connect-wallet-icon--selected" : ""}`,
734
- children: rowIcon(option.kind)
736
+ children: option.icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
737
+ "img",
738
+ {
739
+ src: option.icon,
740
+ alt: option.label,
741
+ style: { width: 18, height: 18, borderRadius: 4 }
742
+ }
743
+ ) : rowIcon(option.kind)
735
744
  }
736
745
  ),
737
746
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
@@ -770,19 +779,19 @@ function ConnectStep({
770
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, {}) }),
771
780
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
772
781
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-label", children: "Transfer Crypto" }),
773
- /* @__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" })
774
783
  ] }),
775
784
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-indicator", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChevronRightIcon, {}) })
776
785
  ]
777
786
  }
778
787
  )
779
788
  ] }),
780
- 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,
781
790
  "button",
782
791
  {
783
792
  type: "button",
784
793
  className: "rs-connect-wallet-manage",
785
- onClick: onConnect,
794
+ onClick: _nullishCoalesce(onDisconnect, () => ( onConnect)),
786
795
  children: "Disconnect Wallet"
787
796
  }
788
797
  )
@@ -800,6 +809,42 @@ function ConnectStep({
800
809
  ] });
801
810
  }
802
811
  const handleConnect = _nullishCoalesce(onConnect, () => ( onRequestConnect));
812
+ if (onSelectTransferCrypto) {
813
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-centered rs-connect-centered--wallets", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-list", children: [
814
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
815
+ "button",
816
+ {
817
+ type: "button",
818
+ className: "rs-connect-wallet-row rs-connect-wallet-row--action",
819
+ onClick: onSelectTransferCrypto,
820
+ children: [
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, {}) }),
822
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
823
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-label", children: "Transfer Crypto" }),
824
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "No limit instant transfer" })
825
+ ] }),
826
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-indicator", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChevronRightIcon, {}) })
827
+ ]
828
+ }
829
+ ),
830
+ handleConnect && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
831
+ "button",
832
+ {
833
+ type: "button",
834
+ className: "rs-connect-wallet-row rs-connect-wallet-row--action",
835
+ onClick: handleConnect,
836
+ children: [
837
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-icon rs-connect-wallet-icon--action", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WalletIcon, {}) }),
838
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-wallet-meta", children: [
839
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-label", children: "Connect Wallet" }),
840
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-address", children: "Connect your wallet to deposit" })
841
+ ] }),
842
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-wallet-indicator", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChevronRightIcon, {}) })
843
+ ]
844
+ }
845
+ )
846
+ ] }) }) });
847
+ }
803
848
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step", children: [
804
849
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-centered rs-connect-centered--minimal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-empty", children: [
805
850
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-connect-empty-graphic", "aria-hidden": "true", children: [
@@ -839,27 +884,16 @@ function ConnectStep({
839
884
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-empty-title", children: "No wallet connected" }),
840
885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-connect-empty-subtitle", children: "Connect an external wallet to continue." })
841
886
  ] }) }),
842
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-step-footer rs-step-footer--connect-empty", children: [
843
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
844
- Button,
845
- {
846
- onClick: handleConnect,
847
- variant: "accent",
848
- fullWidth: true,
849
- disabled: !handleConnect,
850
- children: connectButtonLabel
851
- }
852
- ),
853
- onSelectTransferCrypto && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
854
- "button",
855
- {
856
- type: "button",
857
- className: "rs-connect-transfer-link",
858
- onClick: onSelectTransferCrypto,
859
- children: "Or deposit via QR code"
860
- }
861
- )
862
- ] })
887
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-step-footer rs-step-footer--connect-empty", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
888
+ Button,
889
+ {
890
+ onClick: handleConnect,
891
+ variant: "accent",
892
+ fullWidth: true,
893
+ disabled: !handleConnect,
894
+ children: connectButtonLabel
895
+ }
896
+ ) })
863
897
  ] });
864
898
  }
865
899
  ConnectStep.displayName = "ConnectStep";
@@ -1014,7 +1048,6 @@ function ProcessingStep({
1014
1048
  sourceChain,
1015
1049
  sourceToken,
1016
1050
  targetChain,
1017
- targetToken,
1018
1051
  amount,
1019
1052
  waitForFinalTx,
1020
1053
  service,
@@ -1176,8 +1209,8 @@ function ProcessingStep({
1176
1209
  const flowNoun = flowLabel === "withdraw" ? "withdrawal" : "deposit";
1177
1210
  const flowCapitalized = flowLabel === "withdraw" ? "Withdrawal" : "Deposit";
1178
1211
  const destinationTxHash = _optionalChain([lastEvent, 'optionalAccess', _76 => _76.data, 'optionalAccess', _77 => _77.destination, 'optionalAccess', _78 => _78.transactionHash]) || null;
1179
- const sourceExplorerUrl = _chunkWB3ZJJBHcjs.getExplorerTxUrl.call(void 0, sourceChain, txHash);
1180
- const destExplorerUrl = destinationTxHash ? _chunkWB3ZJJBHcjs.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;
1181
1214
  const truncateHash = (hash) => `${hash.slice(0, 10)}...${hash.slice(-8)}`;
1182
1215
  const formatElapsedTime = (seconds) => {
1183
1216
  if (seconds < 60) return `${seconds} second${seconds !== 1 ? "s" : ""}`;
@@ -1185,8 +1218,8 @@ function ProcessingStep({
1185
1218
  const secs = seconds % 60;
1186
1219
  return `${mins}m ${secs}s`;
1187
1220
  };
1188
- const targetSymbol = _chunkWB3ZJJBHcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
1189
- const sourceDecimals = _chunkWB3ZJJBHcjs.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);
1190
1223
  const formattedReceivedAmount = (() => {
1191
1224
  try {
1192
1225
  const raw = _viem.formatUnits.call(void 0, BigInt(amount), sourceDecimals);
@@ -1240,11 +1273,11 @@ function ProcessingStep({
1240
1273
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-card-value", children: formatElapsedTime(elapsedSeconds) })
1241
1274
  ] }),
1242
1275
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-card-row", children: [
1243
- /* @__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" }),
1244
1277
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-card-value", children: [
1245
1278
  formattedReceivedAmount,
1246
1279
  " ",
1247
- targetSymbol
1280
+ sourceSymbol
1248
1281
  ] })
1249
1282
  ] })
1250
1283
  ] }),
@@ -1257,15 +1290,15 @@ function ProcessingStep({
1257
1290
  className: "rs-card-value",
1258
1291
  style: { display: "flex", alignItems: "center", gap: 6 },
1259
1292
  children: [
1260
- _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1293
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1261
1294
  "img",
1262
1295
  {
1263
- src: _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, sourceChain),
1296
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain),
1264
1297
  alt: "",
1265
1298
  style: { width: 14, height: 14, borderRadius: "50%" }
1266
1299
  }
1267
1300
  ),
1268
- _chunkWB3ZJJBHcjs.getChainName.call(void 0, sourceChain)
1301
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, sourceChain)
1269
1302
  ]
1270
1303
  }
1271
1304
  )
@@ -1278,15 +1311,15 @@ function ProcessingStep({
1278
1311
  className: "rs-card-value",
1279
1312
  style: { display: "flex", alignItems: "center", gap: 6 },
1280
1313
  children: [
1281
- _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1314
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1282
1315
  "img",
1283
1316
  {
1284
- src: _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, targetChain),
1317
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain),
1285
1318
  alt: "",
1286
1319
  style: { width: 14, height: 14, borderRadius: "50%" }
1287
1320
  }
1288
1321
  ),
1289
- _chunkWB3ZJJBHcjs.getChainName.call(void 0, targetChain)
1322
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, targetChain)
1290
1323
  ]
1291
1324
  }
1292
1325
  )
@@ -1408,7 +1441,7 @@ function ProcessingStep({
1408
1441
  {
1409
1442
  className: `rs-step-description ${isError ? "rs-text-error" : "rs-text-secondary"}`,
1410
1443
  children: [
1411
- 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 ${_chunkWB3ZJJBHcjs.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)}.`),
1412
1445
  state.type === "failed" && state.message,
1413
1446
  state.type === "error" && state.message
1414
1447
  ]
@@ -1464,15 +1497,15 @@ function ProcessingStep({
1464
1497
  className: "rs-card-value",
1465
1498
  style: { display: "flex", alignItems: "center", gap: 8 },
1466
1499
  children: [
1467
- _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1500
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1468
1501
  "img",
1469
1502
  {
1470
- src: _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, sourceChain),
1503
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain),
1471
1504
  alt: "",
1472
1505
  style: { width: 16, height: 16, borderRadius: "50%" }
1473
1506
  }
1474
1507
  ),
1475
- _chunkWB3ZJJBHcjs.getChainName.call(void 0, sourceChain)
1508
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, sourceChain)
1476
1509
  ]
1477
1510
  }
1478
1511
  )
@@ -1485,15 +1518,15 @@ function ProcessingStep({
1485
1518
  className: "rs-card-value",
1486
1519
  style: { display: "flex", alignItems: "center", gap: 8 },
1487
1520
  children: [
1488
- _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1521
+ _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1489
1522
  "img",
1490
1523
  {
1491
- src: _chunkWB3ZJJBHcjs.getChainIcon.call(void 0, targetChain),
1524
+ src: _chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain),
1492
1525
  alt: "",
1493
1526
  style: { width: 16, height: 16, borderRadius: "50%" }
1494
1527
  }
1495
1528
  ),
1496
- _chunkWB3ZJJBHcjs.getChainName.call(void 0, targetChain)
1529
+ _chunkS4UBVD3Hcjs.getChainName.call(void 0, targetChain)
1497
1530
  ]
1498
1531
  }
1499
1532
  )
@@ -1546,7 +1579,7 @@ var clientCache = /* @__PURE__ */ new Map();
1546
1579
  function getPublicClient(chainId) {
1547
1580
  let client = clientCache.get(chainId);
1548
1581
  if (!client) {
1549
- const chain = _chunkWB3ZJJBHcjs.CHAIN_BY_ID[chainId];
1582
+ const chain = _chunkS4UBVD3Hcjs.CHAIN_BY_ID[chainId];
1550
1583
  client = _viem.createPublicClient.call(void 0, {
1551
1584
  chain,
1552
1585
  transport: _viem.http.call(void 0, )
@@ -27,7 +27,7 @@
27
27
 
28
28
 
29
29
 
30
- var _chunkWB3ZJJBHcjs = require('./chunk-WB3ZJJBH.cjs');
30
+ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
31
31
 
32
32
 
33
33
 
@@ -57,4 +57,4 @@ var _chunkWB3ZJJBHcjs = require('./chunk-WB3ZJJBH.cjs');
57
57
 
58
58
 
59
59
 
60
- exports.CHAIN_BY_ID = _chunkWB3ZJJBHcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkWB3ZJJBHcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkWB3ZJJBHcjs.DEFAULT_SIGNER_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkWB3ZJJBHcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkWB3ZJJBHcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkWB3ZJJBHcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkWB3ZJJBHcjs.chainRegistry; exports.findChainIdForToken = _chunkWB3ZJJBHcjs.findChainIdForToken; exports.getChainBadge = _chunkWB3ZJJBHcjs.getChainBadge; exports.getChainIcon = _chunkWB3ZJJBHcjs.getChainIcon; exports.getChainId = _chunkWB3ZJJBHcjs.getChainId; exports.getChainName = _chunkWB3ZJJBHcjs.getChainName; exports.getChainObject = _chunkWB3ZJJBHcjs.getChainObject; exports.getExplorerName = _chunkWB3ZJJBHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkWB3ZJJBHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkWB3ZJJBHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkWB3ZJJBHcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkWB3ZJJBHcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkWB3ZJJBHcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkWB3ZJJBHcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkWB3ZJJBHcjs.getTokenAddress; exports.getTokenDecimals = _chunkWB3ZJJBHcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkWB3ZJJBHcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkWB3ZJJBHcjs.getTokenIcon; exports.getTokenSymbol = _chunkWB3ZJJBHcjs.getTokenSymbol; exports.getUsdcAddress = _chunkWB3ZJJBHcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkWB3ZJJBHcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkWB3ZJJBHcjs.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-VL47TLTE.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 _chunkWDDONQLVcjs = require('./chunk-WDDONQLV.cjs');
4
- require('./chunk-KIRDZLOS.cjs');
5
- require('./chunk-WB3ZJJBH.cjs');
3
+ var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
4
+ require('./chunk-YIHOACM3.cjs');
5
+ require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.DepositModal = _chunkWDDONQLVcjs.DepositModal;
8
+ exports.DepositModal = _chunkNYEWO4NWcjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { c as DepositModalProps } from './types-BwaQ7jK5.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-BwaQ7jK5.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-CgXyx46m.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-CgXyx46m.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-BOKLFGNS.mjs";
4
- import "./chunk-CIAKCO7G.mjs";
5
- import "./chunk-VL47TLTE.mjs";
3
+ } from "./chunk-MKKJ7ZE2.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 _chunkWDDONQLVcjs = require('./chunk-WDDONQLV.cjs');
3
+ var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
4
4
 
5
5
 
6
- var _chunkK4YSUWITcjs = require('./chunk-K4YSUWIT.cjs');
7
- require('./chunk-KIRDZLOS.cjs');
6
+ var _chunkSQDXU7MLcjs = require('./chunk-SQDXU7ML.cjs');
7
+ require('./chunk-YIHOACM3.cjs');
8
8
 
9
9
 
10
10
 
@@ -34,7 +34,7 @@ require('./chunk-KIRDZLOS.cjs');
34
34
 
35
35
 
36
36
 
37
- var _chunkWB3ZJJBHcjs = require('./chunk-WB3ZJJBH.cjs');
37
+ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
38
38
 
39
39
 
40
40
 
@@ -66,4 +66,4 @@ var _chunkWB3ZJJBHcjs = require('./chunk-WB3ZJJBH.cjs');
66
66
 
67
67
 
68
68
 
69
- exports.CHAIN_BY_ID = _chunkWB3ZJJBHcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkWB3ZJJBHcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkWB3ZJJBHcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkWDDONQLVcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkWB3ZJJBHcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkWB3ZJJBHcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkWB3ZJJBHcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkK4YSUWITcjs.WithdrawModal; exports.chainRegistry = _chunkWB3ZJJBHcjs.chainRegistry; exports.findChainIdForToken = _chunkWB3ZJJBHcjs.findChainIdForToken; exports.getChainBadge = _chunkWB3ZJJBHcjs.getChainBadge; exports.getChainIcon = _chunkWB3ZJJBHcjs.getChainIcon; exports.getChainId = _chunkWB3ZJJBHcjs.getChainId; exports.getChainName = _chunkWB3ZJJBHcjs.getChainName; exports.getChainObject = _chunkWB3ZJJBHcjs.getChainObject; exports.getExplorerName = _chunkWB3ZJJBHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkWB3ZJJBHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkWB3ZJJBHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkWB3ZJJBHcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkWB3ZJJBHcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkWB3ZJJBHcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkWB3ZJJBHcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkWB3ZJJBHcjs.getTokenAddress; exports.getTokenDecimals = _chunkWB3ZJJBHcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkWB3ZJJBHcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkWB3ZJJBHcjs.getTokenIcon; exports.getTokenSymbol = _chunkWB3ZJJBHcjs.getTokenSymbol; exports.getUsdcAddress = _chunkWB3ZJJBHcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkWB3ZJJBHcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkWB3ZJJBHcjs.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 = _chunkNYEWO4NWcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkSQDXU7MLcjs.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-BwaQ7jK5.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-CgXyx46m.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-BOKLFGNS.mjs";
3
+ } from "./chunk-MKKJ7ZE2.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-S76PY7GZ.mjs";
7
- import "./chunk-CIAKCO7G.mjs";
6
+ } from "./chunk-RR25E5DZ.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-VL47TLTE.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 _chunkWDDONQLVcjs = require('./chunk-WDDONQLV.cjs');
3
+ var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
4
4
 
5
5
 
6
- var _chunkK4YSUWITcjs = require('./chunk-K4YSUWIT.cjs');
7
- require('./chunk-KIRDZLOS.cjs');
8
- require('./chunk-WB3ZJJBH.cjs');
6
+ var _chunkSQDXU7MLcjs = require('./chunk-SQDXU7ML.cjs');
7
+ require('./chunk-YIHOACM3.cjs');
8
+ require('./chunk-S4UBVD3H.cjs');
9
9
 
10
10
 
11
11
 
12
- exports.DepositModal = _chunkWDDONQLVcjs.DepositModal; exports.WithdrawModal = _chunkK4YSUWITcjs.WithdrawModal;
12
+ exports.DepositModal = _chunkNYEWO4NWcjs.DepositModal; exports.WithdrawModal = _chunkSQDXU7MLcjs.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-BwaQ7jK5.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-CgXyx46m.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-BOKLFGNS.mjs";
3
+ } from "./chunk-MKKJ7ZE2.mjs";
4
4
  import {
5
5
  WithdrawModal
6
- } from "./chunk-S76PY7GZ.mjs";
7
- import "./chunk-CIAKCO7G.mjs";
8
- import "./chunk-VL47TLTE.mjs";
6
+ } from "./chunk-RR25E5DZ.mjs";
7
+ import "./chunk-DLFUXLAM.mjs";
8
+ import "./chunk-C6I5TFSL.mjs";
9
9
  export {
10
10
  DepositModal,
11
11
  WithdrawModal
package/dist/styles.css CHANGED
@@ -735,8 +735,9 @@
735
735
  right: -2px;
736
736
  width: 16px;
737
737
  height: 16px;
738
- border-radius: 50%;
738
+ border-radius: 3px;
739
739
  border: 2px solid var(--rs-background);
740
+ background-color: var(--rs-background);
740
741
  display: flex;
741
742
  align-items: center;
742
743
  justify-content: center;
@@ -747,7 +748,8 @@
747
748
  .rs-asset-chain-badge img {
748
749
  width: 100%;
749
750
  height: 100%;
750
- border-radius: 50%;
751
+ border-radius: 3px;
752
+ object-fit: cover;
751
753
  }
752
754
 
753
755
  .rs-asset-name {
@@ -1722,8 +1724,9 @@
1722
1724
  right: -2px;
1723
1725
  width: 12px;
1724
1726
  height: 12px;
1725
- border-radius: 50%;
1727
+ border-radius: 3px;
1726
1728
  border: 1.5px solid var(--rs-surface);
1729
+ background-color: var(--rs-background);
1727
1730
  display: flex;
1728
1731
  align-items: center;
1729
1732
  justify-content: center;
@@ -1735,8 +1738,8 @@
1735
1738
  .rs-flow-pill-chain-badge img {
1736
1739
  width: 100%;
1737
1740
  height: 100%;
1738
- border-radius: 50%;
1739
- object-fit: contain;
1741
+ border-radius: 3px;
1742
+ object-fit: cover;
1740
1743
  }
1741
1744
 
1742
1745
  .rs-flow-pill-token-symbol {
@@ -15,7 +15,10 @@ interface DepositModalUIConfig {
15
15
  showLogo?: boolean;
16
16
  showStepper?: boolean;
17
17
  showBackButton?: boolean;
18
- balanceTitle?: string;
18
+ balance?: {
19
+ title: string;
20
+ amount?: string;
21
+ };
19
22
  maxDepositUsd?: number;
20
23
  minDepositUsd?: number;
21
24
  }
@@ -15,7 +15,10 @@ interface DepositModalUIConfig {
15
15
  showLogo?: boolean;
16
16
  showStepper?: boolean;
17
17
  showBackButton?: boolean;
18
- balanceTitle?: string;
18
+ balance?: {
19
+ title: string;
20
+ amount?: string;
21
+ };
19
22
  maxDepositUsd?: number;
20
23
  minDepositUsd?: number;
21
24
  }
package/dist/withdraw.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkK4YSUWITcjs = require('./chunk-K4YSUWIT.cjs');
4
- require('./chunk-KIRDZLOS.cjs');
5
- require('./chunk-WB3ZJJBH.cjs');
3
+ var _chunkSQDXU7MLcjs = require('./chunk-SQDXU7ML.cjs');
4
+ require('./chunk-YIHOACM3.cjs');
5
+ require('./chunk-S4UBVD3H.cjs');
6
6
 
7
7
 
8
- exports.WithdrawModal = _chunkK4YSUWITcjs.WithdrawModal;
8
+ exports.WithdrawModal = _chunkSQDXU7MLcjs.WithdrawModal;