@rhinestone/deposit-modal 0.19.0 → 0.20.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 (83) hide show
  1. package/README.md +151 -61
  2. package/dist/BankOnrampStep-JG32OCM2.mjs +435 -0
  3. package/dist/BankOnrampStep-NPGXAA7U.cjs +435 -0
  4. package/dist/{DepositModalReown-XBNY6QCI.mjs → DepositModalReown-3FGTPER6.mjs} +6 -5
  5. package/dist/{DepositModalReown-UITYXJ6W.cjs → DepositModalReown-ALVWADG7.cjs} +21 -20
  6. package/dist/WithdrawModal-5YWFJSYY.cjs +12 -0
  7. package/dist/WithdrawModal-LL4Z5WZP.mjs +12 -0
  8. package/dist/{bearer-transport-CVHNBgoV.d.cts → bearer-transport-DZyeDG64.d.cts} +5 -1
  9. package/dist/{bearer-transport-CVHNBgoV.d.ts → bearer-transport-DZyeDG64.d.ts} +5 -1
  10. package/dist/{caip-BMi-9t09.d.cts → caip-nwFFL46o.d.cts} +2 -2
  11. package/dist/{caip-BMi-9t09.d.ts → caip-nwFFL46o.d.ts} +2 -2
  12. package/dist/{chunk-NITKDXHR.mjs → chunk-247GJH57.mjs} +480 -272
  13. package/dist/{chunk-FTWKAJGN.mjs → chunk-2FOPO4N5.mjs} +1 -1
  14. package/dist/{chunk-5NWLS5BQ.mjs → chunk-32ERBFMO.mjs} +1432 -961
  15. package/dist/chunk-5QUWEFD4.mjs +19 -0
  16. package/dist/chunk-6CTJFR3T.mjs +113 -0
  17. package/dist/{chunk-X6N2XPTO.mjs → chunk-B2LZQIGB.mjs} +1 -1
  18. package/dist/{chunk-EG4H7OMC.cjs → chunk-BTEG2VNZ.cjs} +171 -130
  19. package/dist/{chunk-HMUGY66O.cjs → chunk-CXRH5MKO.cjs} +1502 -1031
  20. package/dist/chunk-E7IMWVMN.mjs +346 -0
  21. package/dist/{chunk-PYOC6K24.cjs → chunk-EKFXUF5A.cjs} +1 -1
  22. package/dist/chunk-FKJ6EJHH.cjs +346 -0
  23. package/dist/chunk-FMUSY563.cjs +19 -0
  24. package/dist/{chunk-LVCD6RHF.cjs → chunk-FVJKUTHF.cjs} +2 -2
  25. package/dist/chunk-G264OM23.cjs +224 -0
  26. package/dist/{chunk-BIL4ENC3.mjs → chunk-HP7S7AD6.mjs} +73 -32
  27. package/dist/{chunk-ISLVD5HQ.cjs → chunk-OPT5EW6L.cjs} +10 -5
  28. package/dist/chunk-PYRXOP2Y.cjs +113 -0
  29. package/dist/{chunk-ZGHVJ2XM.mjs → chunk-XBJCZYBX.mjs} +8 -3
  30. package/dist/chunk-YY4ZOAH5.mjs +224 -0
  31. package/dist/{chunk-OCWSMLOP.cjs → chunk-Z4RBTNKX.cjs} +980 -772
  32. package/dist/compliance.cjs +4 -7
  33. package/dist/compliance.d.cts +26 -3
  34. package/dist/compliance.d.ts +26 -3
  35. package/dist/compliance.mjs +6 -9
  36. package/dist/constants-BQDxVNgr.d.cts +29 -0
  37. package/dist/constants-DjGQW5N5.d.ts +29 -0
  38. package/dist/constants.cjs +3 -37
  39. package/dist/constants.d.cts +4 -20
  40. package/dist/constants.d.ts +4 -20
  41. package/dist/constants.mjs +4 -38
  42. package/dist/deposit.cjs +7 -6
  43. package/dist/deposit.d.cts +5 -3
  44. package/dist/deposit.d.ts +5 -3
  45. package/dist/deposit.mjs +6 -5
  46. package/dist/embed.cjs +21 -20
  47. package/dist/embed.d.cts +3 -2
  48. package/dist/embed.d.ts +3 -2
  49. package/dist/embed.mjs +7 -6
  50. package/dist/index.cjs +8 -35
  51. package/dist/index.d.cts +5 -3
  52. package/dist/index.d.ts +5 -3
  53. package/dist/index.mjs +9 -36
  54. package/dist/onramp.cjs +4 -33
  55. package/dist/onramp.d.cts +51 -33
  56. package/dist/onramp.d.ts +51 -33
  57. package/dist/onramp.mjs +5 -34
  58. package/dist/polymarket.cjs +6 -6
  59. package/dist/polymarket.mjs +2 -2
  60. package/dist/ramp-types-HYWd7CW0.d.cts +108 -0
  61. package/dist/ramp-types-HYWd7CW0.d.ts +108 -0
  62. package/dist/styles.css +255 -0
  63. package/dist/{types-BShYNpvO.d.cts → types-BxSrazbq.d.ts} +20 -2
  64. package/dist/{types-BOxa1DE-.d.ts → types-CixUBhrM.d.cts} +20 -2
  65. package/dist/withdraw.cjs +6 -5
  66. package/dist/withdraw.d.cts +4 -3
  67. package/dist/withdraw.d.ts +4 -3
  68. package/dist/withdraw.mjs +5 -4
  69. package/package.json +9 -17
  70. package/dist/WithdrawModal-DY6A55OA.mjs +0 -11
  71. package/dist/WithdrawModal-V42OK7L3.cjs +0 -11
  72. package/dist/chunk-ADEWTBSN.cjs +0 -19
  73. package/dist/chunk-EAGMY3QE.mjs +0 -962
  74. package/dist/chunk-OY5N3E6L.cjs +0 -962
  75. package/dist/chunk-PP4QE32S.mjs +0 -19
  76. package/dist/constants-BT4ctuHo.d.cts +0 -64
  77. package/dist/constants-D21ZdNOP.d.ts +0 -64
  78. package/dist/offramp.cjs +0 -25
  79. package/dist/offramp.d.cts +0 -28
  80. package/dist/offramp.d.ts +0 -28
  81. package/dist/offramp.mjs +0 -25
  82. package/dist/ramp-types-C6aUz4SZ.d.cts +0 -43
  83. package/dist/ramp-types-C6aUz4SZ.d.ts +0 -43
@@ -1,14 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkFMUSY563cjs = require('./chunk-FMUSY563.cjs');
3
4
 
4
- var _chunkISLVD5HQcjs = require('./chunk-ISLVD5HQ.cjs');
5
- require('./chunk-PYOC6K24.cjs');
6
5
 
7
- // src/core/compliance-service.ts
8
- function getComplianceStatus(options) {
9
- return _chunkISLVD5HQcjs.createBearerTransport.call(void 0, options)("/compliance/status");
10
- }
6
+ var _chunkOPT5EW6Lcjs = require('./chunk-OPT5EW6L.cjs');
7
+ require('./chunk-EKFXUF5A.cjs');
11
8
 
12
9
 
13
10
 
14
- exports.ScopedRequestError = _chunkISLVD5HQcjs.ScopedRequestError; exports.getComplianceStatus = getComplianceStatus;
11
+ exports.ScopedRequestError = _chunkOPT5EW6Lcjs.ScopedRequestError; exports.getComplianceStatus = _chunkFMUSY563cjs.getComplianceStatus;
@@ -1,9 +1,32 @@
1
- import { C as CustomerSessionOptions } from './bearer-transport-CVHNBgoV.cjs';
2
- export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-CVHNBgoV.cjs';
1
+ import { C as CustomerSessionOptions } from './bearer-transport-DZyeDG64.cjs';
2
+ export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-DZyeDG64.cjs';
3
3
 
4
+ /**
5
+ * Where the customer stands with the provider.
6
+ *
7
+ * `pending` covers both "submitted, provider deciding" and "provider asked for
8
+ * something more" — `verification.actionsRequired` is what distinguishes them,
9
+ * and a non-empty list means resuming the hosted flow will ask for it.
10
+ */
11
+ type ComplianceVerificationStatus = "not_started" | "pending" | "approved" | "declined";
4
12
  interface ComplianceStatus {
5
- status: "not_started";
13
+ status: ComplianceVerificationStatus;
6
14
  updatedAt: string;
15
+ /** Present once hosted verification has been started. Carries no identity data. */
16
+ verification?: {
17
+ actionsRequired: string[];
18
+ entities: {
19
+ entity: string;
20
+ status: "Pending" | "Approved" | "Declined";
21
+ model: string;
22
+ rejectType?: "Final" | "Retry";
23
+ }[];
24
+ agreements: {
25
+ name: string;
26
+ version: number;
27
+ accepted: boolean;
28
+ }[];
29
+ };
7
30
  }
8
31
  declare function getComplianceStatus(options: CustomerSessionOptions): Promise<ComplianceStatus>;
9
32
 
@@ -1,9 +1,32 @@
1
- import { C as CustomerSessionOptions } from './bearer-transport-CVHNBgoV.js';
2
- export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-CVHNBgoV.js';
1
+ import { C as CustomerSessionOptions } from './bearer-transport-DZyeDG64.js';
2
+ export { a as CustomerSession, S as ScopedRequestError } from './bearer-transport-DZyeDG64.js';
3
3
 
4
+ /**
5
+ * Where the customer stands with the provider.
6
+ *
7
+ * `pending` covers both "submitted, provider deciding" and "provider asked for
8
+ * something more" — `verification.actionsRequired` is what distinguishes them,
9
+ * and a non-empty list means resuming the hosted flow will ask for it.
10
+ */
11
+ type ComplianceVerificationStatus = "not_started" | "pending" | "approved" | "declined";
4
12
  interface ComplianceStatus {
5
- status: "not_started";
13
+ status: ComplianceVerificationStatus;
6
14
  updatedAt: string;
15
+ /** Present once hosted verification has been started. Carries no identity data. */
16
+ verification?: {
17
+ actionsRequired: string[];
18
+ entities: {
19
+ entity: string;
20
+ status: "Pending" | "Approved" | "Declined";
21
+ model: string;
22
+ rejectType?: "Final" | "Retry";
23
+ }[];
24
+ agreements: {
25
+ name: string;
26
+ version: number;
27
+ accepted: boolean;
28
+ }[];
29
+ };
7
30
  }
8
31
  declare function getComplianceStatus(options: CustomerSessionOptions): Promise<ComplianceStatus>;
9
32
 
@@ -1,13 +1,10 @@
1
1
  import {
2
- ScopedRequestError,
3
- createBearerTransport
4
- } from "./chunk-ZGHVJ2XM.mjs";
5
- import "./chunk-X6N2XPTO.mjs";
6
-
7
- // src/core/compliance-service.ts
8
- function getComplianceStatus(options) {
9
- return createBearerTransport(options)("/compliance/status");
10
- }
2
+ getComplianceStatus
3
+ } from "./chunk-5QUWEFD4.mjs";
4
+ import {
5
+ ScopedRequestError
6
+ } from "./chunk-XBJCZYBX.mjs";
7
+ import "./chunk-B2LZQIGB.mjs";
11
8
  export {
12
9
  ScopedRequestError,
13
10
  getComplianceStatus
@@ -0,0 +1,29 @@
1
+ import { D as DisplayChainId } from './caip-nwFFL46o.cjs';
2
+ import { Address } from 'viem';
3
+
4
+ declare function getChainIcon(chainId: DisplayChainId): string | undefined;
5
+
6
+ declare const NATIVE_TOKEN_ADDRESS: Address;
7
+ /**
8
+ * Source chains this release knows by name, in picker order.
9
+ *
10
+ * Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
11
+ * chain IS — its name, RPC, explorer, gas token — and which tokens it takes;
12
+ * this is only the curated subset with a display order.
13
+ */
14
+ declare const SUPPORTED_CHAIN_IDS: readonly number[];
15
+ declare function getChainId(chain: {
16
+ id: number;
17
+ } | number): number;
18
+ declare function getSupportedChainIds(): number[];
19
+ declare function getChainName(chainId: DisplayChainId): string;
20
+ declare function getChainBadge(chainId: DisplayChainId): {
21
+ shortLabel: string;
22
+ color: string;
23
+ bg: string;
24
+ };
25
+ declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
26
+ declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
27
+ declare function getExplorerName(chainId: DisplayChainId): string;
28
+
29
+ export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, getChainName as c, getExplorerName as d, getExplorerTxUrl as e, getExplorerUrl as f, getChainBadge as g, getSupportedChainIds as h };
@@ -0,0 +1,29 @@
1
+ import { D as DisplayChainId } from './caip-nwFFL46o.js';
2
+ import { Address } from 'viem';
3
+
4
+ declare function getChainIcon(chainId: DisplayChainId): string | undefined;
5
+
6
+ declare const NATIVE_TOKEN_ADDRESS: Address;
7
+ /**
8
+ * Source chains this release knows by name, in picker order.
9
+ *
10
+ * Ids, not viem `Chain` objects: `/chains` is the source of truth for what a
11
+ * chain IS — its name, RPC, explorer, gas token — and which tokens it takes;
12
+ * this is only the curated subset with a display order.
13
+ */
14
+ declare const SUPPORTED_CHAIN_IDS: readonly number[];
15
+ declare function getChainId(chain: {
16
+ id: number;
17
+ } | number): number;
18
+ declare function getSupportedChainIds(): number[];
19
+ declare function getChainName(chainId: DisplayChainId): string;
20
+ declare function getChainBadge(chainId: DisplayChainId): {
21
+ shortLabel: string;
22
+ color: string;
23
+ bg: string;
24
+ };
25
+ declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
26
+ declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
27
+ declare function getExplorerName(chainId: DisplayChainId): string;
28
+
29
+ export { NATIVE_TOKEN_ADDRESS as N, SUPPORTED_CHAIN_IDS as S, getChainIcon as a, getChainId as b, getChainName as c, getExplorerName as d, getExplorerTxUrl as e, getExplorerUrl as f, getChainBadge as g, getSupportedChainIds as h };
@@ -12,8 +12,10 @@
12
12
 
13
13
 
14
14
 
15
+ var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
15
16
 
16
17
 
18
+ var _chunkEKFXUF5Acjs = require('./chunk-EKFXUF5A.cjs');
17
19
 
18
20
 
19
21
 
@@ -29,40 +31,4 @@
29
31
 
30
32
 
31
33
 
32
- var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
33
-
34
-
35
- var _chunkPYOC6K24cjs = require('./chunk-PYOC6K24.cjs');
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
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 = _chunkPYOC6K24cjs.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;
34
+ exports.HYPERCORE_CHAIN_ID = _chunkFKJ6EJHHcjs.HYPERCORE_CHAIN_ID; exports.HYPERCORE_SPOT_CAIP2 = _chunkFKJ6EJHHcjs.HYPERCORE_SPOT_CAIP2; exports.HYPERCORE_USDC_ADDRESS = _chunkFKJ6EJHHcjs.HYPERCORE_USDC_ADDRESS; exports.MODAL_VERSION = _chunkEKFXUF5Acjs.MODAL_VERSION; exports.NATIVE_TOKEN_ADDRESS = _chunkFKJ6EJHHcjs.NATIVE_TOKEN_ADDRESS; exports.SUPPORTED_CHAIN_IDS = _chunkFKJ6EJHHcjs.SUPPORTED_CHAIN_IDS; exports.getChainBadge = _chunkFKJ6EJHHcjs.getChainBadge; exports.getChainIcon = _chunkFKJ6EJHHcjs.getChainIcon; exports.getChainId = _chunkFKJ6EJHHcjs.getChainId; exports.getChainName = _chunkFKJ6EJHHcjs.getChainName; exports.getExplorerName = _chunkFKJ6EJHHcjs.getExplorerName; exports.getExplorerTxUrl = _chunkFKJ6EJHHcjs.getExplorerTxUrl; exports.getExplorerUrl = _chunkFKJ6EJHHcjs.getExplorerUrl; exports.getSupportedChainIds = _chunkFKJ6EJHHcjs.getSupportedChainIds;
@@ -1,23 +1,7 @@
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-BT4ctuHo.cjs';
2
- export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-BMi-9t09.cjs';
1
+ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge, a as getChainIcon, b as getChainId, c as getChainName, d as getExplorerName, e as getExplorerTxUrl, f as getExplorerUrl, h as getSupportedChainIds } from './constants-BQDxVNgr.cjs';
2
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-nwFFL46o.cjs';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.19.0";
5
+ declare const MODAL_VERSION = "0.20.0";
6
6
 
7
- /**
8
- * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
9
- * can be imported from EVM code paths (e.g. `constants.ts`) without pulling
10
- * the heavy Solana runtime into EVM-only bundles. The web3.js-backed runtime
11
- * helpers (connections, transfers) live in `./solana`; import the token
12
- * registry directly from this module, never via `./solana`.
13
- */
14
- interface SolanaToken {
15
- symbol: string;
16
- mint: string;
17
- decimals: number;
18
- }
19
- declare const SOLANA_TOKENS: SolanaToken[];
20
- declare function getSolanaTokenBySymbol(symbol: string): SolanaToken | undefined;
21
- declare function getSolanaTokenByMint(mint: string): SolanaToken | undefined;
22
-
23
- export { MODAL_VERSION, SOLANA_TOKENS, type SolanaToken, getSolanaTokenByMint, getSolanaTokenBySymbol };
7
+ export { MODAL_VERSION };
@@ -1,23 +1,7 @@
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-D21ZdNOP.js';
2
- export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-BMi-9t09.js';
1
+ export { N as NATIVE_TOKEN_ADDRESS, S as SUPPORTED_CHAIN_IDS, g as getChainBadge, a as getChainIcon, b as getChainId, c as getChainName, d as getExplorerName, e as getExplorerTxUrl, f as getExplorerUrl, h as getSupportedChainIds } from './constants-DjGQW5N5.js';
2
+ export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-nwFFL46o.js';
3
3
  import 'viem';
4
4
 
5
- declare const MODAL_VERSION = "0.19.0";
5
+ declare const MODAL_VERSION = "0.20.0";
6
6
 
7
- /**
8
- * Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
9
- * can be imported from EVM code paths (e.g. `constants.ts`) without pulling
10
- * the heavy Solana runtime into EVM-only bundles. The web3.js-backed runtime
11
- * helpers (connections, transfers) live in `./solana`; import the token
12
- * registry directly from this module, never via `./solana`.
13
- */
14
- interface SolanaToken {
15
- symbol: string;
16
- mint: string;
17
- decimals: number;
18
- }
19
- declare const SOLANA_TOKENS: SolanaToken[];
20
- declare function getSolanaTokenBySymbol(symbol: string): SolanaToken | undefined;
21
- declare function getSolanaTokenByMint(mint: string): SolanaToken | undefined;
22
-
23
- export { MODAL_VERSION, SOLANA_TOKENS, type SolanaToken, getSolanaTokenByMint, getSolanaTokenBySymbol };
7
+ export { MODAL_VERSION };
@@ -3,10 +3,7 @@ import {
3
3
  HYPERCORE_SPOT_CAIP2,
4
4
  HYPERCORE_USDC_ADDRESS,
5
5
  NATIVE_TOKEN_ADDRESS,
6
- SOLANA_TOKENS,
7
6
  SUPPORTED_CHAIN_IDS,
8
- chainRegistry,
9
- findChainIdForToken,
10
7
  getChainBadge,
11
8
  getChainIcon,
12
9
  getChainId,
@@ -14,35 +11,18 @@ import {
14
11
  getExplorerName,
15
12
  getExplorerTxUrl,
16
13
  getExplorerUrl,
17
- getSolanaTokenByMint,
18
- getSolanaTokenBySymbol,
19
- getSupportedChainIds,
20
- getSupportedTargetTokens,
21
- getSupportedTokenSymbolsForChain,
22
- getTargetTokenSymbolsForChain,
23
- getTokenAddress,
24
- getTokenDecimals,
25
- getTokenDecimalsByAddress,
26
- getTokenIcon,
27
- getTokenSymbol,
28
- getUsdcAddress,
29
- getUsdcDecimals,
30
- isSupportedTokenAddressForChain,
31
- tokenIconUrl
32
- } from "./chunk-EAGMY3QE.mjs";
14
+ getSupportedChainIds
15
+ } from "./chunk-E7IMWVMN.mjs";
33
16
  import {
34
17
  MODAL_VERSION
35
- } from "./chunk-X6N2XPTO.mjs";
18
+ } from "./chunk-B2LZQIGB.mjs";
36
19
  export {
37
20
  HYPERCORE_CHAIN_ID,
38
21
  HYPERCORE_SPOT_CAIP2,
39
22
  HYPERCORE_USDC_ADDRESS,
40
23
  MODAL_VERSION,
41
24
  NATIVE_TOKEN_ADDRESS,
42
- SOLANA_TOKENS,
43
25
  SUPPORTED_CHAIN_IDS,
44
- chainRegistry,
45
- findChainIdForToken,
46
26
  getChainBadge,
47
27
  getChainIcon,
48
28
  getChainId,
@@ -50,19 +30,5 @@ export {
50
30
  getExplorerName,
51
31
  getExplorerTxUrl,
52
32
  getExplorerUrl,
53
- getSolanaTokenByMint,
54
- getSolanaTokenBySymbol,
55
- getSupportedChainIds,
56
- getSupportedTargetTokens,
57
- getSupportedTokenSymbolsForChain,
58
- getTargetTokenSymbolsForChain,
59
- getTokenAddress,
60
- getTokenDecimals,
61
- getTokenDecimalsByAddress,
62
- getTokenIcon,
63
- getTokenSymbol,
64
- getUsdcAddress,
65
- getUsdcDecimals,
66
- isSupportedTokenAddressForChain,
67
- tokenIconUrl
33
+ getSupportedChainIds
68
34
  };
package/dist/deposit.cjs CHANGED
@@ -1,10 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkOCWSMLOPcjs = require('./chunk-OCWSMLOP.cjs');
4
- require('./chunk-LVCD6RHF.cjs');
5
- require('./chunk-HMUGY66O.cjs');
6
- require('./chunk-OY5N3E6L.cjs');
7
- require('./chunk-PYOC6K24.cjs');
3
+ var _chunkZ4RBTNKXcjs = require('./chunk-Z4RBTNKX.cjs');
4
+ require('./chunk-FVJKUTHF.cjs');
5
+ require('./chunk-CXRH5MKO.cjs');
6
+ require('./chunk-G264OM23.cjs');
7
+ require('./chunk-FKJ6EJHH.cjs');
8
+ require('./chunk-EKFXUF5A.cjs');
8
9
 
9
10
 
10
- exports.DepositModal = _chunkOCWSMLOPcjs.DepositModal;
11
+ exports.DepositModal = _chunkZ4RBTNKXcjs.DepositModal;
@@ -1,7 +1,9 @@
1
1
  import * as react from 'react';
2
- import { O as DepositModalProps } from './types-BShYNpvO.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 PaymentConfig, a1 as RecoveryErrorCode, a2 as RpcUrlMap, a3 as SignRecovery, a4 as SignRecoveryPayload } from './types-BShYNpvO.cjs';
4
- import './caip-BMi-9t09.cjs';
2
+ import { P as DepositModalProps } from './types-CixUBhrM.cjs';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, 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, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CixUBhrM.cjs';
4
+ export { a as CustomerSession } from './bearer-transport-DZyeDG64.cjs';
5
+ export { R as RampCurrency } from './ramp-types-HYWd7CW0.cjs';
6
+ import './caip-nwFFL46o.cjs';
5
7
  import 'viem';
6
8
 
7
9
  declare function DepositModal(props: DepositModalProps): react.JSX.Element;
package/dist/deposit.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import * as react from 'react';
2
- import { O as DepositModalProps } from './types-BOxa1DE-.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 PaymentConfig, a1 as RecoveryErrorCode, a2 as RpcUrlMap, a3 as SignRecovery, a4 as SignRecoveryPayload } from './types-BOxa1DE-.js';
4
- import './caip-BMi-9t09.js';
2
+ import { P as DepositModalProps } from './types-BxSrazbq.js';
3
+ export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption, B as BankOnrampConfig, 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, E as DepositAnalyticsStep, F as DepositAnalyticsTransferStep, G as DepositAnalyticsUiOutcome, H as DepositAnalyticsWalletStep, I as DepositAssetMigrationMethodIdentifiers, J as DepositCompleteEventData, K as DepositExchangeConnectMethodIdentifiers, L as DepositFailedEventData, M as DepositFiatOnrampMethodIdentifiers, N as DepositFundingMethod, Q as DepositModalTheme, R as DepositModalUIConfig, S as DepositSubmittedEventData, T as DepositTransferHandoffIdentifiers, U as DepositWalletIntegration, V as DepositWalletMethodIdentifiers, W as ErrorEventData, X as FiatMethodsConfig, Y as HistoryAnalyticsBadge, Z as HistoryClaimEntrySource, _ as HistoryStatus, a1 as PaymentConfig, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-BxSrazbq.js';
4
+ export { a as CustomerSession } from './bearer-transport-DZyeDG64.js';
5
+ export { R as RampCurrency } from './ramp-types-HYWd7CW0.js';
6
+ import './caip-nwFFL46o.js';
5
7
  import 'viem';
6
8
 
7
9
  declare function DepositModal(props: DepositModalProps): react.JSX.Element;
package/dist/deposit.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  DepositModal
3
- } from "./chunk-NITKDXHR.mjs";
4
- import "./chunk-FTWKAJGN.mjs";
5
- import "./chunk-5NWLS5BQ.mjs";
6
- import "./chunk-EAGMY3QE.mjs";
7
- import "./chunk-X6N2XPTO.mjs";
3
+ } from "./chunk-247GJH57.mjs";
4
+ import "./chunk-2FOPO4N5.mjs";
5
+ import "./chunk-32ERBFMO.mjs";
6
+ import "./chunk-YY4ZOAH5.mjs";
7
+ import "./chunk-E7IMWVMN.mjs";
8
+ import "./chunk-B2LZQIGB.mjs";
8
9
  export {
9
10
  DepositModal
10
11
  };
package/dist/embed.cjs CHANGED
@@ -1,19 +1,20 @@
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 _chunkOCWSMLOPcjs = require('./chunk-OCWSMLOP.cjs');
4
- require('./chunk-LVCD6RHF.cjs');
3
+ var _chunkZ4RBTNKXcjs = require('./chunk-Z4RBTNKX.cjs');
4
+ require('./chunk-FVJKUTHF.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkHMUGY66Ocjs = require('./chunk-HMUGY66O.cjs');
8
+ var _chunkCXRH5MKOcjs = require('./chunk-CXRH5MKO.cjs');
9
+ require('./chunk-G264OM23.cjs');
9
10
 
10
11
 
11
12
 
12
- var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
13
+ var _chunkFKJ6EJHHcjs = require('./chunk-FKJ6EJHH.cjs');
13
14
 
14
15
 
15
16
 
16
- var _chunkPYOC6K24cjs = require('./chunk-PYOC6K24.cjs');
17
+ var _chunkEKFXUF5Acjs = require('./chunk-EKFXUF5A.cjs');
17
18
 
18
19
  // src/embed.tsx
19
20
  var _react = require('react');
@@ -677,7 +678,7 @@ function switchTargetChainId(params) {
677
678
  function syntheticChain(chainId) {
678
679
  return {
679
680
  id: chainId,
680
- name: _chunkOY5N3E6Lcjs.getChainName.call(void 0, chainId),
681
+ name: _chunkFKJ6EJHHcjs.getChainName.call(void 0, chainId),
681
682
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
682
683
  rpcUrls: { default: { http: [] } }
683
684
  };
@@ -691,7 +692,7 @@ function assertResultShape(method, result) {
691
692
  `${method}: ${detail}`
692
693
  )
693
694
  );
694
- throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkHMUGY66Ocjs.markSubmissionUncertain.call(void 0, error) : error;
695
+ throw SUBMITTING_WALLET_METHODS.includes(method) ? _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error) : error;
695
696
  };
696
697
  switch (method) {
697
698
  case "eth_sendTransaction":
@@ -743,7 +744,7 @@ function createBridgedWalletSession(options) {
743
744
  );
744
745
  } catch (error) {
745
746
  if (submitting && isBridgeRequestError(error) && error.code === -32603) {
746
- throw _chunkHMUGY66Ocjs.markSubmissionUncertain.call(void 0,
747
+ throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0,
747
748
  new BridgeRequestError(
748
749
  bridgeError(
749
750
  BridgeErrorCode.SUBMISSION_UNCERTAIN,
@@ -754,7 +755,7 @@ function createBridgedWalletSession(options) {
754
755
  );
755
756
  }
756
757
  if (submitting && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
757
- throw _chunkHMUGY66Ocjs.markSubmissionUncertain.call(void 0, error);
758
+ throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error);
758
759
  }
759
760
  throw error;
760
761
  }
@@ -795,7 +796,7 @@ function createBridgedWalletSession(options) {
795
796
  stateWaiters.delete(waiter);
796
797
  reject(
797
798
  new Error(
798
- `Switch to ${_nullishCoalesce(_optionalChain([resolveChain, 'call', _17 => _17(chainId), 'optionalAccess', _18 => _18.name]), () => ( _chunkOY5N3E6Lcjs.getChainName.call(void 0, chainId)))} in your wallet to continue`
799
+ `Switch to ${_nullishCoalesce(_optionalChain([resolveChain, 'call', _17 => _17(chainId), 'optionalAccess', _18 => _18.name]), () => ( _chunkFKJ6EJHHcjs.getChainName.call(void 0, chainId)))} in your wallet to continue`
799
800
  )
800
801
  );
801
802
  }, SWITCH_CONFIRMATION_TIMEOUT_MS);
@@ -873,7 +874,7 @@ async function connectToHost(options) {
873
874
  });
874
875
  const params = {
875
876
  protocol: PROTOCOL_VERSION,
876
- modalVersion: _chunkPYOC6K24cjs.MODAL_VERSION
877
+ modalVersion: _chunkEKFXUF5Acjs.MODAL_VERSION
877
878
  };
878
879
  let raw;
879
880
  try {
@@ -959,12 +960,12 @@ async function requestHostTransfer(transport, params) {
959
960
  );
960
961
  } catch (error) {
961
962
  if (error instanceof Error && isBridgeCode(error, BridgeErrorCode.SUBMISSION_UNCERTAIN)) {
962
- throw _chunkHMUGY66Ocjs.markSubmissionUncertain.call(void 0, error);
963
+ throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0, error);
963
964
  }
964
965
  throw error;
965
966
  }
966
967
  if (!isTxHash(_optionalChain([result, 'optionalAccess', _25 => _25.txHash]))) {
967
- throw _chunkHMUGY66Ocjs.markSubmissionUncertain.call(void 0,
968
+ throw _chunkCXRH5MKOcjs.markSubmissionUncertain.call(void 0,
968
969
  new Error(
969
970
  "The app did not return a transaction hash. Check your activity before trying again."
970
971
  )
@@ -1109,7 +1110,7 @@ var UNKNOWN_SCREEN = "unknown";
1109
1110
  // src/embed.tsx
1110
1111
  var _jsxruntime = require('react/jsx-runtime');
1111
1112
  var WithdrawModal = _react.lazy.call(void 0,
1112
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-V42OK7L3.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1113
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./WithdrawModal-5YWFJSYY.cjs"))).then((m) => ({ default: m.WithdrawModal }))
1113
1114
  );
1114
1115
  function missingField(config, keys) {
1115
1116
  const missing = keys.find(
@@ -1154,7 +1155,7 @@ function refusal(config, capabilities, channelScope) {
1154
1155
  ]);
1155
1156
  if (missing) return missing;
1156
1157
  const { targetChain } = config;
1157
- return _chunkOY5N3E6Lcjs.isTargetChain.call(void 0, targetChain) ? null : {
1158
+ return _chunkFKJ6EJHHcjs.isTargetChain.call(void 0, targetChain) ? null : {
1158
1159
  code: "EMBED_CONFIG_INVALID",
1159
1160
  message: `The app supplied a targetChain this page cannot resolve: ${JSON.stringify(targetChain)}.`
1160
1161
  };
@@ -1187,7 +1188,7 @@ function sanitizeConfig(config) {
1187
1188
  const bool = (value) => typeof value === "boolean" ? value : void 0;
1188
1189
  const arr = (value) => Array.isArray(value) ? value : void 0;
1189
1190
  const obj = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
1190
- const target = (value) => _chunkOY5N3E6Lcjs.isTargetChain.call(void 0, value) ? value : void 0;
1191
+ const target = (value) => _chunkFKJ6EJHHcjs.isTargetChain.call(void 0, value) ? value : void 0;
1191
1192
  return {
1192
1193
  // Raw, because it is the discriminant `refusal` switches on — anything
1193
1194
  // else has to reach it to be named in the error.
@@ -1338,11 +1339,11 @@ function DepositEmbed({ target, onFatal }) {
1338
1339
  _optionalChain([back, 'optionalCall', _33 => _33()]);
1339
1340
  return { handled: Boolean(back) };
1340
1341
  });
1341
- _chunkPYOC6K24cjs.setEmbedHost.call(void 0, next.hello.host);
1342
+ _chunkEKFXUF5Acjs.setEmbedHost.call(void 0, next.hello.host);
1342
1343
  setSession(next);
1343
1344
  setChannelScope(next.channelScope);
1344
1345
  setConfig(sanitizeConfig(next.hello.config));
1345
- void _chunkHMUGY66Ocjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1346
+ void _chunkCXRH5MKOcjs.primeRuntimeChains.call(void 0, next.hello.config.backendUrl).then((result) => {
1346
1347
  chains = result;
1347
1348
  });
1348
1349
  } catch (error) {
@@ -1352,7 +1353,7 @@ function DepositEmbed({ target, onFatal }) {
1352
1353
  return () => {
1353
1354
  live = false;
1354
1355
  _optionalChain([opened, 'optionalAccess', _36 => _36.close, 'call', _37 => _37()]);
1355
- _chunkPYOC6K24cjs.setEmbedHost.call(void 0, null);
1356
+ _chunkEKFXUF5Acjs.setEmbedHost.call(void 0, null);
1356
1357
  };
1357
1358
  }, [target]);
1358
1359
  const handleUiState = _react.useCallback.call(void 0,
@@ -1491,7 +1492,7 @@ function DepositEmbed({ target, onFatal }) {
1491
1492
  ) });
1492
1493
  }
1493
1494
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1494
- _chunkOCWSMLOPcjs.DepositModalInner,
1495
+ _chunkZ4RBTNKXcjs.DepositModalInner,
1495
1496
  {
1496
1497
  ...toModalProps(ready, canOpenExternally, walletWithheld),
1497
1498
  openExternally: canOpenExternally ? openExternally : void 0,
package/dist/embed.d.cts CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as react from 'react';
2
- import { d as TargetChain } from './caip-BMi-9t09.cjs';
3
- import { $ as OutputTokenRule, W as FiatMethodsConfig, d as AssetMigrationsConfig, P as DepositModalTheme, Q as DepositModalUIConfig } from './types-BShYNpvO.cjs';
2
+ import { d as TargetChain } from './caip-nwFFL46o.cjs';
3
+ import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-CixUBhrM.cjs';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
+ import './bearer-transport-DZyeDG64.cjs';
6
7
 
7
8
  interface SolanaWalletProvider {
8
9
  signAndSendTransaction(transaction: Transaction): Promise<string | {
package/dist/embed.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import * as react from 'react';
2
- import { d as TargetChain } from './caip-BMi-9t09.js';
3
- import { $ as OutputTokenRule, W as FiatMethodsConfig, d as AssetMigrationsConfig, P as DepositModalTheme, Q as DepositModalUIConfig } from './types-BOxa1DE-.js';
2
+ import { d as TargetChain } from './caip-nwFFL46o.js';
3
+ import { a0 as OutputTokenRule, X as FiatMethodsConfig, d as AssetMigrationsConfig, Q as DepositModalTheme, R as DepositModalUIConfig } from './types-BxSrazbq.js';
4
4
  import { WalletClient, PublicClient, Address } from 'viem';
5
5
  import { Transaction, Connection } from '@solana/web3.js';
6
+ import './bearer-transport-DZyeDG64.js';
6
7
 
7
8
  interface SolanaWalletProvider {
8
9
  signAndSendTransaction(transaction: Transaction): Promise<string | {