@rhinestone/deposit-modal 0.0.0-dev-20260729122706 → 0.0.0-dev-20260729133435
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-XRZRMXGB.mjs → DepositModalReown-ANUZ3DJ6.mjs} +5 -5
- package/dist/{DepositModalReown-DKMOLY7K.cjs → DepositModalReown-LVN75BBT.cjs} +9 -9
- package/dist/{chunk-TCRMZJZG.cjs → chunk-5M2TH37Q.cjs} +419 -419
- package/dist/{chunk-5VZWXJ3Y.mjs → chunk-7REMTXKS.mjs} +2 -2
- package/dist/{chunk-KXIWSSH7.mjs → chunk-AQJXJBDQ.mjs} +1 -1
- package/dist/{chunk-E4NKUMQ4.cjs → chunk-CZ4EMWF5.cjs} +50 -50
- package/dist/{chunk-6CGUPXHG.cjs → chunk-FFEKTN3C.cjs} +3 -3
- package/dist/{chunk-BBW3OH7Z.cjs → chunk-FN6Q4W2Q.cjs} +57 -57
- package/dist/{chunk-GLKUAIDX.mjs → chunk-IJJ3BZTI.mjs} +2 -2
- package/dist/{chunk-HMAYAVP7.cjs → chunk-LHG4SRWR.cjs} +17 -18
- package/dist/{chunk-2WEHTGK5.mjs → chunk-LMF2CYEL.mjs} +9 -17
- package/dist/{chunk-NVM5H2CC.mjs → chunk-NVEAZKBR.mjs} +12 -12
- package/dist/{chunk-2MLFPGMQ.mjs → chunk-S5YIJQ5F.mjs} +15 -16
- package/dist/{chunk-JULE2IBV.cjs → chunk-TIOKNPMR.cjs} +115 -123
- package/dist/{chunk-D4UL5FW7.cjs → chunk-Y4VAO3HG.cjs} +1 -1
- package/dist/{chunk-XJ6GO5RX.mjs → chunk-YE4GT2IV.mjs} +1 -1
- package/dist/claim.cjs +5 -5
- package/dist/claim.mjs +4 -4
- package/dist/constants.cjs +2 -2
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +6 -6
- package/dist/deposit.mjs +5 -5
- package/dist/index.cjs +8 -8
- package/dist/index.mjs +7 -7
- package/dist/withdraw.cjs +5 -5
- package/dist/withdraw.mjs +4 -4
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModalInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NVEAZKBR.mjs";
|
|
4
|
+
import "./chunk-LMF2CYEL.mjs";
|
|
5
|
+
import "./chunk-YE4GT2IV.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isUnsupportedChainSwitchError,
|
|
8
8
|
rpcUrlFor
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-S5YIJQ5F.mjs";
|
|
10
|
+
import "./chunk-AQJXJBDQ.mjs";
|
|
11
11
|
import "./chunk-M5PWZT2F.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SUPPORTED_CHAINS,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunk5M2TH37Qcjs = require('./chunk-5M2TH37Q.cjs');
|
|
4
|
+
require('./chunk-TIOKNPMR.cjs');
|
|
5
|
+
require('./chunk-FFEKTN3C.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkLHG4SRWRcjs = require('./chunk-LHG4SRWR.cjs');
|
|
10
|
+
require('./chunk-Y4VAO3HG.cjs');
|
|
11
11
|
require('./chunk-OU5AFKDR.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -88,14 +88,14 @@ function buildTransports(rpcUrls) {
|
|
|
88
88
|
const transports = {};
|
|
89
89
|
for (const network of EVM_NETWORKS) {
|
|
90
90
|
const id = Number(network.id);
|
|
91
|
-
transports[id] = _viem.http.call(void 0,
|
|
91
|
+
transports[id] = _viem.http.call(void 0, _chunkLHG4SRWRcjs.rpcUrlFor.call(void 0, rpcUrls, id));
|
|
92
92
|
}
|
|
93
93
|
return transports;
|
|
94
94
|
}
|
|
95
95
|
function getEvmRpcFingerprint(rpcUrls) {
|
|
96
96
|
return EVM_NETWORKS.map((network) => {
|
|
97
97
|
const id = Number(network.id);
|
|
98
|
-
return `${id}=${_nullishCoalesce(
|
|
98
|
+
return `${id}=${_nullishCoalesce(_chunkLHG4SRWRcjs.rpcUrlFor.call(void 0, rpcUrls, id), () => ( ""))}`;
|
|
99
99
|
}).join("|");
|
|
100
100
|
}
|
|
101
101
|
var cachedAdapter = null;
|
|
@@ -189,7 +189,7 @@ function useReownWallet() {
|
|
|
189
189
|
await switchChainAsync({ chainId });
|
|
190
190
|
}
|
|
191
191
|
} catch (err) {
|
|
192
|
-
if (
|
|
192
|
+
if (_chunkLHG4SRWRcjs.isUnsupportedChainSwitchError.call(void 0, err)) {
|
|
193
193
|
throw new Error(
|
|
194
194
|
`Switch to ${_chunkJWX33GHXcjs.getChainName.call(void 0, chainId)} in your wallet to continue`
|
|
195
195
|
);
|
|
@@ -223,7 +223,7 @@ function DepositModalWithReown(props) {
|
|
|
223
223
|
reown.disconnect();
|
|
224
224
|
}, [reown.disconnect]);
|
|
225
225
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
-
|
|
226
|
+
_chunk5M2TH37Qcjs.DepositModalInner,
|
|
227
227
|
{
|
|
228
228
|
...props,
|
|
229
229
|
reownWallet: reownWithSolana,
|