@rhinestone/deposit-modal 0.1.35 → 0.1.36
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/{WithdrawModalReown-SVRGP2R2.mjs → WithdrawModalReown-4AKKZCLY.mjs} +1 -1
- package/dist/{WithdrawModalReown-HJYESBOR.cjs → WithdrawModalReown-BYOEPR3E.cjs} +2 -2
- package/dist/{chunk-GJ7W4TIL.mjs → chunk-G6YFXESU.mjs} +2 -2
- package/dist/{chunk-YWZMQIUA.cjs → chunk-N2SJUU4I.cjs} +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/reown.cjs +2 -2
- package/dist/reown.mjs +1 -1
- package/dist/withdraw.cjs +2 -2
- package/dist/withdraw.mjs +1 -1
- 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 _chunkN2SJUU4Icjs = require('./chunk-N2SJUU4I.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -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
|
+
_chunkN2SJUU4Icjs.WithdrawModalInner,
|
|
24
24
|
{
|
|
25
25
|
...props,
|
|
26
26
|
reownWallet: reown,
|
|
@@ -1271,7 +1271,7 @@ function WithdrawFlow({
|
|
|
1271
1271
|
if (!onSignTransaction && !signerContext.walletClient) return null;
|
|
1272
1272
|
const resolvedOwnerAddress = signerContext.ownerAddress;
|
|
1273
1273
|
const resolvedConnectedAddress = signerContext.walletClient?.account?.address ?? reownWallet?.address ?? dappWalletClient?.account?.address ?? resolvedOwnerAddress;
|
|
1274
|
-
const resolvedDefaultRecipient = defaultRecipient ??
|
|
1274
|
+
const resolvedDefaultRecipient = defaultRecipient ?? resolvedConnectedAddress;
|
|
1275
1275
|
const formPublicClient = signerContext.publicClient ?? getPublicClient(sourceChain);
|
|
1276
1276
|
return /* @__PURE__ */ jsxs2("div", { className: "rs-modal-body", children: [
|
|
1277
1277
|
step.type === "form" && /* @__PURE__ */ jsx2(
|
|
@@ -1324,7 +1324,7 @@ function WithdrawFlow({
|
|
|
1324
1324
|
// src/WithdrawModal.tsx
|
|
1325
1325
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
1326
1326
|
var ReownWithdrawInner = lazy(
|
|
1327
|
-
() => import("./WithdrawModalReown-
|
|
1327
|
+
() => import("./WithdrawModalReown-4AKKZCLY.mjs").then((m) => ({
|
|
1328
1328
|
default: m.WithdrawModalReown
|
|
1329
1329
|
}))
|
|
1330
1330
|
);
|
|
@@ -1271,7 +1271,7 @@ function WithdrawFlow({
|
|
|
1271
1271
|
if (!onSignTransaction && !signerContext.walletClient) return null;
|
|
1272
1272
|
const resolvedOwnerAddress = signerContext.ownerAddress;
|
|
1273
1273
|
const resolvedConnectedAddress = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([signerContext, 'access', _35 => _35.walletClient, 'optionalAccess', _36 => _36.account, 'optionalAccess', _37 => _37.address]), () => ( _optionalChain([reownWallet, 'optionalAccess', _38 => _38.address]))), () => ( _optionalChain([dappWalletClient, 'optionalAccess', _39 => _39.account, 'optionalAccess', _40 => _40.address]))), () => ( resolvedOwnerAddress));
|
|
1274
|
-
const resolvedDefaultRecipient = _nullishCoalesce(defaultRecipient, () => (
|
|
1274
|
+
const resolvedDefaultRecipient = _nullishCoalesce(defaultRecipient, () => ( resolvedConnectedAddress));
|
|
1275
1275
|
const formPublicClient = _nullishCoalesce(signerContext.publicClient, () => ( _chunkYIHOACM3cjs.getPublicClient.call(void 0, sourceChain)));
|
|
1276
1276
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-modal-body", children: [
|
|
1277
1277
|
step.type === "form" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1324,7 +1324,7 @@ function WithdrawFlow({
|
|
|
1324
1324
|
// src/WithdrawModal.tsx
|
|
1325
1325
|
|
|
1326
1326
|
var ReownWithdrawInner = _react.lazy.call(void 0,
|
|
1327
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-
|
|
1327
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModalReown-BYOEPR3E.cjs"))).then((m) => ({
|
|
1328
1328
|
default: m.WithdrawModalReown
|
|
1329
1329
|
}))
|
|
1330
1330
|
);
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkN2SJUU4Icjs = require('./chunk-N2SJUU4I.cjs');
|
|
7
7
|
require('./chunk-YIHOACM3.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
@@ -66,4 +66,4 @@ var _chunkS4UBVD3Hcjs = require('./chunk-S4UBVD3H.cjs');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal =
|
|
69
|
+
exports.CHAIN_BY_ID = _chunkS4UBVD3Hcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkS4UBVD3Hcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkS4UBVD3Hcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkS4UBVD3Hcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkS4UBVD3Hcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkS4UBVD3Hcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkN2SJUU4Icjs.WithdrawModal; exports.chainRegistry = _chunkS4UBVD3Hcjs.chainRegistry; exports.findChainIdForToken = _chunkS4UBVD3Hcjs.findChainIdForToken; exports.getChainBadge = _chunkS4UBVD3Hcjs.getChainBadge; exports.getChainIcon = _chunkS4UBVD3Hcjs.getChainIcon; exports.getChainId = _chunkS4UBVD3Hcjs.getChainId; exports.getChainName = _chunkS4UBVD3Hcjs.getChainName; exports.getChainObject = _chunkS4UBVD3Hcjs.getChainObject; exports.getExplorerName = _chunkS4UBVD3Hcjs.getExplorerName; exports.getExplorerTxUrl = _chunkS4UBVD3Hcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkS4UBVD3Hcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkS4UBVD3Hcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkS4UBVD3Hcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkS4UBVD3Hcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkS4UBVD3Hcjs.getTokenAddress; exports.getTokenDecimals = _chunkS4UBVD3Hcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkS4UBVD3Hcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkS4UBVD3Hcjs.getTokenIcon; exports.getTokenSymbol = _chunkS4UBVD3Hcjs.getTokenSymbol; exports.getUsdcAddress = _chunkS4UBVD3Hcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkS4UBVD3Hcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkS4UBVD3Hcjs.isSupportedTokenAddressForChain;
|
package/dist/index.mjs
CHANGED
package/dist/reown.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkYCXVHPGZcjs = require('./chunk-YCXVHPGZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkN2SJUU4Icjs = require('./chunk-N2SJUU4I.cjs');
|
|
7
7
|
require('./chunk-YIHOACM3.cjs');
|
|
8
8
|
require('./chunk-S4UBVD3H.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.WithdrawModal =
|
|
12
|
+
exports.DepositModal = _chunkYCXVHPGZcjs.DepositModal; exports.WithdrawModal = _chunkN2SJUU4Icjs.WithdrawModal;
|
package/dist/reown.mjs
CHANGED
package/dist/withdraw.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkN2SJUU4Icjs = require('./chunk-N2SJUU4I.cjs');
|
|
4
4
|
require('./chunk-YIHOACM3.cjs');
|
|
5
5
|
require('./chunk-S4UBVD3H.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.WithdrawModal =
|
|
8
|
+
exports.WithdrawModal = _chunkN2SJUU4Icjs.WithdrawModal;
|
package/dist/withdraw.mjs
CHANGED