@rhinestone/deposit-modal 0.15.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.
Files changed (52) hide show
  1. package/README.md +22 -26
  2. package/dist/{DepositModalReown-R37SSHUF.cjs → DepositModalReown-6CXXGQ7X.cjs} +16 -17
  3. package/dist/{DepositModalReown-KOJ7VEY7.mjs → DepositModalReown-ELDSTIME.mjs} +3 -4
  4. package/dist/WithdrawModal-QB2U756L.cjs +11 -0
  5. package/dist/{WithdrawModal-QVXHMH43.mjs → WithdrawModal-QRMDR5T4.mjs} +3 -4
  6. package/dist/{chunk-DTVZUBHI.cjs → chunk-2W4BJ5I3.cjs} +71 -73
  7. package/dist/{chunk-IKUYZA7A.mjs → chunk-H66WM5AO.mjs} +33 -32
  8. package/dist/{chunk-5P2PVLS4.cjs → chunk-JCWJ6HW7.cjs} +1 -1
  9. package/dist/{chunk-3OOY67VJ.cjs → chunk-QGNJFDEO.cjs} +5143 -1882
  10. package/dist/{chunk-5VONFVQN.mjs → chunk-QMGEK623.mjs} +5146 -1885
  11. package/dist/{chunk-CXBMIZUF.mjs → chunk-XCBDJPBD.mjs} +1 -1
  12. package/dist/{chunk-VPDCGD2D.cjs → chunk-XJMDCBHS.cjs} +443 -442
  13. package/dist/{chunk-7UQ6OUEE.mjs → chunk-ZHX4QROC.mjs} +13 -15
  14. package/dist/constants.cjs +2 -2
  15. package/dist/constants.d.cts +1 -1
  16. package/dist/constants.d.ts +1 -1
  17. package/dist/constants.mjs +1 -1
  18. package/dist/deposit.cjs +4 -5
  19. package/dist/deposit.d.cts +2 -2
  20. package/dist/deposit.d.ts +2 -2
  21. package/dist/deposit.mjs +3 -4
  22. package/dist/embed.cjs +18 -59
  23. package/dist/embed.d.cts +2 -8
  24. package/dist/embed.d.ts +2 -8
  25. package/dist/embed.mjs +9 -50
  26. package/dist/index.cjs +5 -10
  27. package/dist/index.d.cts +1 -3
  28. package/dist/index.d.ts +1 -3
  29. package/dist/index.mjs +4 -9
  30. package/dist/server.d.cts +2 -2
  31. package/dist/server.d.ts +2 -2
  32. package/dist/styles.css +37 -0
  33. package/dist/{types-CQ0NHqCy.d.ts → types-B9SbZQIG.d.ts} +15 -113
  34. package/dist/{types-CxiLX5sv.d.cts → types-SwGGf0eH.d.cts} +15 -113
  35. package/dist/withdraw.cjs +4 -5
  36. package/dist/withdraw.d.cts +31 -3
  37. package/dist/withdraw.d.ts +31 -3
  38. package/dist/withdraw.mjs +3 -4
  39. package/package.json +6 -37
  40. package/dist/ClaimModal-GFDBVCN5.cjs +0 -11
  41. package/dist/ClaimModal-VQS3AKEL.mjs +0 -11
  42. package/dist/WithdrawModal-RY2NMFLE.cjs +0 -12
  43. package/dist/chunk-6HUHVXCY.cjs +0 -704
  44. package/dist/chunk-QJ7RCCU7.mjs +0 -704
  45. package/dist/chunk-UCBUCX2W.mjs +0 -3169
  46. package/dist/chunk-X4D52IZK.cjs +0 -3169
  47. package/dist/claim.cjs +0 -9
  48. package/dist/claim.d.cts +0 -17
  49. package/dist/claim.d.ts +0 -17
  50. package/dist/claim.mjs +0 -9
  51. package/dist/modal-ui-state-OD1RmKkK.d.cts +0 -30
  52. package/dist/modal-ui-state-OD1RmKkK.d.ts +0 -30
@@ -1,16 +1,3 @@
1
- import {
2
- HistoryEntryButton,
3
- HistoryOverlay,
4
- ProcessingStep,
5
- analyticsTargetProperties,
6
- createHistoryAnalytics,
7
- deriveAccountSalt,
8
- isHistoryEntryVisible,
9
- isSubmissionUncertain,
10
- useHistoryPanel,
11
- useTokenPrices,
12
- warnRemovedProps
13
- } from "./chunk-UCBUCX2W.mjs";
14
1
  import {
15
2
  AnalyticsSession,
16
3
  BodyHeader,
@@ -22,31 +9,42 @@ import {
22
9
  ChevronLeftIcon,
23
10
  CircleArrowOutUpLeftIcon,
24
11
  CloseIcon,
12
+ HistoryEntryButton,
13
+ HistoryOverlay,
25
14
  Modal,
26
15
  PoweredBy,
16
+ ProcessingStep,
27
17
  RpcUrlsProvider,
28
18
  Spinner,
29
19
  TokenIcon,
20
+ analyticsTargetProperties,
30
21
  applyTheme,
31
22
  checkBackendUrl,
32
23
  createDepositService,
24
+ createHistoryAnalytics,
33
25
  currencyFormatter,
34
26
  debugError,
35
27
  debugLog,
28
+ deriveAccountSalt,
36
29
  formatReceiveEstimate,
37
30
  formatTokenAmount,
38
31
  formatUserError,
39
32
  getAssetId,
33
+ isHistoryEntryVisible,
40
34
  isNativeAsset,
41
35
  isRecognizedToken,
36
+ isSubmissionUncertain,
42
37
  useDestinationChains,
38
+ useHistoryPanel,
43
39
  useLatestRef,
44
40
  useReadClient,
45
41
  useRpcUrls,
46
42
  useStableRpcUrls,
47
43
  useTargetTokens,
48
- useWithdrawAnalyticsEmitter
49
- } from "./chunk-5VONFVQN.mjs";
44
+ useTokenPrices,
45
+ useWithdrawAnalyticsEmitter,
46
+ warnRemovedProps
47
+ } from "./chunk-QMGEK623.mjs";
50
48
  import {
51
49
  NATIVE_TOKEN_ADDRESS,
52
50
  getChainIcon,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5P2PVLS4cjs = require('./chunk-5P2PVLS4.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 = _chunk5P2PVLS4cjs.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.15.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.15.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-CXBMIZUF.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,11 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVPDCGD2Dcjs = require('./chunk-VPDCGD2D.cjs');
4
- require('./chunk-X4D52IZK.cjs');
5
- require('./chunk-3OOY67VJ.cjs');
6
- require('./chunk-5P2PVLS4.cjs');
3
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
4
+ require('./chunk-QGNJFDEO.cjs');
5
+ require('./chunk-JCWJ6HW7.cjs');
7
6
  require('./chunk-LVCD6RHF.cjs');
8
7
  require('./chunk-OY5N3E6L.cjs');
9
8
 
10
9
 
11
- exports.DepositModal = _chunkVPDCGD2Dcjs.DepositModal;
10
+ exports.DepositModal = _chunkXJMDCBHScjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { Q as DepositModalProps } from './types-CxiLX5sv.cjs';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, r as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, s as DepositAnalyticsCloseSource, t as DepositAnalyticsCorrelator, u as DepositAnalyticsEvent, v as DepositAnalyticsEventPayload, w as DepositAnalyticsExchangeStep, x as DepositAnalyticsFailureReason, y as DepositAnalyticsFiatStep, z as DepositAnalyticsMigrationStep, B as DepositAnalyticsSessionProperties, E as DepositAnalyticsSharedStep, F as DepositAnalyticsStep, G as DepositAnalyticsTransferStep, H as DepositAnalyticsUiOutcome, I as DepositAnalyticsWalletStep, J as DepositAssetMigrationMethodIdentifiers, K as DepositCompleteEventData, L as DepositExchangeConnectMethodIdentifiers, M as DepositFailedEventData, N as DepositFiatOnrampMethodIdentifiers, O as DepositFundingMethod, R as DepositModalTheme, S as DepositModalUIConfig, T as DepositSubmittedEventData, U as DepositTransferHandoffIdentifiers, V as DepositWalletIntegration, W as DepositWalletMethodIdentifiers, X as ErrorEventData, Y as FiatMethodsConfig, Z as HistoryAnalyticsBadge, _ as HistoryClaimEntrySource, $ as HistoryStatus, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CxiLX5sv.cjs';
2
+ import { O as DepositModalProps } from './types-SwGGf0eH.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, B as DepositAnalyticsStep, E as DepositAnalyticsTransferStep, F as DepositAnalyticsUiOutcome, G as DepositAnalyticsWalletStep, H as DepositAssetMigrationMethodIdentifiers, I as DepositCompleteEventData, J as DepositExchangeConnectMethodIdentifiers, K as DepositFailedEventData, L as DepositFiatOnrampMethodIdentifiers, M as DepositFundingMethod, P as DepositModalTheme, Q as DepositModalUIConfig, R as DepositSubmittedEventData, S as DepositTransferHandoffIdentifiers, T as DepositWalletIntegration, U as DepositWalletMethodIdentifiers, V as ErrorEventData, W as FiatMethodsConfig, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload } from './types-SwGGf0eH.cjs';
4
4
  import './caip-BMi-9t09.cjs';
5
5
  import 'viem';
6
6
 
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { Q as DepositModalProps } from './types-CQ0NHqCy.js';
3
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, r as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, s as DepositAnalyticsCloseSource, t as DepositAnalyticsCorrelator, u as DepositAnalyticsEvent, v as DepositAnalyticsEventPayload, w as DepositAnalyticsExchangeStep, x as DepositAnalyticsFailureReason, y as DepositAnalyticsFiatStep, z as DepositAnalyticsMigrationStep, B as DepositAnalyticsSessionProperties, E as DepositAnalyticsSharedStep, F as DepositAnalyticsStep, G as DepositAnalyticsTransferStep, H as DepositAnalyticsUiOutcome, I as DepositAnalyticsWalletStep, J as DepositAssetMigrationMethodIdentifiers, K as DepositCompleteEventData, L as DepositExchangeConnectMethodIdentifiers, M as DepositFailedEventData, N as DepositFiatOnrampMethodIdentifiers, O as DepositFundingMethod, R as DepositModalTheme, S as DepositModalUIConfig, T as DepositSubmittedEventData, U as DepositTransferHandoffIdentifiers, V as DepositWalletIntegration, W as DepositWalletMethodIdentifiers, X as ErrorEventData, Y as FiatMethodsConfig, Z as HistoryAnalyticsBadge, _ as HistoryClaimEntrySource, $ as HistoryStatus, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CQ0NHqCy.js';
2
+ import { O as DepositModalProps } from './types-B9SbZQIG.js';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, B as DepositAnalyticsStep, E as DepositAnalyticsTransferStep, F as DepositAnalyticsUiOutcome, G as DepositAnalyticsWalletStep, H as DepositAssetMigrationMethodIdentifiers, I as DepositCompleteEventData, J as DepositExchangeConnectMethodIdentifiers, K as DepositFailedEventData, L as DepositFiatOnrampMethodIdentifiers, M as DepositFundingMethod, P as DepositModalTheme, Q as DepositModalUIConfig, R as DepositSubmittedEventData, S as DepositTransferHandoffIdentifiers, T as DepositWalletIntegration, U as DepositWalletMethodIdentifiers, V as ErrorEventData, W as FiatMethodsConfig, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload } from './types-B9SbZQIG.js';
4
4
  import './caip-BMi-9t09.js';
5
5
  import 'viem';
6
6
 
package/dist/deposit.mjs CHANGED
@@ -1,9 +1,8 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-IKUYZA7A.mjs";
4
- import "./chunk-UCBUCX2W.mjs";
5
- import "./chunk-5VONFVQN.mjs";
6
- import "./chunk-CXBMIZUF.mjs";
3
+ } from "./chunk-H66WM5AO.mjs";
4
+ import "./chunk-QMGEK623.mjs";
5
+ import "./chunk-XCBDJPBD.mjs";
7
6
  import "./chunk-FTWKAJGN.mjs";
8
7
  import "./chunk-EAGMY3QE.mjs";
9
8
  export {
package/dist/embed.cjs CHANGED
@@ -1,16 +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 _chunkVPDCGD2Dcjs = require('./chunk-VPDCGD2D.cjs');
3
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
4
4
 
5
5
 
6
- var _chunkX4D52IZKcjs = require('./chunk-X4D52IZK.cjs');
7
6
 
7
+ var _chunkQGNJFDEOcjs = require('./chunk-QGNJFDEO.cjs');
8
8
 
9
- var _chunk3OOY67VJcjs = require('./chunk-3OOY67VJ.cjs');
10
9
 
11
10
 
12
-
13
- var _chunk5P2PVLS4cjs = require('./chunk-5P2PVLS4.cjs');
11
+ var _chunkJCWJ6HW7cjs = require('./chunk-JCWJ6HW7.cjs');
14
12
  require('./chunk-LVCD6RHF.cjs');
15
13
 
16
14
 
@@ -32,7 +30,7 @@ var BRIDGE_METHOD = {
32
30
  WALLET_REQUEST: "wallet.request",
33
31
  /** Page→host: withdraw's transfer. Gated by `CAPABILITY.SEND_TRANSACTION`. */
34
32
  SEND_TRANSACTION: "host.sendTransaction",
35
- /** Page→host: claim's signature. Gated by `CAPABILITY.SIGN_RECOVERY`. */
33
+ /** Page→host: a recovery signature. Gated by `CAPABILITY.SIGN_RECOVERY`. */
36
34
  SIGN_RECOVERY: "host.signRecovery",
37
35
  /** Page→host: show a payment page outside the web view. Gated by
38
36
  * `CAPABILITY.OPEN_URL`. */
@@ -693,7 +691,7 @@ function assertResultShape(method, result) {
693
691
  `${method}: ${detail}`
694
692
  )
695
693
  );
696
- throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkX4D52IZKcjs.markSubmissionUncertain.call(void 0, error) : error;
694
+ throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error) : error;
697
695
  };
698
696
  switch (method) {
699
697
  case "eth_sendTransaction":
@@ -745,7 +743,7 @@ function createBridgedWalletSession(options) {
745
743
  );
746
744
  } catch (error) {
747
745
  if (submitting && isBridgeRequestError(error) && error.code === -32603) {
748
- throw _chunkX4D52IZKcjs.markSubmissionUncertain.call(void 0,
746
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0,
749
747
  new BridgeRequestError(
750
748
  bridgeError(
751
749
  BridgeErrorCode.SUBMISSION_UNCERTAIN,
@@ -756,7 +754,7 @@ function createBridgedWalletSession(options) {
756
754
  );
757
755
  }
758
756
  if (submitting && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
759
- throw _chunkX4D52IZKcjs.markSubmissionUncertain.call(void 0, error);
757
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error);
760
758
  }
761
759
  throw error;
762
760
  }
@@ -875,7 +873,7 @@ async function connectToHost(options) {
875
873
  });
876
874
  const params = {
877
875
  protocol: PROTOCOL_VERSION,
878
- modalVersion: _chunk5P2PVLS4cjs.MODAL_VERSION
876
+ modalVersion: _chunkJCWJ6HW7cjs.MODAL_VERSION
879
877
  };
880
878
  let raw;
881
879
  try {
@@ -961,12 +959,12 @@ async function requestHostTransfer(transport, params) {
961
959
  );
962
960
  } catch (error) {
963
961
  if (error instanceof Error && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
964
- throw _chunkX4D52IZKcjs.markSubmissionUncertain.call(void 0, error);
962
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0, error);
965
963
  }
966
964
  throw error;
967
965
  }
968
966
  if (!isTxHash(_optionalChain([result, 'optionalAccess', _25 => _25.txHash]))) {
969
- throw _chunkX4D52IZKcjs.markSubmissionUncertain.call(void 0,
967
+ throw _chunkQGNJFDEOcjs.markSubmissionUncertain.call(void 0,
970
968
  new Error(
971
969
  "The app did not return a transaction hash. Check your activity before trying again."
972
970
  )
@@ -1111,10 +1109,7 @@ var UNKNOWN_SCREEN = "unknown";
1111
1109
  // src/embed.tsx
1112
1110
  var _jsxruntime = require('react/jsx-runtime');
1113
1111
  var WithdrawModal = _react.lazy.call(void 0,
1114
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-RY2NMFLE.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1115
- );
1116
- var ClaimModal = _react.lazy.call(void 0,
1117
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./ClaimModal-GFDBVCN5.cjs"))).then((m) => ({ default: m.ClaimModal }))
1112
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-QB2U756L.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1118
1113
  );
1119
1114
  function missingField(config, keys) {
1120
1115
  const missing = keys.find(
@@ -1147,9 +1142,8 @@ function unscopedRefusal(mode) {
1147
1142
  };
1148
1143
  }
1149
1144
  function refusal(config, capabilities, channelScope) {
1150
- if (channelScope === "all-frames") {
1151
- if (config.mode === "withdraw") return unscopedRefusal("a withdrawal");
1152
- if (config.mode === "claim") return unscopedRefusal("a claim");
1145
+ if (channelScope === "all-frames" && config.mode === "withdraw") {
1146
+ return unscopedRefusal("a withdrawal");
1153
1147
  }
1154
1148
  switch (config.mode) {
1155
1149
  case "deposit": {
@@ -1180,15 +1174,6 @@ function refusal(config, capabilities, channelScope) {
1180
1174
  message: `The app supplied a ${badWithdrawField} this page cannot use.`
1181
1175
  } : null;
1182
1176
  }
1183
- case "claim": {
1184
- const capability = missingCapability(
1185
- capabilities,
1186
- CAPABILITY.SIGN_RECOVERY,
1187
- "a claim"
1188
- );
1189
- if (capability) return capability;
1190
- return missingField(config, ["backendUrl"]);
1191
- }
1192
1177
  default:
1193
1178
  return {
1194
1179
  code: "EMBED_MODE_UNSUPPORTED",
@@ -1239,9 +1224,7 @@ function sanitizeConfig(config) {
1239
1224
  theme: obj(config.theme),
1240
1225
  uiConfig: obj(config.uiConfig),
1241
1226
  debug: bool(config.debug),
1242
- accountAddress: str(config.accountAddress),
1243
- defaultTxHash: str(config.defaultTxHash),
1244
- defaultDestination: str(config.defaultDestination)
1227
+ accountAddress: str(config.accountAddress)
1245
1228
  };
1246
1229
  }
1247
1230
  function onrampUnavailable(config, capabilities) {
@@ -1355,11 +1338,11 @@ function DepositEmbed({ target, onFatal }) {
1355
1338
  _optionalChain([back, 'optionalCall', _33 => _33()]);
1356
1339
  return { handled: Boolean(back) };
1357
1340
  });
1358
- _chunk5P2PVLS4cjs.setEmbedHost.call(void 0, next.hello.host);
1341
+ _chunkJCWJ6HW7cjs.setEmbedHost.call(void 0, next.hello.host);
1359
1342
  setSession(next);
1360
1343
  setChannelScope(next.channelScope);
1361
1344
  setConfig(sanitizeConfig(next.hello.config));
1362
- void _chunk3OOY67VJcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1345
+ void _chunkQGNJFDEOcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1363
1346
  chains = result;
1364
1347
  });
1365
1348
  } catch (error) {
@@ -1369,7 +1352,7 @@ function DepositEmbed({ target, onFatal }) {
1369
1352
  return () => {
1370
1353
  live = false;
1371
1354
  _optionalChain([opened, 'optionalAccess', _36 => _36.close, 'call', _37 => _37()]);
1372
- _chunk5P2PVLS4cjs.setEmbedHost.call(void 0, null);
1355
+ _chunkJCWJ6HW7cjs.setEmbedHost.call(void 0, null);
1373
1356
  };
1374
1357
  }, [target]);
1375
1358
  const handleUiState = _react.useCallback.call(void 0,
@@ -1507,32 +1490,8 @@ function DepositEmbed({ target, onFatal }) {
1507
1490
  }
1508
1491
  ) });
1509
1492
  }
1510
- if (ready.mode === "claim") {
1511
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1512
- ClaimModal,
1513
- {
1514
- ...shared,
1515
- defaultTxHash: ready.defaultTxHash,
1516
- defaultRefundDestination: ready.defaultDestination,
1517
- signRecovery: async ({ chainId, signer, depositId, destination }) => {
1518
- await refuseIfUnscoped();
1519
- return await requestHostRecoverySignature(transport, {
1520
- chainId,
1521
- signer,
1522
- depositId,
1523
- destination
1524
- });
1525
- },
1526
- onUiState: handleUiState,
1527
- onLifecycle: (event) => {
1528
- if (event.type === "complete") completedRef.current = true;
1529
- transport.emit("lifecycle", event);
1530
- }
1531
- }
1532
- ) });
1533
- }
1534
1493
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1535
- _chunkVPDCGD2Dcjs.DepositModalInner,
1494
+ _chunkXJMDCBHScjs.DepositModalInner,
1536
1495
  {
1537
1496
  ...toModalProps(ready, canOpenExternally, walletWithheld),
1538
1497
  openExternally: canOpenExternally ? openExternally : void 0,
package/dist/embed.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { d as TargetChain } from './caip-BMi-9t09.cjs';
3
- import { a1 as OutputTokenRule, Y as FiatMethodsConfig, d as AssetMigrationsConfig, R as DepositModalTheme, S as DepositModalUIConfig } from './types-CxiLX5sv.cjs';
3
+ import { $ as OutputTokenRule, W as FiatMethodsConfig, d as AssetMigrationsConfig, P as DepositModalTheme, Q as DepositModalUIConfig } from './types-SwGGf0eH.cjs';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
6
 
@@ -87,7 +87,7 @@ type ChannelTarget = Record<string, unknown>;
87
87
  * app-store release, so it is a last resort rather than a versioning scheme.
88
88
  */
89
89
 
90
- type EmbedMode = "deposit" | "withdraw" | "claim";
90
+ type EmbedMode = "deposit" | "withdraw";
91
91
  /**
92
92
  * Every prop that survives a JSON hop. Names match the React props 1:1 on
93
93
  * purpose — this is a transport, not a redesign, and a renamed field is a
@@ -164,12 +164,6 @@ interface EmbedConfig {
164
164
  debug?: boolean;
165
165
  /** Withdraw only. */
166
166
  accountAddress?: string;
167
- /** Claim only: prefills the lookup form. */
168
- defaultTxHash?: string;
169
- /** Claim only: seeds the refund destination, which the user can still edit.
170
- * Deliberately never defaulted to the deposit's sender — returning funds to
171
- * an exchange hot wallet can lose them. */
172
- defaultDestination?: string;
173
167
  }
174
168
 
175
169
  interface DepositEmbedProps {
package/dist/embed.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { d as TargetChain } from './caip-BMi-9t09.js';
3
- import { a1 as OutputTokenRule, Y as FiatMethodsConfig, d as AssetMigrationsConfig, R as DepositModalTheme, S as DepositModalUIConfig } from './types-CQ0NHqCy.js';
3
+ import { $ as OutputTokenRule, W as FiatMethodsConfig, d as AssetMigrationsConfig, P as DepositModalTheme, Q as DepositModalUIConfig } from './types-B9SbZQIG.js';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
6
 
@@ -87,7 +87,7 @@ type ChannelTarget = Record<string, unknown>;
87
87
  * app-store release, so it is a last resort rather than a versioning scheme.
88
88
  */
89
89
 
90
- type EmbedMode = "deposit" | "withdraw" | "claim";
90
+ type EmbedMode = "deposit" | "withdraw";
91
91
  /**
92
92
  * Every prop that survives a JSON hop. Names match the React props 1:1 on
93
93
  * purpose — this is a transport, not a redesign, and a renamed field is a
@@ -164,12 +164,6 @@ interface EmbedConfig {
164
164
  debug?: boolean;
165
165
  /** Withdraw only. */
166
166
  accountAddress?: string;
167
- /** Claim only: prefills the lookup form. */
168
- defaultTxHash?: string;
169
- /** Claim only: seeds the refund destination, which the user can still edit.
170
- * Deliberately never defaulted to the deposit's sender — returning funds to
171
- * an exchange hot wallet can lose them. */
172
- defaultDestination?: string;
173
167
  }
174
168
 
175
169
  interface DepositEmbedProps {
package/dist/embed.mjs CHANGED
@@ -1,16 +1,14 @@
1
1
  import {
2
2
  DepositModalInner
3
- } from "./chunk-IKUYZA7A.mjs";
4
- import {
5
- markSubmissionUncertain
6
- } from "./chunk-UCBUCX2W.mjs";
3
+ } from "./chunk-H66WM5AO.mjs";
7
4
  import {
5
+ markSubmissionUncertain,
8
6
  primeRuntimeChains
9
- } from "./chunk-5VONFVQN.mjs";
7
+ } from "./chunk-QMGEK623.mjs";
10
8
  import {
11
9
  MODAL_VERSION,
12
10
  setEmbedHost
13
- } from "./chunk-CXBMIZUF.mjs";
11
+ } from "./chunk-XCBDJPBD.mjs";
14
12
  import "./chunk-FTWKAJGN.mjs";
15
13
  import {
16
14
  getChainName,
@@ -32,7 +30,7 @@ var BRIDGE_METHOD = {
32
30
  WALLET_REQUEST: "wallet.request",
33
31
  /** Page→host: withdraw's transfer. Gated by `CAPABILITY.SEND_TRANSACTION`. */
34
32
  SEND_TRANSACTION: "host.sendTransaction",
35
- /** Page→host: claim's signature. Gated by `CAPABILITY.SIGN_RECOVERY`. */
33
+ /** Page→host: a recovery signature. Gated by `CAPABILITY.SIGN_RECOVERY`. */
36
34
  SIGN_RECOVERY: "host.signRecovery",
37
35
  /** Page→host: show a payment page outside the web view. Gated by
38
36
  * `CAPABILITY.OPEN_URL`. */
@@ -1111,10 +1109,7 @@ var UNKNOWN_SCREEN = "unknown";
1111
1109
  // src/embed.tsx
1112
1110
  import { jsx } from "react/jsx-runtime";
1113
1111
  var WithdrawModal = lazy(
1114
- () => import("./WithdrawModal-QVXHMH43.mjs").then((m) => ({ default: m.WithdrawModal }))
1115
- );
1116
- var ClaimModal = lazy(
1117
- () => import("./ClaimModal-VQS3AKEL.mjs").then((m) => ({ default: m.ClaimModal }))
1112
+ () => import("./WithdrawModal-QRMDR5T4.mjs").then((m) => ({ default: m.WithdrawModal }))
1118
1113
  );
1119
1114
  function missingField(config, keys) {
1120
1115
  const missing = keys.find(
@@ -1147,9 +1142,8 @@ function unscopedRefusal(mode) {
1147
1142
  };
1148
1143
  }
1149
1144
  function refusal(config, capabilities, channelScope) {
1150
- if (channelScope === "all-frames") {
1151
- if (config.mode === "withdraw") return unscopedRefusal("a withdrawal");
1152
- if (config.mode === "claim") return unscopedRefusal("a claim");
1145
+ if (channelScope === "all-frames" && config.mode === "withdraw") {
1146
+ return unscopedRefusal("a withdrawal");
1153
1147
  }
1154
1148
  switch (config.mode) {
1155
1149
  case "deposit": {
@@ -1180,15 +1174,6 @@ function refusal(config, capabilities, channelScope) {
1180
1174
  message: `The app supplied a ${badWithdrawField} this page cannot use.`
1181
1175
  } : null;
1182
1176
  }
1183
- case "claim": {
1184
- const capability = missingCapability(
1185
- capabilities,
1186
- CAPABILITY.SIGN_RECOVERY,
1187
- "a claim"
1188
- );
1189
- if (capability) return capability;
1190
- return missingField(config, ["backendUrl"]);
1191
- }
1192
1177
  default:
1193
1178
  return {
1194
1179
  code: "EMBED_MODE_UNSUPPORTED",
@@ -1239,9 +1224,7 @@ function sanitizeConfig(config) {
1239
1224
  theme: obj(config.theme),
1240
1225
  uiConfig: obj(config.uiConfig),
1241
1226
  debug: bool(config.debug),
1242
- accountAddress: str(config.accountAddress),
1243
- defaultTxHash: str(config.defaultTxHash),
1244
- defaultDestination: str(config.defaultDestination)
1227
+ accountAddress: str(config.accountAddress)
1245
1228
  };
1246
1229
  }
1247
1230
  function onrampUnavailable(config, capabilities) {
@@ -1507,30 +1490,6 @@ function DepositEmbed({ target, onFatal }) {
1507
1490
  }
1508
1491
  ) });
1509
1492
  }
1510
- if (ready.mode === "claim") {
1511
- return /* @__PURE__ */ jsx(Suspense, { fallback: null, children: /* @__PURE__ */ jsx(
1512
- ClaimModal,
1513
- {
1514
- ...shared,
1515
- defaultTxHash: ready.defaultTxHash,
1516
- defaultRefundDestination: ready.defaultDestination,
1517
- signRecovery: async ({ chainId, signer, depositId, destination }) => {
1518
- await refuseIfUnscoped();
1519
- return await requestHostRecoverySignature(transport, {
1520
- chainId,
1521
- signer,
1522
- depositId,
1523
- destination
1524
- });
1525
- },
1526
- onUiState: handleUiState,
1527
- onLifecycle: (event) => {
1528
- if (event.type === "complete") completedRef.current = true;
1529
- transport.emit("lifecycle", event);
1530
- }
1531
- }
1532
- ) });
1533
- }
1534
1493
  return /* @__PURE__ */ jsx(
1535
1494
  DepositModalInner,
1536
1495
  {
package/dist/index.cjs CHANGED
@@ -1,15 +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 _chunkDTVZUBHIcjs = require('./chunk-DTVZUBHI.cjs');
3
+ var _chunk2W4BJ5I3cjs = require('./chunk-2W4BJ5I3.cjs');
4
4
 
5
5
 
6
- var _chunk6HUHVXCYcjs = require('./chunk-6HUHVXCY.cjs');
7
-
8
-
9
- var _chunkVPDCGD2Dcjs = require('./chunk-VPDCGD2D.cjs');
10
- require('./chunk-X4D52IZK.cjs');
11
- require('./chunk-3OOY67VJ.cjs');
12
- require('./chunk-5P2PVLS4.cjs');
6
+ var _chunkXJMDCBHScjs = require('./chunk-XJMDCBHS.cjs');
7
+ require('./chunk-QGNJFDEO.cjs');
8
+ require('./chunk-JCWJ6HW7.cjs');
13
9
  require('./chunk-LVCD6RHF.cjs');
14
10
 
15
11
 
@@ -97,5 +93,4 @@ async function disconnectWallet() {
97
93
 
98
94
 
99
95
 
100
-
101
- exports.ClaimModal = _chunk6HUHVXCYcjs.ClaimModal; exports.DepositModal = _chunkVPDCGD2Dcjs.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 = _chunkDTVZUBHIcjs.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.d.cts CHANGED
@@ -1,12 +1,10 @@
1
1
  export { DepositModal } from './deposit.cjs';
2
2
  export { WithdrawModal } from './withdraw.cjs';
3
- export { ClaimModal } from './claim.cjs';
4
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ClaimLifecycleEvent, q as ClaimModalProps, r as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, s as DepositAnalyticsCloseSource, t as DepositAnalyticsCorrelator, u as DepositAnalyticsEvent, v as DepositAnalyticsEventPayload, w as DepositAnalyticsExchangeStep, x as DepositAnalyticsFailureReason, y as DepositAnalyticsFiatStep, z as DepositAnalyticsMigrationStep, B as DepositAnalyticsSessionProperties, E as DepositAnalyticsSharedStep, F as DepositAnalyticsStep, G as DepositAnalyticsTransferStep, H as DepositAnalyticsUiOutcome, I as DepositAnalyticsWalletStep, J as DepositAssetMigrationMethodIdentifiers, K as DepositCompleteEventData, L as DepositExchangeConnectMethodIdentifiers, M as DepositFailedEventData, N as DepositFiatOnrampMethodIdentifiers, O as DepositFundingMethod, P as DepositLifecycleEvent, Q as DepositModalProps, R as DepositModalTheme, S as DepositModalUIConfig, T as DepositSubmittedEventData, U as DepositTransferHandoffIdentifiers, V as DepositWalletIntegration, W as DepositWalletMethodIdentifiers, X as ErrorEventData, Y as FiatMethodsConfig, Z as HistoryAnalyticsBadge, _ as HistoryClaimEntrySource, $ as HistoryStatus, a0 as ModalAnalyticsEvent, a1 as OutputTokenRule, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as WithdrawAnalyticsAbandonmentReason, a7 as WithdrawAnalyticsCloseSource, a8 as WithdrawAnalyticsEvent, a9 as WithdrawAnalyticsEventPayload, aa as WithdrawAnalyticsFailureReason, ab as WithdrawAnalyticsSessionProperties, ac as WithdrawAnalyticsStep, ad as WithdrawAnalyticsUiOutcome, ae as WithdrawCompleteEventData, af as WithdrawFailedEventData, ag as WithdrawLifecycleEvent, ah as WithdrawModalProps, ai as WithdrawSubmittedEventData, aj as WithdrawTransferRequest } from './types-CxiLX5sv.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, B as DepositAnalyticsStep, E as DepositAnalyticsTransferStep, F as DepositAnalyticsUiOutcome, G as DepositAnalyticsWalletStep, H as DepositAssetMigrationMethodIdentifiers, I as DepositCompleteEventData, J as DepositExchangeConnectMethodIdentifiers, K as DepositFailedEventData, L as DepositFiatOnrampMethodIdentifiers, M as DepositFundingMethod, N as DepositLifecycleEvent, O as DepositModalProps, P as DepositModalTheme, Q as DepositModalUIConfig, R as DepositSubmittedEventData, S as DepositTransferHandoffIdentifiers, T as DepositWalletIntegration, U as DepositWalletMethodIdentifiers, V as ErrorEventData, W as FiatMethodsConfig, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, _ as ModalAnalyticsEvent, $ as OutputTokenRule, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload, a4 as WithdrawAnalyticsAbandonmentReason, a5 as WithdrawAnalyticsCloseSource, a6 as WithdrawAnalyticsEvent, a7 as WithdrawAnalyticsEventPayload, a8 as WithdrawAnalyticsFailureReason, a9 as WithdrawAnalyticsSessionProperties, aa as WithdrawAnalyticsStep, ab as WithdrawAnalyticsUiOutcome, ac as WithdrawCompleteEventData, ad as WithdrawFailedEventData, ae as WithdrawLifecycleEvent, af as WithdrawModalProps, ag as WithdrawSubmittedEventData, ah as WithdrawTransferRequest } from './types-SwGGf0eH.cjs';
5
4
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.cjs';
6
5
  export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, a as getChainIcon, b as getChainId, d as getChainName, e as getExplorerName, h as getExplorerTxUrl, i as getExplorerUrl, j as getSupportedChainIds, k as getSupportedTargetTokens, l as getSupportedTokenSymbolsForChain, m as getTargetTokenSymbolsForChain, n as getTokenAddress, o as getTokenDecimals, p as getTokenDecimalsByAddress, q as getTokenIcon, r as getTokenSymbol, s as getUsdcAddress, t as getUsdcDecimals, u as isSupportedTokenAddressForChain, v as tokenIconUrl } from './constants-BT4ctuHo.cjs';
7
6
  export { D as DisplayChainId, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, S as STELLAR_PUBNET_CAIP2, T as TRON_MAINNET_CAIP2, d as TargetChain } from './caip-BMi-9t09.cjs';
8
7
  import 'react';
9
- import './modal-ui-state-OD1RmKkK.cjs';
10
8
  import 'viem';
11
9
 
12
10
  /**
package/dist/index.d.ts CHANGED
@@ -1,12 +1,10 @@
1
1
  export { DepositModal } from './deposit.js';
2
2
  export { WithdrawModal } from './withdraw.js';
3
- export { ClaimModal } from './claim.js';
4
- export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ClaimLifecycleEvent, q as ClaimModalProps, r as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, s as DepositAnalyticsCloseSource, t as DepositAnalyticsCorrelator, u as DepositAnalyticsEvent, v as DepositAnalyticsEventPayload, w as DepositAnalyticsExchangeStep, x as DepositAnalyticsFailureReason, y as DepositAnalyticsFiatStep, z as DepositAnalyticsMigrationStep, B as DepositAnalyticsSessionProperties, E as DepositAnalyticsSharedStep, F as DepositAnalyticsStep, G as DepositAnalyticsTransferStep, H as DepositAnalyticsUiOutcome, I as DepositAnalyticsWalletStep, J as DepositAssetMigrationMethodIdentifiers, K as DepositCompleteEventData, L as DepositExchangeConnectMethodIdentifiers, M as DepositFailedEventData, N as DepositFiatOnrampMethodIdentifiers, O as DepositFundingMethod, P as DepositLifecycleEvent, Q as DepositModalProps, R as DepositModalTheme, S as DepositModalUIConfig, T as DepositSubmittedEventData, U as DepositTransferHandoffIdentifiers, V as DepositWalletIntegration, W as DepositWalletMethodIdentifiers, X as ErrorEventData, Y as FiatMethodsConfig, Z as HistoryAnalyticsBadge, _ as HistoryClaimEntrySource, $ as HistoryStatus, a0 as ModalAnalyticsEvent, a1 as OutputTokenRule, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload, a6 as WithdrawAnalyticsAbandonmentReason, a7 as WithdrawAnalyticsCloseSource, a8 as WithdrawAnalyticsEvent, a9 as WithdrawAnalyticsEventPayload, aa as WithdrawAnalyticsFailureReason, ab as WithdrawAnalyticsSessionProperties, ac as WithdrawAnalyticsStep, ad as WithdrawAnalyticsUiOutcome, ae as WithdrawCompleteEventData, af as WithdrawFailedEventData, ag as WithdrawLifecycleEvent, ah as WithdrawModalProps, ai as WithdrawSubmittedEventData, aj as WithdrawTransferRequest } from './types-CQ0NHqCy.js';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, C as ChainId, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as ClaimAnalyticsCorrelation, i as ClaimAnalyticsEntrySource, j as ClaimAnalyticsEvent, k as ClaimAnalyticsEventPayload, l as ClaimAnalyticsFailureReason, m as ClaimAnalyticsSessionProperties, n as ClaimAnalyticsStep, o as ClaimAnalyticsUiOutcome, p as ConnectedEventData, D as DepositAnalyticsAbandonmentReason, q as DepositAnalyticsCloseSource, r as DepositAnalyticsCorrelator, s as DepositAnalyticsEvent, t as DepositAnalyticsEventPayload, u as DepositAnalyticsExchangeStep, v as DepositAnalyticsFailureReason, w as DepositAnalyticsFiatStep, x as DepositAnalyticsMigrationStep, y as DepositAnalyticsSessionProperties, z as DepositAnalyticsSharedStep, B as DepositAnalyticsStep, E as DepositAnalyticsTransferStep, F as DepositAnalyticsUiOutcome, G as DepositAnalyticsWalletStep, H as DepositAssetMigrationMethodIdentifiers, I as DepositCompleteEventData, J as DepositExchangeConnectMethodIdentifiers, K as DepositFailedEventData, L as DepositFiatOnrampMethodIdentifiers, M as DepositFundingMethod, N as DepositLifecycleEvent, O as DepositModalProps, P as DepositModalTheme, Q as DepositModalUIConfig, R as DepositSubmittedEventData, S as DepositTransferHandoffIdentifiers, T as DepositWalletIntegration, U as DepositWalletMethodIdentifiers, V as ErrorEventData, W as FiatMethodsConfig, X as HistoryAnalyticsBadge, Y as HistoryClaimEntrySource, Z as HistoryStatus, _ as ModalAnalyticsEvent, $ as OutputTokenRule, a0 as RecoveryErrorCode, a1 as RpcUrlMap, a2 as SignRecovery, a3 as SignRecoveryPayload, a4 as WithdrawAnalyticsAbandonmentReason, a5 as WithdrawAnalyticsCloseSource, a6 as WithdrawAnalyticsEvent, a7 as WithdrawAnalyticsEventPayload, a8 as WithdrawAnalyticsFailureReason, a9 as WithdrawAnalyticsSessionProperties, aa as WithdrawAnalyticsStep, ab as WithdrawAnalyticsUiOutcome, ac as WithdrawCompleteEventData, ad as WithdrawFailedEventData, ae as WithdrawLifecycleEvent, af as WithdrawModalProps, ag as WithdrawSubmittedEventData, ah as WithdrawTransferRequest } from './types-B9SbZQIG.js';
5
4
  export { PolymarketAccount, PolymarketTokenBalance } from './polymarket.js';
6
5
  export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, a as getChainIcon, b as getChainId, d as getChainName, e as getExplorerName, h as getExplorerTxUrl, i as getExplorerUrl, j as getSupportedChainIds, k as getSupportedTargetTokens, l as getSupportedTokenSymbolsForChain, m as getTargetTokenSymbolsForChain, n as getTokenAddress, o as getTokenDecimals, p as getTokenDecimalsByAddress, q as getTokenIcon, r as getTokenSymbol, s as getUsdcAddress, t as getUsdcDecimals, u as isSupportedTokenAddressForChain, v as tokenIconUrl } from './constants-D21ZdNOP.js';
7
6
  export { D as DisplayChainId, H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS, c as HYPERCORE_USDT0_ADDRESS, S as STELLAR_PUBNET_CAIP2, T as TRON_MAINNET_CAIP2, d as TargetChain } from './caip-BMi-9t09.js';
8
7
  import 'react';
9
- import './modal-ui-state-OD1RmKkK.js';
10
8
  import 'viem';
11
9
 
12
10
  /**
package/dist/index.mjs CHANGED
@@ -1,15 +1,11 @@
1
1
  import {
2
2
  WithdrawModal
3
- } from "./chunk-7UQ6OUEE.mjs";
4
- import {
5
- ClaimModal
6
- } from "./chunk-QJ7RCCU7.mjs";
3
+ } from "./chunk-ZHX4QROC.mjs";
7
4
  import {
8
5
  DepositModal
9
- } from "./chunk-IKUYZA7A.mjs";
10
- import "./chunk-UCBUCX2W.mjs";
11
- import "./chunk-5VONFVQN.mjs";
12
- import "./chunk-CXBMIZUF.mjs";
6
+ } from "./chunk-H66WM5AO.mjs";
7
+ import "./chunk-QMGEK623.mjs";
8
+ import "./chunk-XCBDJPBD.mjs";
13
9
  import "./chunk-FTWKAJGN.mjs";
14
10
  import {
15
11
  HYPERCORE_CHAIN_ID,
@@ -64,7 +60,6 @@ async function disconnectWallet() {
64
60
  await modal.disconnect();
65
61
  }
66
62
  export {
67
- ClaimModal,
68
63
  DepositModal,
69
64
  HYPERCORE_CHAIN_ID,
70
65
  HYPERCORE_SPOT_CAIP2,