@rhinestone/deposit-modal 0.14.1 → 0.15.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.
- package/README.md +6 -0
- package/bridge-transcript.json +14 -0
- package/dist/ClaimModal-GFDBVCN5.cjs +11 -0
- package/dist/ClaimModal-VQS3AKEL.mjs +11 -0
- package/dist/{DepositModalReown-2EVV64OA.mjs → DepositModalReown-KOJ7VEY7.mjs} +6 -7
- package/dist/{DepositModalReown-GAD45GIC.cjs → DepositModalReown-R37SSHUF.cjs} +21 -22
- package/dist/WithdrawModal-QVXHMH43.mjs +12 -0
- package/dist/WithdrawModal-RY2NMFLE.cjs +12 -0
- package/dist/{caip-D8aRWdEY.d.cts → caip-BMi-9t09.d.cts} +27 -3
- package/dist/{caip-D8aRWdEY.d.ts → caip-BMi-9t09.d.ts} +27 -3
- package/dist/{chunk-HAQOFI3D.cjs → chunk-3OOY67VJ.cjs} +1046 -226
- package/dist/{chunk-AQVJUXSG.cjs → chunk-5P2PVLS4.cjs} +1 -1
- package/dist/{chunk-UX35GYLM.mjs → chunk-5VONFVQN.mjs} +918 -98
- package/dist/chunk-6HUHVXCY.cjs +704 -0
- package/dist/{chunk-GZ4GQ5MC.mjs → chunk-7UQ6OUEE.mjs} +166 -45
- package/dist/{chunk-LMG46EP2.mjs → chunk-CXBMIZUF.mjs} +1 -1
- package/dist/{chunk-A6JPBMYY.cjs → chunk-DTVZUBHI.cjs} +236 -115
- package/dist/{chunk-VUATPOWJ.mjs → chunk-EAGMY3QE.mjs} +74 -17
- package/dist/{chunk-RN5VKWI6.mjs → chunk-FTWKAJGN.mjs} +1 -1
- package/dist/{chunk-5Q5CSVKF.mjs → chunk-IKUYZA7A.mjs} +195 -495
- package/dist/{chunk-DW2EQA2U.cjs → chunk-LVCD6RHF.cjs} +2 -2
- package/dist/{chunk-4KCSH4T3.cjs → chunk-OY5N3E6L.cjs} +86 -29
- package/dist/chunk-QJ7RCCU7.mjs +704 -0
- package/dist/{chunk-XCTRKCNM.mjs → chunk-UCBUCX2W.mjs} +1515 -194
- package/dist/{chunk-NQMC5VKQ.cjs → chunk-VPDCGD2D.cjs} +552 -852
- package/dist/{chunk-4J5ADVIN.cjs → chunk-X4D52IZK.cjs} +1496 -175
- package/dist/claim.cjs +5 -7
- package/dist/claim.d.cts +3 -3
- package/dist/claim.d.ts +3 -3
- package/dist/claim.mjs +4 -6
- package/dist/{constants-DBrWhJWE.d.cts → constants-BT4ctuHo.d.cts} +7 -6
- package/dist/{constants-DBrWhJWE.d.ts → constants-D21ZdNOP.d.ts} +7 -6
- package/dist/constants.cjs +3 -3
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants.mjs +2 -2
- package/dist/deposit.cjs +7 -8
- package/dist/deposit.d.cts +3 -3
- package/dist/deposit.d.ts +3 -3
- package/dist/deposit.mjs +6 -7
- package/dist/embed.cjs +135 -44
- package/dist/embed.d.cts +2 -2
- package/dist/embed.d.ts +2 -2
- package/dist/embed.mjs +116 -25
- package/dist/index.cjs +13 -11
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +12 -10
- package/dist/polymarket.cjs +6 -6
- package/dist/polymarket.mjs +2 -2
- package/dist/styles.css +132 -100
- package/dist/{types-DP_3KwlD.d.cts → types-CQ0NHqCy.d.ts} +146 -11
- package/dist/{types-Bho4OA03.d.ts → types-CxiLX5sv.d.cts} +146 -11
- package/dist/withdraw.cjs +6 -6
- package/dist/withdraw.d.cts +4 -4
- package/dist/withdraw.d.ts +4 -4
- package/dist/withdraw.mjs +5 -5
- package/package.json +6 -6
- package/dist/ClaimModal-GDFENSLV.mjs +0 -13
- package/dist/ClaimModal-L3FUBI5U.cjs +0 -13
- package/dist/WithdrawModal-FAQH35NG.cjs +0 -12
- package/dist/WithdrawModal-IKUHF5CF.mjs +0 -12
- package/dist/chunk-62UCV2LG.cjs +0 -81
- package/dist/chunk-7AZFT2MV.cjs +0 -163
- package/dist/chunk-QACOOLOE.mjs +0 -1062
- package/dist/chunk-R5UQ3TN4.mjs +0 -81
- package/dist/chunk-VALXN5IO.mjs +0 -163
- package/dist/chunk-YP7QVKQ6.cjs +0 -1062
package/dist/claim.cjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-AQVJUXSG.cjs');
|
|
8
|
-
require('./chunk-4KCSH4T3.cjs');
|
|
3
|
+
var _chunk6HUHVXCYcjs = require('./chunk-6HUHVXCY.cjs');
|
|
4
|
+
require('./chunk-3OOY67VJ.cjs');
|
|
5
|
+
require('./chunk-5P2PVLS4.cjs');
|
|
6
|
+
require('./chunk-OY5N3E6L.cjs');
|
|
9
7
|
|
|
10
8
|
|
|
11
|
-
exports.ClaimModal =
|
|
9
|
+
exports.ClaimModal = _chunk6HUHVXCYcjs.ClaimModal;
|
package/dist/claim.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.cjs';
|
|
3
|
-
import {
|
|
4
|
-
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as
|
|
3
|
+
import { q as ClaimModalProps } from './types-CxiLX5sv.cjs';
|
|
4
|
+
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, 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, X as ErrorEventData, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CxiLX5sv.cjs';
|
|
5
|
+
import './caip-BMi-9t09.cjs';
|
|
5
6
|
import 'viem';
|
|
6
|
-
import './caip-D8aRWdEY.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Not part of `ClaimModalProps`: the native embed is the only consumer, and a
|
package/dist/claim.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { M as ModalUiState } from './modal-ui-state-OD1RmKkK.js';
|
|
3
|
-
import {
|
|
4
|
-
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, f as ClaimAnalyticsAbandonmentReason, g as ClaimAnalyticsCloseSource, h as
|
|
3
|
+
import { q as ClaimModalProps } from './types-CQ0NHqCy.js';
|
|
4
|
+
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, 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, X as ErrorEventData, a2 as RecoveryErrorCode, a3 as RpcUrlMap, a4 as SignRecovery, a5 as SignRecoveryPayload } from './types-CQ0NHqCy.js';
|
|
5
|
+
import './caip-BMi-9t09.js';
|
|
5
6
|
import 'viem';
|
|
6
|
-
import './caip-D8aRWdEY.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Not part of `ClaimModalProps`: the native embed is the only consumer, and a
|
package/dist/claim.mjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClaimModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-LMG46EP2.mjs";
|
|
8
|
-
import "./chunk-VUATPOWJ.mjs";
|
|
3
|
+
} from "./chunk-QJ7RCCU7.mjs";
|
|
4
|
+
import "./chunk-5VONFVQN.mjs";
|
|
5
|
+
import "./chunk-CXBMIZUF.mjs";
|
|
6
|
+
import "./chunk-EAGMY3QE.mjs";
|
|
9
7
|
export {
|
|
10
8
|
ClaimModal
|
|
11
9
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { D as DisplayChainId } from './caip-BMi-9t09.cjs';
|
|
1
2
|
import { Address } from 'viem';
|
|
2
3
|
|
|
3
|
-
declare function getChainIcon(chainId:
|
|
4
|
+
declare function getChainIcon(chainId: DisplayChainId): string | undefined;
|
|
4
5
|
declare function tokenIconUrl(symbol: string): string;
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated Use {@link tokenIconUrl} and render via `<TokenIcon>` (or your own
|
|
@@ -50,14 +51,14 @@ declare function getSupportedTargetTokens(chainId: number): SupportedTokenOption
|
|
|
50
51
|
declare function getTokenDecimalsByAddress(token: Address, chainId?: number): number;
|
|
51
52
|
declare function findChainIdForToken(address: Address): number | undefined;
|
|
52
53
|
declare function getTokenSymbol(token: Address, chainId?: number): string;
|
|
53
|
-
declare function getChainName(chainId:
|
|
54
|
-
declare function getChainBadge(chainId:
|
|
54
|
+
declare function getChainName(chainId: DisplayChainId): string;
|
|
55
|
+
declare function getChainBadge(chainId: DisplayChainId): {
|
|
55
56
|
shortLabel: string;
|
|
56
57
|
color: string;
|
|
57
58
|
bg: string;
|
|
58
59
|
};
|
|
59
|
-
declare function getExplorerUrl(chainId:
|
|
60
|
-
declare function getExplorerTxUrl(chainId:
|
|
61
|
-
declare function getExplorerName(chainId:
|
|
60
|
+
declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
|
|
61
|
+
declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
|
|
62
|
+
declare function getExplorerName(chainId: DisplayChainId): string;
|
|
62
63
|
|
|
63
64
|
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,7 @@
|
|
|
1
|
+
import { D as DisplayChainId } from './caip-BMi-9t09.js';
|
|
1
2
|
import { Address } from 'viem';
|
|
2
3
|
|
|
3
|
-
declare function getChainIcon(chainId:
|
|
4
|
+
declare function getChainIcon(chainId: DisplayChainId): string | undefined;
|
|
4
5
|
declare function tokenIconUrl(symbol: string): string;
|
|
5
6
|
/**
|
|
6
7
|
* @deprecated Use {@link tokenIconUrl} and render via `<TokenIcon>` (or your own
|
|
@@ -50,14 +51,14 @@ declare function getSupportedTargetTokens(chainId: number): SupportedTokenOption
|
|
|
50
51
|
declare function getTokenDecimalsByAddress(token: Address, chainId?: number): number;
|
|
51
52
|
declare function findChainIdForToken(address: Address): number | undefined;
|
|
52
53
|
declare function getTokenSymbol(token: Address, chainId?: number): string;
|
|
53
|
-
declare function getChainName(chainId:
|
|
54
|
-
declare function getChainBadge(chainId:
|
|
54
|
+
declare function getChainName(chainId: DisplayChainId): string;
|
|
55
|
+
declare function getChainBadge(chainId: DisplayChainId): {
|
|
55
56
|
shortLabel: string;
|
|
56
57
|
color: string;
|
|
57
58
|
bg: string;
|
|
58
59
|
};
|
|
59
|
-
declare function getExplorerUrl(chainId:
|
|
60
|
-
declare function getExplorerTxUrl(chainId:
|
|
61
|
-
declare function getExplorerName(chainId:
|
|
60
|
+
declare function getExplorerUrl(chainId: DisplayChainId): string | undefined;
|
|
61
|
+
declare function getExplorerTxUrl(chainId: DisplayChainId, txHash: string): string | undefined;
|
|
62
|
+
declare function getExplorerName(chainId: DisplayChainId): string;
|
|
62
63
|
|
|
63
64
|
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 };
|
package/dist/constants.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5P2PVLS4cjs = require('./chunk-5P2PVLS4.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ var _chunkAQVJUXSGcjs = require('./chunk-AQVJUXSG.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkOY5N3E6Lcjs = require('./chunk-OY5N3E6L.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -65,4 +65,4 @@ var _chunk4KCSH4T3cjs = require('./chunk-4KCSH4T3.cjs');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
exports.HYPERCORE_CHAIN_ID =
|
|
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;
|
package/dist/constants.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
2
|
-
export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-
|
|
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';
|
|
3
3
|
import 'viem';
|
|
4
4
|
|
|
5
|
-
declare const MODAL_VERSION = "0.
|
|
5
|
+
declare const MODAL_VERSION = "0.15.0";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
2
|
-
export { H as HYPERCORE_CHAIN_ID, a as HYPERCORE_SPOT_CAIP2, b as HYPERCORE_USDC_ADDRESS } from './caip-
|
|
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';
|
|
3
3
|
import 'viem';
|
|
4
4
|
|
|
5
|
-
declare const MODAL_VERSION = "0.
|
|
5
|
+
declare const MODAL_VERSION = "0.15.0";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Lightweight Solana token registry — no `@solana/web3.js` dependency, so it
|
package/dist/constants.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MODAL_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CXBMIZUF.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HYPERCORE_CHAIN_ID,
|
|
6
6
|
HYPERCORE_SPOT_CAIP2,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
getUsdcDecimals,
|
|
33
33
|
isSupportedTokenAddressForChain,
|
|
34
34
|
tokenIconUrl
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EAGMY3QE.mjs";
|
|
36
36
|
export {
|
|
37
37
|
HYPERCORE_CHAIN_ID,
|
|
38
38
|
HYPERCORE_SPOT_CAIP2,
|
package/dist/deposit.cjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-4KCSH4T3.cjs');
|
|
3
|
+
var _chunkVPDCGD2Dcjs = require('./chunk-VPDCGD2D.cjs');
|
|
4
|
+
require('./chunk-X4D52IZK.cjs');
|
|
5
|
+
require('./chunk-3OOY67VJ.cjs');
|
|
6
|
+
require('./chunk-5P2PVLS4.cjs');
|
|
7
|
+
require('./chunk-LVCD6RHF.cjs');
|
|
8
|
+
require('./chunk-OY5N3E6L.cjs');
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
exports.DepositModal =
|
|
11
|
+
exports.DepositModal = _chunkVPDCGD2Dcjs.DepositModal;
|
package/dist/deposit.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption,
|
|
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';
|
|
4
|
+
import './caip-BMi-9t09.cjs';
|
|
4
5
|
import 'viem';
|
|
5
|
-
import './caip-D8aRWdEY.cjs';
|
|
6
6
|
|
|
7
7
|
declare function DepositModal(props: DepositModalProps): react.JSX.Element;
|
|
8
8
|
declare namespace DepositModal {
|
package/dist/deposit.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AnalyticsEventEnvelope, a as AnalyticsIngestFailureEvent, b as AnalyticsIngestFailureReason, c as AnalyticsReasonFamily, d as AssetMigrationsConfig, e as AssetOption,
|
|
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';
|
|
4
|
+
import './caip-BMi-9t09.js';
|
|
4
5
|
import 'viem';
|
|
5
|
-
import './caip-D8aRWdEY.js';
|
|
6
6
|
|
|
7
7
|
declare function DepositModal(props: DepositModalProps): react.JSX.Element;
|
|
8
8
|
declare namespace DepositModal {
|
package/dist/deposit.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DepositModal
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-VUATPOWJ.mjs";
|
|
3
|
+
} from "./chunk-IKUYZA7A.mjs";
|
|
4
|
+
import "./chunk-UCBUCX2W.mjs";
|
|
5
|
+
import "./chunk-5VONFVQN.mjs";
|
|
6
|
+
import "./chunk-CXBMIZUF.mjs";
|
|
7
|
+
import "./chunk-FTWKAJGN.mjs";
|
|
8
|
+
import "./chunk-EAGMY3QE.mjs";
|
|
10
9
|
export {
|
|
11
10
|
DepositModal
|
|
12
11
|
};
|