@rhinestone/deposit-modal 0.1.45 → 0.1.47
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-DXQJUYVY.mjs → DepositModalReown-DKLN3IE3.mjs} +3 -3
- package/dist/{DepositModalReown-2QKLWRRU.cjs → DepositModalReown-IUZNTZ3Y.cjs} +4 -4
- package/dist/{WithdrawModalReown-CT6E2F2J.cjs → WithdrawModalReown-FGUHFUVN.cjs} +4 -4
- package/dist/{WithdrawModalReown-FM2TJFOV.mjs → WithdrawModalReown-XOFREB4D.mjs} +3 -3
- package/dist/{chunk-RVN4K6C7.mjs → chunk-7U5TNZZB.mjs} +5 -6
- package/dist/{chunk-B5H3CVAN.cjs → chunk-LOOU3NCI.cjs} +153 -154
- package/dist/{chunk-55QIUUIS.cjs → chunk-LT3QKJI2.cjs} +26 -26
- package/dist/{chunk-2EGNK737.cjs → chunk-MS2J6M5C.cjs} +60 -60
- package/dist/{chunk-ZNHU72LI.cjs → chunk-NELAYNA3.cjs} +7 -5
- package/dist/{chunk-4MKJ5R6Q.mjs → chunk-O3VFAUSL.mjs} +3 -3
- package/dist/{chunk-U6KOKXWY.mjs → chunk-QIK6ONMQ.mjs} +1 -1
- package/dist/{chunk-AVASFOLP.mjs → chunk-ZJQZEIHA.mjs} +7 -5
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.mjs +4 -4
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.mjs +3 -3
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7U5TNZZB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
7
|
} from "./chunk-JGB6XSYS.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QIK6ONMQ.mjs";
|
|
9
|
+
import "./chunk-ZJQZEIHA.mjs";
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
12
12
|
import { useCallback, useMemo } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkLOOU3NCIcjs = require('./chunk-LOOU3NCI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkXLRQCIYDcjs = require('./chunk-XLRQCIYD.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-LT3QKJI2.cjs');
|
|
9
|
+
require('./chunk-NELAYNA3.cjs');
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
12
12
|
var _react = require('react');
|
|
@@ -29,7 +29,7 @@ function DepositModalWithReown(props) {
|
|
|
29
29
|
reown.disconnect();
|
|
30
30
|
}, [reown.disconnect]);
|
|
31
31
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32
|
-
|
|
32
|
+
_chunkLOOU3NCIcjs.DepositModalInner,
|
|
33
33
|
{
|
|
34
34
|
...props,
|
|
35
35
|
reownWallet: reownWithSolana,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkMS2J6M5Ccjs = require('./chunk-MS2J6M5C.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkXLRQCIYDcjs = require('./chunk-XLRQCIYD.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-LT3QKJI2.cjs');
|
|
9
|
+
require('./chunk-NELAYNA3.cjs');
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
12
12
|
var _react = require('react');
|
|
@@ -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
|
+
_chunkMS2J6M5Ccjs.WithdrawModalInner,
|
|
24
24
|
{
|
|
25
25
|
...props,
|
|
26
26
|
reownWallet: reown,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O3VFAUSL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
7
|
} from "./chunk-JGB6XSYS.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QIK6ONMQ.mjs";
|
|
9
|
+
import "./chunk-ZJQZEIHA.mjs";
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
12
12
|
import { useCallback } from "react";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
toEvmCaip2,
|
|
26
26
|
tokenFormatter,
|
|
27
27
|
txRefsMatch
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QIK6ONMQ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DEFAULT_BACKEND_URL,
|
|
31
31
|
DEFAULT_SIGNER_ADDRESS,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
getTokenIcon,
|
|
42
42
|
getTokenSymbol,
|
|
43
43
|
isStablecoinSymbol
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZJQZEIHA.mjs";
|
|
45
45
|
|
|
46
46
|
// src/DepositModal.tsx
|
|
47
47
|
import {
|
|
@@ -861,7 +861,6 @@ function AmountStep({
|
|
|
861
861
|
}
|
|
862
862
|
)
|
|
863
863
|
] }),
|
|
864
|
-
chainMismatch && !isSwitching && /* @__PURE__ */ jsx3("div", { className: "rs-chain-switch", style: { marginTop: 16 }, children: /* @__PURE__ */ jsx3("div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${getChainName(asset.chainId)} to continue.` }) }),
|
|
865
864
|
error && /* @__PURE__ */ jsxs3("div", { className: "rs-amount-error", children: [
|
|
866
865
|
/* @__PURE__ */ jsx3(
|
|
867
866
|
"svg",
|
|
@@ -1109,7 +1108,6 @@ function ConfirmStep({
|
|
|
1109
1108
|
)
|
|
1110
1109
|
] })
|
|
1111
1110
|
] }),
|
|
1112
|
-
chainMismatch && !isSwitching && /* @__PURE__ */ jsx4("div", { className: "rs-chain-switch", children: /* @__PURE__ */ jsx4("div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${getChainName(asset.chainId)} to sign.` }) }),
|
|
1113
1111
|
error && /* @__PURE__ */ jsxs4("div", { className: "rs-alert rs-alert--error", children: [
|
|
1114
1112
|
/* @__PURE__ */ jsx4(
|
|
1115
1113
|
"svg",
|
|
@@ -3095,7 +3093,7 @@ function DepositFlow({
|
|
|
3095
3093
|
return;
|
|
3096
3094
|
}
|
|
3097
3095
|
}
|
|
3098
|
-
if (!hasWalletOptions && dappAddress && !hasReownSession) {
|
|
3096
|
+
if (!hasWalletOptions && dappAddress && !hasReownSession && !dappWalletClient) {
|
|
3099
3097
|
handleSelectTransferCrypto();
|
|
3100
3098
|
setIsConnectSelectionConfirmed(true);
|
|
3101
3099
|
}
|
|
@@ -3106,6 +3104,7 @@ function DepositFlow({
|
|
|
3106
3104
|
flowMode,
|
|
3107
3105
|
selectedWalletIdEffective,
|
|
3108
3106
|
dappAddress,
|
|
3107
|
+
dappWalletClient,
|
|
3109
3108
|
walletOptions,
|
|
3110
3109
|
handleSelectProvider,
|
|
3111
3110
|
handleSelectSolanaWallet,
|
|
@@ -3418,7 +3417,7 @@ function DepositFlow({
|
|
|
3418
3417
|
// src/DepositModal.tsx
|
|
3419
3418
|
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
3420
3419
|
var ReownDepositInner = lazy(
|
|
3421
|
-
() => import("./DepositModalReown-
|
|
3420
|
+
() => import("./DepositModalReown-DKLN3IE3.mjs").then((m) => ({ default: m.DepositModalReown }))
|
|
3422
3421
|
);
|
|
3423
3422
|
function DepositModal(props) {
|
|
3424
3423
|
const needsReown = !!props.reownAppId;
|