@rhinestone/deposit-modal 0.12.0 → 0.12.2
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/dist/{DepositModalReown-MVVRUXO4.mjs → DepositModalReown-TEC3MEZ4.mjs} +7 -7
- package/dist/{DepositModalReown-PZXHTPIS.cjs → DepositModalReown-VG66OTIU.cjs} +17 -17
- package/dist/{chunk-2AMRKYJ4.mjs → chunk-2TPSF77V.mjs} +4 -4
- package/dist/{chunk-YR43AAX5.mjs → chunk-3STTWRAN.mjs} +0 -5
- package/dist/{chunk-53IGTENZ.mjs → chunk-4ZXQPFNU.mjs} +1 -1
- package/dist/{chunk-XJB3VG4C.cjs → chunk-75DVGSAX.cjs} +2 -2
- package/dist/{chunk-LBJFACLH.cjs → chunk-BRYNGLDM.cjs} +77 -72
- package/dist/{chunk-EUIPQ3T4.mjs → chunk-FLVLYO64.mjs} +3 -3
- package/dist/{chunk-5IP67CL5.mjs → chunk-FXXUIK4E.mjs} +15 -10
- package/dist/{chunk-2PQ34KU3.cjs → chunk-HL5NUKZW.cjs} +3 -3
- package/dist/{chunk-GZNMBZHY.mjs → chunk-IAGFDSNC.mjs} +1 -1
- package/dist/{chunk-QF5T6HXC.mjs → chunk-J46WDSRD.mjs} +3 -4
- package/dist/{chunk-RMYUE6HJ.mjs → chunk-JE4R5VA3.mjs} +1 -1
- package/dist/{chunk-4SRVZRZF.cjs → chunk-L32UI7LA.cjs} +1 -1
- package/dist/{chunk-4R2ZHSDQ.cjs → chunk-O7BCVQ6L.cjs} +1 -6
- package/dist/{chunk-LTPVHQXJ.cjs → chunk-OIN4CXCP.cjs} +378 -378
- package/dist/{chunk-6ZJTZ7DS.cjs → chunk-PWLEBV5V.cjs} +78 -79
- package/dist/{chunk-Q5MFRAWD.mjs → chunk-SDSKIJC7.mjs} +6 -6
- package/dist/{chunk-WZJMJFP7.cjs → chunk-TM7VGHAG.cjs} +62 -62
- package/dist/{chunk-BK54FZAE.cjs → chunk-UQIJU6HV.cjs} +79 -79
- package/dist/claim.cjs +6 -6
- package/dist/claim.mjs +5 -5
- package/dist/constants.cjs +3 -3
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.mjs +2 -2
- package/dist/deposit.cjs +8 -8
- package/dist/deposit.mjs +7 -7
- package/dist/index.cjs +10 -10
- package/dist/index.mjs +9 -9
- package/dist/polymarket.cjs +5 -5
- package/dist/polymarket.mjs +2 -2
- package/dist/styles.css +9 -0
- package/dist/withdraw.cjs +6 -6
- package/dist/withdraw.mjs +5 -5
- package/package.json +1 -1
|
@@ -24,17 +24,16 @@ import {
|
|
|
24
24
|
tokenAmountToNumber,
|
|
25
25
|
useExplorerTxUrl,
|
|
26
26
|
useLatestRef
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FXXUIK4E.mjs";
|
|
28
28
|
import {
|
|
29
29
|
NATIVE_TOKEN_ADDRESS,
|
|
30
30
|
cdnIconUrl,
|
|
31
31
|
getChainIcon,
|
|
32
32
|
getChainName,
|
|
33
|
-
targetChainToAccountKey,
|
|
34
33
|
targetChainToCaip2,
|
|
35
34
|
targetChainToChainId,
|
|
36
35
|
toEvmCaip2
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3STTWRAN.mjs";
|
|
38
37
|
|
|
39
38
|
// src/core/removed-props.ts
|
|
40
39
|
var MANAGED_ACCOUNT_REMOVALS = {
|
|
@@ -1592,7 +1591,7 @@ function deriveAccountSalt(input) {
|
|
|
1592
1591
|
return keccak256(
|
|
1593
1592
|
concat([
|
|
1594
1593
|
keccak256(toHex(normalizeKeyToken(input.recipient) ?? "")),
|
|
1595
|
-
keccak256(toHex(
|
|
1594
|
+
keccak256(toHex(targetChainToCaip2(input.targetChain))),
|
|
1596
1595
|
keccak256(toHex(normalizeKeyToken(input.targetToken) ?? ""))
|
|
1597
1596
|
])
|
|
1598
1597
|
);
|
|
@@ -9,10 +9,6 @@ function targetChainToCaip2(targetChain) {
|
|
|
9
9
|
if (isHyperCoreDestination(targetChain)) return HYPERCORE_SPOT_CAIP2;
|
|
10
10
|
return toEvmCaip2(targetChain);
|
|
11
11
|
}
|
|
12
|
-
function targetChainToAccountKey(targetChain) {
|
|
13
|
-
if (isHyperCoreDestination(targetChain)) return HYPERCORE_MAINNET_CAIP2;
|
|
14
|
-
return targetChainToCaip2(targetChain);
|
|
15
|
-
}
|
|
16
12
|
function parseEvmChainId(value) {
|
|
17
13
|
if (typeof value === "number" && Number.isFinite(value)) {
|
|
18
14
|
return value;
|
|
@@ -948,5 +944,4 @@ function getExplorerName(chainId) {
|
|
|
948
944
|
|
|
949
945
|
|
|
950
946
|
|
|
951
|
-
|
|
952
|
-
exports.SOLANA_MAINNET_CAIP2 = SOLANA_MAINNET_CAIP2; exports.toEvmCaip2 = toEvmCaip2; exports.targetChainToCaip2 = targetChainToCaip2; exports.targetChainToAccountKey = targetChainToAccountKey; exports.parseEvmChainId = parseEvmChainId; exports.isSolanaCaip2 = isSolanaCaip2; exports.isHyperCoreCaip2 = isHyperCoreCaip2; exports.HYPERCORE_CHAIN_ID = HYPERCORE_CHAIN_ID; exports.HYPERCORE_MAINNET_CAIP2 = HYPERCORE_MAINNET_CAIP2; exports.HYPERCORE_SPOT_CAIP2 = HYPERCORE_SPOT_CAIP2; exports.targetChainToChainId = targetChainToChainId; exports.isHyperCoreDestination = isHyperCoreDestination; exports.HYPERCORE_USDC_ADDRESS = HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = HYPERCORE_USDT0_ADDRESS; exports.HYPERCORE_SOURCE_TOKENS = HYPERCORE_SOURCE_TOKENS; exports.HYPERCORE_MIN_DEPOSIT_USD = HYPERCORE_MIN_DEPOSIT_USD; exports.isVirtualDestination = isVirtualDestination; exports.SOLANA_TOKENS = SOLANA_TOKENS; exports.getSolanaTokenBySymbol = getSolanaTokenBySymbol; exports.getSolanaTokenByMint = getSolanaTokenByMint; exports.isNativeSol = isNativeSol; exports.setRuntimeChainMeta = setRuntimeChainMeta; exports.setRuntimeTokens = setRuntimeTokens; exports.publishShortlistTokens = publishShortlistTokens; exports.ICON_CDN = ICON_CDN; exports.cdnIconUrl = cdnIconUrl; exports.getChainIcon = getChainIcon; exports.tokenIconUrl = tokenIconUrl; exports.getTokenIcon = getTokenIcon; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_DISPLAY_ORDER = CHAIN_DISPLAY_ORDER; exports.CHAIN_BY_ID = CHAIN_BY_ID; exports.SOURCE_CHAINS = SOURCE_CHAINS; exports.SUPPORTED_CHAINS = SUPPORTED_CHAINS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getChainObject = getChainObject; exports.getUsdcAddress = getUsdcAddress; exports.getUsdcDecimals = getUsdcDecimals; exports.getTokenAddress = getTokenAddress; exports.getTokenDecimals = getTokenDecimals; exports.getTargetTokenSymbolsForChain = getTargetTokenSymbolsForChain; exports.getSupportedTokenSymbolsForChain = getSupportedTokenSymbolsForChain; exports.getSupportedChainIds = getSupportedChainIds; exports.isSupportedTokenAddressForChain = isSupportedTokenAddressForChain; exports.getSupportedTargetTokens = getSupportedTargetTokens; exports.findTokenDecimals = findTokenDecimals; exports.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.isRegistryTokenOnChain = isRegistryTokenOnChain; exports.getNativeSymbol = getNativeSymbol; exports.getTokenSymbol = getTokenSymbol; exports.getTargetTokenSymbol = getTargetTokenSymbol; exports.isStablecoinSymbol = isStablecoinSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName;
|
|
947
|
+
exports.SOLANA_MAINNET_CAIP2 = SOLANA_MAINNET_CAIP2; exports.toEvmCaip2 = toEvmCaip2; exports.targetChainToCaip2 = targetChainToCaip2; exports.parseEvmChainId = parseEvmChainId; exports.isSolanaCaip2 = isSolanaCaip2; exports.isHyperCoreCaip2 = isHyperCoreCaip2; exports.HYPERCORE_CHAIN_ID = HYPERCORE_CHAIN_ID; exports.HYPERCORE_MAINNET_CAIP2 = HYPERCORE_MAINNET_CAIP2; exports.HYPERCORE_SPOT_CAIP2 = HYPERCORE_SPOT_CAIP2; exports.targetChainToChainId = targetChainToChainId; exports.isHyperCoreDestination = isHyperCoreDestination; exports.HYPERCORE_USDC_ADDRESS = HYPERCORE_USDC_ADDRESS; exports.HYPERCORE_USDT0_ADDRESS = HYPERCORE_USDT0_ADDRESS; exports.HYPERCORE_SOURCE_TOKENS = HYPERCORE_SOURCE_TOKENS; exports.HYPERCORE_MIN_DEPOSIT_USD = HYPERCORE_MIN_DEPOSIT_USD; exports.isVirtualDestination = isVirtualDestination; exports.SOLANA_TOKENS = SOLANA_TOKENS; exports.getSolanaTokenBySymbol = getSolanaTokenBySymbol; exports.getSolanaTokenByMint = getSolanaTokenByMint; exports.isNativeSol = isNativeSol; exports.setRuntimeChainMeta = setRuntimeChainMeta; exports.setRuntimeTokens = setRuntimeTokens; exports.publishShortlistTokens = publishShortlistTokens; exports.ICON_CDN = ICON_CDN; exports.cdnIconUrl = cdnIconUrl; exports.getChainIcon = getChainIcon; exports.tokenIconUrl = tokenIconUrl; exports.getTokenIcon = getTokenIcon; exports.NATIVE_TOKEN_ADDRESS = NATIVE_TOKEN_ADDRESS; exports.CHAIN_DISPLAY_ORDER = CHAIN_DISPLAY_ORDER; exports.CHAIN_BY_ID = CHAIN_BY_ID; exports.SOURCE_CHAINS = SOURCE_CHAINS; exports.SUPPORTED_CHAINS = SUPPORTED_CHAINS; exports.chainRegistry = chainRegistry; exports.getChainId = getChainId; exports.getChainObject = getChainObject; exports.getUsdcAddress = getUsdcAddress; exports.getUsdcDecimals = getUsdcDecimals; exports.getTokenAddress = getTokenAddress; exports.getTokenDecimals = getTokenDecimals; exports.getTargetTokenSymbolsForChain = getTargetTokenSymbolsForChain; exports.getSupportedTokenSymbolsForChain = getSupportedTokenSymbolsForChain; exports.getSupportedChainIds = getSupportedChainIds; exports.isSupportedTokenAddressForChain = isSupportedTokenAddressForChain; exports.getSupportedTargetTokens = getSupportedTargetTokens; exports.findTokenDecimals = findTokenDecimals; exports.getTokenDecimalsByAddress = getTokenDecimalsByAddress; exports.findChainIdForToken = findChainIdForToken; exports.isRegistryTokenOnChain = isRegistryTokenOnChain; exports.getNativeSymbol = getNativeSymbol; exports.getTokenSymbol = getTokenSymbol; exports.getTargetTokenSymbol = getTargetTokenSymbol; exports.isStablecoinSymbol = isStablecoinSymbol; exports.getChainName = getChainName; exports.getChainBadge = getChainBadge; exports.getExplorerUrl = getExplorerUrl; exports.getExplorerTxUrl = getExplorerTxUrl; exports.getExplorerName = getExplorerName;
|