@rhinestone/deposit-modal 0.6.1 → 0.7.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-ICBGUVAA.cjs → DepositModalReown-CHVDFNEX.cjs} +9 -9
- package/dist/{DepositModalReown-IVRDXQAA.mjs → DepositModalReown-T4RRW5FM.mjs} +6 -6
- package/dist/{WithdrawModalReown-O7PR343Z.mjs → WithdrawModalReown-Q6MUMZTX.mjs} +5 -5
- package/dist/{WithdrawModalReown-6XWURPFZ.cjs → WithdrawModalReown-YZMZTN6E.cjs} +8 -8
- package/dist/{chunk-FJWLC4AM.mjs → chunk-4JLYWRQA.mjs} +1 -1
- package/dist/{chunk-VVKJRGX3.cjs → chunk-6P3WNDED.cjs} +10 -8
- package/dist/{chunk-N73D3WN4.mjs → chunk-CLUR2J72.mjs} +4 -4
- package/dist/{chunk-WJX3TJFK.mjs → chunk-CPMHRMPH.mjs} +36 -7
- package/dist/{chunk-ABVRVW3P.cjs → chunk-HH46H6ZI.cjs} +37 -8
- package/dist/{chunk-7Q26RR6J.mjs → chunk-J52W34Y7.mjs} +6 -4
- package/dist/{chunk-F7P4MV72.mjs → chunk-K6J3RDDK.mjs} +1 -1
- package/dist/{chunk-SITLCMTI.cjs → chunk-KUURQOTT.cjs} +100 -100
- package/dist/{chunk-GBOCV2LQ.mjs → chunk-OYPFPEIT.mjs} +221 -45
- package/dist/{chunk-IZPUHIIN.cjs → chunk-QSMPJQTX.cjs} +687 -528
- package/dist/{chunk-UEKPBRBY.cjs → chunk-RLMXWLF4.cjs} +3 -3
- package/dist/{chunk-VPWWFWZT.cjs → chunk-UN6MEOOA.cjs} +283 -107
- package/dist/{chunk-TCLBFO3S.mjs → chunk-UZENNYHS.mjs} +230 -71
- package/dist/{chunk-NRNJAQUA.cjs → chunk-XOBLFIGV.cjs} +4 -4
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +6 -6
- package/dist/deposit.mjs +5 -5
- package/dist/index.cjs +7 -7
- package/dist/index.mjs +6 -6
- package/dist/polymarket.cjs +6 -6
- package/dist/polymarket.mjs +3 -3
- package/dist/styles.css +86 -12
- package/dist/withdraw.cjs +5 -5
- package/dist/withdraw.mjs +4 -4
- 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 _chunkHH46H6ZIcjs = require('./chunk-HH46H6ZI.cjs');
|
|
4
4
|
|
|
5
5
|
// src/core/safe.ts
|
|
6
6
|
|
|
@@ -80,7 +80,7 @@ async function executeSafeEthTransfer(params) {
|
|
|
80
80
|
throw new Error("Wallet not connected");
|
|
81
81
|
}
|
|
82
82
|
if (chain.id !== chainId) {
|
|
83
|
-
throw new Error(`Switch to ${
|
|
83
|
+
throw new Error(`Switch to ${_chunkHH46H6ZIcjs.getChainName.call(void 0, chainId)} to sign`);
|
|
84
84
|
}
|
|
85
85
|
const isOwner = await publicClient.readContract({
|
|
86
86
|
address: safeAddress,
|
|
@@ -163,7 +163,7 @@ async function executeSafeErc20Transfer(params) {
|
|
|
163
163
|
throw new Error("Wallet not connected");
|
|
164
164
|
}
|
|
165
165
|
if (chain.id !== chainId) {
|
|
166
|
-
throw new Error(`Switch to ${
|
|
166
|
+
throw new Error(`Switch to ${_chunkHH46H6ZIcjs.getChainName.call(void 0, chainId)} to sign`);
|
|
167
167
|
}
|
|
168
168
|
const isOwner = await publicClient.readContract({
|
|
169
169
|
address: safeAddress,
|