@rhinestone/deposit-modal 0.1.52 → 0.1.53
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-63LD7KSU.mjs → DepositModalReown-LNZ46L4O.mjs} +3 -3
- package/dist/{DepositModalReown-SXQJYLTX.cjs → DepositModalReown-OXAW4Y7O.cjs} +6 -6
- package/dist/{WithdrawModalReown-PUIM36NO.mjs → WithdrawModalReown-EE74V66X.mjs} +3 -3
- package/dist/{WithdrawModalReown-JD665MKM.cjs → WithdrawModalReown-V3ZJESQ5.cjs} +6 -6
- package/dist/{chunk-ZW4SRCW5.cjs → chunk-47WDWD6Z.cjs} +242 -163
- package/dist/{chunk-R64A3IEI.mjs → chunk-4BL7RCZB.mjs} +2 -2
- package/dist/{chunk-RVKMKH2C.cjs → chunk-DBBSH7HP.cjs} +201 -296
- package/dist/{chunk-JL3R3JT6.cjs → chunk-K57KO3SW.cjs} +33 -33
- package/dist/{chunk-UPA7N6GY.mjs → chunk-MBURQ26S.mjs} +10 -1
- package/dist/{chunk-XAGXQV4K.cjs → chunk-N2Y34LQO.cjs} +9 -0
- package/dist/{chunk-MKSZIA74.mjs → chunk-REDAO3MS.mjs} +201 -296
- package/dist/{chunk-VYYJWMEI.mjs → chunk-ZB5Y2ACC.mjs} +100 -21
- package/dist/deposit.cjs +3 -3
- package/dist/deposit.mjs +2 -2
- package/dist/index.cjs +4 -4
- package/dist/index.mjs +3 -3
- package/dist/reown.cjs +4 -4
- package/dist/reown.mjs +3 -3
- package/dist/styles.css +312 -188
- package/dist/withdraw.cjs +3 -3
- package/dist/withdraw.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZB5Y2ACC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MBURQ26S.mjs";
|
|
8
|
+
import "./chunk-REDAO3MS.mjs";
|
|
9
9
|
import "./chunk-ZJQZEIHA.mjs";
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk47WDWD6Zcjs = require('./chunk-47WDWD6Z.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkN2Y34LQOcjs = require('./chunk-N2Y34LQO.cjs');
|
|
8
|
+
require('./chunk-DBBSH7HP.cjs');
|
|
9
9
|
require('./chunk-NELAYNA3.cjs');
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
@@ -13,7 +13,7 @@ var _react = require('react');
|
|
|
13
13
|
var _react3 = require('@reown/appkit/react');
|
|
14
14
|
var _jsxruntime = require('react/jsx-runtime');
|
|
15
15
|
function DepositModalWithReown(props) {
|
|
16
|
-
const reown =
|
|
16
|
+
const reown = _chunkN2Y34LQOcjs.useReownWallet.call(void 0, );
|
|
17
17
|
const enableSolana = _nullishCoalesce(props.enableSolana, () => ( true));
|
|
18
18
|
const { walletProvider: solanaWalletProvider } = _react3.useAppKitProvider.call(void 0,
|
|
19
19
|
enableSolana ? "solana" : "eip155"
|
|
@@ -32,7 +32,7 @@ function DepositModalWithReown(props) {
|
|
|
32
32
|
reown.disconnect();
|
|
33
33
|
}, [reown.disconnect]);
|
|
34
34
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35
|
-
|
|
35
|
+
_chunk47WDWD6Zcjs.DepositModalInner,
|
|
36
36
|
{
|
|
37
37
|
...props,
|
|
38
38
|
reownWallet: reownWithSolana,
|
|
@@ -43,7 +43,7 @@ function DepositModalWithReown(props) {
|
|
|
43
43
|
}
|
|
44
44
|
function DepositModalReown(props) {
|
|
45
45
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46
|
-
|
|
46
|
+
_chunkN2Y34LQOcjs.ReownWalletProvider,
|
|
47
47
|
{
|
|
48
48
|
projectId: props.reownAppId,
|
|
49
49
|
theme: props.theme,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4BL7RCZB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MBURQ26S.mjs";
|
|
8
|
+
import "./chunk-REDAO3MS.mjs";
|
|
9
9
|
import "./chunk-ZJQZEIHA.mjs";
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK57KO3SWcjs = require('./chunk-K57KO3SW.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkN2Y34LQOcjs = require('./chunk-N2Y34LQO.cjs');
|
|
8
|
+
require('./chunk-DBBSH7HP.cjs');
|
|
9
9
|
require('./chunk-NELAYNA3.cjs');
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
12
12
|
var _react = require('react');
|
|
13
13
|
var _jsxruntime = require('react/jsx-runtime');
|
|
14
14
|
function WithdrawModalWithReown(props) {
|
|
15
|
-
const reown =
|
|
15
|
+
const reown = _chunkN2Y34LQOcjs.useReownWallet.call(void 0, );
|
|
16
16
|
const handleConnect = _react.useCallback.call(void 0, () => {
|
|
17
17
|
reown.openConnect();
|
|
18
18
|
}, [reown.openConnect]);
|
|
@@ -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
|
+
_chunkK57KO3SWcjs.WithdrawModalInner,
|
|
24
24
|
{
|
|
25
25
|
...props,
|
|
26
26
|
reownWallet: reown,
|
|
@@ -30,7 +30,7 @@ function WithdrawModalWithReown(props) {
|
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
32
|
function WithdrawModalReown(props) {
|
|
33
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2Y34LQOcjs.ReownWalletProvider, { projectId: props.reownAppId, theme: props.theme, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawModalWithReown, { ...props }) });
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|