@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.
- package/dist/{DepositModalReown-OHTRNISJ.mjs → DepositModalReown-SZPCCNPH.mjs} +9 -5
- package/dist/{DepositModalReown-ZD3ROLZG.cjs → DepositModalReown-XUAEWIW7.cjs} +12 -8
- package/dist/{WithdrawModalReown-SVZQKH2X.cjs → WithdrawModalReown-53FDOZG2.cjs} +12 -8
- package/dist/{WithdrawModalReown-IJAMIPSY.mjs → WithdrawModalReown-YGGV7BL2.mjs} +9 -5
- package/dist/{chunk-6VJ2ZTNQ.cjs → chunk-52FVEYTL.cjs} +6 -0
- package/dist/{chunk-VL47TLTE.mjs → chunk-C6I5TFSL.mjs} +13 -8
- package/dist/{chunk-CIAKCO7G.mjs → chunk-DLFUXLAM.mjs} +67 -34
- package/dist/{chunk-LBEP3A2Z.mjs → chunk-K2JJKFTV.mjs} +8 -2
- package/dist/{chunk-BOKLFGNS.mjs → chunk-MKKJ7ZE2.mjs} +148 -167
- package/dist/{chunk-WDDONQLV.cjs → chunk-NYEWO4NW.cjs} +265 -284
- package/dist/{chunk-S76PY7GZ.mjs → chunk-RR25E5DZ.mjs} +35 -15
- package/dist/{chunk-WB3ZJJBH.cjs → chunk-S4UBVD3H.cjs} +14 -9
- package/dist/{chunk-K4YSUWIT.cjs → chunk-SQDXU7ML.cjs} +91 -71
- package/dist/{chunk-KIRDZLOS.cjs → chunk-YIHOACM3.cjs} +91 -58
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +4 -4
- package/dist/styles.css +8 -5
- package/dist/{types-CgXyx46m.d.ts → types-Bp2n2RQ3.d.ts} +4 -1
- package/dist/{types-BwaQ7jK5.d.cts → types-CIaQPR6F.d.cts} +4 -1
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +3 -3
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
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))), () => (
|
|
364
|
-
const resolvedTokenAddress = isNativeSymbol ?
|
|
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 =
|
|
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" ?
|
|
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
|
-
))), () => (
|
|
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 =
|
|
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" ?
|
|
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
|
|
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
|
-
|
|
670
|
-
|
|
671
|
-
|
|
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:
|
|
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: "
|
|
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.
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
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 =
|
|
1180
|
-
const destExplorerUrl = destinationTxHash ?
|
|
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
|
|
1189
|
-
const sourceDecimals =
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
1293
|
+
_chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1261
1294
|
"img",
|
|
1262
1295
|
{
|
|
1263
|
-
src:
|
|
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
|
-
|
|
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
|
-
|
|
1314
|
+
_chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1282
1315
|
"img",
|
|
1283
1316
|
{
|
|
1284
|
-
src:
|
|
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
|
-
|
|
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 ${
|
|
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
|
-
|
|
1500
|
+
_chunkS4UBVD3Hcjs.getChainIcon.call(void 0, sourceChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1468
1501
|
"img",
|
|
1469
1502
|
{
|
|
1470
|
-
src:
|
|
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
|
-
|
|
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
|
-
|
|
1521
|
+
_chunkS4UBVD3Hcjs.getChainIcon.call(void 0, targetChain) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1489
1522
|
"img",
|
|
1490
1523
|
{
|
|
1491
|
-
src:
|
|
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
|
-
|
|
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 =
|
|
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, )
|
package/dist/constants.cjs
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
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 =
|
|
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;
|
package/dist/constants.mjs
CHANGED
package/dist/deposit.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
|
|
4
|
+
require('./chunk-YIHOACM3.cjs');
|
|
5
|
+
require('./chunk-S4UBVD3H.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.DepositModal =
|
|
8
|
+
exports.DepositModal = _chunkNYEWO4NWcjs.DepositModal;
|
package/dist/deposit.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { c as DepositModalProps } from './types-
|
|
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-
|
|
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-
|
|
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-
|
|
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
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
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
|
|
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 =
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
+
} from "./chunk-MKKJ7ZE2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
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-
|
|
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
|
|
3
|
+
var _chunkNYEWO4NWcjs = require('./chunk-NYEWO4NW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
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 =
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
+
} from "./chunk-MKKJ7ZE2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
WithdrawModal
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
1739
|
-
object-fit:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkSQDXU7MLcjs = require('./chunk-SQDXU7ML.cjs');
|
|
4
|
+
require('./chunk-YIHOACM3.cjs');
|
|
5
|
+
require('./chunk-S4UBVD3H.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.WithdrawModal =
|
|
8
|
+
exports.WithdrawModal = _chunkSQDXU7MLcjs.WithdrawModal;
|