@rhinestone/deposit-modal 0.12.2 → 0.13.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 (65) hide show
  1. package/README.md +30 -16
  2. package/dist/ClaimModal-CREZO27I.mjs +11 -0
  3. package/dist/ClaimModal-JRIA32U2.cjs +11 -0
  4. package/dist/{DepositModalReown-TEC3MEZ4.mjs → DepositModalReown-3H75G3XQ.mjs} +44 -22
  5. package/dist/{DepositModalReown-VG66OTIU.cjs → DepositModalReown-YNNHLAV2.cjs} +57 -35
  6. package/dist/{QRCode-WUC652SH.mjs → QRCode-5RGIZZHL.mjs} +1 -1
  7. package/dist/{QRCode-5DXFNKI2.cjs → QRCode-JKXG4RHN.cjs} +2 -2
  8. package/dist/WithdrawModal-NVRX44IZ.mjs +10 -0
  9. package/dist/WithdrawModal-YYSBPCJJ.cjs +10 -0
  10. package/dist/{chunk-OIN4CXCP.cjs → chunk-2G2EIN4A.cjs} +1510 -896
  11. package/dist/{chunk-O7BCVQ6L.cjs → chunk-4KCSH4T3.cjs} +157 -199
  12. package/dist/{chunk-TM7VGHAG.cjs → chunk-5NUIKYSF.cjs} +83 -209
  13. package/dist/{chunk-UQIJU6HV.cjs → chunk-7N77GIP4.cjs} +102 -88
  14. package/dist/{chunk-J46WDSRD.mjs → chunk-COCBCQQC.mjs} +121 -86
  15. package/dist/chunk-CVGNCUVU.cjs +154 -0
  16. package/dist/{chunk-SDSKIJC7.mjs → chunk-DSIZNRWA.mjs} +1540 -926
  17. package/dist/{chunk-75DVGSAX.cjs → chunk-DW2EQA2U.cjs} +6 -3
  18. package/dist/{chunk-FXXUIK4E.mjs → chunk-EOMT5LKX.mjs} +374 -151
  19. package/dist/chunk-FZ5FZFIG.mjs +31 -0
  20. package/dist/chunk-GACIGCSN.cjs +31 -0
  21. package/dist/{chunk-HL5NUKZW.cjs → chunk-HOGZKHHY.cjs} +3 -3
  22. package/dist/{chunk-FLVLYO64.mjs → chunk-LTMMETAB.mjs} +29 -15
  23. package/dist/{chunk-2TPSF77V.mjs → chunk-OLCD75JK.mjs} +20 -146
  24. package/dist/{chunk-PWLEBV5V.cjs → chunk-RAADLTSW.cjs} +240 -205
  25. package/dist/{chunk-4ZXQPFNU.mjs → chunk-RN5VKWI6.mjs} +4 -1
  26. package/dist/{chunk-3STTWRAN.mjs → chunk-VUATPOWJ.mjs} +147 -189
  27. package/dist/{chunk-JE4R5VA3.mjs → chunk-XYJFEN5D.mjs} +1 -1
  28. package/dist/chunk-YREVFB64.mjs +154 -0
  29. package/dist/{chunk-BRYNGLDM.cjs → chunk-ZMT4ATHR.cjs} +437 -214
  30. package/dist/claim.cjs +7 -6
  31. package/dist/claim.d.cts +11 -3
  32. package/dist/claim.d.ts +11 -3
  33. package/dist/claim.mjs +6 -5
  34. package/dist/{constants-FuzG3h4m.d.cts → constants-DBrWhJWE.d.cts} +12 -7
  35. package/dist/{constants-FuzG3h4m.d.ts → constants-DBrWhJWE.d.ts} +12 -7
  36. package/dist/constants.cjs +3 -9
  37. package/dist/constants.d.cts +2 -3
  38. package/dist/constants.d.ts +2 -3
  39. package/dist/constants.mjs +4 -10
  40. package/dist/deposit.cjs +8 -8
  41. package/dist/deposit.d.cts +2 -2
  42. package/dist/deposit.d.ts +2 -2
  43. package/dist/deposit.mjs +7 -7
  44. package/dist/embed.cjs +1268 -0
  45. package/dist/embed.d.cts +177 -0
  46. package/dist/embed.d.ts +177 -0
  47. package/dist/embed.mjs +1268 -0
  48. package/dist/index.cjs +11 -16
  49. package/dist/index.d.cts +3 -3
  50. package/dist/index.d.ts +3 -3
  51. package/dist/index.mjs +14 -19
  52. package/dist/modal-ui-state-OD1RmKkK.d.cts +30 -0
  53. package/dist/modal-ui-state-OD1RmKkK.d.ts +30 -0
  54. package/dist/polymarket.cjs +17 -7
  55. package/dist/polymarket.mjs +13 -3
  56. package/dist/styles.css +124 -98
  57. package/dist/{types-oFblf65g.d.ts → types-B89I8_8H.d.ts} +27 -1
  58. package/dist/{types-BO4iP6fG.d.cts → types-nnDR4tqA.d.cts} +27 -1
  59. package/dist/withdraw.cjs +6 -6
  60. package/dist/withdraw.d.cts +11 -3
  61. package/dist/withdraw.d.ts +11 -3
  62. package/dist/withdraw.mjs +5 -5
  63. package/package.json +33 -1
  64. package/dist/chunk-IAGFDSNC.mjs +0 -11
  65. package/dist/chunk-L32UI7LA.cjs +0 -11
package/dist/claim.cjs CHANGED
@@ -1,10 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkTM7VGHAGcjs = require('./chunk-TM7VGHAG.cjs');
4
- require('./chunk-HL5NUKZW.cjs');
5
- require('./chunk-BRYNGLDM.cjs');
6
- require('./chunk-L32UI7LA.cjs');
7
- require('./chunk-O7BCVQ6L.cjs');
3
+ var _chunk5NUIKYSFcjs = require('./chunk-5NUIKYSF.cjs');
4
+ require('./chunk-CVGNCUVU.cjs');
5
+ require('./chunk-HOGZKHHY.cjs');
6
+ require('./chunk-ZMT4ATHR.cjs');
7
+ require('./chunk-GACIGCSN.cjs');
8
+ require('./chunk-4KCSH4T3.cjs');
8
9
 
9
10
 
10
- exports.ClaimModal = _chunkTM7VGHAGcjs.ClaimModal;
11
+ exports.ClaimModal = _chunk5NUIKYSFcjs.ClaimModal;
package/dist/claim.d.cts CHANGED
@@ -1,9 +1,17 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-BO4iP6fG.cjs';
3
- export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-BO4iP6fG.cjs';
2
+ import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.cjs';
3
+ import { d as ClaimModalProps } from './types-nnDR4tqA.cjs';
4
+ export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-nnDR4tqA.cjs';
4
5
  import 'viem';
5
6
  import './caip-D8aRWdEY.cjs';
6
7
 
7
- declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, }: ClaimModalProps): react.JSX.Element;
8
+ /**
9
+ * Not part of `ClaimModalProps`: the native embed is the only consumer, and a
10
+ * published prop is immediately someone else's import.
11
+ */
12
+ interface ClaimModalInternalProps {
13
+ onUiState?: (state: ModalUiState) => void;
14
+ }
15
+ declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, onUiState, }: ClaimModalProps & ClaimModalInternalProps): react.JSX.Element;
8
16
 
9
17
  export { ClaimModal, ClaimModalProps };
package/dist/claim.d.ts CHANGED
@@ -1,9 +1,17 @@
1
1
  import * as react from 'react';
2
- import { d as ClaimModalProps } from './types-oFblf65g.js';
3
- export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-oFblf65g.js';
2
+ import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.js';
3
+ import { d as ClaimModalProps } from './types-B89I8_8H.js';
4
+ export { b as ClaimAnalyticsEvent, c as ClaimLifecycleEvent, E as ErrorEventData, s as RecoveryErrorCode, R as RpcUrlMap, S as SignRecovery, t as SignRecoveryPayload } from './types-B89I8_8H.js';
4
5
  import 'viem';
5
6
  import './caip-D8aRWdEY.js';
6
7
 
7
- declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, }: ClaimModalProps): react.JSX.Element;
8
+ /**
9
+ * Not part of `ClaimModalProps`: the native embed is the only consumer, and a
10
+ * published prop is immediately someone else's import.
11
+ */
12
+ interface ClaimModalInternalProps {
13
+ onUiState?: (state: ModalUiState) => void;
14
+ }
15
+ declare function ClaimModal({ signRecovery, isOpen, onClose, inline, closeOnOverlayClick, backendUrl, rpcUrls: rpcUrlsProp, defaultTxHash, defaultRefundDestination, theme, uiConfig, className, onReady, onLifecycle, onEvent, onError, debug, onUiState, }: ClaimModalProps & ClaimModalInternalProps): react.JSX.Element;
8
16
 
9
17
  export { ClaimModal, ClaimModalProps };
package/dist/claim.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  ClaimModal
3
- } from "./chunk-2TPSF77V.mjs";
4
- import "./chunk-JE4R5VA3.mjs";
5
- import "./chunk-FXXUIK4E.mjs";
6
- import "./chunk-IAGFDSNC.mjs";
7
- import "./chunk-3STTWRAN.mjs";
3
+ } from "./chunk-OLCD75JK.mjs";
4
+ import "./chunk-YREVFB64.mjs";
5
+ import "./chunk-XYJFEN5D.mjs";
6
+ import "./chunk-EOMT5LKX.mjs";
7
+ import "./chunk-FZ5FZFIG.mjs";
8
+ import "./chunk-VUATPOWJ.mjs";
8
9
  export {
9
10
  ClaimModal
10
11
  };
@@ -1,4 +1,3 @@
1
- import { Chain } from 'viem/chains';
2
1
  import { Address } from 'viem';
3
2
 
4
3
  declare function getChainIcon(chainId: number | "solana" | "hypercore"): string | undefined;
@@ -13,9 +12,14 @@ declare function tokenIconUrl(symbol: string): string;
13
12
  declare function getTokenIcon(symbol: string): string;
14
13
 
15
14
  declare const NATIVE_TOKEN_ADDRESS: Address;
16
- declare const CHAIN_BY_ID: Record<number, Chain>;
17
- declare const SOURCE_CHAINS: Chain[];
18
- declare const SUPPORTED_CHAINS: Chain[];
15
+ /**
16
+ * Source chains this release knows by name, in picker order.
17
+ *
18
+ * Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
19
+ * chain IS — its name, RPC, explorer, gas token — and this is only the
20
+ * curated subset with a bundled token matrix and display order.
21
+ */
22
+ declare const SUPPORTED_CHAIN_IDS: readonly number[];
19
23
  type ChainRegistryToken = {
20
24
  symbol: string;
21
25
  address: Address;
@@ -31,8 +35,9 @@ type SupportedTokenOption = {
31
35
  address: Address;
32
36
  decimals: number;
33
37
  };
34
- declare function getChainId(chain: Chain | number): number;
35
- declare function getChainObject(chain: Chain | number): Chain | undefined;
38
+ declare function getChainId(chain: {
39
+ id: number;
40
+ } | number): number;
36
41
  declare function getUsdcAddress(chainId: number): Address | undefined;
37
42
  declare function getUsdcDecimals(chainId: number): number;
38
43
  declare function getTokenAddress(symbol: string, chainId: number): Address | undefined;
@@ -55,4 +60,4 @@ declare function getExplorerUrl(chainId: number | "solana" | "hypercore"): strin
55
60
  declare function getExplorerTxUrl(chainId: number | "solana" | "hypercore", txHash: string): string | undefined;
56
61
  declare function getExplorerName(chainId: number | "solana" | "hypercore"): string;
57
62
 
58
- export { CHAIN_BY_ID as C, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, SUPPORTED_CHAINS as a, getChainIcon as b, chainRegistry as c, getChainId as d, getChainName as e, findChainIdForToken as f, getChainBadge as g, getChainObject as h, getExplorerName as i, getExplorerTxUrl as j, getExplorerUrl as k, getSupportedChainIds as l, getSupportedTargetTokens as m, getSupportedTokenSymbolsForChain as n, getTargetTokenSymbolsForChain as o, getTokenAddress as p, getTokenDecimals as q, getTokenDecimalsByAddress as r, getTokenIcon as s, getTokenSymbol as t, getUsdcAddress as u, getUsdcDecimals as v, isSupportedTokenAddressForChain as w, tokenIconUrl as x, type SupportedTokenOption as y };
63
+ export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, chainRegistry as c, getChainName as d, getExplorerName as e, findChainIdForToken as f, getChainBadge as g, getExplorerTxUrl as h, getExplorerUrl as i, getSupportedChainIds as j, getSupportedTargetTokens as k, getSupportedTokenSymbolsForChain as l, getTargetTokenSymbolsForChain as m, getTokenAddress as n, getTokenDecimals as o, getTokenDecimalsByAddress as p, getTokenIcon as q, getTokenSymbol as r, getUsdcAddress as s, getUsdcDecimals as t, isSupportedTokenAddressForChain as u, tokenIconUrl as v, type SupportedTokenOption as w };
@@ -1,4 +1,3 @@
1
- import { Chain } from 'viem/chains';
2
1
  import { Address } from 'viem';
3
2
 
4
3
  declare function getChainIcon(chainId: number | "solana" | "hypercore"): string | undefined;
@@ -13,9 +12,14 @@ declare function tokenIconUrl(symbol: string): string;
13
12
  declare function getTokenIcon(symbol: string): string;
14
13
 
15
14
  declare const NATIVE_TOKEN_ADDRESS: Address;
16
- declare const CHAIN_BY_ID: Record<number, Chain>;
17
- declare const SOURCE_CHAINS: Chain[];
18
- declare const SUPPORTED_CHAINS: Chain[];
15
+ /**
16
+ * Source chains this release knows by name, in picker order.
17
+ *
18
+ * Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
19
+ * chain IS — its name, RPC, explorer, gas token — and this is only the
20
+ * curated subset with a bundled token matrix and display order.
21
+ */
22
+ declare const SUPPORTED_CHAIN_IDS: readonly number[];
19
23
  type ChainRegistryToken = {
20
24
  symbol: string;
21
25
  address: Address;
@@ -31,8 +35,9 @@ type SupportedTokenOption = {
31
35
  address: Address;
32
36
  decimals: number;
33
37
  };
34
- declare function getChainId(chain: Chain | number): number;
35
- declare function getChainObject(chain: Chain | number): Chain | undefined;
38
+ declare function getChainId(chain: {
39
+ id: number;
40
+ } | number): number;
36
41
  declare function getUsdcAddress(chainId: number): Address | undefined;
37
42
  declare function getUsdcDecimals(chainId: number): number;
38
43
  declare function getTokenAddress(symbol: string, chainId: number): Address | undefined;
@@ -55,4 +60,4 @@ declare function getExplorerUrl(chainId: number | "solana" | "hypercore"): strin
55
60
  declare function getExplorerTxUrl(chainId: number | "solana" | "hypercore", txHash: string): string | undefined;
56
61
  declare function getExplorerName(chainId: number | "solana" | "hypercore"): string;
57
62
 
58
- export { CHAIN_BY_ID as C, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, SUPPORTED_CHAINS as a, getChainIcon as b, chainRegistry as c, getChainId as d, getChainName as e, findChainIdForToken as f, getChainBadge as g, getChainObject as h, getExplorerName as i, getExplorerTxUrl as j, getExplorerUrl as k, getSupportedChainIds as l, getSupportedTargetTokens as m, getSupportedTokenSymbolsForChain as n, getTargetTokenSymbolsForChain as o, getTokenAddress as p, getTokenDecimals as q, getTokenDecimalsByAddress as r, getTokenIcon as s, getTokenSymbol as t, getUsdcAddress as u, getUsdcDecimals as v, isSupportedTokenAddressForChain as w, tokenIconUrl as x, type SupportedTokenOption as y };
63
+ export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, chainRegistry as c, getChainName as d, getExplorerName as e, findChainIdForToken as f, getChainBadge as g, getExplorerTxUrl as h, getExplorerUrl as i, getSupportedChainIds as j, getSupportedTargetTokens as k, getSupportedTokenSymbolsForChain as l, getTargetTokenSymbolsForChain as m, getTokenAddress as n, getTokenDecimals as o, getTokenDecimalsByAddress as p, getTokenIcon as q, getTokenSymbol as r, getUsdcAddress as s, getUsdcDecimals as t, isSupportedTokenAddressForChain as u, tokenIconUrl as v, type SupportedTokenOption as w };
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkL32UI7LAcjs = require('./chunk-L32UI7LA.cjs');
3
+ var _chunkGACIGCSNcjs = require('./chunk-GACIGCSN.cjs');
4
4
 
5
5
 
6
6
 
@@ -32,10 +32,10 @@ var _chunkL32UI7LAcjs = require('./chunk-L32UI7LA.cjs');
32
32
 
33
33
 
34
34
 
35
+ var _chunk4KCSH4T3cjs = require('./chunk-4KCSH4T3.cjs');
35
36
 
36
37
 
37
38
 
38
- var _chunkO7BCVQ6Lcjs = require('./chunk-O7BCVQ6L.cjs');
39
39
 
40
40
 
41
41
 
@@ -65,10 +65,4 @@ var _chunkO7BCVQ6Lcjs = require('./chunk-O7BCVQ6L.cjs');
65
65
 
66
66
 
67
67
 
68
-
69
-
70
-
71
-
72
-
73
-
74
- exports.CHAIN_BY_ID = _chunkO7BCVQ6Lcjs.CHAIN_BY_ID; exports.HYPERCORE_CHAIN_ID = _chunkO7BCVQ6Lcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkO7BCVQ6Lcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkO7BCVQ6Lcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkL32UI7LAcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkO7BCVQ6Lcjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunkO7BCVQ6Lcjs.SOLANA_TOKENS; exports.SOURCE_CHAINS = _chunkO7BCVQ6Lcjs.SOURCE_CHAINS; exports.SUPPORTED_CHAINS = _chunkO7BCVQ6Lcjs.SUPPORTED_CHAINS; exports.chainRegistry = _chunkO7BCVQ6Lcjs.chainRegistry; exports.findChainIdForToken = _chunkO7BCVQ6Lcjs.findChainIdForToken; exports.getChainBadge = _chunkO7BCVQ6Lcjs.getChainBadge; exports.getChainIcon = _chunkO7BCVQ6Lcjs.getChainIcon; exports.getChainId = _chunkO7BCVQ6Lcjs.getChainId; exports.getChainName = _chunkO7BCVQ6Lcjs.getChainName; exports.getChainObject = _chunkO7BCVQ6Lcjs.getChainObject; exports.getExplorerName = _chunkO7BCVQ6Lcjs.getExplorerName; exports.getExplorerTxUrl = _chunkO7BCVQ6Lcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkO7BCVQ6Lcjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunkO7BCVQ6Lcjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunkO7BCVQ6Lcjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunkO7BCVQ6Lcjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunkO7BCVQ6Lcjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunkO7BCVQ6Lcjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunkO7BCVQ6Lcjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunkO7BCVQ6Lcjs.getTokenAddress; exports.getTokenDecimals = _chunkO7BCVQ6Lcjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunkO7BCVQ6Lcjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunkO7BCVQ6Lcjs.getTokenIcon; exports.getTokenSymbol = _chunkO7BCVQ6Lcjs.getTokenSymbol; exports.getUsdcAddress = _chunkO7BCVQ6Lcjs.getUsdcAddress; exports.getUsdcDecimals = _chunkO7BCVQ6Lcjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunkO7BCVQ6Lcjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunkO7BCVQ6Lcjs.tokenIconUrl;
68
+ exports.HYPERCORE_CHAIN_ID = _chunk4KCSH4T3cjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunk4KCSH4T3cjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunk4KCSH4T3cjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkGACIGCSNcjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunk4KCSH4T3cjs.NATIVE_TOKEN_ADDRESS; exports.SOLANA_TOKENS = _chunk4KCSH4T3cjs.SOLANA_TOKENS; exports.SUPPORTED_CHAIN_IDS = _chunk4KCSH4T3cjs.SUPPORTED_CHAIN_IDS; exports.chainRegistry = _chunk4KCSH4T3cjs.chainRegistry; exports.findChainIdForToken = _chunk4KCSH4T3cjs.findChainIdForToken; exports.getChainBadge = _chunk4KCSH4T3cjs.getChainBadge; exports.getChainIcon = _chunk4KCSH4T3cjs.getChainIcon; exports.getChainId = _chunk4KCSH4T3cjs.getChainId; exports.getChainName = _chunk4KCSH4T3cjs.getChainName; exports.getExplorerName = _chunk4KCSH4T3cjs.getExplorerName; exports.getExplorerTxUrl = _chunk4KCSH4T3cjs.getExplorerTxUrl; exports.getExplorerUrl = _chunk4KCSH4T3cjs.getExplorerUrl; exports.getSolanaTokenByMint = _chunk4KCSH4T3cjs.getSolanaTokenByMint; exports.getSolanaTokenBySymbol = _chunk4KCSH4T3cjs.getSolanaTokenBySymbol; exports.getSupportedChainIds = _chunk4KCSH4T3cjs.getSupportedChainIds; exports.getSupportedTargetTokens = _chunk4KCSH4T3cjs.getSupportedTargetTokens; exports.getSupportedTokenSymbolsForChain = _chunk4KCSH4T3cjs.getSupportedTokenSymbolsForChain; exports.getTargetTokenSymbolsForChain = _chunk4KCSH4T3cjs.getTargetTokenSymbolsForChain; exports.getTokenAddress = _chunk4KCSH4T3cjs.getTokenAddress; exports.getTokenDecimals = _chunk4KCSH4T3cjs.getTokenDecimals; exports.getTokenDecimalsByAddress = _chunk4KCSH4T3cjs.getTokenDecimalsByAddress; exports.getTokenIcon = _chunk4KCSH4T3cjs.getTokenIcon; exports.getTokenSymbol = _chunk4KCSH4T3cjs.getTokenSymbol; exports.getUsdcAddress = _chunk4KCSH4T3cjs.getUsdcAddress; exports.getUsdcDecimals = _chunk4KCSH4T3cjs.getUsdcDecimals; exports.isSupportedTokenAddressForChain = _chunk4KCSH4T3cjs.isSupportedTokenAddressForChain; exports.tokenIconUrl = _chunk4KCSH4T3cjs.tokenIconUrl;
@@ -1,9 +1,8 @@
1
- export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, y as SupportedTokenOption, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, b as getChainIcon, d as getChainId, e as getChainName, h as getChainObject, i as getExplorerName, j as getExplorerTxUrl, k as getExplorerUrl, l as getSupportedChainIds, m as getSupportedTargetTokens, n as getSupportedTokenSymbolsForChain, o as getTargetTokenSymbolsForChain, p as getTokenAddress, q as getTokenDecimals, r as getTokenDecimalsByAddress, s as getTokenIcon, t as getTokenSymbol, u as getUsdcAddress, v as getUsdcDecimals, w as isSupportedTokenAddressForChain, x as tokenIconUrl } from './constants-FuzG3h4m.cjs';
1
+ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, w as SupportedTokenOption, 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-DBrWhJWE.cjs';
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-D8aRWdEY.cjs';
3
- import 'viem/chains';
4
3
  import 'viem';
5
4
 
6
- declare const MODAL_VERSION = "0.12.2";
5
+ declare const MODAL_VERSION = "0.13.0";
7
6
 
8
7
  /**
9
8
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,9 +1,8 @@
1
- export { C as CHAIN_BY_ID, N as NATIVE_TOKEN_ADDRESS, S as SOURCE_CHAINS, a as SUPPORTED_CHAINS, y as SupportedTokenOption, c as chainRegistry, f as findChainIdForToken, g as getChainBadge, b as getChainIcon, d as getChainId, e as getChainName, h as getChainObject, i as getExplorerName, j as getExplorerTxUrl, k as getExplorerUrl, l as getSupportedChainIds, m as getSupportedTargetTokens, n as getSupportedTokenSymbolsForChain, o as getTargetTokenSymbolsForChain, p as getTokenAddress, q as getTokenDecimals, r as getTokenDecimalsByAddress, s as getTokenIcon, t as getTokenSymbol, u as getUsdcAddress, v as getUsdcDecimals, w as isSupportedTokenAddressForChain, x as tokenIconUrl } from './constants-FuzG3h4m.js';
1
+ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, w as SupportedTokenOption, 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-DBrWhJWE.js';
2
2
  export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-D8aRWdEY.js';
3
- import 'viem/chains';
4
3
  import 'viem';
5
4
 
6
- declare const MODAL_VERSION = "0.12.2";
5
+ declare const MODAL_VERSION = "0.13.0";
7
6
 
8
7
  /**
9
8
  * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
@@ -1,22 +1,19 @@
1
1
  import {
2
2
  MODAL_VERSION
3
- } from "./chunk-IAGFDSNC.mjs";
3
+ } from "./chunk-FZ5FZFIG.mjs";
4
4
  import {
5
- CHAIN_BY_ID,
6
5
  HYPERCORE_CHAIN_ID,
7
6
  HYPERCORE_SPOT_CAIP2,
8
7
  HYPERCORE_USDC_ADDRESS,
9
8
  NATIVE_TOKEN_ADDRESS,
10
9
  SOLANA_TOKENS,
11
- SOURCE_CHAINS,
12
- SUPPORTED_CHAINS,
10
+ SUPPORTED_CHAIN_IDS,
13
11
  chainRegistry,
14
12
  findChainIdForToken,
15
13
  getChainBadge,
16
14
  getChainIcon,
17
15
  getChainId,
18
16
  getChainName,
19
- getChainObject,
20
17
  getExplorerName,
21
18
  getExplorerTxUrl,
22
19
  getExplorerUrl,
@@ -35,24 +32,21 @@ import {
35
32
  getUsdcDecimals,
36
33
  isSupportedTokenAddressForChain,
37
34
  tokenIconUrl
38
- } from "./chunk-3STTWRAN.mjs";
35
+ } from "./chunk-VUATPOWJ.mjs";
39
36
  export {
40
- CHAIN_BY_ID,
41
37
  HYPERCORE_CHAIN_ID,
42
38
  HYPERCORE_SPOT_CAIP2,
43
39
  HYPERCORE_USDC_ADDRESS,
44
40
  MODAL_VERSION,
45
41
  NATIVE_TOKEN_ADDRESS,
46
42
  SOLANA_TOKENS,
47
- SOURCE_CHAINS,
48
- SUPPORTED_CHAINS,
43
+ SUPPORTED_CHAIN_IDS,
49
44
  chainRegistry,
50
45
  findChainIdForToken,
51
46
  getChainBadge,
52
47
  getChainIcon,
53
48
  getChainId,
54
49
  getChainName,
55
- getChainObject,
56
50
  getExplorerName,
57
51
  getExplorerTxUrl,
58
52
  getExplorerUrl,
package/dist/deposit.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOIN4CXCPcjs = require('./chunk-OIN4CXCP.cjs');
4
- require('./chunk-PWLEBV5V.cjs');
5
- require('./chunk-HL5NUKZW.cjs');
6
- require('./chunk-BRYNGLDM.cjs');
7
- require('./chunk-L32UI7LA.cjs');
8
- require('./chunk-75DVGSAX.cjs');
9
- require('./chunk-O7BCVQ6L.cjs');
3
+ var _chunk2G2EIN4Acjs = require('./chunk-2G2EIN4A.cjs');
4
+ require('./chunk-RAADLTSW.cjs');
5
+ require('./chunk-HOGZKHHY.cjs');
6
+ require('./chunk-ZMT4ATHR.cjs');
7
+ require('./chunk-GACIGCSN.cjs');
8
+ require('./chunk-DW2EQA2U.cjs');
9
+ require('./chunk-4KCSH4T3.cjs');
10
10
 
11
11
 
12
- exports.DepositModal = _chunkOIN4CXCPcjs.DepositModal;
12
+ exports.DepositModal = _chunk2G2EIN4Acjs.DepositModal;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-BO4iP6fG.cjs';
3
- export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-BO4iP6fG.cjs';
2
+ import { i as DepositModalProps } from './types-nnDR4tqA.cjs';
3
+ export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-nnDR4tqA.cjs';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.cjs';
6
6
 
package/dist/deposit.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { i as DepositModalProps } from './types-oFblf65g.js';
3
- export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-oFblf65g.js';
2
+ import { i as DepositModalProps } from './types-B89I8_8H.js';
3
+ export { A as AssetMigrationsConfig, a as AssetOption, e as ConnectedEventData, f as DepositCompleteEventData, g as DepositFailedEventData, j as DepositModalTheme, k as DepositModalUIConfig, l as DepositSubmittedEventData, E as ErrorEventData, F as FiatMethodsConfig, R as RpcUrlMap } from './types-B89I8_8H.js';
4
4
  import 'viem';
5
5
  import './caip-D8aRWdEY.js';
6
6
 
package/dist/deposit.mjs CHANGED
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-SDSKIJC7.mjs";
4
- import "./chunk-J46WDSRD.mjs";
5
- import "./chunk-JE4R5VA3.mjs";
6
- import "./chunk-FXXUIK4E.mjs";
7
- import "./chunk-IAGFDSNC.mjs";
8
- import "./chunk-4ZXQPFNU.mjs";
9
- import "./chunk-3STTWRAN.mjs";
3
+ } from "./chunk-DSIZNRWA.mjs";
4
+ import "./chunk-COCBCQQC.mjs";
5
+ import "./chunk-XYJFEN5D.mjs";
6
+ import "./chunk-EOMT5LKX.mjs";
7
+ import "./chunk-FZ5FZFIG.mjs";
8
+ import "./chunk-RN5VKWI6.mjs";
9
+ import "./chunk-VUATPOWJ.mjs";
10
10
  export {
11
11
  DepositModal
12
12
  };