@rhinestone/deposit-modal 0.1.45 → 0.1.46
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-23JR6Q4C.mjs} +1 -1
- package/dist/{DepositModalReown-2QKLWRRU.cjs → DepositModalReown-QSRCNLSN.cjs} +2 -2
- package/dist/{chunk-B5H3CVAN.cjs → chunk-2XGN65KA.cjs} +3 -4
- package/dist/{chunk-RVN4K6C7.mjs → chunk-B2VXZW4V.mjs} +3 -4
- package/dist/deposit.cjs +2 -2
- package/dist/deposit.mjs +1 -1
- 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/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -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
|
+
_chunk2XGN65KAcjs.DepositModalInner,
|
|
33
33
|
{
|
|
34
34
|
...props,
|
|
35
35
|
reownWallet: reownWithSolana,
|
|
@@ -861,7 +861,6 @@ function AmountStep({
|
|
|
861
861
|
}
|
|
862
862
|
)
|
|
863
863
|
] }),
|
|
864
|
-
chainMismatch && !isSwitching && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", style: { marginTop: 16 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)} to continue.` }) }),
|
|
865
864
|
error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-amount-error", children: [
|
|
866
865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
867
866
|
"svg",
|
|
@@ -1109,7 +1108,6 @@ function ConfirmStep({
|
|
|
1109
1108
|
)
|
|
1110
1109
|
] })
|
|
1111
1110
|
] }),
|
|
1112
|
-
chainMismatch && !isSwitching && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rs-chain-switch-text", children: `Switch your wallet to ${_chunkZNHU72LIcjs.getChainName.call(void 0, asset.chainId)} to sign.` }) }),
|
|
1113
1111
|
error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "rs-alert rs-alert--error", children: [
|
|
1114
1112
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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
|
|
|
3420
3419
|
var ReownDepositInner = _react.lazy.call(void 0,
|
|
3421
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-
|
|
3420
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-QSRCNLSN.cjs"))).then((m) => ({ default: m.DepositModalReown }))
|
|
3422
3421
|
);
|
|
3423
3422
|
function DepositModal(props) {
|
|
3424
3423
|
const needsReown = !!props.reownAppId;
|
|
@@ -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-23JR6Q4C.mjs").then((m) => ({ default: m.DepositModalReown }))
|
|
3422
3421
|
);
|
|
3423
3422
|
function DepositModal(props) {
|
|
3424
3423
|
const needsReown = !!props.reownAppId;
|
package/dist/deposit.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
|
|
4
4
|
require('./chunk-55QIUUIS.cjs');
|
|
5
5
|
require('./chunk-ZNHU72LI.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.DepositModal =
|
|
8
|
+
exports.DepositModal = _chunk2XGN65KAcjs.DepositModal;
|
package/dist/deposit.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
|
|
@@ -66,4 +66,4 @@ var _chunkZNHU72LIcjs = require('./chunk-ZNHU72LI.cjs');
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal =
|
|
69
|
+
exports.CHAIN_BY_ID = _chunkZNHU72LIcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkZNHU72LIcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkZNHU72LIcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.NATIVE_TOKEN_ADDRESS = _chunkZNHU72LIcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkZNHU72LIcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkZNHU72LIcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal; exports.chainRegistry = _chunkZNHU72LIcjs.chainRegistry; exports.findChainIdForToken = _chunkZNHU72LIcjs.findChainIdForToken; exports.getChainBadge = _chunkZNHU72LIcjs.getChainBadge; exports.getChainIcon = _chunkZNHU72LIcjs.getChainIcon; exports.getChainId = _chunkZNHU72LIcjs.getChainId; exports.getChainName = _chunkZNHU72LIcjs.getChainName; exports.getChainObject = _chunkZNHU72LIcjs.getChainObject; exports.getExplorerName = _chunkZNHU72LIcjs.getExplorerName; exports.getExplorerTxUrl = _chunkZNHU72LIcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkZNHU72LIcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkZNHU72LIcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkZNHU72LIcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkZNHU72LIcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkZNHU72LIcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkZNHU72LIcjs.getTokenAddress; exports.getTokenDecimals = _chunkZNHU72LIcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkZNHU72LIcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkZNHU72LIcjs.getTokenIcon; exports.getTokenSymbol = _chunkZNHU72LIcjs.getTokenSymbol; exports.getUsdcAddress = _chunkZNHU72LIcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkZNHU72LIcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkZNHU72LIcjs.isSupportedTokenAddressForChain;
|
package/dist/index.mjs
CHANGED
package/dist/reown.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk2XGN65KAcjs = require('./chunk-2XGN65KA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk2EGNK737cjs = require('./chunk-2EGNK737.cjs');
|
|
@@ -9,4 +9,4 @@ require('./chunk-ZNHU72LI.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.DepositModal =
|
|
12
|
+
exports.DepositModal = _chunk2XGN65KAcjs.DepositModal; exports.WithdrawModal = _chunk2EGNK737cjs.WithdrawModal;
|
package/dist/reown.mjs
CHANGED