@rhinestone/deposit-modal 0.0.0-dev-20260707131852 → 0.0.0-dev-20260708124620
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-FGZHT6NC.cjs → DepositModalReown-T57ZWOJC.cjs} +2 -2
- package/dist/{DepositModalReown-TLMWWXN4.mjs → DepositModalReown-UYQVGAKS.mjs} +1 -1
- package/dist/{chunk-5AZBOAVH.cjs → chunk-36ZVLS3J.cjs} +3 -3
- package/dist/{chunk-IODANVAE.mjs → chunk-C4EHJRNE.mjs} +3 -3
- 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/styles.css +8 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
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 _chunk36ZVLS3Jcjs = require('./chunk-36ZVLS3J.cjs');
|
|
4
4
|
require('./chunk-NRNJAQUA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
@@ -37,7 +37,7 @@ function DepositModalWithReown(props) {
|
|
|
37
37
|
reown.disconnect();
|
|
38
38
|
}, [reown.disconnect]);
|
|
39
39
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40
|
-
|
|
40
|
+
_chunk36ZVLS3Jcjs.DepositModalInner,
|
|
41
41
|
{
|
|
42
42
|
...props,
|
|
43
43
|
reownWallet: reownWithSolana,
|
|
@@ -2488,7 +2488,7 @@ function SwappedIframeStep({
|
|
|
2488
2488
|
_chunkMMPJB5YIcjs.failureMessageForEvent.call(void 0, _nullishCoalesce(latestEvent, () => ( void 0)))
|
|
2489
2489
|
)]);
|
|
2490
2490
|
}, [latestEvent]);
|
|
2491
|
-
const immersive = phase === "iframe" && !loadError;
|
|
2491
|
+
const immersive = variant === "fiat" && phase === "iframe" && !loadError;
|
|
2492
2492
|
_react.useEffect.call(void 0, () => {
|
|
2493
2493
|
_optionalChain([onImmersiveChangeRef, 'access', _95 => _95.current, 'optionalCall', _96 => _96(immersive)]);
|
|
2494
2494
|
}, [immersive]);
|
|
@@ -5369,7 +5369,7 @@ function isSameRoute2(sourceChain, sourceToken, targetChain, targetToken) {
|
|
|
5369
5369
|
var SWAPPED_SOURCE_CHAIN = 8453;
|
|
5370
5370
|
var SWAPPED_SOURCE_TOKEN = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
5371
5371
|
var SWAPPED_SOURCE_DECIMALS = 6;
|
|
5372
|
-
var SWAPPED_QUOTE_FEE_TIMEOUT_MS =
|
|
5372
|
+
var SWAPPED_QUOTE_FEE_TIMEOUT_MS = 2500;
|
|
5373
5373
|
async function fetchQuoteFeeBreakdown(params) {
|
|
5374
5374
|
try {
|
|
5375
5375
|
if (BigInt(params.amount) <= 0n) return void 0;
|
|
@@ -7722,7 +7722,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
|
|
|
7722
7722
|
// src/DepositModal.tsx
|
|
7723
7723
|
|
|
7724
7724
|
var ReownDepositInner = _react.lazy.call(void 0,
|
|
7725
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-
|
|
7725
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./DepositModalReown-T57ZWOJC.cjs"))).then((m) => ({ default: m.DepositModalReown }))
|
|
7726
7726
|
);
|
|
7727
7727
|
function sortByCreatedAtDesc(items) {
|
|
7728
7728
|
return [...items].sort((a, b) => {
|
|
@@ -2488,7 +2488,7 @@ function SwappedIframeStep({
|
|
|
2488
2488
|
failureMessageForEvent(latestEvent ?? void 0)
|
|
2489
2489
|
);
|
|
2490
2490
|
}, [latestEvent]);
|
|
2491
|
-
const immersive = phase === "iframe" && !loadError;
|
|
2491
|
+
const immersive = variant === "fiat" && phase === "iframe" && !loadError;
|
|
2492
2492
|
useEffect6(() => {
|
|
2493
2493
|
onImmersiveChangeRef.current?.(immersive);
|
|
2494
2494
|
}, [immersive]);
|
|
@@ -5369,7 +5369,7 @@ function isSameRoute2(sourceChain, sourceToken, targetChain, targetToken) {
|
|
|
5369
5369
|
var SWAPPED_SOURCE_CHAIN = 8453;
|
|
5370
5370
|
var SWAPPED_SOURCE_TOKEN = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
|
|
5371
5371
|
var SWAPPED_SOURCE_DECIMALS = 6;
|
|
5372
|
-
var SWAPPED_QUOTE_FEE_TIMEOUT_MS =
|
|
5372
|
+
var SWAPPED_QUOTE_FEE_TIMEOUT_MS = 2500;
|
|
5373
5373
|
async function fetchQuoteFeeBreakdown(params) {
|
|
5374
5374
|
try {
|
|
5375
5375
|
if (BigInt(params.amount) <= 0n) return void 0;
|
|
@@ -7722,7 +7722,7 @@ DepositHistoryPanel.displayName = "DepositHistoryPanel";
|
|
|
7722
7722
|
// src/DepositModal.tsx
|
|
7723
7723
|
import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
7724
7724
|
var ReownDepositInner = lazy2(
|
|
7725
|
-
() => import("./DepositModalReown-
|
|
7725
|
+
() => import("./DepositModalReown-UYQVGAKS.mjs").then((m) => ({ default: m.DepositModalReown }))
|
|
7726
7726
|
);
|
|
7727
7727
|
function sortByCreatedAtDesc(items) {
|
|
7728
7728
|
return [...items].sort((a, b) => {
|
package/dist/deposit.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk36ZVLS3Jcjs = require('./chunk-36ZVLS3J.cjs');
|
|
4
4
|
require('./chunk-NRNJAQUA.cjs');
|
|
5
5
|
require('./chunk-MMPJB5YI.cjs');
|
|
6
6
|
require('./chunk-UEKPBRBY.cjs');
|
|
7
7
|
require('./chunk-ABVRVW3P.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.DepositModal =
|
|
10
|
+
exports.DepositModal = _chunk36ZVLS3Jcjs.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 _chunk36ZVLS3Jcjs = require('./chunk-36ZVLS3J.cjs');
|
|
4
4
|
require('./chunk-NRNJAQUA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
@@ -85,4 +85,4 @@ async function disconnectWallet() {
|
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal =
|
|
88
|
+
exports.CHAIN_BY_ID = _chunkABVRVW3Pcjs.CHAIN_BY_ID; exports.DEFAULT_BACKEND_URL = _chunkABVRVW3Pcjs.DEFAULT_BACKEND_URL; exports.DEFAULT_SIGNER_ADDRESS = _chunkABVRVW3Pcjs.DEFAULT_SIGNER_ADDRESS; exports.DepositModal = _chunk36ZVLS3Jcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkABVRVW3Pcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_USDC_ADDRESS = _chunkABVRVW3Pcjs.HYPERCORE_USDC_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkABVRVW3Pcjs.NATIVE_TOKEN_ADDRESS; exports.SOURCE_CHAINS = _chunkABVRVW3Pcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkABVRVW3Pcjs.SUPPORTED_CHAINS; exports.WithdrawModal = _chunkJRZ5GEJWcjs.WithdrawModal; exports.chainRegistry = _chunkABVRVW3Pcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkABVRVW3Pcjs.findChainIdForToken; exports.getChainBadge = _chunkABVRVW3Pcjs.getChainBadge; exports.getChainIcon = _chunkABVRVW3Pcjs.getChainIcon; exports.getChainId = _chunkABVRVW3Pcjs.getChainId; exports.getChainName = _chunkABVRVW3Pcjs.getChainName; exports.getChainObject = _chunkABVRVW3Pcjs.getChainObject; exports.getExplorerName = _chunkABVRVW3Pcjs.getExplorerName; exports.getExplorerTxUrl = _chunkABVRVW3Pcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkABVRVW3Pcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkABVRVW3Pcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkABVRVW3Pcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkABVRVW3Pcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkABVRVW3Pcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkABVRVW3Pcjs.getTokenAddress; exports.getTokenDecimals = _chunkABVRVW3Pcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkABVRVW3Pcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkABVRVW3Pcjs.getTokenIcon; exports.getTokenSymbol = _chunkABVRVW3Pcjs.getTokenSymbol; exports.getUsdcAddress = _chunkABVRVW3Pcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkABVRVW3Pcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkABVRVW3Pcjs.isSupportedTokenAddressForChain;
|
package/dist/index.mjs
CHANGED
package/dist/styles.css
CHANGED
|
@@ -5025,6 +5025,14 @@
|
|
|
5025
5025
|
padding-inline: 0;
|
|
5026
5026
|
}
|
|
5027
5027
|
|
|
5028
|
+
/* Connect keeps our back/close chrome above the embedded widget. In the iframe
|
|
5029
|
+
phase, drop only the bottom shell padding so the iframe lands flush with the
|
|
5030
|
+
modal bottom edge; the side inset still lets the body negative margin expand
|
|
5031
|
+
iframe phases cleanly to the modal edges. */
|
|
5032
|
+
.rs-modal:has(.rs-modal-body[data-flow-mode="exchange-connect"] .rs-fiat-onramp) {
|
|
5033
|
+
padding: 16px 16px 0;
|
|
5034
|
+
}
|
|
5035
|
+
|
|
5028
5036
|
/* Iframe wrap sized to Swapped's documented heights. Width deliberately spans
|
|
5029
5037
|
the full modal body in the iframe phase; the modal itself controls the
|
|
5030
5038
|
product-specific width below. */
|
package/package.json
CHANGED