@rhinestone/deposit-modal 0.1.31 → 0.1.33
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-S7HER5HU.mjs → DepositModalReown-7ZO7HUN3.mjs} +9 -5
- package/dist/{DepositModalReown-N7GCYZF7.cjs → DepositModalReown-VNKZT5A7.cjs} +12 -8
- package/dist/{WithdrawModalReown-DMDRLYTE.mjs → WithdrawModalReown-PMPLUJBE.mjs} +9 -5
- package/dist/{WithdrawModalReown-DJCJ5U7E.cjs → WithdrawModalReown-YP4PEERJ.cjs} +12 -8
- package/dist/{chunk-SZ35G2DT.cjs → chunk-4WXSBBHQ.cjs} +101 -107
- package/dist/{chunk-3ICS43XC.mjs → chunk-C6I5TFSL.mjs} +4 -0
- package/dist/{chunk-EVU7M7A6.mjs → chunk-DLFUXLAM.mjs} +14 -13
- package/dist/{chunk-SLI5FHTT.mjs → chunk-ECLVABYN.mjs} +34 -40
- package/dist/{chunk-AWFJFSPH.mjs → chunk-HNDZ6G5K.mjs} +166 -249
- package/dist/{chunk-PE6OK3FH.cjs → chunk-S4UBVD3H.cjs} +5 -1
- package/dist/{chunk-MU2BOEDN.cjs → chunk-SIGTZB3C.cjs} +244 -327
- package/dist/{chunk-CS6UIMCF.mjs → chunk-SJEIKMVO.mjs} +10 -2
- package/dist/{chunk-VKQA3FO3.cjs → chunk-V7I5T4SW.cjs} +9 -1
- package/dist/{chunk-G2RDCQHL.cjs → chunk-YIHOACM3.cjs} +38 -37
- package/dist/constants.cjs +2 -2
- package/dist/constants.mjs +1 -1
- package/dist/deposit.cjs +4 -4
- package/dist/deposit.d.cts +2 -2
- package/dist/deposit.d.ts +2 -2
- package/dist/deposit.mjs +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +4 -4
- package/dist/reown.cjs +5 -5
- package/dist/reown.d.cts +1 -1
- package/dist/reown.d.ts +1 -1
- package/dist/reown.mjs +4 -4
- package/dist/{types-DTBfMH0p.d.ts → types-Bp2n2RQ3.d.ts} +0 -1
- package/dist/{types-DELv717e.d.cts → types-CIaQPR6F.d.cts} +0 -1
- package/dist/withdraw.cjs +4 -4
- package/dist/withdraw.d.cts +2 -2
- package/dist/withdraw.d.ts +2 -2
- 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-HNDZ6G5K.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-SJEIKMVO.mjs";
|
|
8
|
+
import "./chunk-DLFUXLAM.mjs";
|
|
9
|
+
import "./chunk-C6I5TFSL.mjs";
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
12
12
|
import { useCallback } from "react";
|
|
@@ -16,12 +16,16 @@ function DepositModalWithReown(props) {
|
|
|
16
16
|
const handleConnect = useCallback(() => {
|
|
17
17
|
reown.openConnect();
|
|
18
18
|
}, [reown.openConnect]);
|
|
19
|
+
const handleDisconnect = useCallback(() => {
|
|
20
|
+
reown.disconnect();
|
|
21
|
+
}, [reown.disconnect]);
|
|
19
22
|
return /* @__PURE__ */ jsx(
|
|
20
23
|
DepositModalInner,
|
|
21
24
|
{
|
|
22
25
|
...props,
|
|
23
26
|
reownWallet: reown,
|
|
24
|
-
onConnect: handleConnect
|
|
27
|
+
onConnect: handleConnect,
|
|
28
|
+
onDisconnect: handleDisconnect
|
|
25
29
|
}
|
|
26
30
|
);
|
|
27
31
|
}
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSIGTZB3Ccjs = require('./chunk-SIGTZB3C.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkV7I5T4SWcjs = require('./chunk-V7I5T4SW.cjs');
|
|
8
|
+
require('./chunk-YIHOACM3.cjs');
|
|
9
|
+
require('./chunk-S4UBVD3H.cjs');
|
|
10
10
|
|
|
11
11
|
// src/DepositModalReown.tsx
|
|
12
12
|
var _react = require('react');
|
|
13
13
|
var _jsxruntime = require('react/jsx-runtime');
|
|
14
14
|
function DepositModalWithReown(props) {
|
|
15
|
-
const reown =
|
|
15
|
+
const reown = _chunkV7I5T4SWcjs.useReownWallet.call(void 0, );
|
|
16
16
|
const handleConnect = _react.useCallback.call(void 0, () => {
|
|
17
17
|
reown.openConnect();
|
|
18
18
|
}, [reown.openConnect]);
|
|
19
|
+
const handleDisconnect = _react.useCallback.call(void 0, () => {
|
|
20
|
+
reown.disconnect();
|
|
21
|
+
}, [reown.disconnect]);
|
|
19
22
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20
|
-
|
|
23
|
+
_chunkSIGTZB3Ccjs.DepositModalInner,
|
|
21
24
|
{
|
|
22
25
|
...props,
|
|
23
26
|
reownWallet: reown,
|
|
24
|
-
onConnect: handleConnect
|
|
27
|
+
onConnect: handleConnect,
|
|
28
|
+
onDisconnect: handleDisconnect
|
|
25
29
|
}
|
|
26
30
|
);
|
|
27
31
|
}
|
|
28
32
|
function DepositModalReown(props) {
|
|
29
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV7I5T4SWcjs.ReownWalletProvider, { projectId: props.reownAppId, theme: props.theme, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepositModalWithReown, { ...props }) });
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WithdrawModalInner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECLVABYN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ReownWalletProvider,
|
|
6
6
|
useReownWallet
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-SJEIKMVO.mjs";
|
|
8
|
+
import "./chunk-DLFUXLAM.mjs";
|
|
9
|
+
import "./chunk-C6I5TFSL.mjs";
|
|
10
10
|
|
|
11
11
|
// src/WithdrawModalReown.tsx
|
|
12
12
|
import { useCallback } from "react";
|
|
@@ -16,12 +16,16 @@ function WithdrawModalWithReown(props) {
|
|
|
16
16
|
const handleConnect = useCallback(() => {
|
|
17
17
|
reown.openConnect();
|
|
18
18
|
}, [reown.openConnect]);
|
|
19
|
+
const handleDisconnect = useCallback(() => {
|
|
20
|
+
reown.disconnect();
|
|
21
|
+
}, [reown.disconnect]);
|
|
19
22
|
return /* @__PURE__ */ jsx(
|
|
20
23
|
WithdrawModalInner,
|
|
21
24
|
{
|
|
22
25
|
...props,
|
|
23
26
|
reownWallet: reown,
|
|
24
|
-
onConnect: handleConnect
|
|
27
|
+
onConnect: handleConnect,
|
|
28
|
+
onDisconnect: handleDisconnect
|
|
25
29
|
}
|
|
26
30
|
);
|
|
27
31
|
}
|
|
@@ -1,32 +1,36 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4WXSBBHQcjs = require('./chunk-4WXSBBHQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkV7I5T4SWcjs = require('./chunk-V7I5T4SW.cjs');
|
|
8
|
+
require('./chunk-YIHOACM3.cjs');
|
|
9
|
+
require('./chunk-S4UBVD3H.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 = _chunkV7I5T4SWcjs.useReownWallet.call(void 0, );
|
|
16
16
|
const handleConnect = _react.useCallback.call(void 0, () => {
|
|
17
17
|
reown.openConnect();
|
|
18
18
|
}, [reown.openConnect]);
|
|
19
|
+
const handleDisconnect = _react.useCallback.call(void 0, () => {
|
|
20
|
+
reown.disconnect();
|
|
21
|
+
}, [reown.disconnect]);
|
|
19
22
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20
|
-
|
|
23
|
+
_chunk4WXSBBHQcjs.WithdrawModalInner,
|
|
21
24
|
{
|
|
22
25
|
...props,
|
|
23
26
|
reownWallet: reown,
|
|
24
|
-
onConnect: handleConnect
|
|
27
|
+
onConnect: handleConnect,
|
|
28
|
+
onDisconnect: handleDisconnect
|
|
25
29
|
}
|
|
26
30
|
);
|
|
27
31
|
}
|
|
28
32
|
function WithdrawModalReown(props) {
|
|
29
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV7I5T4SWcjs.ReownWalletProvider, { projectId: props.reownAppId, theme: props.theme, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithdrawModalWithReown, { ...props }) });
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
|