@rhinestone/deposit-modal 0.1.63 → 0.1.64
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/{WithdrawModalReown-2BW5CM3A.mjs → WithdrawModalReown-TD2NYW5M.mjs} +1 -1
- package/dist/{WithdrawModalReown-RCQFBPOF.cjs → WithdrawModalReown-YBEUOYSV.cjs} +2 -2
- package/dist/{chunk-2IFX6ZEE.mjs → chunk-MYI5WSWL.mjs} +14 -31
- package/dist/{chunk-OFGBTU45.cjs → chunk-P4ULLROO.cjs} +24 -41
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/reown.cjs +2 -2
- package/dist/reown.mjs +1 -1
- package/dist/withdraw.cjs +2 -2
- package/dist/withdraw.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP4ULLROOcjs = require('./chunk-P4ULLROO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ function WithdrawModalWithReown(props) {
|
|
|
20
20
|
reown.disconnect();
|
|
21
21
|
}, [reown.disconnect]);
|
|
22
22
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23
|
-
|
|
23
|
+
_chunkP4ULLROOcjs.WithdrawModalInner,
|
|
24
24
|
{
|
|
25
25
|
...props,
|
|
26
26
|
reownWallet: reown,
|
|
@@ -65,20 +65,10 @@ function useClickOutside(ref, onClose) {
|
|
|
65
65
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
66
66
|
}, [ref, onClose]);
|
|
67
67
|
}
|
|
68
|
-
function resolvePreferredConnectedRecipient(connectedAddress, fallbackAddress, safeAddress) {
|
|
69
|
-
const candidates = [connectedAddress, fallbackAddress].filter(
|
|
70
|
-
(value) => Boolean(value)
|
|
71
|
-
);
|
|
72
|
-
const nonSafe = candidates.find(
|
|
73
|
-
(value) => value.toLowerCase() !== safeAddress.toLowerCase()
|
|
74
|
-
);
|
|
75
|
-
return nonSafe ?? candidates[0] ?? "";
|
|
76
|
-
}
|
|
77
68
|
function WithdrawFormStep({
|
|
78
69
|
walletClient,
|
|
79
70
|
publicClient,
|
|
80
|
-
|
|
81
|
-
connectedAddress,
|
|
71
|
+
connectedRecipient,
|
|
82
72
|
safeAddress,
|
|
83
73
|
asset,
|
|
84
74
|
defaultRecipient,
|
|
@@ -95,13 +85,7 @@ function WithdrawFormStep({
|
|
|
95
85
|
onSubmit,
|
|
96
86
|
onBalanceUsdChange
|
|
97
87
|
}) {
|
|
98
|
-
const
|
|
99
|
-
connectedAddress,
|
|
100
|
-
address,
|
|
101
|
-
safeAddress
|
|
102
|
-
);
|
|
103
|
-
const seededRecipient = defaultRecipient ?? preferredConnectedRecipient;
|
|
104
|
-
const [recipient, setRecipient] = useState(seededRecipient);
|
|
88
|
+
const [recipient, setRecipient] = useState(defaultRecipient ?? "");
|
|
105
89
|
const [amount, setAmount] = useState(defaultAmount ?? "");
|
|
106
90
|
const [balance, setBalance] = useState(null);
|
|
107
91
|
const [isBalanceLoading, setIsBalanceLoading] = useState(true);
|
|
@@ -116,6 +100,7 @@ function WithdrawFormStep({
|
|
|
116
100
|
const publicClientChainId = publicClient.chain?.id;
|
|
117
101
|
useClickOutside(chainDropdownRef, () => setShowChainDropdown(false));
|
|
118
102
|
useClickOutside(tokenDropdownRef, () => setShowTokenDropdown(false));
|
|
103
|
+
const preferredConnectedRecipient = connectedRecipient ?? "";
|
|
119
104
|
const isRecipientConnected = Boolean(
|
|
120
105
|
preferredConnectedRecipient && recipient && recipient.toLowerCase() === preferredConnectedRecipient.toLowerCase()
|
|
121
106
|
);
|
|
@@ -125,9 +110,9 @@ function WithdrawFormStep({
|
|
|
125
110
|
const targetSymbol = getTokenSymbol(targetToken, targetChain);
|
|
126
111
|
const targetChainName = getChainName(targetChain);
|
|
127
112
|
const isBusy = submitting || isSubmitting;
|
|
128
|
-
const seededRecipientRef = useRef(
|
|
113
|
+
const seededRecipientRef = useRef(defaultRecipient ?? "");
|
|
129
114
|
useEffect(() => {
|
|
130
|
-
const nextSeed = defaultRecipient ??
|
|
115
|
+
const nextSeed = defaultRecipient ?? "";
|
|
131
116
|
setRecipient((current) => {
|
|
132
117
|
if (current === seededRecipientRef.current || current === "") {
|
|
133
118
|
return nextSeed;
|
|
@@ -135,7 +120,7 @@ function WithdrawFormStep({
|
|
|
135
120
|
return current;
|
|
136
121
|
});
|
|
137
122
|
seededRecipientRef.current = nextSeed;
|
|
138
|
-
}, [defaultRecipient
|
|
123
|
+
}, [defaultRecipient]);
|
|
139
124
|
useEffect(() => {
|
|
140
125
|
if (chainMismatch && switchChain && !hasAttemptedSwitch.current) {
|
|
141
126
|
hasAttemptedSwitch.current = true;
|
|
@@ -298,7 +283,7 @@ function WithdrawFormStep({
|
|
|
298
283
|
}
|
|
299
284
|
}
|
|
300
285
|
),
|
|
301
|
-
|
|
286
|
+
preferredConnectedRecipient && /* @__PURE__ */ jsx(
|
|
302
287
|
"button",
|
|
303
288
|
{
|
|
304
289
|
type: "button",
|
|
@@ -1406,12 +1391,13 @@ function WithdrawFlow({
|
|
|
1406
1391
|
}
|
|
1407
1392
|
}, [showConnectStep, isConnectSelectionConfirmed, signerContext]);
|
|
1408
1393
|
const ownerAddress = signerContext?.ownerAddress;
|
|
1394
|
+
const selectedWalletOption = selectedWalletIdEffective ? walletOptions.find((option) => option.id === selectedWalletIdEffective) ?? null : null;
|
|
1409
1395
|
const selectedWalletIcon = useMemo2(() => {
|
|
1410
|
-
if (!ownerAddress) return
|
|
1396
|
+
if (!ownerAddress) return void 0;
|
|
1411
1397
|
const selected = walletOptions.find(
|
|
1412
1398
|
(o) => o.address?.toLowerCase() === ownerAddress.toLowerCase()
|
|
1413
1399
|
);
|
|
1414
|
-
return selected?.icon ?? reownWallet?.icon;
|
|
1400
|
+
return selected?.kind === "external" ? selected.icon ?? reownWallet?.icon : void 0;
|
|
1415
1401
|
}, [walletOptions, ownerAddress, reownWallet?.icon]);
|
|
1416
1402
|
if (showConnectStep) {
|
|
1417
1403
|
return /* @__PURE__ */ jsx2("div", { className: "rs-modal-body", children: /* @__PURE__ */ jsx2(
|
|
@@ -1435,9 +1421,7 @@ function WithdrawFlow({
|
|
|
1435
1421
|
}
|
|
1436
1422
|
if (!signerContext) return null;
|
|
1437
1423
|
if (!onSignTransaction && !signerContext.walletClient) return null;
|
|
1438
|
-
const
|
|
1439
|
-
const resolvedConnectedAddress = signerContext.walletClient?.account?.address ?? reownWallet?.address ?? dappWalletClient?.account?.address ?? resolvedOwnerAddress;
|
|
1440
|
-
const resolvedDefaultRecipient = defaultRecipient ?? resolvedConnectedAddress;
|
|
1424
|
+
const resolvedConnectedRecipient = selectedWalletOption?.kind === "external" ? selectedWalletOption.address : void 0;
|
|
1441
1425
|
const formPublicClient = signerContext.publicClient ?? getPublicClient(sourceChain);
|
|
1442
1426
|
return /* @__PURE__ */ jsxs2("div", { className: "rs-modal-body", children: [
|
|
1443
1427
|
step.type === "form" && /* @__PURE__ */ jsx2(
|
|
@@ -1445,11 +1429,10 @@ function WithdrawFlow({
|
|
|
1445
1429
|
{
|
|
1446
1430
|
walletClient: signerContext.walletClient,
|
|
1447
1431
|
publicClient: formPublicClient,
|
|
1448
|
-
|
|
1449
|
-
connectedAddress: resolvedConnectedAddress,
|
|
1432
|
+
connectedRecipient: resolvedConnectedRecipient,
|
|
1450
1433
|
safeAddress,
|
|
1451
1434
|
asset,
|
|
1452
|
-
defaultRecipient
|
|
1435
|
+
defaultRecipient,
|
|
1453
1436
|
defaultAmount,
|
|
1454
1437
|
targetChain,
|
|
1455
1438
|
targetToken,
|
|
@@ -1491,7 +1474,7 @@ function WithdrawFlow({
|
|
|
1491
1474
|
// src/WithdrawModal.tsx
|
|
1492
1475
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1493
1476
|
var ReownWithdrawInner = lazy(
|
|
1494
|
-
() => import("./WithdrawModalReown-
|
|
1477
|
+
() => import("./WithdrawModalReown-TD2NYW5M.mjs").then((m) => ({
|
|
1495
1478
|
default: m.WithdrawModalReown
|
|
1496
1479
|
}))
|
|
1497
1480
|
);
|
|
@@ -65,20 +65,10 @@ function useClickOutside(ref, onClose) {
|
|
|
65
65
|
return () => document.removeEventListener("mousedown", handleClick);
|
|
66
66
|
}, [ref, onClose]);
|
|
67
67
|
}
|
|
68
|
-
function resolvePreferredConnectedRecipient(connectedAddress, fallbackAddress, safeAddress) {
|
|
69
|
-
const candidates = [connectedAddress, fallbackAddress].filter(
|
|
70
|
-
(value) => Boolean(value)
|
|
71
|
-
);
|
|
72
|
-
const nonSafe = candidates.find(
|
|
73
|
-
(value) => value.toLowerCase() !== safeAddress.toLowerCase()
|
|
74
|
-
);
|
|
75
|
-
return _nullishCoalesce(_nullishCoalesce(nonSafe, () => ( candidates[0])), () => ( ""));
|
|
76
|
-
}
|
|
77
68
|
function WithdrawFormStep({
|
|
78
69
|
walletClient,
|
|
79
70
|
publicClient,
|
|
80
|
-
|
|
81
|
-
connectedAddress,
|
|
71
|
+
connectedRecipient,
|
|
82
72
|
safeAddress,
|
|
83
73
|
asset,
|
|
84
74
|
defaultRecipient,
|
|
@@ -95,13 +85,7 @@ function WithdrawFormStep({
|
|
|
95
85
|
onSubmit,
|
|
96
86
|
onBalanceUsdChange
|
|
97
87
|
}) {
|
|
98
|
-
const
|
|
99
|
-
connectedAddress,
|
|
100
|
-
address,
|
|
101
|
-
safeAddress
|
|
102
|
-
);
|
|
103
|
-
const seededRecipient = _nullishCoalesce(defaultRecipient, () => ( preferredConnectedRecipient));
|
|
104
|
-
const [recipient, setRecipient] = _react.useState.call(void 0, seededRecipient);
|
|
88
|
+
const [recipient, setRecipient] = _react.useState.call(void 0, _nullishCoalesce(defaultRecipient, () => ( "")));
|
|
105
89
|
const [amount, setAmount] = _react.useState.call(void 0, _nullishCoalesce(defaultAmount, () => ( "")));
|
|
106
90
|
const [balance, setBalance] = _react.useState.call(void 0, null);
|
|
107
91
|
const [isBalanceLoading, setIsBalanceLoading] = _react.useState.call(void 0, true);
|
|
@@ -116,6 +100,7 @@ function WithdrawFormStep({
|
|
|
116
100
|
const publicClientChainId = _optionalChain([publicClient, 'access', _ => _.chain, 'optionalAccess', _2 => _2.id]);
|
|
117
101
|
useClickOutside(chainDropdownRef, () => setShowChainDropdown(false));
|
|
118
102
|
useClickOutside(tokenDropdownRef, () => setShowTokenDropdown(false));
|
|
103
|
+
const preferredConnectedRecipient = _nullishCoalesce(connectedRecipient, () => ( ""));
|
|
119
104
|
const isRecipientConnected = Boolean(
|
|
120
105
|
preferredConnectedRecipient && recipient && recipient.toLowerCase() === preferredConnectedRecipient.toLowerCase()
|
|
121
106
|
);
|
|
@@ -125,9 +110,9 @@ function WithdrawFormStep({
|
|
|
125
110
|
const targetSymbol = _chunkR6U6BHCVcjs.getTokenSymbol.call(void 0, targetToken, targetChain);
|
|
126
111
|
const targetChainName = _chunkR6U6BHCVcjs.getChainName.call(void 0, targetChain);
|
|
127
112
|
const isBusy = submitting || isSubmitting;
|
|
128
|
-
const seededRecipientRef = _react.useRef.call(void 0,
|
|
113
|
+
const seededRecipientRef = _react.useRef.call(void 0, _nullishCoalesce(defaultRecipient, () => ( "")));
|
|
129
114
|
_react.useEffect.call(void 0, () => {
|
|
130
|
-
const nextSeed = _nullishCoalesce(defaultRecipient, () => (
|
|
115
|
+
const nextSeed = _nullishCoalesce(defaultRecipient, () => ( ""));
|
|
131
116
|
setRecipient((current) => {
|
|
132
117
|
if (current === seededRecipientRef.current || current === "") {
|
|
133
118
|
return nextSeed;
|
|
@@ -135,7 +120,7 @@ function WithdrawFormStep({
|
|
|
135
120
|
return current;
|
|
136
121
|
});
|
|
137
122
|
seededRecipientRef.current = nextSeed;
|
|
138
|
-
}, [defaultRecipient
|
|
123
|
+
}, [defaultRecipient]);
|
|
139
124
|
_react.useEffect.call(void 0, () => {
|
|
140
125
|
if (chainMismatch && switchChain && !hasAttemptedSwitch.current) {
|
|
141
126
|
hasAttemptedSwitch.current = true;
|
|
@@ -298,7 +283,7 @@ function WithdrawFormStep({
|
|
|
298
283
|
}
|
|
299
284
|
}
|
|
300
285
|
),
|
|
301
|
-
|
|
286
|
+
preferredConnectedRecipient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
302
287
|
"button",
|
|
303
288
|
{
|
|
304
289
|
type: "button",
|
|
@@ -1406,13 +1391,14 @@ function WithdrawFlow({
|
|
|
1406
1391
|
}
|
|
1407
1392
|
}, [showConnectStep, isConnectSelectionConfirmed, signerContext]);
|
|
1408
1393
|
const ownerAddress = _optionalChain([signerContext, 'optionalAccess', _39 => _39.ownerAddress]);
|
|
1394
|
+
const selectedWalletOption = selectedWalletIdEffective ? _nullishCoalesce(walletOptions.find((option) => option.id === selectedWalletIdEffective), () => ( null)) : null;
|
|
1409
1395
|
const selectedWalletIcon = _react.useMemo.call(void 0, () => {
|
|
1410
|
-
if (!ownerAddress) return
|
|
1396
|
+
if (!ownerAddress) return void 0;
|
|
1411
1397
|
const selected = walletOptions.find(
|
|
1412
|
-
(o) => _optionalChain([o, 'access',
|
|
1398
|
+
(o) => _optionalChain([o, 'access', _40 => _40.address, 'optionalAccess', _41 => _41.toLowerCase, 'call', _42 => _42()]) === ownerAddress.toLowerCase()
|
|
1413
1399
|
);
|
|
1414
|
-
return
|
|
1415
|
-
}, [walletOptions, ownerAddress, _optionalChain([reownWallet, 'optionalAccess',
|
|
1400
|
+
return _optionalChain([selected, 'optionalAccess', _43 => _43.kind]) === "external" ? _nullishCoalesce(selected.icon, () => ( _optionalChain([reownWallet, 'optionalAccess', _44 => _44.icon]))) : void 0;
|
|
1401
|
+
}, [walletOptions, ownerAddress, _optionalChain([reownWallet, 'optionalAccess', _45 => _45.icon])]);
|
|
1416
1402
|
if (showConnectStep) {
|
|
1417
1403
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-modal-body", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1418
1404
|
_chunk5SR5N75Icjs.ConnectStep,
|
|
@@ -1435,9 +1421,7 @@ function WithdrawFlow({
|
|
|
1435
1421
|
}
|
|
1436
1422
|
if (!signerContext) return null;
|
|
1437
1423
|
if (!onSignTransaction && !signerContext.walletClient) return null;
|
|
1438
|
-
const
|
|
1439
|
-
const resolvedConnectedAddress = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([signerContext, 'access', _47 => _47.walletClient, 'optionalAccess', _48 => _48.account, 'optionalAccess', _49 => _49.address]), () => ( _optionalChain([reownWallet, 'optionalAccess', _50 => _50.address]))), () => ( _optionalChain([dappWalletClient, 'optionalAccess', _51 => _51.account, 'optionalAccess', _52 => _52.address]))), () => ( resolvedOwnerAddress));
|
|
1440
|
-
const resolvedDefaultRecipient = _nullishCoalesce(defaultRecipient, () => ( resolvedConnectedAddress));
|
|
1424
|
+
const resolvedConnectedRecipient = _optionalChain([selectedWalletOption, 'optionalAccess', _46 => _46.kind]) === "external" ? selectedWalletOption.address : void 0;
|
|
1441
1425
|
const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunk5SR5N75Icjs.getPublicClient.call(void 0, sourceChain)));
|
|
1442
1426
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
|
|
1443
1427
|
step.type === "form" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1445,11 +1429,10 @@ function WithdrawFlow({
|
|
|
1445
1429
|
{
|
|
1446
1430
|
walletClient: signerContext.walletClient,
|
|
1447
1431
|
publicClient: formPublicClient,
|
|
1448
|
-
|
|
1449
|
-
connectedAddress: resolvedConnectedAddress,
|
|
1432
|
+
connectedRecipient: resolvedConnectedRecipient,
|
|
1450
1433
|
safeAddress,
|
|
1451
1434
|
asset,
|
|
1452
|
-
defaultRecipient
|
|
1435
|
+
defaultRecipient,
|
|
1453
1436
|
defaultAmount,
|
|
1454
1437
|
targetChain,
|
|
1455
1438
|
targetToken,
|
|
@@ -1491,7 +1474,7 @@ function WithdrawFlow({
|
|
|
1491
1474
|
// src/WithdrawModal.tsx
|
|
1492
1475
|
|
|
1493
1476
|
var ReownWithdrawInner = _react.lazy.call(void 0,
|
|
1494
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-
|
|
1477
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-YBEUOYSV.cjs"))).then((m) => ({
|
|
1495
1478
|
default: m.WithdrawModalReown
|
|
1496
1479
|
}))
|
|
1497
1480
|
);
|
|
@@ -1563,7 +1546,7 @@ function WithdrawModalInner({
|
|
|
1563
1546
|
_react.useEffect.call(void 0, () => {
|
|
1564
1547
|
if (isOpen && !hasCalledReady.current) {
|
|
1565
1548
|
hasCalledReady.current = true;
|
|
1566
|
-
_optionalChain([onReadyRef, 'access',
|
|
1549
|
+
_optionalChain([onReadyRef, 'access', _47 => _47.current, 'optionalCall', _48 => _48()]);
|
|
1567
1550
|
}
|
|
1568
1551
|
}, [isOpen, onReadyRef]);
|
|
1569
1552
|
_react.useEffect.call(void 0, () => {
|
|
@@ -1582,14 +1565,14 @@ function WithdrawModalInner({
|
|
|
1582
1565
|
setTotalBalanceUsd(balance2);
|
|
1583
1566
|
}, []);
|
|
1584
1567
|
const handleBack = _react.useCallback.call(void 0, () => {
|
|
1585
|
-
_optionalChain([backHandlerRef, 'access',
|
|
1568
|
+
_optionalChain([backHandlerRef, 'access', _49 => _49.current, 'optionalCall', _50 => _50()]);
|
|
1586
1569
|
}, []);
|
|
1587
|
-
const showLogo = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess',
|
|
1588
|
-
const showStepper = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess',
|
|
1589
|
-
const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess',
|
|
1590
|
-
const balance = _optionalChain([uiConfig, 'optionalAccess',
|
|
1591
|
-
const logoUrl = _nullishCoalesce(_optionalChain([branding, 'optionalAccess',
|
|
1592
|
-
const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess',
|
|
1570
|
+
const showLogo = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _51 => _51.showLogo]), () => ( false));
|
|
1571
|
+
const showStepper = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _52 => _52.showStepper]), () => ( false));
|
|
1572
|
+
const showBackButton = _nullishCoalesce(_optionalChain([uiConfig, 'optionalAccess', _53 => _53.showBackButton]), () => ( true));
|
|
1573
|
+
const balance = _optionalChain([uiConfig, 'optionalAccess', _54 => _54.balance]);
|
|
1574
|
+
const logoUrl = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _55 => _55.logoUrl]), () => ( "https://github.com/rhinestonewtf.png"));
|
|
1575
|
+
const title = _nullishCoalesce(_optionalChain([branding, 'optionalAccess', _56 => _56.title]), () => ( "Withdraw"));
|
|
1593
1576
|
const canGoBack = currentStepIndex > 0 && currentStepIndex < 3 && backHandlerRef.current;
|
|
1594
1577
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1595
1578
|
_chunk5SR5N75Icjs.Modal,
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkN3BZTUSJcjs = require('./chunk-N3BZTUSJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkP4ULLROOcjs = require('./chunk-P4ULLROO.cjs');
|
|
7
7
|
require('./chunk-5SR5N75I.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
@@ -66,4 +66,4 @@ var _chunkR6U6BHCVcjs = require('./chunk-R6U6BHCV.cjs');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CHAIN_BY_ID = _chunkR6U6BHCVcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkR6U6BHCVcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkR6U6BHCVcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkN3BZTUSJcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkR6U6BHCVcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkR6U6BHCVcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkR6U6BHCVcjs.SUPPORTED_CHAINS; exports.WithdrawModal =
|
|
69
|
+
exports.CHAIN_BY_ID = _chunkR6U6BHCVcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkR6U6BHCVcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkR6U6BHCVcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkN3BZTUSJcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkR6U6BHCVcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkR6U6BHCVcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkR6U6BHCVcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkP4ULLROOcjs.WithdrawModal; exports.chainRegistry = _chunkR6U6BHCVcjs.chainRegistry; exports.findChainIdForToken = _chunkR6U6BHCVcjs.findChainIdForToken; exports.getChainBadge = _chunkR6U6BHCVcjs.getChainBadge; exports.getChainIcon = _chunkR6U6BHCVcjs.getChainIcon; exports.getChainId = _chunkR6U6BHCVcjs.getChainId; exports.getChainName = _chunkR6U6BHCVcjs.getChainName; exports.getChainObject = _chunkR6U6BHCVcjs.getChainObject; exports.getExplorerName = _chunkR6U6BHCVcjs.getExplorerName; exports.getExplorerTxUrl = _chunkR6U6BHCVcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkR6U6BHCVcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkR6U6BHCVcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkR6U6BHCVcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkR6U6BHCVcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkR6U6BHCVcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkR6U6BHCVcjs.getTokenAddress; exports.getTokenDecimals = _chunkR6U6BHCVcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkR6U6BHCVcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkR6U6BHCVcjs.getTokenIcon; exports.getTokenSymbol = _chunkR6U6BHCVcjs.getTokenSymbol; exports.getUsdcAddress = _chunkR6U6BHCVcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkR6U6BHCVcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkR6U6BHCVcjs.isSupportedTokenAddressForChain;
|
package/dist/index.mjs
CHANGED
package/dist/reown.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkN3BZTUSJcjs = require('./chunk-N3BZTUSJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkP4ULLROOcjs = require('./chunk-P4ULLROO.cjs');
|
|
7
7
|
require('./chunk-5SR5N75I.cjs');
|
|
8
8
|
require('./chunk-R6U6BHCV.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.DepositModal = _chunkN3BZTUSJcjs.DepositModal; exports.WithdrawModal =
|
|
12
|
+
exports.DepositModal = _chunkN3BZTUSJcjs.DepositModal; exports.WithdrawModal = _chunkP4ULLROOcjs.WithdrawModal;
|
package/dist/reown.mjs
CHANGED
package/dist/withdraw.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP4ULLROOcjs = require('./chunk-P4ULLROO.cjs');
|
|
4
4
|
require('./chunk-5SR5N75I.cjs');
|
|
5
5
|
require('./chunk-R6U6BHCV.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.WithdrawModal =
|
|
8
|
+
exports.WithdrawModal = _chunkP4ULLROOcjs.WithdrawModal;
|
package/dist/withdraw.mjs
CHANGED