@rhinestone/deposit-modal 0.16.0 → 0.17.0

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.
@@ -44,7 +44,7 @@ import {
44
44
  useTokenPrices,
45
45
  useWithdrawAnalyticsEmitter,
46
46
  warnRemovedProps
47
- } from "./chunk-EA5CE2UZ.mjs";
47
+ } from "./chunk-QMGEK623.mjs";
48
48
  import {
49
49
  NATIVE_TOKEN_ADDRESS,
50
50
  getChainIcon,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5CM3ZQ5Ucjs = require('./chunk-5CM3ZQ5U.cjs');
3
+ var _chunkJCWJ6HW7cjs = require('./chunk-JCWJ6HW7.cjs');
4
4
 
5
5
 
6
6
 
@@ -65,4 +65,4 @@ var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
65
65
 
66
66
 
67
67
 
68
- exports.HYPERCORE_CHAIN_ID = _chunkOY5N3E6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkOY5N3E6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunk5CM3ZQ5Ucjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkOY5N3E6Lcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkOY5N3E6Lcjs.SOLANA_TOKENS; exports.SUPPORTED_CHAIN_IDS = _chunkOY5N3E6Lcjs.SUPPORTED_CHAIN_IDS; exports.chainRegistry = _chunkOY5N3E6Lcjs.chainRegistry; exports.findChainIdForToken = _chunkOY5N3E6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkOY5N3E6Lcjs.getChainBadge; exports.getChainIcon = _chunkOY5N3E6Lcjs.getChainIcon; exports.getChainId = _chunkOY5N3E6Lcjs.getChainId; exports.getChainName = _chunkOY5N3E6Lcjs.getChainName; exports.getExplorerName = _chunkOY5N3E6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkOY5N3E6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkOY5N3E6Lcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkOY5N3E6Lcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkOY5N3E6Lcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkOY5N3E6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkOY5N3E6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkOY5N3E6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkOY5N3E6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkOY5N3E6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkOY5N3E6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkOY5N3E6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkOY5N3E6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkOY5N3E6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkOY5N3E6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkOY5N3E6Lcjs.tokenIconUrl;
68
+ exports.HYPERCORE_CHAIN_ID = _chunkOY5N3E6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkOY5N3E6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkJCWJ6HW7cjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkOY5N3E6Lcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkOY5N3E6Lcjs.SOLANA_TOKENS; exports.SUPPORTED_CHAIN_IDS = _chunkOY5N3E6Lcjs.SUPPORTED_CHAIN_IDS; exports.chainRegistry = _chunkOY5N3E6Lcjs.chainRegistry; exports.findChainIdForToken = _chunkOY5N3E6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkOY5N3E6Lcjs.getChainBadge; exports.getChainIcon = _chunkOY5N3E6Lcjs.getChainIcon; exports.getChainId = _chunkOY5N3E6Lcjs.getChainId; exports.getChainName = _chunkOY5N3E6Lcjs.getChainName; exports.getExplorerName = _chunkOY5N3E6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkOY5N3E6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkOY5N3E6Lcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkOY5N3E6Lcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkOY5N3E6Lcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkOY5N3E6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkOY5N3E6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkOY5N3E6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkOY5N3E6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkOY5N3E6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkOY5N3E6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkOY5N3E6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkOY5N3E6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkOY5N3E6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkOY5N3E6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkOY5N3E6Lcjs.tokenIconUrl;
@@ -2,7 +2,7 @@ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, w as SupportedToke
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-BMi-9t09.cjs';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.16.0";
5
+ declare const MODAL_VERSION = "0.17.0";
6
6
 
7
7
  /**
8
8
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -2,7 +2,7 @@ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, w as SupportedToke
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-BMi-9t09.js';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.16.0";
5
+ declare const MODAL_VERSION = "0.17.0";
6
6
 
7
7
  /**
8
8
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MODAL_VERSION
3
- } from "./chunk-3HCCR54R.mjs";
3
+ } from "./chunk-XCBDJPBD.mjs";
4
4
  import {
5
5
  HYPERCORE_CHAIN_ID,
6
6
  HYPERCORE_SPOT_CAIP2,
package/dist/deposit.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkV466XQSGcjs = require('./chunk-V466XQSG.cjs');
4
- require('./chunk-H4O22O7Y.cjs');
5
- require('./chunk-5CM3ZQ5U.cjs');
3
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
4
+ require('./chunk-QGNJFDEO.cjs');
5
+ require('./chunk-JCWJ6HW7.cjs');
6
6
  require('./chunk-LVCD6RHF.cjs');
7
7
  require('./chunk-OY5N3E6L.cjs');
8
8
 
9
9
 
10
- exports.DepositModal = _chunkV466XQSGcjs.DepositModal;
10
+ exports.DepositModal = _chunkXJMDCBHScjs.DepositModal;
package/dist/deposit.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-F6ROQ6RJ.mjs";
4
- import "./chunk-EA5CE2UZ.mjs";
5
- import "./chunk-3HCCR54R.mjs";
3
+ } from "./chunk-H66WM5AO.mjs";
4
+ import "./chunk-QMGEK623.mjs";
5
+ import "./chunk-XCBDJPBD.mjs";
6
6
  import "./chunk-FTWKAJGN.mjs";
7
7
  import "./chunk-EAGMY3QE.mjs";
8
8
  export {
package/dist/embed.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkV466XQSGcjs = require('./chunk-V466XQSG.cjs');
3
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkH4O22O7Ycjs = require('./chunk-H4O22O7Y.cjs');
7
+ var _chunkQGNJFDEOcjs = require('./chunk-QGNJFDEO.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunk5CM3ZQ5Ucjs = require('./chunk-5CM3ZQ5U.cjs');
11
+ var _chunkJCWJ6HW7cjs = require('./chunk-JCWJ6HW7.cjs');
12
12
  require('./chunk-LVCD6RHF.cjs');
13
13
 
14
14
 
@@ -691,7 +691,7 @@ function assertResultShape(method, result) {
691
691
  `${method}: ${detail}`
692
692
  )
693
693
  );
694
- throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkH4O22O7Ycjs.markSubmissionUncertain.call(void 0, error) : error;
694
+ throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error) : error;
695
695
  };
696
696
  switch (method) {
697
697
  case "eth_sendTransaction":
@@ -743,7 +743,7 @@ function createBridgedWalletSession(options) {
743
743
  );
744
744
  } catch (error) {
745
745
  if (submitting && isBridgeRequestError(error) && error.code === -32603) {
746
- throw _chunkH4O22O7Ycjs.markSubmissionUncertain.call(void 0,
746
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0,
747
747
  new BridgeRequestError(
748
748
  bridgeError(
749
749
  BridgeErrorCode.SUBMISSION_UNCERTAIN,
@@ -754,7 +754,7 @@ function createBridgedWalletSession(options) {
754
754
  );
755
755
  }
756
756
  if (submitting && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
757
- throw _chunkH4O22O7Ycjs.markSubmissionUncertain.call(void 0, error);
757
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error);
758
758
  }
759
759
  throw error;
760
760
  }
@@ -873,7 +873,7 @@ async function connectToHost(options) {
873
873
  });
874
874
  const params = {
875
875
  protocol: PROTOCOL_VERSION,
876
- modalVersion: _chunk5CM3ZQ5Ucjs.MODAL_VERSION
876
+ modalVersion: _chunkJCWJ6HW7cjs.MODAL_VERSION
877
877
  };
878
878
  let raw;
879
879
  try {
@@ -959,12 +959,12 @@ async function requestHostTransfer(transport, params) {
959
959
  );
960
960
  } catch (error) {
961
961
  if (error instanceof Error && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
962
- throw _chunkH4O22O7Ycjs.markSubmissionUncertain.call(void 0, error);
962
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error);
963
963
  }
964
964
  throw error;
965
965
  }
966
966
  if (!isTxHash(_optionalChain([result, 'optionalAccess', _25 => _25.txHash]))) {
967
- throw _chunkH4O22O7Ycjs.markSubmissionUncertain.call(void 0,
967
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0,
968
968
  new Error(
969
969
  "The app did not return a transaction hash. Check your activity before trying again."
970
970
  )
@@ -1109,7 +1109,7 @@ var UNKNOWN_SCREEN = "unknown";
1109
1109
  // src/embed.tsx
1110
1110
  var _jsxruntime = require('react/jsx-runtime');
1111
1111
  var WithdrawModal = _react.lazy.call(void 0,
1112
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-SZEAI473.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1112
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-QB2U756L.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1113
1113
  );
1114
1114
  function missingField(config, keys) {
1115
1115
  const missing = keys.find(
@@ -1338,11 +1338,11 @@ function DepositEmbed({ target, onFatal }) {
1338
1338
  _optionalChain([back, 'optionalCall', _33 => _33()]);
1339
1339
  return { handled: Boolean(back) };
1340
1340
  });
1341
- _chunk5CM3ZQ5Ucjs.setEmbedHost.call(void 0, next.hello.host);
1341
+ _chunkJCWJ6HW7cjs.setEmbedHost.call(void 0, next.hello.host);
1342
1342
  setSession(next);
1343
1343
  setChannelScope(next.channelScope);
1344
1344
  setConfig(sanitizeConfig(next.hello.config));
1345
- void _chunkH4O22O7Ycjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1345
+ void _chunkQGNJFDEOcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1346
1346
  chains = result;
1347
1347
  });
1348
1348
  } catch (error) {
@@ -1352,7 +1352,7 @@ function DepositEmbed({ target, onFatal }) {
1352
1352
  return () => {
1353
1353
  live = false;
1354
1354
  _optionalChain([opened, 'optionalAccess', _36 => _36.close, 'call', _37 => _37()]);
1355
- _chunk5CM3ZQ5Ucjs.setEmbedHost.call(void 0, null);
1355
+ _chunkJCWJ6HW7cjs.setEmbedHost.call(void 0, null);
1356
1356
  };
1357
1357
  }, [target]);
1358
1358
  const handleUiState = _react.useCallback.call(void 0,
@@ -1491,7 +1491,7 @@ function DepositEmbed({ target, onFatal }) {
1491
1491
  ) });
1492
1492
  }
1493
1493
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1494
- _chunkV466XQSGcjs.DepositModalInner,
1494
+ _chunkXJMDCBHScjs.DepositModalInner,
1495
1495
  {
1496
1496
  ...toModalProps(ready, canOpenExternally, walletWithheld),
1497
1497
  openExternally: canOpenExternally ? openExternally : void 0,
package/dist/embed.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-F6ROQ6RJ.mjs";
3
+ } from "./chunk-H66WM5AO.mjs";
4
4
  import {
5
5
  markSubmissionUncertain,
6
6
  primeRuntimeChains
7
- } from "./chunk-EA5CE2UZ.mjs";
7
+ } from "./chunk-QMGEK623.mjs";
8
8
  import {
9
9
  MODAL_VERSION,
10
10
  setEmbedHost
11
- } from "./chunk-3HCCR54R.mjs";
11
+ } from "./chunk-XCBDJPBD.mjs";
12
12
  import "./chunk-FTWKAJGN.mjs";
13
13
  import {
14
14
  getChainName,
@@ -1109,7 +1109,7 @@ var UNKNOWN_SCREEN = "unknown";
1109
1109
  // src/embed.tsx
1110
1110
  import { jsx } from "react/jsx-runtime";
1111
1111
  var WithdrawModal = lazy(
1112
- () => import("./WithdrawModal-XKSSHVEJ.mjs").then((m) => ({ default: m.WithdrawModal }))
1112
+ () => import("./WithdrawModal-QRMDR5T4.mjs").then((m) => ({ default: m.WithdrawModal }))
1113
1113
  );
1114
1114
  function missingField(config, keys) {
1115
1115
  const missing = keys.find(
package/dist/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
- var _chunk24N4KMJXcjs = require('./chunk-24N4KMJX.cjs');
3
+ var _chunk2W4BJ5I3cjs = require('./chunk-2W4BJ5I3.cjs');
4
4
 
5
5
 
6
- var _chunkV466XQSGcjs = require('./chunk-V466XQSG.cjs');
7
- require('./chunk-H4O22O7Y.cjs');
8
- require('./chunk-5CM3ZQ5U.cjs');
6
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
7
+ require('./chunk-QGNJFDEO.cjs');
8
+ require('./chunk-JCWJ6HW7.cjs');
9
9
  require('./chunk-LVCD6RHF.cjs');
10
10
 
11
11
 
@@ -93,4 +93,4 @@ async function disconnectWallet() {
93
93
 
94
94
 
95
95
 
96
- exports.DepositModal = _chunkV466XQSGcjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkOY5N3E6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkOY5N3E6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkOY5N3E6Lcjs.NATIVE_TOKEN_ADDRESS; exports.STELLAR_PUBNET_CAIP2 = _chunkOY5N3E6Lcjs.STELLAR_PUBNET_CAIP2; exports.SUPPORTED_CHAIN_IDS = _chunkOY5N3E6Lcjs.SUPPORTED_CHAIN_IDS; exports.TRON_MAINNET_CAIP2 = _chunkOY5N3E6Lcjs.TRON_MAINNET_CAIP2; exports.WithdrawModal = _chunk24N4KMJXcjs.WithdrawModal; exports.chainRegistry = _chunkOY5N3E6Lcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkOY5N3E6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkOY5N3E6Lcjs.getChainBadge; exports.getChainIcon = _chunkOY5N3E6Lcjs.getChainIcon; exports.getChainId = _chunkOY5N3E6Lcjs.getChainId; exports.getChainName = _chunkOY5N3E6Lcjs.getChainName; exports.getExplorerName = _chunkOY5N3E6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkOY5N3E6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkOY5N3E6Lcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkOY5N3E6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkOY5N3E6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkOY5N3E6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkOY5N3E6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkOY5N3E6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkOY5N3E6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkOY5N3E6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkOY5N3E6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkOY5N3E6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkOY5N3E6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkOY5N3E6Lcjs.tokenIconUrl;
96
+ exports.DepositModal = _chunkXJMDCBHScjs.DepositModal; exports.HYPERCORE_CHAIN_ID = _chunkOY5N3E6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkOY5N3E6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = _chunkOY5N3E6Lcjs.HYPERCORE_USDT0_ADDRESS; exports.NATIVE_TOKEN_ADDRESS = _chunkOY5N3E6Lcjs.NATIVE_TOKEN_ADDRESS; exports.STELLAR_PUBNET_CAIP2 = _chunkOY5N3E6Lcjs.STELLAR_PUBNET_CAIP2; exports.SUPPORTED_CHAIN_IDS = _chunkOY5N3E6Lcjs.SUPPORTED_CHAIN_IDS; exports.TRON_MAINNET_CAIP2 = _chunkOY5N3E6Lcjs.TRON_MAINNET_CAIP2; exports.WithdrawModal = _chunk2W4BJ5I3cjs.WithdrawModal; exports.chainRegistry = _chunkOY5N3E6Lcjs.chainRegistry; exports.disconnectWallet = disconnectWallet; exports.findChainIdForToken = _chunkOY5N3E6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkOY5N3E6Lcjs.getChainBadge; exports.getChainIcon = _chunkOY5N3E6Lcjs.getChainIcon; exports.getChainId = _chunkOY5N3E6Lcjs.getChainId; exports.getChainName = _chunkOY5N3E6Lcjs.getChainName; exports.getExplorerName = _chunkOY5N3E6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkOY5N3E6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkOY5N3E6Lcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkOY5N3E6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkOY5N3E6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkOY5N3E6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkOY5N3E6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkOY5N3E6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkOY5N3E6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkOY5N3E6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkOY5N3E6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkOY5N3E6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkOY5N3E6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkOY5N3E6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkOY5N3E6Lcjs.tokenIconUrl;
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-HMB2XQGD.mjs";
3
+ } from "./chunk-ZHX4QROC.mjs";
4
4
  import {
5
5
  DepositModal
6
- } from "./chunk-F6ROQ6RJ.mjs";
7
- import "./chunk-EA5CE2UZ.mjs";
8
- import "./chunk-3HCCR54R.mjs";
6
+ } from "./chunk-H66WM5AO.mjs";
7
+ import "./chunk-QMGEK623.mjs";
8
+ import "./chunk-XCBDJPBD.mjs";
9
9
  import "./chunk-FTWKAJGN.mjs";
10
10
  import {
11
11
  HYPERCORE_CHAIN_ID,
package/dist/styles.css CHANGED
@@ -2572,6 +2572,18 @@
2572
2572
  border: 1px solid var(--rs-warning-border);
2573
2573
  }
2574
2574
 
2575
+ /* Served arrival expectation on the pending screen. Occupies the same slot as
2576
+ the delay Callout below, so crossing a delay threshold swaps this block's
2577
+ content instead of reflowing the screen above it. */
2578
+ .rs-pending-expectation {
2579
+ font-size: 13px;
2580
+ font-weight: 500;
2581
+ line-height: 16px;
2582
+ color: var(--rs-muted);
2583
+ text-align: center;
2584
+ margin: 0;
2585
+ }
2586
+
2575
2587
  /* Generic inline error / warning notice (Callout). Two-line truncation keeps
2576
2588
  long messages from blowing out the modal height. */
2577
2589
  .rs-callout {
@@ -4515,6 +4527,16 @@
4515
4527
  text-decoration: underline;
4516
4528
  }
4517
4529
 
4530
+ /* Timing stays in the disclosure footer so collapsed rows remain easy to scan.
4531
+ Delay severity is carried by the wording, not warning/error colour. */
4532
+ .rs-history-card-timing {
4533
+ padding-top: 4px;
4534
+ color: var(--rs-muted);
4535
+ font-size: 12px;
4536
+ font-weight: 500;
4537
+ line-height: 18px;
4538
+ }
4539
+
4518
4540
  /* Status badges */
4519
4541
  .rs-history-badge {
4520
4542
  display: inline-flex;
package/dist/withdraw.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk24N4KMJXcjs = require('./chunk-24N4KMJX.cjs');
4
- require('./chunk-H4O22O7Y.cjs');
5
- require('./chunk-5CM3ZQ5U.cjs');
3
+ var _chunk2W4BJ5I3cjs = require('./chunk-2W4BJ5I3.cjs');
4
+ require('./chunk-QGNJFDEO.cjs');
5
+ require('./chunk-JCWJ6HW7.cjs');
6
6
  require('./chunk-OY5N3E6L.cjs');
7
7
 
8
8
 
9
- exports.WithdrawModal = _chunk24N4KMJXcjs.WithdrawModal;
9
+ exports.WithdrawModal = _chunk2W4BJ5I3cjs.WithdrawModal;
package/dist/withdraw.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-HMB2XQGD.mjs";
4
- import "./chunk-EA5CE2UZ.mjs";
5
- import "./chunk-3HCCR54R.mjs";
3
+ } from "./chunk-ZHX4QROC.mjs";
4
+ import "./chunk-QMGEK623.mjs";
5
+ import "./chunk-XCBDJPBD.mjs";
6
6
  import "./chunk-EAGMY3QE.mjs";
7
7
  export {
8
8
  WithdrawModal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhinestone/deposit-modal",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "React modal component for Rhinestone cross-chain deposits",
5
5
  "author": "Rhinestone <dev@rhinestone.wtf>",
6
6
  "bugs": {
@@ -171,7 +171,7 @@
171
171
  {
172
172
  "name": "Total Bundle (Everything)",
173
173
  "path": "dist/index.mjs",
174
- "limit": "96.5 kB",
174
+ "limit": "97 kB",
175
175
  "ignore": [
176
176
  "react",
177
177
  "react-dom",
@@ -210,7 +210,7 @@
210
210
  "name": "Deposit & Withdraw Modals Only",
211
211
  "path": "dist/index.mjs",
212
212
  "import": "{ DepositModal, WithdrawModal }",
213
- "limit": "96 kB",
213
+ "limit": "96.5 kB",
214
214
  "ignore": [
215
215
  "react",
216
216
  "react-dom",
@@ -229,7 +229,7 @@
229
229
  {
230
230
  "name": "Withdraw Modal Only",
231
231
  "path": "dist/withdraw.mjs",
232
- "limit": "45 kB",
232
+ "limit": "45.5 kB",
233
233
  "ignore": [
234
234
  "react",
235
235
  "react-dom",
@@ -1,11 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
-
4
- var _chunk24N4KMJXcjs = require('./chunk-24N4KMJX.cjs');
5
- require('./chunk-H4O22O7Y.cjs');
6
- require('./chunk-5CM3ZQ5U.cjs');
7
- require('./chunk-OY5N3E6L.cjs');
8
-
9
-
10
-
11
- exports.WithdrawModal = _chunk24N4KMJXcjs.WithdrawModal; exports.buildWithdrawAnalyticsSessionProperties = _chunk24N4KMJXcjs.buildWithdrawAnalyticsSessionProperties;