@rhinestone/deposit-modal 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DepositModalReown-CHVDFNEX.cjs → DepositModalReown-J5YFZKFS.cjs} +9 -9
- package/dist/{DepositModalReown-T4RRW5FM.mjs → DepositModalReown-RZ6VSMKP.mjs} +6 -6
- package/dist/{WithdrawModalReown-Q6MUMZTX.mjs → WithdrawModalReown-4YUV2WWV.mjs} +5 -5
- package/dist/{WithdrawModalReown-YZMZTN6E.cjs → WithdrawModalReown-B6BGY52S.cjs} +8 -8
- package/dist/caip-C_ZYFIGa.d.cts +77 -0
- package/dist/caip-C_ZYFIGa.d.ts +77 -0
- package/dist/{chunk-XOBLFIGV.cjs → chunk-4IOQIWDY.cjs} +4 -4
- package/dist/{chunk-UZENNYHS.mjs → chunk-5S5BQ2GM.mjs} +83 -53
- package/dist/{chunk-CLUR2J72.mjs → chunk-7JJ4EFDY.mjs} +13 -17
- package/dist/{chunk-UN6MEOOA.cjs → chunk-IRI34U6N.cjs} +71 -33
- package/dist/{chunk-KUURQOTT.cjs → chunk-JRFPKFL6.cjs} +102 -106
- package/dist/{chunk-J52W34Y7.mjs → chunk-LXTAAHPC.mjs} +2 -2
- package/dist/{chunk-HH46H6ZI.cjs → chunk-PUMTR35E.cjs} +49 -24
- package/dist/{chunk-OYPFPEIT.mjs → chunk-RXWJ267K.mjs} +153 -115
- package/dist/{chunk-CPMHRMPH.mjs → chunk-SX52FXKH.mjs} +48 -23
- package/dist/{chunk-K6J3RDDK.mjs → chunk-TYB6AA6D.mjs} +1 -1
- package/dist/{chunk-6P3WNDED.cjs → chunk-VURI4G2Z.cjs} +7 -7
- package/dist/{chunk-RLMXWLF4.cjs → chunk-WL7AXYQ4.cjs} +3 -3
- package/dist/{chunk-QSMPJQTX.cjs → chunk-XLXJW44N.cjs} +384 -354
- package/dist/{chunk-4JLYWRQA.mjs → chunk-YLIPI3NU.mjs} +1 -1
- package/dist/constants.cjs +4 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.mjs +5 -3
- package/dist/deposit.cjs +6 -6
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +5 -5
- package/dist/index.cjs +11 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +12 -8
- package/dist/polymarket.cjs +6 -6
- package/dist/polymarket.mjs +3 -3
- package/dist/{types-6ROxwyfG.d.cts → types--LQWg_4W.d.cts} +1 -1
- package/dist/{types-6ROxwyfG.d.ts → types--LQWg_4W.d.ts} +1 -1
- package/dist/withdraw.cjs +5 -5
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- package/dist/withdraw.mjs +4 -4
- package/package.json +1 -1
- package/dist/caip-CsslyHGL.d.cts +0 -62
- package/dist/caip-CsslyHGL.d.ts +0 -62
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
var _chunkPUMTR35Ecjs = require('./chunk-PUMTR35E.cjs');
|
|
17
21
|
|
|
18
22
|
// src/components/ui/Modal.tsx
|
|
19
23
|
|
|
@@ -949,7 +953,7 @@ function createDepositService(baseUrl, options) {
|
|
|
949
953
|
},
|
|
950
954
|
async checkLiquidity(params) {
|
|
951
955
|
if (params.destinationChainId === "solana") {
|
|
952
|
-
const token =
|
|
956
|
+
const token = _chunkPUMTR35Ecjs.getSolanaTokenByMint.call(void 0, params.destinationToken);
|
|
953
957
|
return {
|
|
954
958
|
hasLiquidity: true,
|
|
955
959
|
symbol: _nullishCoalesce(_optionalChain([token, 'optionalAccess', _25 => _25.symbol]), () => ( "Token")),
|
|
@@ -1005,7 +1009,8 @@ function createDepositService(baseUrl, options) {
|
|
|
1005
1009
|
const url = apiUrl("/quotes/preview");
|
|
1006
1010
|
const body = {
|
|
1007
1011
|
account: params.account,
|
|
1008
|
-
|
|
1012
|
+
// HyperCore has its own CAIP-2 namespace — never the eip155 placeholder.
|
|
1013
|
+
sourceChainId: params.sourceChainId === "hypercore" ? _chunkPUMTR35Ecjs.HYPERCORE_MAINNET_CAIP2 : `eip155:${params.sourceChainId}`,
|
|
1009
1014
|
sourceToken: params.sourceToken,
|
|
1010
1015
|
amount: params.amount
|
|
1011
1016
|
};
|
|
@@ -1303,14 +1308,14 @@ function normalizeOrchestratorPortfolio(data) {
|
|
|
1303
1308
|
const unlocked = _nullishCoalesce(_optionalChain([chainBalance, 'access', _32 => _32.balance, 'optionalAccess', _33 => _33.unlocked]), () => ( "0"));
|
|
1304
1309
|
const normalizedName = tokenData.tokenName.trim();
|
|
1305
1310
|
const isNativeSymbol = normalizedName.toUpperCase() === "ETH" || normalizedName.toUpperCase() === "ETHER";
|
|
1306
|
-
const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => (
|
|
1307
|
-
const resolvedTokenAddress = isNativeSymbol ?
|
|
1311
|
+
const tokenAddress = _nullishCoalesce(_nullishCoalesce(chainBalance.tokenAddress, () => ( extractTokenAddress(tokenData, chainBalance.chainId))), () => ( _chunkPUMTR35Ecjs.getTokenAddress.call(void 0, tokenData.tokenName, chainBalance.chainId)));
|
|
1312
|
+
const resolvedTokenAddress = isNativeSymbol ? _chunkPUMTR35Ecjs.NATIVE_TOKEN_ADDRESS : tokenAddress;
|
|
1308
1313
|
if (!resolvedTokenAddress) {
|
|
1309
1314
|
continue;
|
|
1310
1315
|
}
|
|
1311
|
-
const registrySymbol =
|
|
1316
|
+
const registrySymbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, resolvedTokenAddress, chainBalance.chainId);
|
|
1312
1317
|
const symbol = registrySymbol !== "Token" ? registrySymbol : normalizedName || "Token";
|
|
1313
|
-
const decimals = registrySymbol !== "Token" ?
|
|
1318
|
+
const decimals = registrySymbol !== "Token" ? _chunkPUMTR35Ecjs.getTokenDecimalsByAddress.call(void 0, resolvedTokenAddress, chainBalance.chainId) : _nullishCoalesce(tokenData.tokenDecimals, () => ( 18));
|
|
1314
1319
|
tokens.push({
|
|
1315
1320
|
chainId: chainBalance.chainId,
|
|
1316
1321
|
address: resolvedTokenAddress,
|
|
@@ -1330,8 +1335,13 @@ function normalizeOrchestratorPortfolio(data) {
|
|
|
1330
1335
|
function normalizeDirectToken(token) {
|
|
1331
1336
|
const rawChainId = _nullishCoalesce(extractNumber(token, "chainId"), () => ( extractNumber(token.chain, "id")));
|
|
1332
1337
|
const rawChainString = _nullishCoalesce(extractString(token, "chainId"), () => ( extractString(token.chain, "id")));
|
|
1333
|
-
const chainId = _nullishCoalesce(rawChainId, () => ( (rawChainString ?
|
|
1338
|
+
const chainId = _nullishCoalesce(rawChainId, () => ( (rawChainString ? _chunkPUMTR35Ecjs.isSolanaCaip2.call(void 0, rawChainString) || rawChainString.toLowerCase() === "solana" ? "solana" : (
|
|
1339
|
+
// HyperCore (`hypercore:mainnet`) is a non-EVM source; keep its USDC
|
|
1340
|
+
// instead of dropping it as an unparseable chain string.
|
|
1341
|
+
_chunkPUMTR35Ecjs.isHyperCoreCaip2.call(void 0, rawChainString) || rawChainString.toLowerCase() === "hypercore" ? "hypercore" : _chunkPUMTR35Ecjs.parseEvmChainId.call(void 0, rawChainString)
|
|
1342
|
+
) : null)));
|
|
1334
1343
|
if (chainId === null) return null;
|
|
1344
|
+
const registryChainId = typeof chainId === "number" ? chainId : chainId === "hypercore" ? _chunkPUMTR35Ecjs.HYPERCORE_CHAIN_ID : void 0;
|
|
1335
1345
|
const symbol = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "symbol"), () => ( extractString(token, "tokenSymbol"))), () => ( extractString(token, "tokenName"))), () => ( extractString(token, "name")));
|
|
1336
1346
|
if (!symbol) return null;
|
|
1337
1347
|
const balanceValue = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "balance"), () => ( extractString(token, "amount"))), () => ( extractString(token, "value"))), () => ( extractString(token, "rawBalance"))), () => ( _optionalChain([extractNumber, 'call', _34 => _34(token, "balance"), 'optionalAccess', _35 => _35.toString, 'call', _36 => _36()]))), () => ( _optionalChain([extractNumber, 'call', _37 => _37(token, "amount"), 'optionalAccess', _38 => _38.toString, 'call', _39 => _39()]))), () => ( _optionalChain([extractNumber, 'call', _40 => _40(token, "value"), 'optionalAccess', _41 => _41.toString, 'call', _42 => _42()]))), () => ( _optionalChain([extractNumber, 'call', _43 => _43(token, "rawBalance"), 'optionalAccess', _44 => _44.toString, 'call', _45 => _45()])));
|
|
@@ -1339,14 +1349,14 @@ function normalizeDirectToken(token) {
|
|
|
1339
1349
|
const address = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(extractString(token, "address"), () => ( extractString(token, "tokenAddress"))), () => ( extractString(
|
|
1340
1350
|
token.token,
|
|
1341
1351
|
"address"
|
|
1342
|
-
))), () => ( (
|
|
1352
|
+
))), () => ( (registryChainId !== void 0 ? _chunkPUMTR35Ecjs.getTokenAddress.call(void 0, symbol, registryChainId) : void 0)));
|
|
1343
1353
|
if (!address) return null;
|
|
1344
1354
|
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));
|
|
1345
1355
|
const isSolanaToken = chainId === "solana";
|
|
1346
|
-
const registrySymbol = isSolanaToken ? "Token" :
|
|
1356
|
+
const registrySymbol = isSolanaToken ? "Token" : _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, address, registryChainId);
|
|
1347
1357
|
const resolvedSymbol = isSolanaToken ? symbol : registrySymbol !== "Token" ? registrySymbol : symbol;
|
|
1348
1358
|
const backendDecimals = _nullishCoalesce(extractNumber(token, "decimals"), () => ( extractNumber(token, "tokenDecimals")));
|
|
1349
|
-
const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ?
|
|
1359
|
+
const resolvedDecimals = !isSolanaToken && registrySymbol !== "Token" ? _chunkPUMTR35Ecjs.getTokenDecimalsByAddress.call(void 0, address, registryChainId) : _nullishCoalesce(backendDecimals, () => ( 18));
|
|
1350
1360
|
return {
|
|
1351
1361
|
chainId,
|
|
1352
1362
|
address,
|
|
@@ -1487,7 +1497,7 @@ function getPublicClient(chainId, rpcUrls) {
|
|
|
1487
1497
|
const cacheKey = `${chainId}|${_nullishCoalesce(url, () => ( ""))}`;
|
|
1488
1498
|
let client = clientCache.get(cacheKey);
|
|
1489
1499
|
if (!client) {
|
|
1490
|
-
const chain =
|
|
1500
|
+
const chain = _chunkPUMTR35Ecjs.CHAIN_BY_ID[chainId];
|
|
1491
1501
|
client = _viem.createPublicClient.call(void 0, {
|
|
1492
1502
|
chain,
|
|
1493
1503
|
transport: _viem.http.call(void 0, url)
|
|
@@ -2458,7 +2468,7 @@ var EXCHANGE_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fr
|
|
|
2458
2468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExchangeBadgeIcons, {}),
|
|
2459
2469
|
"+6"
|
|
2460
2470
|
] });
|
|
2461
|
-
var EXTRA_CHAIN_COUNT = Math.max(0,
|
|
2471
|
+
var EXTRA_CHAIN_COUNT = Math.max(0, _chunkPUMTR35Ecjs.getSupportedChainIds.call(void 0, ).length - 3);
|
|
2462
2472
|
var CHAIN_BADGE_META = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2463
2473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChainBadgeIcons, {}),
|
|
2464
2474
|
EXTRA_CHAIN_COUNT > 0 ? `+${EXTRA_CHAIN_COUNT}` : null
|
|
@@ -2747,6 +2757,28 @@ function ConnectStep({
|
|
|
2747
2757
|
}
|
|
2748
2758
|
ConnectStep.displayName = "ConnectStep";
|
|
2749
2759
|
|
|
2760
|
+
// src/components/ui/TokenIcon.tsx
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
function TokenIcon({ symbol, className, fallback }) {
|
|
2764
|
+
const [failedSymbol, setFailedSymbol] = _react.useState.call(void 0, null);
|
|
2765
|
+
if (failedSymbol === symbol) {
|
|
2766
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
2767
|
+
}
|
|
2768
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2769
|
+
"img",
|
|
2770
|
+
{
|
|
2771
|
+
src: _chunkPUMTR35Ecjs.tokenIconUrl.call(void 0, symbol),
|
|
2772
|
+
alt: "",
|
|
2773
|
+
className,
|
|
2774
|
+
loading: "lazy",
|
|
2775
|
+
decoding: "async",
|
|
2776
|
+
onError: () => setFailedSymbol(symbol)
|
|
2777
|
+
}
|
|
2778
|
+
);
|
|
2779
|
+
}
|
|
2780
|
+
TokenIcon.displayName = "TokenIcon";
|
|
2781
|
+
|
|
2750
2782
|
// src/components/steps/ProcessingStep.tsx
|
|
2751
2783
|
|
|
2752
2784
|
|
|
@@ -2953,7 +2985,7 @@ function SwappedReceipt({
|
|
|
2953
2985
|
onrampMethodIcon,
|
|
2954
2986
|
amountPaid,
|
|
2955
2987
|
depositedAmount,
|
|
2956
|
-
|
|
2988
|
+
depositedSymbol,
|
|
2957
2989
|
feesTotal,
|
|
2958
2990
|
feeRows,
|
|
2959
2991
|
feesTooltip,
|
|
@@ -2980,7 +3012,7 @@ function SwappedReceipt({
|
|
|
2980
3012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Deposited amount" }),
|
|
2981
3013
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
|
|
2982
3014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: depositedAmount }),
|
|
2983
|
-
|
|
3015
|
+
depositedSymbol && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenIcon, { symbol: depositedSymbol }) })
|
|
2984
3016
|
] })
|
|
2985
3017
|
] }),
|
|
2986
3018
|
feesTotal != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -3071,8 +3103,10 @@ function getEventSourceDetails(event) {
|
|
|
3071
3103
|
return {};
|
|
3072
3104
|
}
|
|
3073
3105
|
function asChain(value) {
|
|
3074
|
-
if (typeof value === "string"
|
|
3075
|
-
|
|
3106
|
+
if (typeof value === "string") {
|
|
3107
|
+
const trimmed = value.trim();
|
|
3108
|
+
if (trimmed.startsWith("solana")) return "solana";
|
|
3109
|
+
if (trimmed.startsWith("hypercore")) return "hypercore";
|
|
3076
3110
|
}
|
|
3077
3111
|
return asNumber(value);
|
|
3078
3112
|
}
|
|
@@ -3162,13 +3196,18 @@ var EVM_ADDRESS_RE = /^0x[a-fA-F0-9]{40}$/;
|
|
|
3162
3196
|
function resolveTokenDisplay(token, chain, fallback) {
|
|
3163
3197
|
if (token !== void 0) {
|
|
3164
3198
|
if (chain === "solana") {
|
|
3165
|
-
const solanaToken =
|
|
3199
|
+
const solanaToken = _chunkPUMTR35Ecjs.getSolanaTokenByMint.call(void 0, token);
|
|
3166
3200
|
if (solanaToken) {
|
|
3167
3201
|
return { symbol: solanaToken.symbol, decimals: solanaToken.decimals };
|
|
3168
3202
|
}
|
|
3203
|
+
} else if (chain === "hypercore") {
|
|
3204
|
+
const t = _chunkPUMTR35Ecjs.HYPERCORE_SOURCE_TOKENS.find(
|
|
3205
|
+
(x) => x.address.toLowerCase() === token.toLowerCase()
|
|
3206
|
+
);
|
|
3207
|
+
if (t) return { symbol: t.symbol, decimals: t.decimals };
|
|
3169
3208
|
} else if (EVM_ADDRESS_RE.test(token)) {
|
|
3170
|
-
const symbol =
|
|
3171
|
-
const decimals =
|
|
3209
|
+
const symbol = _chunkPUMTR35Ecjs.getTokenSymbol.call(void 0, token, chain);
|
|
3210
|
+
const decimals = _chunkPUMTR35Ecjs.findTokenDecimals.call(void 0, token, chain);
|
|
3172
3211
|
if (symbol !== "Token" || decimals !== void 0) {
|
|
3173
3212
|
return {
|
|
3174
3213
|
symbol: symbol !== "Token" ? symbol : _nullishCoalesce(_optionalChain([fallback, 'optionalAccess', _117 => _117.symbol]), () => ( symbol)),
|
|
@@ -3944,8 +3983,8 @@ function ProcessingStep({
|
|
|
3944
3983
|
const displaySourceChain = _nullishCoalesce(sourceDetails.chainId, () => ( sourceChain));
|
|
3945
3984
|
const displaySourceToken = _nullishCoalesce(sourceDetails.token, () => ( sourceToken));
|
|
3946
3985
|
const displayAmount = _nullishCoalesce(sourceDetails.amount, () => ( amount));
|
|
3947
|
-
const sourceExplorerUrl =
|
|
3948
|
-
const destExplorerUrl = destinationTxHash ?
|
|
3986
|
+
const sourceExplorerUrl = _chunkPUMTR35Ecjs.getExplorerTxUrl.call(void 0, displaySourceChain, txHash);
|
|
3987
|
+
const destExplorerUrl = destinationTxHash ? _chunkPUMTR35Ecjs.getExplorerTxUrl.call(void 0, targetChain, destinationTxHash) : null;
|
|
3949
3988
|
const sourceDisplay = (() => {
|
|
3950
3989
|
const resolved = resolveTokenDisplay(displaySourceToken, displaySourceChain, {
|
|
3951
3990
|
symbol: _nullishCoalesce(providedSourceSymbol, () => ( (displaySourceChain === "solana" ? "SOL" : "Token"))),
|
|
@@ -4010,12 +4049,10 @@ function ProcessingStep({
|
|
|
4010
4049
|
const delayPhaseId = isProcessing && currentPhaseId && activePhaseElapsedMs >= SOFT_DELAY_MS[currentPhaseId] ? currentPhaseId : void 0;
|
|
4011
4050
|
void delayPhaseId;
|
|
4012
4051
|
void hasEscalatedDelay;
|
|
4013
|
-
const
|
|
4014
|
-
const
|
|
4015
|
-
const
|
|
4016
|
-
const
|
|
4017
|
-
const sourceChainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, displaySourceChain);
|
|
4018
|
-
const targetChainName = _chunkHH46H6ZIcjs.getChainName.call(void 0, targetChain);
|
|
4052
|
+
const sourceChainIcon = _chunkPUMTR35Ecjs.getChainIcon.call(void 0, displaySourceChain);
|
|
4053
|
+
const targetChainIcon = _chunkPUMTR35Ecjs.getChainIcon.call(void 0, targetChain);
|
|
4054
|
+
const sourceChainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, displaySourceChain);
|
|
4055
|
+
const targetChainName = _chunkPUMTR35Ecjs.getChainName.call(void 0, targetChain);
|
|
4019
4056
|
const timerText = formatTimer(elapsedSeconds);
|
|
4020
4057
|
const feeSponsored = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _180 => _180.feeSponsored]), () => ( false));
|
|
4021
4058
|
const feeTooltip = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _181 => _181.feeTooltip]), () => ( (feeSponsored ? "Network fees are sponsored for this deposit." : "Network fees apply.")));
|
|
@@ -4077,7 +4114,7 @@ function ProcessingStep({
|
|
|
4077
4114
|
onrampMethodIcon,
|
|
4078
4115
|
amountPaid,
|
|
4079
4116
|
depositedAmount,
|
|
4080
|
-
|
|
4117
|
+
depositedSymbol: targetSymbol,
|
|
4081
4118
|
feesTotal,
|
|
4082
4119
|
feeRows,
|
|
4083
4120
|
feesTooltip,
|
|
@@ -4159,7 +4196,7 @@ function ProcessingStep({
|
|
|
4159
4196
|
" ",
|
|
4160
4197
|
sourceSymbol
|
|
4161
4198
|
] }),
|
|
4162
|
-
|
|
4199
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenIcon, { symbol: sourceSymbol }) })
|
|
4163
4200
|
] })
|
|
4164
4201
|
] })
|
|
4165
4202
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
|
|
@@ -4170,14 +4207,14 @@ function ProcessingStep({
|
|
|
4170
4207
|
" ",
|
|
4171
4208
|
sourceSymbol
|
|
4172
4209
|
] }),
|
|
4173
|
-
|
|
4210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenIcon, { symbol: sourceSymbol }) })
|
|
4174
4211
|
] })
|
|
4175
4212
|
] }),
|
|
4176
4213
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
|
|
4177
4214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: isProcessing ? "Receive" : "Received" }),
|
|
4178
4215
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "rs-review-detail-value", children: [
|
|
4179
4216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: receiveDisplay }),
|
|
4180
|
-
|
|
4217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "rs-review-detail-icon", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TokenIcon, { symbol: targetSymbol }) })
|
|
4181
4218
|
] })
|
|
4182
4219
|
] }),
|
|
4183
4220
|
isFailed && balanceAfterUsd !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-review-detail-row", children: [
|
|
@@ -4378,4 +4415,5 @@ function accountFromPrivateKey(privateKey) {
|
|
|
4378
4415
|
|
|
4379
4416
|
|
|
4380
4417
|
|
|
4381
|
-
|
|
4418
|
+
|
|
4419
|
+
exports.Modal = Modal; exports.WalletIcon = WalletIcon; exports.ExternalLinkIcon = ExternalLinkIcon; exports.CheckIcon = CheckIcon; exports.TransferCryptoIcon = TransferCryptoIcon; exports.ChevronLeftIcon = ChevronLeftIcon; exports.ChevronDownIcon = ChevronDownIcon; exports.CloseIcon = CloseIcon; exports.HandCoinsIcon = HandCoinsIcon; exports.HistoryIcon = HistoryIcon; exports.InfoIcon = InfoIcon; exports.CopyIcon = CopyIcon; exports.ArrowUpRightIcon = ArrowUpRightIcon; exports.AlertTriangleIcon = AlertTriangleIcon; exports.PercentIcon = PercentIcon; exports.ClockIcon = ClockIcon; exports.PlusCircleIcon = PlusCircleIcon; exports.CircleArrowOutUpLeftIcon = CircleArrowOutUpLeftIcon; exports.BankIcon = BankIcon; exports.UnplugIcon = UnplugIcon; exports.Callout = Callout; exports.BodyHeader = BodyHeader; exports.PoweredBy = PoweredBy; exports.Spinner = Spinner; exports.getExchangeLogo = getExchangeLogo; exports.ConnectStep = ConnectStep; exports.useLatestRef = useLatestRef; exports.Button = Button; exports.TokenIcon = TokenIcon; exports.debugLog = debugLog; exports.debugError = debugError; exports.getAssetId = getAssetId; exports.portfolioToAssets = portfolioToAssets; exports.isNativeAsset = isNativeAsset; exports.buildSessionDetails = buildSessionDetails; exports.createDepositService = createDepositService; exports.currencyFormatter = currencyFormatter; exports.tokenFormatter = tokenFormatter; exports.isUnsupportedChainSwitchError = isUnsupportedChainSwitchError; exports.formatUserError = formatUserError; exports.Tooltip = Tooltip; exports.formatTokenAmount = formatTokenAmount; exports.formatQuotedReceive = formatQuotedReceive; exports.formatReceiveEstimate = formatReceiveEstimate; exports.getEventTxHash = getEventTxHash; exports.getEventSourceDetails = getEventSourceDetails; exports.isDepositEvent = isDepositEvent; exports.isFailedEvent = isFailedEvent; exports.txRefsMatch = txRefsMatch; exports.failureMessageForEvent = failureMessageForEvent; exports.useTokenPrices = useTokenPrices; exports.ProcessingStep = ProcessingStep; exports.rpcUrlFor = rpcUrlFor; exports.RpcUrlsProvider = RpcUrlsProvider; exports.useRpcUrls = useRpcUrls; exports.useStableRpcUrls = useStableRpcUrls; exports.getPublicClient = getPublicClient; exports.getHyperEvmReadClient = getHyperEvmReadClient; exports.loadSessionOwnerFromStorage = loadSessionOwnerFromStorage; exports.saveSessionOwnerToStorage = saveSessionOwnerToStorage; exports.createSessionOwnerKey = createSessionOwnerKey; exports.accountFromPrivateKey = accountFromPrivateKey; exports.applyTheme = applyTheme;
|