From ea1aaed3e365963f2a2afe9c047bc299cac16cf0 Mon Sep 17 00:00:00 2001 From: Ray Lin <137183702+ruijialin-avalabs@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:46:31 -0500 Subject: [PATCH] bump ajs and avalanche-sdks to latest version (#2054) --- .../app/contexts/BridgeContext.tsx | 3 +- .../hooks/networks/networkProviderHooks.ts | 68 +- .../core-mobile/app/hooks/useCChainBaseFee.ts | 9 +- .../activity/PrimaryNetworkMethodIcon.tsx | 8 +- .../app/screens/nft/send/NftSend.tsx | 6 +- .../components/shared/DetailSectionView.tsx | 58 +- .../app/screens/send/components/SendAVM.tsx | 9 +- .../app/screens/send/components/SendBTC.tsx | 9 +- .../app/screens/send/components/SendEVM.tsx | 7 +- .../app/screens/send/components/SendPVM.tsx | 9 +- .../app/screens/send/hooks/useBTCSend.ts | 7 +- .../app/screens/send/hooks/useEVMSend.ts | 6 +- .../send/utils/getInternalExternalAddrs.ts | 2 +- .../app/screens/send/utils/types.ts | 38 +- .../services/wallet/SeedlessWallet.ts | 4 +- .../app/services/bridge/BridgeService.ts | 14 +- .../app/services/earn/EarnService.ts | 2 +- .../app/services/earn/exportC.test.ts | 20 +- .../core-mobile/app/services/earn/exportC.ts | 2 +- .../app/services/earn/exportP.test.ts | 18 +- .../core-mobile/app/services/earn/exportP.ts | 2 +- .../app/services/earn/importC.test.ts | 20 +- .../core-mobile/app/services/earn/importC.ts | 2 +- .../app/services/earn/importP.test.ts | 18 +- .../core-mobile/app/services/earn/importP.ts | 2 +- .../app/services/network/NetworkService.ts | 4 +- .../services/network/utils/providerUtils.ts | 22 +- .../services/wallet/MnemonicWallet.test.ts | 16 +- .../app/services/wallet/MnemonicWallet.ts | 19 +- .../app/services/wallet/WalletService.test.ts | 29 +- .../app/services/wallet/WalletService.tsx | 106 +- .../core-mobile/app/services/wallet/types.ts | 2 +- .../handlers/wc_sessionRequest/utils.test.ts | 3 +- .../wc_sessionRequest.test.ts | 7 +- packages/core-mobile/app/store/rpc/types.ts | 6 +- .../core-mobile/app/utils/network/info.ts | 8 +- .../vmModule/handlers/btcSendTransaction.ts | 6 +- packages/core-mobile/package.json | 24 +- yarn.lock | 1114 ++++++++++++++--- 39 files changed, 1292 insertions(+), 417 deletions(-) diff --git a/packages/core-mobile/app/contexts/BridgeContext.tsx b/packages/core-mobile/app/contexts/BridgeContext.tsx index 5fdff47150..ba754f195d 100644 --- a/packages/core-mobile/app/contexts/BridgeContext.tsx +++ b/packages/core-mobile/app/contexts/BridgeContext.tsx @@ -142,7 +142,8 @@ function LocalBridgeProvider({ config && !TrackerSubscriptions.has(trackedTransaction.sourceTxHash) && avalancheProvider && - ethereumProvider + ethereumProvider && + bitcoinProvider ) { // Start transaction tracking process (no need to await) try { diff --git a/packages/core-mobile/app/hooks/networks/networkProviderHooks.ts b/packages/core-mobile/app/hooks/networks/networkProviderHooks.ts index cf77b63bfc..159bac5252 100644 --- a/packages/core-mobile/app/hooks/networks/networkProviderHooks.ts +++ b/packages/core-mobile/app/hooks/networks/networkProviderHooks.ts @@ -1,38 +1,74 @@ import { + Avalanche, BitcoinProvider, JsonRpcBatchInternal } from '@avalabs/core-wallets-sdk' -import { useMemo } from 'react' +import { useEffect, useState } from 'react' import { getAvalancheEvmProvider, + getAvalancheXpProvider, getBitcoinProvider, getEthereumProvider } from 'services/network/utils/providerUtils' +import Logger from 'utils/Logger' import { useNetworks } from './useNetworks' -export function useEthereumProvider(): JsonRpcBatchInternal | undefined { +export function useEthereumProvider( + isTestnet?: boolean +): JsonRpcBatchInternal | undefined { const { activeNetwork, networks } = useNetworks() + const _isTestnet = isTestnet ?? activeNetwork.isTestnet - return useMemo( - () => getEthereumProvider(networks, activeNetwork.isTestnet), - [networks, activeNetwork] - ) + const [ethereumProvider, setEthereumProvider] = + useState() + useEffect(() => { + getEthereumProvider(networks, _isTestnet) + .then(setEthereumProvider) + .catch(Logger.error) + }, [networks, activeNetwork, _isTestnet]) + + return ethereumProvider } -export function useBitcoinProvider(): BitcoinProvider { +export function useBitcoinProvider( + isTestnet?: boolean +): BitcoinProvider | undefined { const { activeNetwork } = useNetworks() + const _isTestnet = isTestnet ?? activeNetwork.isTestnet + const [bitcoinProvider, setBitcoinProvider] = useState() + useEffect(() => { + getBitcoinProvider(_isTestnet).then(setBitcoinProvider).catch(Logger.error) + }, [activeNetwork, _isTestnet]) - return useMemo( - () => getBitcoinProvider(activeNetwork.isTestnet), - [activeNetwork] - ) + return bitcoinProvider } -export function useAvalancheProvider(): JsonRpcBatchInternal | undefined { +export function useAvalancheProvider( + isTestnet?: boolean +): JsonRpcBatchInternal | undefined { const { activeNetwork, networks } = useNetworks() + const _isTestnet = isTestnet ?? activeNetwork.isTestnet + const [avalancheProvider, setAvalancheProvider] = + useState() + useEffect(() => { + getAvalancheEvmProvider(networks, _isTestnet) + .then(setAvalancheProvider) + .catch(Logger.error) + }, [networks, activeNetwork, _isTestnet]) + return avalancheProvider +} - return useMemo( - () => getAvalancheEvmProvider(networks, activeNetwork.isTestnet), - [networks, activeNetwork] - ) +export function useAvalancheXpProvider( + isTestnet?: boolean +): Avalanche.JsonRpcProvider | undefined { + const { activeNetwork } = useNetworks() + const _isTestnet = isTestnet ?? activeNetwork.isTestnet + const [avalancheXpProvider, setAvalancheXpProvider] = + useState() + useEffect(() => { + getAvalancheXpProvider(!!_isTestnet) + .then(setAvalancheXpProvider) + .catch(Logger.error) + }, [activeNetwork, _isTestnet]) + return avalancheXpProvider } diff --git a/packages/core-mobile/app/hooks/useCChainBaseFee.ts b/packages/core-mobile/app/hooks/useCChainBaseFee.ts index 6b60e63b91..3a97651ab3 100644 --- a/packages/core-mobile/app/hooks/useCChainBaseFee.ts +++ b/packages/core-mobile/app/hooks/useCChainBaseFee.ts @@ -1,9 +1,9 @@ import { UseQueryResult, useQuery } from '@tanstack/react-query' import { useSelector } from 'react-redux' -import NetworkService from 'services/network/NetworkService' import { selectIsDeveloperMode } from 'store/settings/advanced' import { TokenUnit } from '@avalabs/core-utils-sdk' import useCChainNetwork from 'hooks/earn/useCChainNetwork' +import { useAvalancheXpProvider } from './networks/networkProviderHooks' const REFETCH_INTERVAL = 10000 // 10 seconds @@ -18,17 +18,18 @@ export const useCChainBaseFee = (): UseQueryResult< Error > => { const isDeveloperMode = useSelector(selectIsDeveloperMode) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDeveloperMode) const cChainNetwork = useCChainNetwork() + const avaxProvider = useAvalancheXpProvider(isDeveloperMode) return useQuery({ // no need to retry failed request as we are already doing interval fetching retry: false, refetchInterval: REFETCH_INTERVAL, - queryKey: ['cChainBaseFee', isDeveloperMode, cChainNetwork], + queryKey: ['cChainBaseFee', isDeveloperMode, cChainNetwork, avaxProvider], queryFn: async () => { + if (!cChainNetwork || !avaxProvider) return undefined const baseFeeWei = await avaxProvider.getApiC().getBaseFee() - if (!cChainNetwork) return undefined + return new TokenUnit( baseFeeWei, cChainNetwork.networkToken.decimals, diff --git a/packages/core-mobile/app/screens/activity/PrimaryNetworkMethodIcon.tsx b/packages/core-mobile/app/screens/activity/PrimaryNetworkMethodIcon.tsx index 1e9c0cabb7..959ac73f4e 100644 --- a/packages/core-mobile/app/screens/activity/PrimaryNetworkMethodIcon.tsx +++ b/packages/core-mobile/app/screens/activity/PrimaryNetworkMethodIcon.tsx @@ -71,7 +71,13 @@ const METHOD_NAME_TO_ICON: Record< Transfer: undefined, FillOrder: undefined, Unwrap: undefined, - UNKNOWN: undefined + UNKNOWN: undefined, + + ConvertSubnetTx: undefined, + RegisterSubnetValidatorTx: undefined, + SetSubnetValidatorWeightTx: undefined, + DisableSubnetValidatorTx: undefined, + IncreaseBalanceTx: undefined } export const PrimaryNetworkMethodIcon = ({ diff --git a/packages/core-mobile/app/screens/nft/send/NftSend.tsx b/packages/core-mobile/app/screens/nft/send/NftSend.tsx index cbe0795a9b..938d9e0b95 100644 --- a/packages/core-mobile/app/screens/nft/send/NftSend.tsx +++ b/packages/core-mobile/app/screens/nft/send/NftSend.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useMemo, useState } from 'react' +import React, { useEffect, useState } from 'react' import { Image, ScrollView, StyleSheet, View } from 'react-native' import { Text, Button } from '@avalabs/k2-mobile' import { Space } from 'components/Space' @@ -24,7 +24,6 @@ import AppNavigation from 'navigation/AppNavigation' import { useNavigation, useRoute } from '@react-navigation/native' import { NFTDetailsSendScreenProps } from 'navigation/types' import useEVMSend from 'screens/send/hooks/useEVMSend' -import { getEvmProvider } from 'services/network/utils/providerUtils' import { useSelector } from 'react-redux' import { selectTokensWithBalance } from 'store/balance' import { NetworkTokenWithBalance, TokenType } from '@avalabs/vm-module-types' @@ -61,7 +60,6 @@ export default function NftSend({ isValidating } = useSendContext() const { activeNetwork } = useNetworks() - const provider = useMemo(() => getEvmProvider(activeNetwork), [activeNetwork]) const activeAccount = useSelector(selectActiveAccount) const fromAddress = activeAccount?.addressC ?? '' const tokens = useSelector(selectTokensWithBalance) @@ -73,7 +71,7 @@ export default function NftSend({ const { send } = useEVMSend({ chainId: activeNetwork.chainId, fromAddress, - provider, + network: activeNetwork, maxFee, nativeToken }) diff --git a/packages/core-mobile/app/screens/rpc/components/shared/DetailSectionView.tsx b/packages/core-mobile/app/screens/rpc/components/shared/DetailSectionView.tsx index b886711563..5f9843e580 100644 --- a/packages/core-mobile/app/screens/rpc/components/shared/DetailSectionView.tsx +++ b/packages/core-mobile/app/screens/rpc/components/shared/DetailSectionView.tsx @@ -1,9 +1,15 @@ import React from 'react' import { Text, TouchableOpacity, View } from '@avalabs/k2-mobile' import { + AddressItem, + CurrencyItem, + DataItem, + DateItem, DetailItemType, DetailSection, + FundsRecipientItem, LinkItem, + NodeIDItem, TextItem } from '@avalabs/vm-module-types' import { Row } from 'components/Row' @@ -63,14 +69,6 @@ export const DetailSectionView = ({ ) - const renderAddressValue = (address: string): JSX.Element => ( - - ) - - const renderNodeIDValue = (nodeID: string): JSX.Element => ( - - ) - const renderDataValue = (data: string): JSX.Element => ( onPressDataItem(data)}> @@ -79,10 +77,6 @@ export const DetailSectionView = ({ ) - const renderDateValue = (date: string): JSX.Element => ( - {getDateInMmmDdYyyyHhMmA(parseInt(date))} - ) - const renderCurrencyValue = ( value: bigint, decimals: number, @@ -106,6 +100,32 @@ export const DetailSectionView = ({ ) } + const renderValue = ( + item: + | AddressItem + | NodeIDItem + | CurrencyItem + | DataItem + | DateItem + | FundsRecipientItem + ): JSX.Element => { + return item.type === DetailItemType.ADDRESS ? ( + + ) : item.type === DetailItemType.NODE_ID ? ( + + ) : item.type === DetailItemType.DATA ? ( + renderDataValue(item.value) + ) : item.type === DetailItemType.DATE ? ( + + {getDateInMmmDdYyyyHhMmA(parseInt(item.value))} + + ) : item.type === DetailItemType.CURRENCY ? ( + renderCurrencyValue(item.value, item.maxDecimals, item.symbol) + ) : ( + renderCurrencyValue(item.amount, item.maxDecimals, item.symbol) + ) + } + return ( {detailSection.title && ( @@ -143,19 +163,7 @@ export const DetailSectionView = ({ }} key={index}> {item.label} - {item.type === DetailItemType.ADDRESS - ? renderAddressValue(item.value) - : item.type === DetailItemType.NODE_ID - ? renderNodeIDValue(item.value) - : item.type === DetailItemType.DATA - ? renderDataValue(item.value) - : item.type === DetailItemType.DATE - ? renderDateValue(item.value) - : renderCurrencyValue( - item.value, - item.maxDecimals, - item.symbol - )} + {renderValue(item)} ) })} diff --git a/packages/core-mobile/app/screens/send/components/SendAVM.tsx b/packages/core-mobile/app/screens/send/components/SendAVM.tsx index 2821b22fc9..7883d11f75 100644 --- a/packages/core-mobile/app/screens/send/components/SendAVM.tsx +++ b/packages/core-mobile/app/screens/send/components/SendAVM.tsx @@ -1,10 +1,9 @@ -import React, { useEffect, useMemo } from 'react' +import React, { useEffect } from 'react' import { useSendContext } from 'contexts/SendContext' import { Network } from '@avalabs/core-chains-sdk' import { TokenWithBalanceAVM } from '@avalabs/vm-module-types' import { useSelector } from 'react-redux' import { selectActiveAccount } from 'store/account' -import NetworkService from 'services/network/NetworkService' import { Contact, CorePrimaryAccount } from '@avalabs/types' import { getAddressXP } from 'store/utils/account&contactGetters' import useAVMSend from '../hooks/useAVMSend' @@ -38,11 +37,6 @@ const SendAVM = ({ isSending, maxFee } = useSendContext() - const provider = useMemo( - () => NetworkService.getAvalancheProviderXP(!!network.isTestnet), - [network] - ) - const activeAccount = useSelector(selectActiveAccount) const fromAddress = activeAccount?.addressAVM ?? '' @@ -50,7 +44,6 @@ const SendAVM = ({ const { send } = useAVMSend({ network, fromAddress, - provider, maxFee, nativeToken, account diff --git a/packages/core-mobile/app/screens/send/components/SendBTC.tsx b/packages/core-mobile/app/screens/send/components/SendBTC.tsx index d9b1f513f6..da8116f85e 100644 --- a/packages/core-mobile/app/screens/send/components/SendBTC.tsx +++ b/packages/core-mobile/app/screens/send/components/SendBTC.tsx @@ -1,7 +1,6 @@ -import React, { useEffect, useMemo } from 'react' +import React, { useEffect } from 'react' import { useSendContext } from 'contexts/SendContext' import { Network } from '@avalabs/core-chains-sdk' -import { getBitcoinProvider } from 'services/network/utils/providerUtils' import { TokenWithBalanceBTC } from '@avalabs/vm-module-types' import { Contact, CorePrimaryAccount } from '@avalabs/types' import useBTCSend from '../hooks/useBTCSend' @@ -34,17 +33,13 @@ const SendBTC = ({ isSending, maxFee } = useSendContext() - const provider = useMemo( - () => getBitcoinProvider(network.isTestnet), - [network] - ) const fromAddress = account?.addressBTC ?? '' const { send } = useBTCSend({ fromAddress, isMainnet: !network.isTestnet, - provider, + network, maxFee, nativeToken }) diff --git a/packages/core-mobile/app/screens/send/components/SendEVM.tsx b/packages/core-mobile/app/screens/send/components/SendEVM.tsx index 17f5325849..da6dfdbc3a 100644 --- a/packages/core-mobile/app/screens/send/components/SendEVM.tsx +++ b/packages/core-mobile/app/screens/send/components/SendEVM.tsx @@ -1,7 +1,6 @@ -import React, { useMemo } from 'react' +import React from 'react' import { useSendContext } from 'contexts/SendContext' import { Network } from '@avalabs/core-chains-sdk' -import { getEvmProvider } from 'services/network/utils/providerUtils' import { NetworkTokenWithBalance } from '@avalabs/vm-module-types' import { Contact, CorePrimaryAccount } from '@avalabs/types' import { getAddressProperty } from 'store/utils/account&contactGetters' @@ -35,14 +34,12 @@ const SendEVM = ({ isSending, maxFee } = useSendContext() - const provider = useMemo(() => getEvmProvider(network), [network]) - const fromAddress = account?.addressC ?? '' const { send } = useEVMSend({ chainId: network.chainId, fromAddress, - provider, + network, maxFee, nativeToken }) diff --git a/packages/core-mobile/app/screens/send/components/SendPVM.tsx b/packages/core-mobile/app/screens/send/components/SendPVM.tsx index e19c22cd9d..6f0fc1f241 100644 --- a/packages/core-mobile/app/screens/send/components/SendPVM.tsx +++ b/packages/core-mobile/app/screens/send/components/SendPVM.tsx @@ -1,10 +1,9 @@ -import React, { useEffect, useMemo } from 'react' +import React, { useEffect } from 'react' import { useSendContext } from 'contexts/SendContext' import { Network } from '@avalabs/core-chains-sdk' import { TokenWithBalancePVM } from '@avalabs/vm-module-types' import { useSelector } from 'react-redux' import { selectActiveAccount } from 'store/account' -import NetworkService from 'services/network/NetworkService' import { Contact, CorePrimaryAccount } from '@avalabs/types' import { getAddressXP } from 'store/utils/account&contactGetters' import usePVMSend from '../hooks/usePVMSend' @@ -38,11 +37,6 @@ const SendPVM = ({ isSending, maxFee } = useSendContext() - const provider = useMemo( - () => NetworkService.getAvalancheProviderXP(!!network.isTestnet), - [network] - ) - const activeAccount = useSelector(selectActiveAccount) const fromAddress = activeAccount?.addressPVM ?? '' @@ -50,7 +44,6 @@ const SendPVM = ({ const { send } = usePVMSend({ network, fromAddress, - provider, maxFee, nativeToken, account diff --git a/packages/core-mobile/app/screens/send/hooks/useBTCSend.ts b/packages/core-mobile/app/screens/send/hooks/useBTCSend.ts index 67113828e5..f72fbd6624 100644 --- a/packages/core-mobile/app/screens/send/hooks/useBTCSend.ts +++ b/packages/core-mobile/app/screens/send/hooks/useBTCSend.ts @@ -8,6 +8,7 @@ import { bigIntToString } from '@avalabs/core-utils-sdk' import { useInAppRequest } from 'hooks/useInAppRequest' import { useSendContext } from 'contexts/SendContext' import { assertNotUndefined } from 'utils/assertions' +import { useBitcoinProvider } from 'hooks/networks/networkProviderHooks' import { SendAdapterBTC } from '../utils/types' import { getBtcInputUtxos } from '../utils/btc/getBtcInputUtxos' import { send as sendBTC } from '../utils/btc/send' @@ -16,9 +17,9 @@ import { validate as validateBTCSend } from '../utils/btc/validate' const useBTCSend: SendAdapterBTC = ({ isMainnet, fromAddress, - provider, maxFee, - nativeToken + nativeToken, + network }) => { const [utxos, setUtxos] = useState([]) const { request } = useInAppRequest() @@ -31,9 +32,11 @@ const useBTCSend: SendAdapterBTC = ({ token, amount } = useSendContext() + const provider = useBitcoinProvider(!!network.isTestnet) useEffect(() => { const fetchInputUtxos = async (): Promise => { + assertNotUndefined(provider) const inputUtxos = await getBtcInputUtxos( provider, nativeToken, diff --git a/packages/core-mobile/app/screens/send/hooks/useEVMSend.ts b/packages/core-mobile/app/screens/send/hooks/useEVMSend.ts index e26e313dd5..a40a31b92e 100644 --- a/packages/core-mobile/app/screens/send/hooks/useEVMSend.ts +++ b/packages/core-mobile/app/screens/send/hooks/useEVMSend.ts @@ -3,6 +3,7 @@ import { useCallback, useEffect } from 'react' import { useInAppRequest } from 'hooks/useInAppRequest' import { useSendContext } from 'contexts/SendContext' import { assertNotUndefined } from 'utils/assertions' +import { useEthereumProvider } from 'hooks/networks/networkProviderHooks' import { SendAdapterEVM, SendErrorMessage } from '../utils/types' import { send as sendEVM } from '../utils/evm/send' import { getGasLimit } from '../utils/evm/getGasLimit' @@ -18,7 +19,7 @@ import { const useEVMSend: SendAdapterEVM = ({ chainId, fromAddress, - provider, + network, maxFee, nativeToken }) => { @@ -32,11 +33,13 @@ const useEVMSend: SendAdapterEVM = ({ toAddress, amount } = useSendContext() + const provider = useEthereumProvider(!!network.isTestnet) const send = useCallback(async () => { try { assertNotUndefined(token) assertNotUndefined(toAddress) + assertNotUndefined(provider) setIsSending(true) @@ -83,6 +86,7 @@ const useEVMSend: SendAdapterEVM = ({ assertNotUndefined(token) assertNotUndefined(toAddress) + assertNotUndefined(provider) validateSupportedToken(token) diff --git a/packages/core-mobile/app/screens/send/utils/getInternalExternalAddrs.ts b/packages/core-mobile/app/screens/send/utils/getInternalExternalAddrs.ts index 63247bc95c..462c4d139a 100644 --- a/packages/core-mobile/app/screens/send/utils/getInternalExternalAddrs.ts +++ b/packages/core-mobile/app/screens/send/utils/getInternalExternalAddrs.ts @@ -23,7 +23,7 @@ const formatAvalancheAddress = ( } export const getInternalExternalAddrs = ( - utxos: Utxo[], + utxos: readonly Utxo[], xpAddressDict: XPAddressDictionary, isTestnet: boolean ): { diff --git a/packages/core-mobile/app/screens/send/utils/types.ts b/packages/core-mobile/app/screens/send/utils/types.ts index cd95ad36b7..b2938bcd4a 100644 --- a/packages/core-mobile/app/screens/send/utils/types.ts +++ b/packages/core-mobile/app/screens/send/utils/types.ts @@ -1,9 +1,4 @@ import { Network } from '@avalabs/core-chains-sdk' -import { - Avalanche, - BitcoinProvider, - JsonRpcBatchInternal -} from '@avalabs/core-wallets-sdk' import { NetworkTokenWithBalance, TokenWithBalanceAVM, @@ -26,11 +21,11 @@ export enum SendErrorMessage { UNKNOWN_ERROR = 'Unknown error' } -type CommonAdapterOptions = { +type CommonAdapterOptions = { fromAddress: string - provider: Provider maxFee: bigint nativeToken: Token + network: Network } export type AdapterOptionsEVM = { @@ -52,46 +47,29 @@ export type PvmCapableAccount = EnsureDefined< > export type AdapterOptionsP = { - network: Network account: PvmCapableAccount } export type AdapterOptionsX = { - network: Network account: AvmCapableAccount } -type SendAdapter< - Provider = unknown, - CustomOptions = unknown, - Token = NetworkTokenWithBalance -> = (options: CommonAdapterOptions & CustomOptions) => { +type SendAdapter = ( + options: CommonAdapterOptions & CustomOptions +) => { send(): Promise } export type SendAdapterEVM = SendAdapter< - JsonRpcBatchInternal, AdapterOptionsEVM, NetworkTokenWithBalance > -export type SendAdapterBTC = SendAdapter< - BitcoinProvider, - AdapterOptionsBTC, - TokenWithBalanceBTC -> +export type SendAdapterBTC = SendAdapter -export type SendAdapterPVM = SendAdapter< - Avalanche.JsonRpcProvider, - AdapterOptionsP, - TokenWithBalancePVM -> +export type SendAdapterPVM = SendAdapter -export type SendAdapterAVM = SendAdapter< - Avalanche.JsonRpcProvider, - AdapterOptionsX, - TokenWithBalanceAVM -> +export type SendAdapterAVM = SendAdapter // A helper generic that turns only given keys (K) of type T // from optional to required. diff --git a/packages/core-mobile/app/seedless/services/wallet/SeedlessWallet.ts b/packages/core-mobile/app/seedless/services/wallet/SeedlessWallet.ts index 0ef99a04b5..dfe510eae1 100644 --- a/packages/core-mobile/app/seedless/services/wallet/SeedlessWallet.ts +++ b/packages/core-mobile/app/seedless/services/wallet/SeedlessWallet.ts @@ -318,11 +318,11 @@ export default class SeedlessWallet implements Wallet { } } - public getReadOnlyAvaSigner({ + public async getReadOnlyAvaSigner({ provXP }: { provXP: Avalanche.JsonRpcProvider - }): Avalanche.WalletVoid { + }): Promise { const pubKeyBufferC = this.getPubKeyBufferC() const pubKeyBufferXP = this.getPubKeyBufferXP() diff --git a/packages/core-mobile/app/services/bridge/BridgeService.ts b/packages/core-mobile/app/services/bridge/BridgeService.ts index f837e454a5..7d10000f5e 100644 --- a/packages/core-mobile/app/services/bridge/BridgeService.ts +++ b/packages/core-mobile/app/services/bridge/BridgeService.ts @@ -118,8 +118,11 @@ export class BridgeService { return BigInt(byteLength) } else { - const avalancheProvider = getAvalancheEvmProvider(allNetworks, isTestnet) - const ethereumProvider = getEthereumProvider(allNetworks, isTestnet) + const avalancheProvider = await getAvalancheEvmProvider( + allNetworks, + isTestnet + ) + const ethereumProvider = await getEthereumProvider(allNetworks, isTestnet) if (!avalancheProvider || !ethereumProvider) { throw new Error('no providers available') @@ -191,9 +194,12 @@ export class BridgeService { throw new Error('Invalid blockchain') } - const avalancheProvider = getAvalancheEvmProvider(allNetworks, isTestnet) + const avalancheProvider = await getAvalancheEvmProvider( + allNetworks, + isTestnet + ) - const ethereumProvider = getEthereumProvider(allNetworks, isTestnet) + const ethereumProvider = await getEthereumProvider(allNetworks, isTestnet) if (!avalancheProvider || !ethereumProvider) { throw new Error('No providers available') diff --git a/packages/core-mobile/app/services/earn/EarnService.ts b/packages/core-mobile/app/services/earn/EarnService.ts index e3468f9262..ff4282d260 100644 --- a/packages/core-mobile/app/services/earn/EarnService.ts +++ b/packages/core-mobile/app/services/earn/EarnService.ts @@ -257,7 +257,7 @@ class EarnService { }) Logger.trace('txID', txID) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDevMode) + const avaxProvider = await NetworkService.getAvalancheProviderXP(isDevMode) try { await retry({ diff --git a/packages/core-mobile/app/services/earn/exportC.test.ts b/packages/core-mobile/app/services/earn/exportC.test.ts index 2457897f4a..07276199e5 100644 --- a/packages/core-mobile/app/services/earn/exportC.test.ts +++ b/packages/core-mobile/app/services/earn/exportC.test.ts @@ -14,18 +14,16 @@ describe('earn/exportC', () => { status: 'Accepted' }) jest.mock('services/network/NetworkService') - jest - .spyOn(NetworkService, 'getAvalancheProviderXP') - .mockImplementation(() => { - return { - getApiC: () => { - return { - getBaseFee: baseFeeMockFn, - getAtomicTxStatus: getAtomicTxStatusMockFn - } + jest.spyOn(NetworkService, 'getAvalancheProviderXP').mockResolvedValue( + Promise.resolve({ + getApiC: () => { + return { + getBaseFee: baseFeeMockFn, + getAtomicTxStatus: getAtomicTxStatusMockFn } - } as unknown as Avalanche.JsonRpcProvider - }) + } + }) as unknown as Avalanche.JsonRpcProvider + ) jest.spyOn(NetworkService, 'sendTransaction').mockImplementation(() => { return Promise.resolve('mockTxHash') }) diff --git a/packages/core-mobile/app/services/earn/exportC.ts b/packages/core-mobile/app/services/earn/exportC.ts index c5b9ae631f..801bf02831 100644 --- a/packages/core-mobile/app/services/earn/exportC.ts +++ b/packages/core-mobile/app/services/earn/exportC.ts @@ -35,7 +35,7 @@ export async function exportC({ ] assertNotUndefined(cChainNetwork) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDevMode) + const avaxProvider = await NetworkService.getAvalancheProviderXP(isDevMode) const baseFeeAvax = AvaxC.fromWei(await avaxProvider.getApiC().getBaseFee()) const instantBaseFeeAvax = WalletService.getInstantBaseFee(baseFeeAvax) diff --git a/packages/core-mobile/app/services/earn/exportP.test.ts b/packages/core-mobile/app/services/earn/exportP.test.ts index 605e06925f..3d94cbfd03 100644 --- a/packages/core-mobile/app/services/earn/exportP.test.ts +++ b/packages/core-mobile/app/services/earn/exportP.test.ts @@ -14,17 +14,15 @@ describe('earn/exportP', () => { status: 'Committed' }) jest.mock('services/network/NetworkService') - jest - .spyOn(NetworkService, 'getAvalancheProviderXP') - .mockImplementation(() => { - return { - getApiP: () => { - return { - getTxStatus: getTxStatusMockFn - } + jest.spyOn(NetworkService, 'getAvalancheProviderXP').mockResolvedValue( + Promise.resolve({ + getApiP: () => { + return { + getTxStatus: getTxStatusMockFn } - } as unknown as Avalanche.JsonRpcProvider - }) + } + }) as unknown as Avalanche.JsonRpcProvider + ) jest.spyOn(NetworkService, 'sendTransaction').mockImplementation(() => { return Promise.resolve('mockTxHash') }) diff --git a/packages/core-mobile/app/services/earn/exportP.ts b/packages/core-mobile/app/services/earn/exportP.ts index b42d4eb524..18ad7d0ebd 100644 --- a/packages/core-mobile/app/services/earn/exportP.ts +++ b/packages/core-mobile/app/services/earn/exportP.ts @@ -50,7 +50,7 @@ export async function exportP({ }) Logger.trace('txID', txID) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDevMode) + const avaxProvider = await NetworkService.getAvalancheProviderXP(isDevMode) try { await retry({ diff --git a/packages/core-mobile/app/services/earn/importC.test.ts b/packages/core-mobile/app/services/earn/importC.test.ts index 2cce00cf36..2034b77f5b 100644 --- a/packages/core-mobile/app/services/earn/importC.test.ts +++ b/packages/core-mobile/app/services/earn/importC.test.ts @@ -12,18 +12,16 @@ describe('earn/importC', () => { status: 'Accepted' }) jest.mock('services/network/NetworkService') - jest - .spyOn(NetworkService, 'getAvalancheProviderXP') - .mockImplementation(() => { - return { - getApiC: () => { - return { - getBaseFee: baseFeeMockFn, - getAtomicTxStatus: getAtomicTxStatusMockFn - } + jest.spyOn(NetworkService, 'getAvalancheProviderXP').mockResolvedValue( + Promise.resolve({ + getApiC: () => { + return { + getBaseFee: baseFeeMockFn, + getAtomicTxStatus: getAtomicTxStatusMockFn } - } as unknown as Avalanche.JsonRpcProvider - }) + } + }) as unknown as Avalanche.JsonRpcProvider + ) jest.spyOn(NetworkService, 'sendTransaction').mockImplementation(() => { return Promise.resolve('mockTxHash') }) diff --git a/packages/core-mobile/app/services/earn/importC.ts b/packages/core-mobile/app/services/earn/importC.ts index 69f4451bec..fab01fa1e0 100644 --- a/packages/core-mobile/app/services/earn/importC.ts +++ b/packages/core-mobile/app/services/earn/importC.ts @@ -24,7 +24,7 @@ export async function importC({ }: ImportCParams): Promise { Logger.info('importing C started') const avaxXPNetwork = NetworkService.getAvalancheNetworkP(isDevMode) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDevMode) + const avaxProvider = await NetworkService.getAvalancheProviderXP(isDevMode) const baseFee = await avaxProvider.getApiC().getBaseFee() //in WEI const baseFeeAvax = new TokenUnit( diff --git a/packages/core-mobile/app/services/earn/importP.test.ts b/packages/core-mobile/app/services/earn/importP.test.ts index e9c5a612fd..9b192283c6 100644 --- a/packages/core-mobile/app/services/earn/importP.test.ts +++ b/packages/core-mobile/app/services/earn/importP.test.ts @@ -12,17 +12,15 @@ describe('earn/importP', () => { status: 'Committed' }) jest.mock('services/network/NetworkService') - jest - .spyOn(NetworkService, 'getAvalancheProviderXP') - .mockImplementation(() => { - return { - getApiP: () => { - return { - getTxStatus: getTxStatusMockFn - } + jest.spyOn(NetworkService, 'getAvalancheProviderXP').mockResolvedValue( + Promise.resolve({ + getApiP: () => { + return { + getTxStatus: getTxStatusMockFn } - } as unknown as Avalanche.JsonRpcProvider - }) + } + }) as unknown as Avalanche.JsonRpcProvider + ) jest.spyOn(NetworkService, 'sendTransaction').mockImplementation(() => { return Promise.resolve('mockTxHash') }) diff --git a/packages/core-mobile/app/services/earn/importP.ts b/packages/core-mobile/app/services/earn/importP.ts index a7f43d78fb..62569ab9a2 100644 --- a/packages/core-mobile/app/services/earn/importP.ts +++ b/packages/core-mobile/app/services/earn/importP.ts @@ -66,7 +66,7 @@ export async function importP({ Logger.trace('txID', txID) - const avaxProvider = NetworkService.getAvalancheProviderXP(isDevMode) + const avaxProvider = await NetworkService.getAvalancheProviderXP(isDevMode) try { await retry({ diff --git a/packages/core-mobile/app/services/network/NetworkService.ts b/packages/core-mobile/app/services/network/NetworkService.ts index 8fdc874bb2..1ae753beb3 100644 --- a/packages/core-mobile/app/services/network/NetworkService.ts +++ b/packages/core-mobile/app/services/network/NetworkService.ts @@ -116,7 +116,9 @@ class NetworkService { * Returns the provider used by Avalanche X/P/CoreEth chains. * Using either X or P Network will result in same provider. */ - getAvalancheProviderXP(isDeveloperMode: boolean): Avalanche.JsonRpcProvider { + async getAvalancheProviderXP( + isDeveloperMode: boolean + ): Promise { const network = this.getAvalancheNetworkP(isDeveloperMode) return ModuleManager.avalancheModule.getProvider(network) } diff --git a/packages/core-mobile/app/services/network/utils/providerUtils.ts b/packages/core-mobile/app/services/network/utils/providerUtils.ts index 97ad5d86ee..40d6a69015 100644 --- a/packages/core-mobile/app/services/network/utils/providerUtils.ts +++ b/packages/core-mobile/app/services/network/utils/providerUtils.ts @@ -6,19 +6,23 @@ import { NetworkVMType } from '@avalabs/core-chains-sdk' import { + Avalanche, BitcoinProvider, JsonRpcBatchInternal } from '@avalabs/core-wallets-sdk' import { Networks } from 'store/network/types' import ModuleManager from 'vmModule/ModuleManager' +import NetworkService from '../NetworkService' export function getBitcoinProvider( isTest: boolean | undefined -): BitcoinProvider { +): Promise { return ModuleManager.bitcoinModule.getProvider(getBitcoinNetwork(isTest)) } -export function getEvmProvider(network: Network): JsonRpcBatchInternal { +export async function getEvmProvider( + network: Network +): Promise { if (network.vmName !== NetworkVMType.EVM) throw new Error( `Cannot get evm provider for network type: ${network.vmName}` @@ -30,18 +34,18 @@ export function getEvmProvider(network: Network): JsonRpcBatchInternal { export function getAvalancheEvmProvider( networks: Networks, isTest: boolean | undefined -): JsonRpcBatchInternal | undefined { +): Promise { const network = getAvalancheNetwork(networks, isTest) - if (!network) return + if (!network) return Promise.resolve(undefined) return getEvmProvider(network) } export function getEthereumProvider( networks: Networks, isTest: boolean | undefined -): JsonRpcBatchInternal | undefined { +): Promise { const network = getEthereumNetwork(networks, isTest) - if (!network) return + if (!network) return Promise.resolve(undefined) return getEvmProvider(network) } @@ -66,3 +70,9 @@ export function getEthereumNetwork( ? networks[ChainId.ETHEREUM_TEST_SEPOLIA] : networks[ChainId.ETHEREUM_HOMESTEAD] } + +export function getAvalancheXpProvider( + isTestnet: boolean +): Promise { + return NetworkService.getAvalancheProviderXP(isTestnet) +} diff --git a/packages/core-mobile/app/services/wallet/MnemonicWallet.test.ts b/packages/core-mobile/app/services/wallet/MnemonicWallet.test.ts index 15a115cb3d..ed803e86ef 100644 --- a/packages/core-mobile/app/services/wallet/MnemonicWallet.test.ts +++ b/packages/core-mobile/app/services/wallet/MnemonicWallet.test.ts @@ -91,6 +91,14 @@ jest.mock('@metamask/eth-sig-util', () => ({ signTypedData: jest.fn() })) +jest + .spyOn(Avalanche.AbstractProvider.prototype, 'getInfo') + .mockImplementation(() => { + return { + getUpgradesInfo: jest.fn() + } + }) + describe('MnemonicWallet', () => { beforeEach(() => { jest.clearAllMocks() @@ -116,12 +124,12 @@ describe('MnemonicWallet', () => { const wallet = MnemonicWallet.getEvmSigner(0, {}) expect(wallet).toBeInstanceOf(BaseWallet) }) - it('should have returned Avalanche.StaticSigner', () => { - const wallet = MnemonicWallet.getAvaSigner(0, {}) + it('should have returned Avalanche.StaticSigner', async () => { + const wallet = await MnemonicWallet.getAvaSigner(0, {}) expect(wallet).toBeInstanceOf(Avalanche.StaticSigner) }) - it('should have returned Avalanche.SimpleSigner', () => { - const wallet = MnemonicWallet.getAvaSigner(0) + it('should have returned Avalanche.SimpleSigner', async () => { + const wallet = await MnemonicWallet.getAvaSigner(0) expect(wallet).toBeInstanceOf(Avalanche.SimpleSigner) }) it('should have called getEvmSigner for EVM network', async () => { diff --git a/packages/core-mobile/app/services/wallet/MnemonicWallet.ts b/packages/core-mobile/app/services/wallet/MnemonicWallet.ts index 3521d21a36..3be16204d8 100644 --- a/packages/core-mobile/app/services/wallet/MnemonicWallet.ts +++ b/packages/core-mobile/app/services/wallet/MnemonicWallet.ts @@ -80,10 +80,10 @@ export class MnemonicWallet implements Wallet { return wallet } - private getAvaSigner( + private async getAvaSigner( accountIndex: number, provider?: Avalanche.JsonRpcProvider - ): Avalanche.StaticSigner | Avalanche.SimpleSigner { + ): Promise { if (provider) { return Avalanche.StaticSigner.fromMnemonic( this.mnemonic, @@ -121,7 +121,7 @@ export class MnemonicWallet implements Wallet { `Unable to get signer: wrong provider obtained for network ${network.vmName}` ) } - return this.getAvaSigner(accountIndex) as Avalanche.SimpleSigner + return (await this.getAvaSigner(accountIndex)) as Avalanche.SimpleSigner default: throw new Error('Unable to get signer: network not supported') } @@ -383,14 +383,17 @@ export class MnemonicWallet implements Wallet { } } - public getReadOnlyAvaSigner({ + public async getReadOnlyAvaSigner({ accountIndex, provXP }: { accountIndex: number provXP: Avalanche.JsonRpcProvider - }): Avalanche.StaticSigner { - return this.getAvaSigner(accountIndex, provXP) as Avalanche.StaticSigner + }): Promise { + return (await this.getAvaSigner( + accountIndex, + provXP + )) as Avalanche.StaticSigner } private signAvalancheMessage = async ( @@ -400,7 +403,9 @@ export class MnemonicWallet implements Wallet { chainAlias: Avalanche.ChainIDAlias ): Promise => { const message = toUtf8(data) - const signer = this.getAvaSigner(accountIndex) as Avalanche.SimpleSigner + const signer = (await this.getAvaSigner( + accountIndex + )) as Avalanche.SimpleSigner const buffer = await signer.signMessage({ message, chain: chainAlias diff --git a/packages/core-mobile/app/services/wallet/WalletService.test.ts b/packages/core-mobile/app/services/wallet/WalletService.test.ts index 2ad8b25d9a..16df75f3cf 100644 --- a/packages/core-mobile/app/services/wallet/WalletService.test.ts +++ b/packages/core-mobile/app/services/wallet/WalletService.test.ts @@ -47,7 +47,14 @@ describe('WalletService', () => { const getUTXOsMock = jest.fn().mockReturnValue(getUTXOsMockValue) const mockWallet = jest.fn().mockReturnValue({ getUTXOs: getUTXOsMock, - addPermissionlessDelegator: addPermissionlessDelegatorMock + addPermissionlessDelegator: addPermissionlessDelegatorMock, + getProvider: jest.fn().mockImplementation(() => { + return { + getApiP: jest.fn().mockImplementation(() => { + return { getFeeState: jest.fn().mockResolvedValue('test') } + }) + } + }) }) beforeAll(() => { @@ -205,16 +212,16 @@ describe('WalletService', () => { } as AddDelegatorProps const unsignedTx = await WalletService.createAddDelegatorTx(params) expect(getUTXOsMock).toHaveBeenCalled() - expect(addPermissionlessDelegatorMock).toHaveBeenCalledWith( - getUTXOsMockValue, - validNodeId, - BigInt(validStartDate), - BigInt(validEndDateFuji), - fujiValidStakeAmount, - PChainId._11111111111111111111111111111111LPO_YY, - undefined, - [validRewardAddress] - ) + expect(addPermissionlessDelegatorMock).toHaveBeenCalledWith({ + utxoSet: getUTXOsMockValue, + nodeId: validNodeId, + start: BigInt(validStartDate), + end: BigInt(validEndDateFuji), + weight: fujiValidStakeAmount, + subnetId: PChainId._11111111111111111111111111111111LPO_YY, + rewardAddresses: [validRewardAddress], + feeState: 'test' + }) expect(unsignedTx).toStrictEqual(mockUnsignedTx) }) }) diff --git a/packages/core-mobile/app/services/wallet/WalletService.tsx b/packages/core-mobile/app/services/wallet/WalletService.tsx index 09e3a99a76..66615324fc 100644 --- a/packages/core-mobile/app/services/wallet/WalletService.tsx +++ b/packages/core-mobile/app/services/wallet/WalletService.tsx @@ -214,7 +214,7 @@ class WalletService { throw reason }) - const provXP = NetworkService.getAvalancheProviderXP(isTestnet) + const provXP = await NetworkService.getAvalancheProviderXP(isTestnet) return wallet.getAddresses({ accountIndex, isTestnet, provXP }) } @@ -251,7 +251,7 @@ class WalletService { } if (this.walletType === WalletType.MNEMONIC) { - const provXP = NetworkService.getAvalancheProviderXP(isTestnet) + const provXP = await NetworkService.getAvalancheProviderXP(isTestnet) return indices.map(index => Avalanche.getAddressFromXpub( @@ -347,12 +347,14 @@ class WalletService { ) const utxoSet = await readOnlySigner.getAtomicUTXOs('P', sourceChain) - - const unsignedTx = readOnlySigner.importP( + const apiP = readOnlySigner.getProvider().getApiP() + const feeState = await apiP.getFeeState().catch(() => undefined) + const unsignedTx = readOnlySigner.importP({ utxoSet, sourceChain, - destinationAddress - ) + toAddress: destinationAddress, + feeState + }) shouldValidateBurnedAmount && this.validateAvalancheFee({ @@ -377,13 +379,15 @@ class WalletService { ) const utxoSet = await readOnlySigner.getUTXOs('P') - - const unsignedTx = readOnlySigner.exportP( + const apiP = readOnlySigner.getProvider().getApiP() + const feeState = await apiP.getFeeState().catch(() => undefined) + const unsignedTx = readOnlySigner.exportP({ amount, utxoSet, - destinationChain, - destinationAddress - ) + destination: destinationChain, + toAddress: destinationAddress, + feeState + }) shouldValidateBurnedAmount && this.validateAvalancheFee({ @@ -414,26 +418,31 @@ class WalletService { // P-chain has a tx size limit of 64KB let utxoSet = await readOnlySigner.getUTXOs('P') - const filteredUtxos = Avalanche.getMaximumUtxoSet( - readOnlySigner, - utxoSet.getUTXOs(), - Avalanche.SizeSupportedTx.BaseP - ) + const apiP = readOnlySigner.getProvider().getApiP() + const feeState = await apiP.getFeeState().catch(() => undefined) + const filteredUtxos = Avalanche.getMaximumUtxoSet({ + wallet: readOnlySigner, + utxos: utxoSet.getUTXOs(), + sizeSupportedTx: Avalanche.SizeSupportedTx.BaseP, + feeState + }) utxoSet = new utils.UtxoSet(filteredUtxos) const changeAddress = utils.parse(sourceAddress)[2] - return readOnlySigner.baseTX( + + return readOnlySigner.baseTX({ utxoSet, - 'P', - destinationAddress, - { + chain: 'P', + toAddress: destinationAddress, + amountsPerAsset: { [avaxXPNetwork.isTestnet ? TESTNET_AVAX_ASSET_ID : MAINNET_AVAX_ASSET_ID]: amount }, - { + options: { changeAddresses: [changeAddress] - } - ) + }, + feeState + }) } /** @@ -457,19 +466,22 @@ class WalletService { // P-chain has a tx size limit of 64KB const utxoSet = await readOnlySigner.getUTXOs('X') const changeAddress = utils.parse(sourceAddress)[2] - return readOnlySigner.baseTX( + const apiP = readOnlySigner.getProvider().getApiP() + const feeState = await apiP.getFeeState().catch(() => undefined) + return readOnlySigner.baseTX({ utxoSet, - 'X', - destinationAddress, - { + chain: 'X', + toAddress: destinationAddress, + amountsPerAsset: { [avaxXPNetwork.isTestnet ? TESTNET_AVAX_ASSET_ID : MAINNET_AVAX_ASSET_ID]: amount }, - { + options: { changeAddresses: [changeAddress] - } - ) + }, + feeState + }) } public async createImportCTx({ @@ -553,17 +565,19 @@ class WalletService { ) const utxoSet = await readOnlySigner.getUTXOs('P') + const apiP = readOnlySigner.getProvider().getApiP() + const feeState = await apiP.getFeeState().catch(() => undefined) const network = NetworkService.getAvalancheNetworkP(isDevMode) - const unsignedTx = readOnlySigner.addPermissionlessDelegator( + const unsignedTx = readOnlySigner.addPermissionlessDelegator({ utxoSet, nodeId, - BigInt(startDate), - BigInt(endDate), - stakeAmount, - PChainId._11111111111111111111111111111111LPO_YY, - undefined, - [rewardAddress] - ) + start: BigInt(startDate), + end: BigInt(endDate), + weight: stakeAmount, + subnetId: PChainId._11111111111111111111111111111111LPO_YY, + rewardAddresses: [rewardAddress], + feeState + }) shouldValidateBurnedAmount && this.validateAvalancheFee({ @@ -583,7 +597,7 @@ class WalletService { this.#walletType = walletType } - private validateAvalancheFee({ + private async validateAvalancheFee({ network, unsignedTx, evmBaseFeeWei @@ -591,7 +605,7 @@ class WalletService { network: Network unsignedTx: UnsignedTx evmBaseFeeWei?: bigint - }): void { + }): Promise { if ( network.vmName !== NetworkVMType.AVM && network.vmName !== NetworkVMType.PVM @@ -599,17 +613,21 @@ class WalletService { throw new Error('Wrong network') } + if (evmBaseFeeWei === undefined) { + throw new Error('Missing evm fee data') + } + Logger.info('validating burned amount') - const avalancheProvider = NetworkService.getAvalancheProviderXP( + const avalancheProvider = await NetworkService.getAvalancheProviderXP( Boolean(network.isTestnet) ) const { isValid, txFee } = utils.validateBurnedAmount({ unsignedTx, context: avalancheProvider.getContext(), - evmBaseFee: evmBaseFeeWei, - evmFeeTolerance: EVM_FEE_TOLERANCE + baseFee: evmBaseFeeWei, + feeTolerance: EVM_FEE_TOLERANCE }) if (!isValid) { @@ -628,7 +646,7 @@ class WalletService { accountIndex, this.walletType ) - const provXP = NetworkService.getAvalancheProviderXP( + const provXP = await NetworkService.getAvalancheProviderXP( Boolean(network.isTestnet) ) return wallet.getReadOnlyAvaSigner({ accountIndex, provXP }) diff --git a/packages/core-mobile/app/services/wallet/types.ts b/packages/core-mobile/app/services/wallet/types.ts index 41d9b37a92..493c962ff2 100644 --- a/packages/core-mobile/app/services/wallet/types.ts +++ b/packages/core-mobile/app/services/wallet/types.ts @@ -227,5 +227,5 @@ export interface Wallet { }: { accountIndex: number provXP: Avalanche.JsonRpcProvider - }): Avalanche.WalletVoid | Avalanche.StaticSigner + }): Promise } diff --git a/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/utils.test.ts b/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/utils.test.ts index 59fe4cbcd9..931dbd2ad8 100644 --- a/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/utils.test.ts +++ b/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/utils.test.ts @@ -6,7 +6,8 @@ describe('isCoreMethod', () => { 'avalanche_sendTransaction', 'avalanche_signTransaction', 'avalanche_signMessage', - 'bitcoin_sendTransaction' + 'bitcoin_sendTransaction', + 'bitcoin_signTransaction' ] for (const method of methods) { diff --git a/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/wc_sessionRequest.test.ts b/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/wc_sessionRequest.test.ts index 2895f207a8..cde1b8faa6 100644 --- a/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/wc_sessionRequest.test.ts +++ b/packages/core-mobile/app/store/rpc/handlers/wc_sessionRequest/wc_sessionRequest.test.ts @@ -113,7 +113,10 @@ const testNonEVMNamespacesToApprove = { 'bip122:000000000019d6689c085ae165831e93', 'bip122:000000000933ea01ad0ee984209779ba' ], - methods: [RpcMethod.BITCOIN_SEND_TRANSACTION], + methods: [ + RpcMethod.BITCOIN_SEND_TRANSACTION, + RpcMethod.BITCOIN_SIGN_TRANSACTION + ], events: [ 'chainChanged', 'accountsChanged', @@ -641,7 +644,7 @@ describe('session_request handler', () => { 'disconnect', 'connect' ], - methods: ['bitcoin_sendTransaction'] + methods: ['bitcoin_sendTransaction', 'bitcoin_signTransaction'] } } diff --git a/packages/core-mobile/app/store/rpc/types.ts b/packages/core-mobile/app/store/rpc/types.ts index 476a1d5c59..c7018ea40f 100644 --- a/packages/core-mobile/app/store/rpc/types.ts +++ b/packages/core-mobile/app/store/rpc/types.ts @@ -61,6 +61,7 @@ export enum RpcMethod { AVALANCHE_SIGN_TRANSACTION = 'avalanche_signTransaction', AVALANCHE_GET_ADDRESSES_IN_RANGE = 'avalanche_getAddressesInRange', BITCOIN_SEND_TRANSACTION = 'bitcoin_sendTransaction', + BITCOIN_SIGN_TRANSACTION = 'bitcoin_signTransaction', AVALANCHE_SIGN_MESSAGE = 'avalanche_signMessage', AVALANCHE_RENAME_ACCOUNT = 'avalanche_renameAccount', @@ -89,7 +90,10 @@ export const CORE_AVAX_METHODS = [ RpcMethod.AVALANCHE_SIGN_MESSAGE ] -export const CORE_BTC_METHODS = [RpcMethod.BITCOIN_SEND_TRANSACTION] +export const CORE_BTC_METHODS = [ + RpcMethod.BITCOIN_SEND_TRANSACTION, + RpcMethod.BITCOIN_SIGN_TRANSACTION +] export type ConfirmationReceiptStatus = 'Reverted' | 'Success' | 'Pending' diff --git a/packages/core-mobile/app/utils/network/info.ts b/packages/core-mobile/app/utils/network/info.ts index 29c4f98b61..caa9827f2c 100644 --- a/packages/core-mobile/app/utils/network/info.ts +++ b/packages/core-mobile/app/utils/network/info.ts @@ -1,8 +1,10 @@ -import { Info } from '@avalabs/avalanchejs' +import { info } from '@avalabs/avalanchejs' import { AVALANCHE_MAINNET_API_URL, AVALANCHE_TESTNET_API_URL } from './constants' -export const getInfoApi = (isTestnet: boolean): Info => - new Info(isTestnet ? AVALANCHE_TESTNET_API_URL : AVALANCHE_MAINNET_API_URL) +export const getInfoApi = (isTestnet: boolean): info.InfoApi => + new info.InfoApi( + isTestnet ? AVALANCHE_TESTNET_API_URL : AVALANCHE_MAINNET_API_URL + ) diff --git a/packages/core-mobile/app/vmModule/handlers/btcSendTransaction.ts b/packages/core-mobile/app/vmModule/handlers/btcSendTransaction.ts index fb7d2f2433..8122a46355 100644 --- a/packages/core-mobile/app/vmModule/handlers/btcSendTransaction.ts +++ b/packages/core-mobile/app/vmModule/handlers/btcSendTransaction.ts @@ -1,7 +1,7 @@ import { Network } from '@avalabs/core-chains-sdk' import { ApprovalResponse, - BitcoinTransactionData + BitcoinExecuteTxData } from '@avalabs/vm-module-types' import WalletService from 'services/wallet/WalletService' import { rpcErrors } from '@metamask/rpc-errors' @@ -17,7 +17,7 @@ export const btcSendTransaction = async ({ finalFeeRate, resolve }: { - transactionData: BitcoinTransactionData + transactionData: BitcoinExecuteTxData network: Network account: Account finalFeeRate: number @@ -30,7 +30,7 @@ export const btcSendTransaction = async ({ // we need to re-create the transaction when fee rate has changed if (finalFeeRate !== 0 && finalFeeRate !== feeRate) { - const provider = ModuleManager.bitcoinModule.getProvider(network) + const provider = await ModuleManager.bitcoinModule.getProvider(network) const updatedTx = createTransferTx( to, account.addressBTC, diff --git a/packages/core-mobile/package.json b/packages/core-mobile/package.json index 98d75a6f54..b478b26e4d 100644 --- a/packages/core-mobile/package.json +++ b/packages/core-mobile/package.json @@ -20,21 +20,21 @@ "gen:glacierApi": "npx openapi-zod-client 'https://glacier-api-dev.avax.network/api-json' -o './app/utils/network/glacierApi.client.ts'" }, "dependencies": { - "@avalabs/avalanche-module": "0.9.0", - "@avalabs/avalanchejs": "4.0.5", - "@avalabs/bitcoin-module": "0.9.0", + "@avalabs/avalanche-module": "0.11.5", + "@avalabs/avalanchejs": "4.1.0-alpha.15", + "@avalabs/bitcoin-module": "0.11.5", "@avalabs/bridge-unified": "2.1.0", - "@avalabs/core-bridge-sdk": "3.1.0-alpha.7", - "@avalabs/core-chains-sdk": "3.1.0-alpha.7", - "@avalabs/core-coingecko-sdk": "3.1.0-alpha.7", - "@avalabs/core-utils-sdk": "3.1.0-alpha.7", - "@avalabs/core-wallets-sdk": "3.1.0-alpha.7", - "@avalabs/evm-module": "0.9.0", - "@avalabs/glacier-sdk": "3.1.0-alpha.7", + "@avalabs/core-bridge-sdk": "3.1.0-alpha.11", + "@avalabs/core-chains-sdk": "3.1.0-alpha.11", + "@avalabs/core-coingecko-sdk": "3.1.0-alpha.11", + "@avalabs/core-utils-sdk": "3.1.0-alpha.11", + "@avalabs/core-wallets-sdk": "3.1.0-alpha.11", + "@avalabs/evm-module": "0.11.5", + "@avalabs/glacier-sdk": "3.1.0-alpha.11", "@avalabs/k2-alpine": "workspace:*", "@avalabs/k2-mobile": "workspace:*", - "@avalabs/types": "3.1.0-alpha.7", - "@avalabs/vm-module-types": "0.9.0", + "@avalabs/types": "3.1.0-alpha.11", + "@avalabs/vm-module-types": "0.11.5", "@blockaid/client": "0.27.4", "@coinbase/cbpay-js": "2.2.1", "@cubist-labs/cubesigner-sdk": "0.3.29", diff --git a/yarn.lock b/yarn.lock index b2e7c080ff..62c78c4791 100644 --- a/yarn.lock +++ b/yarn.lock @@ -48,54 +48,54 @@ __metadata: languageName: node linkType: hard -"@avalabs/avalanche-module@npm:0.9.0": - version: 0.9.0 - resolution: "@avalabs/avalanche-module@npm:0.9.0" - dependencies: - "@avalabs/avalanchejs": 4.0.5 - "@avalabs/core-chains-sdk": 3.1.0-alpha.7 - "@avalabs/core-coingecko-sdk": 3.1.0-alpha.7 - "@avalabs/core-etherscan-sdk": 3.1.0-alpha.7 - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 - "@avalabs/glacier-sdk": 3.1.0-alpha.7 - "@avalabs/types": 3.1.0-alpha.7 - "@avalabs/vm-module-types": 0.9.0 +"@avalabs/avalanche-module@npm:0.11.5": + version: 0.11.5 + resolution: "@avalabs/avalanche-module@npm:0.11.5" + dependencies: + "@avalabs/avalanchejs": 4.1.0-alpha.15 + "@avalabs/core-chains-sdk": 3.1.0-alpha.11 + "@avalabs/core-coingecko-sdk": 3.1.0-alpha.11 + "@avalabs/core-etherscan-sdk": 3.1.0-alpha.11 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 + "@avalabs/glacier-sdk": 3.1.0-alpha.11 + "@avalabs/types": 3.1.0-alpha.11 + "@avalabs/vm-module-types": 0.11.5 "@metamask/rpc-errors": 6.3.0 big.js: 6.2.1 bn.js: 5.2.1 zod: 3.23.8 - checksum: 7a8916daf5960ee7fc5e89c6df9fe2b2af158f74914ed3b1cade8fea26f0f6ff9200a7212f3e0ecaec435c4ec11aefa1679662b7ad252b2098418324589b07fe + checksum: 1b17c04a00071310942dd8968dea9b7aa78dbbbee45334f2922fe82c83b247c24d17a88180f68259c292e5d983b672bae4c699d80be7f6e95e323fb55bacaaaa languageName: node linkType: hard -"@avalabs/avalanchejs@npm:4.0.5": - version: 4.0.5 - resolution: "@avalabs/avalanchejs@npm:4.0.5" +"@avalabs/avalanchejs@npm:4.1.0-alpha.15": + version: 4.1.0-alpha.15 + resolution: "@avalabs/avalanchejs@npm:4.1.0-alpha.15" dependencies: "@noble/curves": 1.3.0 "@noble/hashes": 1.3.3 "@noble/secp256k1": 2.0.0 "@scure/base": 1.1.5 micro-eth-signer: 0.7.2 - checksum: 2da6288bb2c444bcdd2c6e392a5ae4e4aa05a81ca78611d33916009fb7301d893753985d2c9d0c9127325f30a66e5d1db05a1b2513f62f79264b35616984957c + checksum: 0662970c476a3d75c5b7b0bc1d3ec09735301d555c6a91ebdf9bc02f356e7d200fdef7c4f2833c412de3caaf2e2e959b9b51a66a8f8a93936730cf791ef689fb languageName: node linkType: hard -"@avalabs/bitcoin-module@npm:0.9.0": - version: 0.9.0 - resolution: "@avalabs/bitcoin-module@npm:0.9.0" +"@avalabs/bitcoin-module@npm:0.11.5": + version: 0.11.5 + resolution: "@avalabs/bitcoin-module@npm:0.11.5" dependencies: - "@avalabs/core-coingecko-sdk": 3.1.0-alpha.7 - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 - "@avalabs/vm-module-types": 0.9.0 + "@avalabs/core-coingecko-sdk": 3.1.0-alpha.11 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 + "@avalabs/vm-module-types": 0.11.5 "@metamask/rpc-errors": 6.3.0 big.js: 6.2.1 bitcoinjs-lib: 5.2.0 bn.js: 5.2.1 zod: 3.23.8 - checksum: 5cdb9b627f0577b9a5972f1ae5c62cf4177bf99a2099a0f7680321df0bd73e04d94b5154d5d6f1ffbdbf38aa0338f7552c5d4f45785f989317db16a801c7c1e9 + checksum: d4d1accc2a14b357edb569d77070b4d274740b3b11f9cc91e2f17307fc770fa7c04d4510f986b99a4a5a9dc6001248049d6aa910e3ef3d2b424b3a6fc62491a9 languageName: node linkType: hard @@ -110,47 +110,47 @@ __metadata: languageName: node linkType: hard -"@avalabs/core-bridge-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-bridge-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-bridge-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-bridge-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/core-coingecko-sdk": 3.1.0-alpha.7 - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 + "@avalabs/core-coingecko-sdk": 3.1.0-alpha.11 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 peerDependencies: big.js: ^6.2.1 bitcoinjs-lib: ^5.2.0 coinselect: ^3.1.12 ethers: ^6.7.1 react: ^17.0.2 - checksum: 65b952a865125e83a1bbccf6f98bf953c817b4b539a051466f2a7f57c33d45d578d9113d3387f2f003019a137253722307cbeea57446a1e005999cea7e08c7f9 + checksum: ac2029d482a06cad0a8cd3fb4e55473b5d2eca2851e9bdc6862b8cf2478b4f9226cac3bec8418b99b8309c646126ed8991bab54f2915d74a11eb3cfcf70c612a languageName: node linkType: hard -"@avalabs/core-chains-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-chains-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-chains-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-chains-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - checksum: 1f79dbb988093c881798a28f546e8fa627653e4d32ad1bc8c0bdca19bd3934ea0df14db6641b4122624dfdcc02590bb5028f1088c372a5fa60571229146da08c + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + checksum: 6377ed18f1ec7a2afb7e6bc36bf187c10ad235fce1bd4e2e2ce1f427cf907051990326affe015a798d74d01c4f1a441c84976e9ea3bc79c146dbb726c4d9d035 languageName: node linkType: hard -"@avalabs/core-coingecko-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-coingecko-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-coingecko-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-coingecko-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - checksum: 95112871ba85bb6ab51b1be299cdeb330970c6917ac2718e66b7162297f9ea24819ff54ad647884d0cd928eb733de57f5a73dc15c1d72f0523f0759ea79cd7c3 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + checksum: 8f458b97218b1afbb640a92cad39d979842fc8cd3bb77cc864c715a9a50cb42f96a73732f903dd9b651cecf3b9c988b8b5fe74433c6beaa60852c5bdd9ea678b languageName: node linkType: hard -"@avalabs/core-etherscan-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-etherscan-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-etherscan-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-etherscan-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - checksum: 0adfd90dfc6367351f8a73baa309a67f146ccd35742725fd0c6ceb4cb7427dac549f7eb89b6d307753592d195e96be3cb082c2b66c632d0145aa3fc93aa8450d + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + checksum: 48daf5ed6c1bf64b61200fc24f31d33a06e45f9ea2763b55b8c9b7b1fdbb51e77afe21d9829c7457193af8aa64a9f194981943cacc233330c9e1d6cebebe5513 languageName: node linkType: hard @@ -158,22 +158,22 @@ __metadata: version: 0.0.0-use.local resolution: "@avalabs/core-mobile@workspace:packages/core-mobile" dependencies: - "@avalabs/avalanche-module": 0.9.0 - "@avalabs/avalanchejs": 4.0.5 - "@avalabs/bitcoin-module": 0.9.0 + "@avalabs/avalanche-module": 0.11.5 + "@avalabs/avalanchejs": 4.1.0-alpha.15 + "@avalabs/bitcoin-module": 0.11.5 "@avalabs/bridge-unified": 2.1.0 - "@avalabs/core-bridge-sdk": 3.1.0-alpha.7 - "@avalabs/core-chains-sdk": 3.1.0-alpha.7 - "@avalabs/core-coingecko-sdk": 3.1.0-alpha.7 - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 - "@avalabs/evm-module": 0.9.0 - "@avalabs/glacier-sdk": 3.1.0-alpha.7 + "@avalabs/core-bridge-sdk": 3.1.0-alpha.11 + "@avalabs/core-chains-sdk": 3.1.0-alpha.11 + "@avalabs/core-coingecko-sdk": 3.1.0-alpha.11 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 + "@avalabs/evm-module": 0.11.5 + "@avalabs/glacier-sdk": 3.1.0-alpha.11 "@avalabs/k2-alpine": "workspace:*" "@avalabs/k2-mobile": "workspace:*" "@avalabs/tsconfig-mobile": "workspace:*" - "@avalabs/types": 3.1.0-alpha.7 - "@avalabs/vm-module-types": 0.9.0 + "@avalabs/types": 3.1.0-alpha.11 + "@avalabs/vm-module-types": 0.11.5 "@babel/core": 7.25.7 "@babel/plugin-proposal-nullish-coalescing-operator": 7.18.6 "@babel/plugin-syntax-object-rest-spread": 7.8.3 @@ -390,28 +390,28 @@ __metadata: languageName: unknown linkType: soft -"@avalabs/core-utils-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-utils-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-utils-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-utils-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/avalanchejs": 4.0.5 + "@avalabs/avalanchejs": 4.1.0-alpha.15 "@hpke/core": 1.2.5 is-ipfs: 6.0.2 peerDependencies: big.js: ^6.2.1 bn.js: ^5.2.1 ethers: ^6.7.1 - checksum: f25534a584a0e6d89a9168ca4d340fb9b9bfbf9a94644763edf4fa5f054adba77fefe153342f380f03d480e8330f5f984dcd0f88a42fa795c84d5b622477c867 + checksum: 3e2ea85d5bbc3cba706f5fdeda147bcabd59800b0237ce9d5b29c26b531eee2cb937f1417eb53e05c6dbc5f0e58a8de87bdfa63cb5d2f0eeb5b4e70d55c018a0 languageName: node linkType: hard -"@avalabs/core-wallets-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/core-wallets-sdk@npm:3.1.0-alpha.7" +"@avalabs/core-wallets-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/core-wallets-sdk@npm:3.1.0-alpha.11" dependencies: - "@avalabs/avalanchejs": 4.0.5 - "@avalabs/core-chains-sdk": 3.1.0-alpha.7 - "@avalabs/glacier-sdk": 3.1.0-alpha.7 + "@avalabs/avalanchejs": 4.1.0-alpha.15 + "@avalabs/core-chains-sdk": 3.1.0-alpha.11 + "@avalabs/glacier-sdk": 3.1.0-alpha.11 "@avalabs/hw-app-avalanche": 0.14.1 "@ledgerhq/hw-app-btc": 10.2.4 "@ledgerhq/hw-app-eth": 6.36.1 @@ -429,21 +429,21 @@ __metadata: xss: 1.0.14 peerDependencies: ethers: ^6.7.1 - checksum: 77b6bdecefcff80bccb8a09b3116a20869bed9db4405fb2a26088784caf8633d95341a8c90ea592889866e422c215f6e10b40b125211bc28c95ae4afd5182429 + checksum: 7c140b9358d9c3263a6c5baf1a22852ee091e55b0ae12ecb118fddaf5c67d1c8a23c738d13922414fd80d605bd834e5fb938e0e8988990d7f7d4a1cf586eb81d languageName: node linkType: hard -"@avalabs/evm-module@npm:0.9.0": - version: 0.9.0 - resolution: "@avalabs/evm-module@npm:0.9.0" - dependencies: - "@avalabs/core-coingecko-sdk": 3.1.0-alpha.7 - "@avalabs/core-etherscan-sdk": 3.1.0-alpha.7 - "@avalabs/core-utils-sdk": 3.1.0-alpha.7 - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 - "@avalabs/glacier-sdk": 3.1.0-alpha.7 - "@avalabs/types": 3.1.0-alpha.7 - "@avalabs/vm-module-types": 0.9.0 +"@avalabs/evm-module@npm:0.11.5": + version: 0.11.5 + resolution: "@avalabs/evm-module@npm:0.11.5" + dependencies: + "@avalabs/core-coingecko-sdk": 3.1.0-alpha.11 + "@avalabs/core-etherscan-sdk": 3.1.0-alpha.11 + "@avalabs/core-utils-sdk": 3.1.0-alpha.11 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 + "@avalabs/glacier-sdk": 3.1.0-alpha.11 + "@avalabs/types": 3.1.0-alpha.11 + "@avalabs/vm-module-types": 0.11.5 "@blockaid/client": 0.11.0 "@metamask/rpc-errors": 6.3.0 "@openzeppelin/contracts": 4.9.6 @@ -453,14 +453,14 @@ __metadata: zod: 3.23.8 peerDependencies: ethers: 6.8.1 - checksum: e2e9f21095f71384285fa38f986117642685d8d0a3b64eef717b04ab216592d02a3fe8df36ac9c3ed660a5e56c61d3ca4c47e3c229b02807073ed843f313811e + checksum: 706eaa319dfb36bf128ccbf15ae49aab6a398b5d020b9ca6499c9b5dbf79d56ec6156ac058c32e2638b7646a1266b4e018216ae3fcd3c7a62eba1f053f63b9b0 languageName: node linkType: hard -"@avalabs/glacier-sdk@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/glacier-sdk@npm:3.1.0-alpha.7" - checksum: c983deedee87ea4f072b9fd79b684fb93160dc6d61b32071a9d697386bf97c61752fc9e574b19d9671f1c2f2ca38091f4847478997e58d4ef0c2879305515cca +"@avalabs/glacier-sdk@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/glacier-sdk@npm:3.1.0-alpha.11" + checksum: 0aba399750a98ebfed3dd29a905ff3f9848317f4f1a40eb4ea990ae759722e0282e28a11e2e83f0ac6cffdee0d6cb488e636b17f364518e02b43bdbe26edcaab languageName: node linkType: hard @@ -576,25 +576,25 @@ __metadata: languageName: unknown linkType: soft -"@avalabs/types@npm:3.1.0-alpha.7": - version: 3.1.0-alpha.7 - resolution: "@avalabs/types@npm:3.1.0-alpha.7" - checksum: 4817e09e62003230618987083c4cae6d839fdd9c51fdba641a0f084aa4acb82fce49d5807e70b6a56510a60ba51b063013cdfbd9ed4b157d2133def48d76991d +"@avalabs/types@npm:3.1.0-alpha.11": + version: 3.1.0-alpha.11 + resolution: "@avalabs/types@npm:3.1.0-alpha.11" + checksum: 185c0041be9c5d5bfe4adc3bfbd37261a261f0f03422b5e1b3df7ae93fda2f892a9b52af3c1ad9e753a483ec72d12ffe85e87c350ac672d5d8f1d1522753ed26 languageName: node linkType: hard -"@avalabs/vm-module-types@npm:0.9.0": - version: 0.9.0 - resolution: "@avalabs/vm-module-types@npm:0.9.0" +"@avalabs/vm-module-types@npm:0.11.5": + version: 0.11.5 + resolution: "@avalabs/vm-module-types@npm:0.11.5" dependencies: - "@avalabs/core-wallets-sdk": 3.1.0-alpha.7 - "@avalabs/glacier-sdk": 3.1.0-alpha.7 + "@avalabs/core-wallets-sdk": 3.1.0-alpha.11 + "@avalabs/glacier-sdk": 3.1.0-alpha.11 "@metamask/rpc-errors": 6.3.0 bitcoinjs-lib: 5.2.0 zod: 3.23.8 peerDependencies: ethers: 6.8.1 - checksum: 65610307f176a6dd3d6e82dc18f7dc1d6eb2abeb3625ee6a0c2ca83c84494a401591a0342e513c4af2f2200e11c78b7f42f73f29278134f0595313c424b2bc01 + checksum: 8a9f531ee926f5897b3f980da15ec693e8a5fa14f145afb05b451dc74521ce41d3ebd45f042b73793d43997576369e12ed5c67e7de9636852d75a9e82e42fcfa languageName: node linkType: hard @@ -661,7 +661,7 @@ __metadata: languageName: node linkType: hard -"@babel/compat-data@npm:^7.25.2": +"@babel/compat-data@npm:^7.25.2, @babel/compat-data@npm:^7.25.4": version: 7.25.4 resolution: "@babel/compat-data@npm:7.25.4" checksum: b12a91d27c3731a4b0bdc9312a50b1911f41f7f728aaf0d4b32486e2257fd2cb2d3ea1a295e98449600c48f2c7883a3196ca77cda1cef7d97a10c2e83d037974 @@ -833,6 +833,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.24.7" + dependencies: + "@babel/traverse": ^7.24.7 + "@babel/types": ^7.24.7 + checksum: 71a6158a9fdebffb82fdc400d5555ba8f2e370cea81a0d578155877bdc4db7d5252b75c43b2fdf3f72b3f68348891f99bd35ae315542daad1b7ace8322b1abcb + languageName: node + linkType: hard + "@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.25.7" @@ -869,7 +879,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.24.7": +"@babel/helper-compilation-targets@npm:^7.24.7, @babel/helper-compilation-targets@npm:^7.24.8, @babel/helper-compilation-targets@npm:^7.25.2": version: 7.25.2 resolution: "@babel/helper-compilation-targets@npm:7.25.2" dependencies: @@ -914,7 +924,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.24.7": +"@babel/helper-create-class-features-plugin@npm:^7.24.7, @babel/helper-create-class-features-plugin@npm:^7.25.4": version: 7.25.4 resolution: "@babel/helper-create-class-features-plugin@npm:7.25.4" dependencies: @@ -961,6 +971,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-regexp-features-plugin@npm:^7.24.7, @babel/helper-create-regexp-features-plugin@npm:^7.25.0, @babel/helper-create-regexp-features-plugin@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.25.2" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + regexpu-core: ^5.3.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: df55fdc6a1f3090dd37d91347df52d9322d52affa239543808dc142f8fe35e6787e67d8612337668198fac85826fafa9e6772e6c28b7d249ec94e6fafae5da6e + languageName: node + linkType: hard + "@babel/helper-create-regexp-features-plugin@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.25.7" @@ -1118,6 +1141,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.24.7, @babel/helper-module-transforms@npm:^7.24.8, @babel/helper-module-transforms@npm:^7.25.0": + version: 7.25.2 + resolution: "@babel/helper-module-transforms@npm:7.25.2" + dependencies: + "@babel/helper-module-imports": ^7.24.7 + "@babel/helper-simple-access": ^7.24.7 + "@babel/helper-validator-identifier": ^7.24.7 + "@babel/traverse": ^7.25.2 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 282d4e3308df6746289e46e9c39a0870819630af5f84d632559171e4fae6045684d771a65f62df3d569e88ccf81dc2def78b8338a449ae3a94bb421aa14fc367 + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-module-transforms@npm:7.25.7" @@ -1193,6 +1230,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-remap-async-to-generator@npm:^7.24.7, @babel/helper-remap-async-to-generator@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-remap-async-to-generator@npm:7.25.0" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-wrap-function": ^7.25.0 + "@babel/traverse": ^7.25.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 47f3065e43fe9d6128ddb4291ffb9cf031935379265fd13de972b5f241943121f7583efb69cd2e1ecf39e3d0f76f047547d56c3fcc2c853b326fad5465da0bd7 + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-remap-async-to-generator@npm:7.25.7" @@ -1219,7 +1269,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.25.0": +"@babel/helper-replace-supers@npm:^7.24.7, @babel/helper-replace-supers@npm:^7.25.0": version: 7.25.0 resolution: "@babel/helper-replace-supers@npm:7.25.0" dependencies: @@ -1254,6 +1304,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/helper-simple-access@npm:7.24.7" + dependencies: + "@babel/traverse": ^7.24.7 + "@babel/types": ^7.24.7 + checksum: ddbf55f9dea1900213f2a1a8500fabfd21c5a20f44dcfa957e4b0d8638c730f88751c77f678644f754f1a1dc73f4eb8b766c300deb45a9daad000e4247957819 + languageName: node + linkType: hard + "@babel/helper-simple-access@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-simple-access@npm:7.25.7" @@ -1390,6 +1450,17 @@ __metadata: languageName: node linkType: hard +"@babel/helper-wrap-function@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/helper-wrap-function@npm:7.25.0" + dependencies: + "@babel/template": ^7.25.0 + "@babel/traverse": ^7.25.0 + "@babel/types": ^7.25.0 + checksum: 0095b4741704066d1687f9bbd5370bb88c733919e4275e49615f70c180208148ff5f24ab58d186ce92f8f5d28eab034ec6617e9264590cc4744c75302857629c + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.25.7": version: 7.25.7 resolution: "@babel/helper-wrap-function@npm:7.25.7" @@ -1531,6 +1602,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.3": + version: 7.25.3 + resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.3" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.3 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: d3dba60f360defe70eb43e35a1b17ea9dd4a99e734249e15be3d5c288019644f96f88d7ff51990118fda0845b4ad50f6d869e0382232b1d8b054d113d4eea7e2 + languageName: node + linkType: hard + "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.7" @@ -1543,6 +1626,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.0" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: fd56d1e6435f2c008ca9050ea906ff7eedcbec43f532f2bf2e7e905d8bf75bf5e4295ea9593f060394e2c8e45737266ccbf718050bad2dd7be4e7613c60d1b5b + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.7" @@ -1554,6 +1648,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.0" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 13ed301b108d85867d64226bbc4032b07dd1a23aab68e9e32452c4fe3930f2198bb65bdae9c262c4104bd5e45647bc1830d25d43d356ee9a137edd8d5fab8350 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.7" @@ -1565,6 +1670,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/plugin-transform-optional-chaining": ^7.24.7 + peerDependencies: + "@babel/core": ^7.13.0 + checksum: 07b92878ac58a98ea1fdf6a8b4ec3413ba4fa66924e28b694d63ec5b84463123fbf4d7153b56cf3cedfef4a3482c082fe3243c04f8fb2c041b32b0e29b4a9e21 + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.25.7" @@ -1578,6 +1696,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.0" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: c8d08b8d6cc71451ad2a50cf7db72ab5b41c1e5e2e4d56cf6837a25a61270abd682c6b8881ab025f11a552d2024b3780519bb051459ebb71c27aed13d9917663 + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.7" @@ -1802,14 +1932,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.25.7": - version: 7.25.7 - resolution: "@babel/plugin-syntax-flow@npm:7.25.7" +"@babel/plugin-syntax-flow@npm:^7.0.0, @babel/plugin-syntax-flow@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-syntax-flow@npm:7.24.7" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 + "@babel/helper-plugin-utils": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 486757900b0ee128e5b01caacb1ce03f7e752922ff6cca5505e52936a0bc0d28fdb54ed798e6c31087a4009aac4feac6d93c6629265f33e56203486ec4e3ef2b + checksum: 43b78b5fcdedb2a6d80c3d02a1a564fbfde86b73b442d616a8f318f673caa6ce0151513af5a00fcae42a512f144e70ef259d368b9537ee35d40336a6c895a7d4 languageName: node linkType: hard @@ -1835,6 +1965,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-assertions@npm:^7.24.7": + version: 7.25.6 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.25.6" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b3b251ace9f184c2d6369cde686ff01581050cb0796f2ff00ff4021f31cf86270b347df09579f2c0996e999e37e1dddafacec42ed1ef6aae21a265aff947e792 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-assertions@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-syntax-import-assertions@npm:7.25.7" @@ -1846,6 +1987,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-attributes@npm:^7.24.7": + version: 7.25.6 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.25.6" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3b0928e73e42346e8a65760a3ff853c87ad693cdf11bb335a23e895e0b5b1f0601118521b3aff2a6946488a580a63afb6a5b5686153a7678b4dff0e4e4604dd7 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-attributes@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-syntax-import-attributes@npm:7.25.7" @@ -1879,14 +2031,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.25.7": - version: 7.25.7 - resolution: "@babel/plugin-syntax-jsx@npm:7.25.7" +"@babel/plugin-syntax-jsx@npm:^7.0.0, @babel/plugin-syntax-jsx@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-syntax-jsx@npm:7.24.7" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 + "@babel/helper-plugin-utils": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 3584566707a1c92e48b3ad2423af73bc4497093fb17fb786977fc5aef6130ae7a2f7856a7848431bed1ac21b4a8d86d2ff4505325b700f76f9bd57b4e95a2297 + checksum: 7a5ca629d8ca1e1ee78705a78e58c12920d07ed8006d7e7232b31296a384ff5e41d7b649bde5561196041037bbb9f9715be1d1c20975df87ca204f34ad15b965 languageName: node linkType: hard @@ -1901,14 +2053,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/plugin-syntax-jsx@npm:7.24.7" +"@babel/plugin-syntax-jsx@npm:^7.25.7": + version: 7.25.7 + resolution: "@babel/plugin-syntax-jsx@npm:7.25.7" dependencies: - "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-plugin-utils": ^7.25.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 7a5ca629d8ca1e1ee78705a78e58c12920d07ed8006d7e7232b31296a384ff5e41d7b649bde5561196041037bbb9f9715be1d1c20975df87ca204f34ad15b965 + checksum: 3584566707a1c92e48b3ad2423af73bc4497093fb17fb786977fc5aef6130ae7a2f7856a7848431bed1ac21b4a8d86d2ff4505325b700f76f9bd57b4e95a2297 languageName: node linkType: hard @@ -2056,6 +2208,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-arrow-functions@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 707c209b5331c7dc79bd326128c6a6640dbd62a78da1653c844db20c4f36bf7b68454f1bc4d2d051b3fde9136fa291f276ec03a071bb00ee653069ff82f91010 + languageName: node + linkType: hard + "@babel/plugin-transform-arrow-functions@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-arrow-functions@npm:7.25.7" @@ -2067,6 +2230,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-generator-functions@npm:^7.25.4": + version: 7.25.4 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.25.4" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-remap-async-to-generator": ^7.25.0 + "@babel/plugin-syntax-async-generators": ^7.8.4 + "@babel/traverse": ^7.25.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4235444735a1946f8766fe56564a8134c2c36c73e6cf83b3f2ed5624ebc84ff5979506a6a5b39acdb23aa09d442a6af471710ed408ccce533a2c4d2990b9df6a + languageName: node + linkType: hard + "@babel/plugin-transform-async-generator-functions@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-async-generator-functions@npm:7.25.7" @@ -2094,6 +2271,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-to-generator@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.24.7" + dependencies: + "@babel/helper-module-imports": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-remap-async-to-generator": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 13704fb3b83effc868db2b71bfb2c77b895c56cb891954fc362e95e200afd523313b0e7cf04ce02f45b05e76017c5b5fa8070c92613727a35131bb542c253a36 + languageName: node + linkType: hard + "@babel/plugin-transform-async-to-generator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-async-to-generator@npm:7.25.7" @@ -2107,7 +2297,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-block-scoped-functions@npm:^7.0.0, @babel/plugin-transform-block-scoped-functions@npm:^7.25.7": +"@babel/plugin-transform-block-scoped-functions@npm:^7.0.0, @babel/plugin-transform-block-scoped-functions@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 249cdcbff4e778b177245f9652b014ea4f3cd245d83297f10a7bf6d97790074089aa62bcde8c08eb299c5e68f2faed346b587d3ebac44d625ba9a83a4ee27028 + languageName: node + linkType: hard + +"@babel/plugin-transform-block-scoped-functions@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.25.7" dependencies: @@ -2129,6 +2330,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoping@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-block-scoping@npm:7.25.0" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b1a8f932f69ad2a47ae3e02b4cedd2a876bfc2ac9cf72a503fd706cdc87272646fe9eed81e068c0fc639647033de29f7fa0c21cddd1da0026f83dbaac97316a8 + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoping@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-block-scoping@npm:7.25.7" @@ -2140,6 +2352,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-class-properties@npm:^7.25.4": + version: 7.25.4 + resolution: "@babel/plugin-transform-class-properties@npm:7.25.4" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.25.4 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b73f7d968639c6c2dfc13f4c5a8fe45cefd260f0faa7890ae12e65d41211072544ff5e128c8b61a86887b29ffd3df8422dbdfbf61648488e71d4bb599c41f4a5 + languageName: node + linkType: hard + "@babel/plugin-transform-class-properties@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-class-properties@npm:7.25.7" @@ -2165,6 +2389,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-class-static-block@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-class-static-block@npm:7.24.7" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + peerDependencies: + "@babel/core": ^7.12.0 + checksum: 324049263504f18416f1c3e24033baebfafd05480fdd885c8ebe6f2b415b0fc8e0b98d719360f9e30743cc78ac387fabc0b3c6606d2b54135756ffb92963b382 + languageName: node + linkType: hard + "@babel/plugin-transform-classes@npm:^7.0.0": version: 7.22.15 resolution: "@babel/plugin-transform-classes@npm:7.22.15" @@ -2184,6 +2421,22 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-classes@npm:^7.25.4": + version: 7.25.4 + resolution: "@babel/plugin-transform-classes@npm:7.25.4" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-compilation-targets": ^7.25.2 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-replace-supers": ^7.25.0 + "@babel/traverse": ^7.25.4 + globals: ^11.1.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 0bf20e46eeb691bd60cee5d1b01950fc37accec88018ecace25099f7c8d8509c1ac54d11b8caf9f2157c6945969520642a3bc421159c1a14e80224dc9a7611de + languageName: node + linkType: hard + "@babel/plugin-transform-classes@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-classes@npm:7.25.7" @@ -2212,6 +2465,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-computed-properties@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-computed-properties@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/template": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 0cf8c1b1e4ea57dec8d4612460d84fd4cdbf71a7499bb61ee34632cf89018a59eee818ffca88a8d99ee7057c20a4257044d7d463fda6daef9bf1db9fa81563cb + languageName: node + linkType: hard + "@babel/plugin-transform-computed-properties@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-computed-properties@npm:7.25.7" @@ -2224,14 +2489,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-destructuring@npm:^7.0.0, @babel/plugin-transform-destructuring@npm:^7.25.7": - version: 7.25.7 - resolution: "@babel/plugin-transform-destructuring@npm:7.25.7" +"@babel/plugin-transform-destructuring@npm:^7.0.0, @babel/plugin-transform-destructuring@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-destructuring@npm:7.24.8" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 + "@babel/helper-plugin-utils": ^7.24.8 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 8b4015ef0c9117515b107ef0cd138108f1b025b40393d1da364c5c8123674d6f01523e8786d5bd2fae6d95fa9ec67b6fe7b868d69e930ea9701f337a160e2133 + checksum: 0b4bd3d608979a1e5bd97d9d42acd5ad405c7fffa61efac4c7afd8e86ea6c2d91ab2d94b6a98d63919571363fe76e0b03c4ff161f0f60241b895842596e4a999 languageName: node linkType: hard @@ -2246,6 +2511,29 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-destructuring@npm:^7.25.7": + version: 7.25.7 + resolution: "@babel/plugin-transform-destructuring@npm:7.25.7" + dependencies: + "@babel/helper-plugin-utils": ^7.25.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8b4015ef0c9117515b107ef0cd138108f1b025b40393d1da364c5c8123674d6f01523e8786d5bd2fae6d95fa9ec67b6fe7b868d69e930ea9701f337a160e2133 + languageName: node + linkType: hard + +"@babel/plugin-transform-dotall-regex@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.24.7" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 67b10fc6abb1f61f0e765288eb4c6d63d1d0f9fc0660e69f6f2170c56fa16bc74e49857afc644beda112b41771cd90cf52df0940d11e97e52617c77c7dcff171 + languageName: node + linkType: hard + "@babel/plugin-transform-dotall-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-dotall-regex@npm:7.25.7" @@ -2258,6 +2546,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-duplicate-keys@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d1da2ff85ecb56a63f4ccfd9dc9ae69400d85f0dadf44ecddd9e71c6e5c7a9178e74e3a9637555f415a2bb14551e563f09f98534ab54f53d25e8439fdde6ba2d + languageName: node + linkType: hard + "@babel/plugin-transform-duplicate-keys@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-duplicate-keys@npm:7.25.7" @@ -2269,6 +2568,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.0" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.0 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 608d6b0e77341189508880fd1a9f605a38d0803dd6f678ea3920ab181b17b377f6d5221ae8cf0104c7a044d30d4ddb0366bd064447695671d78457a656bb264f + languageName: node + linkType: hard + "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.7" @@ -2281,6 +2592,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-dynamic-import@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 776509ff62ab40c12be814a342fc56a5cc09b91fb63032b2633414b635875fd7da03734657be0f6db2891fe6e3033b75d5ddb6f2baabd1a02e4443754a785002 + languageName: node + linkType: hard + "@babel/plugin-transform-dynamic-import@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-dynamic-import@npm:7.25.7" @@ -2293,6 +2616,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-exponentiation-operator@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.24.7" + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 23c84a23eb56589fdd35a3540f9a1190615be069110a2270865223c03aee3ba4e0fc68fe14850800cf36f0712b26e4964d3026235261f58f0405a29fe8dac9b1 + languageName: node + linkType: hard + "@babel/plugin-transform-exponentiation-operator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.25.7" @@ -2317,7 +2652,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-export-namespace-from@npm:^7.22.11": +"@babel/plugin-transform-export-namespace-from@npm:^7.22.11, @babel/plugin-transform-export-namespace-from@npm:^7.24.7": version: 7.24.7 resolution: "@babel/plugin-transform-export-namespace-from@npm:7.24.7" dependencies: @@ -2330,14 +2665,14 @@ __metadata: linkType: hard "@babel/plugin-transform-flow-strip-types@npm:^7.0.0": - version: 7.25.7 - resolution: "@babel/plugin-transform-flow-strip-types@npm:7.25.7" + version: 7.25.2 + resolution: "@babel/plugin-transform-flow-strip-types@npm:7.25.2" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 - "@babel/plugin-syntax-flow": ^7.25.7 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/plugin-syntax-flow": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: bf991041c102323bc5207282c549a3f14835e81713c66fe11aca22c912ac2c395945982215ae15093615e74de866fd837f64df03ad2332f887dbeedea3bd6e1d + checksum: 9f7b96cbd374077eaf04b59e468976d2e89ec353807d7ac28f129f686945447df92aeb5b60acf906f3ec0f9ebef5d9f88735c7aa39af97033a6ab96c79c9a909 languageName: node linkType: hard @@ -2365,7 +2700,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-for-of@npm:^7.0.0, @babel/plugin-transform-for-of@npm:^7.25.7": +"@babel/plugin-transform-for-of@npm:^7.0.0, @babel/plugin-transform-for-of@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-for-of@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a53b42dc93ab4b7d1ebd3c695b52be22b3d592f6a3dbdb3dc2fea2c8e0a7e1508fe919864c455cde552aec44ce7518625fccbb70c7063373ca228d884f4f49ea + languageName: node + linkType: hard + +"@babel/plugin-transform-for-of@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-for-of@npm:7.25.7" dependencies: @@ -2390,6 +2737,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-function-name@npm:^7.25.1": + version: 7.25.1 + resolution: "@babel/plugin-transform-function-name@npm:7.25.1" + dependencies: + "@babel/helper-compilation-targets": ^7.24.8 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/traverse": ^7.25.1 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 743f3ea03bbc5a90944849d5a880b6bd9243dddbde581a46952da76e53a0b74c1e2424133fe8129d7a152c1f8c872bcd27e0b6728d7caadabd1afa7bb892e1e0 + languageName: node + linkType: hard + "@babel/plugin-transform-function-name@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-function-name@npm:7.25.7" @@ -2403,6 +2763,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-json-strings@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-json-strings@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-json-strings": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 88874d0b7a1ddea66c097fc0abb68801ffae194468aa44b828dde9a0e20ac5d8647943793de86092eabaa2911c96f67a6b373793d4bb9c932ef81b2711c06c2e + languageName: node + linkType: hard + "@babel/plugin-transform-json-strings@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-json-strings@npm:7.25.7" @@ -2426,6 +2798,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-literals@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/plugin-transform-literals@npm:7.25.2" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 70c9bb40e377a306bd8f500899fb72127e527517914466e95dc6bb53fa7a0f51479db244a54a771b5780fc1eab488fedd706669bf11097b81a23c81ab7423eb1 + languageName: node + linkType: hard + "@babel/plugin-transform-literals@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-literals@npm:7.25.7" @@ -2437,6 +2820,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-logical-assignment-operators@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3367ce0be243704dc6fce23e86a592c4380f01998ee5dd9f94c54b1ef7b971ac6f8a002901eb51599ac6cbdc0d067af8d1a720224fca1c40fde8bb8aab804aac + languageName: node + linkType: hard + "@babel/plugin-transform-logical-assignment-operators@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.25.7" @@ -2449,14 +2844,37 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-member-expression-literals@npm:^7.0.0, @babel/plugin-transform-member-expression-literals@npm:^7.25.7": - version: 7.25.7 - resolution: "@babel/plugin-transform-member-expression-literals@npm:7.25.7" +"@babel/plugin-transform-member-expression-literals@npm:^7.0.0, @babel/plugin-transform-member-expression-literals@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 2720c57aa3bf70576146ba7d6ea03227f4611852122d76d237924f7b008dafc952e6ae61a19e5024f26c665f44384bbd378466f01b6bd1305b3564a3b7fb1a5d + languageName: node + linkType: hard + +"@babel/plugin-transform-member-expression-literals@npm:^7.25.7": + version: 7.25.7 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.25.7" + dependencies: + "@babel/helper-plugin-utils": ^7.25.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 56b6d64187dca90a4ac9f1aa39474715d232e8afe6f14524c265df03d25513911a9110b0238b03ce7d380d2a15d08dbc580fc2372fa61a78a5f713d65abaf05e + languageName: node + linkType: hard + +"@babel/plugin-transform-modules-amd@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-modules-amd@npm:7.24.7" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 + "@babel/helper-module-transforms": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 56b6d64187dca90a4ac9f1aa39474715d232e8afe6f14524c265df03d25513911a9110b0238b03ce7d380d2a15d08dbc580fc2372fa61a78a5f713d65abaf05e + checksum: f1dd0fb2f46c0f8f21076b8c7ccd5b33a85ce6dcb31518ea4c648d9a5bb2474cd4bd87c9b1b752e68591e24b022e334ba0d07631fef2b6b4d8a4b85cf3d581f5 languageName: node linkType: hard @@ -2485,6 +2903,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-commonjs@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.24.8" + dependencies: + "@babel/helper-module-transforms": ^7.24.8 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-simple-access": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a4cf95b1639c33382064b44558f73ee5fac023f2a94d16e549d2bb55ceebd5cbc10fcddd505d08cd5bc97f5a64af9fd155512358b7dcf7b1a0082e8945cf21c5 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-commonjs@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.25.7" @@ -2498,6 +2929,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-systemjs@npm:^7.25.0": + version: 7.25.0 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.0" + dependencies: + "@babel/helper-module-transforms": ^7.25.0 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-validator-identifier": ^7.24.7 + "@babel/traverse": ^7.25.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: fe673bec08564e491847324bb80a1e6edfb229f5c37e58a094d51e95306e7b098e1d130fc43e992d22debd93b9beac74441ffc3f6ea5d78f6b2535896efa0728 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-systemjs@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.7" @@ -2512,6 +2957,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-umd@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-modules-umd@npm:7.24.7" + dependencies: + "@babel/helper-module-transforms": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 9ff1c464892efe042952ba778468bda6131b196a2729615bdcc3f24cdc94014f016a4616ee5643c5845bade6ba698f386833e61056d7201314b13a7fd69fac88 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-umd@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-modules-umd@npm:7.25.7" @@ -2536,6 +2993,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.24.7" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: f1c6c7b5d60a86b6d7e4dd098798e1d393d55e993a0b57a73b53640c7a94985b601a96bdacee063f809a9a700bcea3a2ff18e98fa561554484ac56b761d774bd + languageName: node + linkType: hard + "@babel/plugin-transform-named-capturing-groups-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.25.7" @@ -2548,6 +3017,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-new-target@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-new-target@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3cb94cd1076b270f768f91fdcf9dd2f6d487f8dbfff3df7ca8d07b915900b86d02769a35ba1407d16fe49499012c8f055e1741299e2c880798b953d942a8fa1b + languageName: node + linkType: hard + "@babel/plugin-transform-new-target@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-new-target@npm:7.25.7" @@ -2571,6 +3051,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4a9221356401d87762afbc37a9e8e764afc2daf09c421117537820f8cfbed6876888372ad3a7bcfae2d45c95f026651f050ab4020b777be31d3ffb00908dbdd3 + languageName: node + linkType: hard + "@babel/plugin-transform-nullish-coalescing-operator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.25.7" @@ -2583,6 +3075,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-numeric-separator@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-numeric-separator": ^7.10.4 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 561b5f1d08b2c3f92ce849f092751558b5e6cfeb7eb55c79e7375c34dd9c3066dce5e630bb439affef6adcf202b6cbcaaa23870070276fa5bb429c8f5b8c7514 + languageName: node + linkType: hard + "@babel/plugin-transform-numeric-separator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-numeric-separator@npm:7.25.7" @@ -2595,7 +3099,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-object-rest-spread@npm:^7.12.13": +"@babel/plugin-transform-object-rest-spread@npm:^7.12.13, @babel/plugin-transform-object-rest-spread@npm:^7.24.7": version: 7.24.7 resolution: "@babel/plugin-transform-object-rest-spread@npm:7.24.7" dependencies: @@ -2623,7 +3127,19 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-object-super@npm:^7.0.0, @babel/plugin-transform-object-super@npm:^7.25.7": +"@babel/plugin-transform-object-super@npm:^7.0.0, @babel/plugin-transform-object-super@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-object-super@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-replace-supers": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f71e607a830ee50a22fa1a2686524d3339440cf9dea63032f6efbd865cfe4e35000e1e3f3492459e5c986f7c0c07dc36938bf3ce61fc9ba5f8ab732d0b64ab37 + languageName: node + linkType: hard + +"@babel/plugin-transform-object-super@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-object-super@npm:7.25.7" dependencies: @@ -2635,6 +3151,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-catch-binding@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7229f3a5a4facaab40f4fdfc7faabc157dc38a67d66bed7936599f4bc509e0bff636f847ac2aa45294881fce9cf8a0a460b85d2a465b7b977de9739fce9b18f6 + languageName: node + linkType: hard + "@babel/plugin-transform-optional-catch-binding@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.25.7" @@ -2660,6 +3188,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-chaining@npm:^7.24.7, @babel/plugin-transform-optional-chaining@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.24.8" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 45e55e3a2fffb89002d3f89aef59c141610f23b60eee41e047380bffc40290b59f64fc649aa7ec5281f73d41b2065410d788acc6afaad2a9f44cad6e8af04442 + languageName: node + linkType: hard + "@babel/plugin-transform-optional-chaining@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-optional-chaining@npm:7.25.7" @@ -2730,6 +3271,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-private-methods@npm:^7.25.4": + version: 7.25.4 + resolution: "@babel/plugin-transform-private-methods@npm:7.25.4" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.25.4 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: cb1dabfc03e2977990263d65bc8f43a9037dffbb5d9a5f825c00d05447ff68015099408c1531d9dd88f18a41a90f5062dc48f3a1d52b415d2d2ee4827dedff09 + languageName: node + linkType: hard + "@babel/plugin-transform-private-property-in-object@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-private-property-in-object@npm:7.22.11" @@ -2744,6 +3297,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-private-property-in-object@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.24.7" + dependencies: + "@babel/helper-annotate-as-pure": ^7.24.7 + "@babel/helper-create-class-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/plugin-syntax-private-property-in-object": ^7.14.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8cee9473095305cc787bb653fd681719b49363281feabf677db8a552e8e41c94441408055d7e5fd5c7d41b315e634fa70b145ad0c7c54456216049df4ed57350 + languageName: node + linkType: hard + "@babel/plugin-transform-private-property-in-object@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-private-property-in-object@npm:7.25.7" @@ -2758,7 +3325,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-property-literals@npm:^7.0.0, @babel/plugin-transform-property-literals@npm:^7.25.7": +"@babel/plugin-transform-property-literals@npm:^7.0.0, @babel/plugin-transform-property-literals@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-property-literals@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 9aeefc3aab6c6bf9d1fae1cf3a2d38c7d886fd3c6c81b7c608c477f5758aee2e7abf52f32724310fe861da61af934ee2508b78a5b5f234b9740c9134e1c14437 + languageName: node + linkType: hard + +"@babel/plugin-transform-property-literals@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-property-literals@npm:7.25.7" dependencies: @@ -2866,6 +3444,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-regenerator@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-regenerator@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + regenerator-transform: ^0.15.2 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 20c6c3fb6fc9f407829087316653388d311e8c1816b007609bb09aeef254092a7157adace8b3aaa8f34be752503717cb85c88a5fe482180a9b11bcbd676063be + languageName: node + linkType: hard + "@babel/plugin-transform-regenerator@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-regenerator@npm:7.25.7" @@ -2878,6 +3468,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-reserved-words@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-reserved-words@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3d5876954d5914d7270819479504f30c4bf5452a65c677f44e2dab2db50b3c9d4b47793c45dfad7abf4f377035dd79e4b3f554ae350df9f422201d370ce9f8dd + languageName: node + linkType: hard + "@babel/plugin-transform-reserved-words@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-reserved-words@npm:7.25.7" @@ -2927,6 +3528,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-shorthand-properties@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7b524245814607188212b8eb86d8c850e5974203328455a30881b4a92c364b93353fae14bc2af5b614ef16300b75b8c1d3b8f3a08355985b4794a7feb240adc3 + languageName: node + linkType: hard + "@babel/plugin-transform-shorthand-properties@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-shorthand-properties@npm:7.25.7" @@ -2950,6 +3562,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-spread@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-spread@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + "@babel/helper-skip-transparent-expression-wrappers": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4c4254c8b9cceb1a8f975fa9b92257ddb08380a35c0a3721b8f4b9e13a3d82e403af2e0fba577b9f2452dd8f06bc3dea71cc53b1e2c6af595af5db52a13429d6 + languageName: node + linkType: hard + "@babel/plugin-transform-spread@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-spread@npm:7.25.7" @@ -2973,6 +3597,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-sticky-regex@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 118fc7a7ebf7c20411b670c8a030535fdfe4a88bc5643bb625a584dbc4c8a468da46430a20e6bf78914246962b0f18f1b9d6a62561a7762c4f34a038a5a77179 + languageName: node + linkType: hard + "@babel/plugin-transform-sticky-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-sticky-regex@npm:7.25.7" @@ -2984,14 +3619,14 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-template-literals@npm:^7.0.0, @babel/plugin-transform-template-literals@npm:^7.25.7": - version: 7.25.7 - resolution: "@babel/plugin-transform-template-literals@npm:7.25.7" +"@babel/plugin-transform-template-literals@npm:^7.0.0, @babel/plugin-transform-template-literals@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-template-literals@npm:7.24.7" dependencies: - "@babel/helper-plugin-utils": ^7.25.7 + "@babel/helper-plugin-utils": ^7.24.7 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: f1776fb4181ca41a35adb8a427748999b6c24cbb25778b78f716179e9c8bc28b03ef88da8062914e6327ef277844b4bbdac9dc0c6d6076855fc36af593661275 + checksum: ad44e5826f5a98c1575832dbdbd033adfe683cdff195e178528ead62507564bf02f479b282976cfd3caebad8b06d5fd7349c1cdb880dec3c56daea4f1f179619 languageName: node linkType: hard @@ -3006,6 +3641,28 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-template-literals@npm:^7.25.7": + version: 7.25.7 + resolution: "@babel/plugin-transform-template-literals@npm:7.25.7" + dependencies: + "@babel/helper-plugin-utils": ^7.25.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f1776fb4181ca41a35adb8a427748999b6c24cbb25778b78f716179e9c8bc28b03ef88da8062914e6327ef277844b4bbdac9dc0c6d6076855fc36af593661275 + languageName: node + linkType: hard + +"@babel/plugin-transform-typeof-symbol@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.24.8" + dependencies: + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8663a8e7347cedf181001d99c88cf794b6598c3d82f324098510fe8fb8bd22113995526a77aa35a3cc5d70ffd0617a59dd0d10311a9bf0e1a3a7d3e59b900c00 + languageName: node + linkType: hard + "@babel/plugin-transform-typeof-symbol@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-typeof-symbol@npm:7.25.7" @@ -3046,6 +3703,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-escapes@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.24.7" + dependencies: + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4af0a193e1ddea6ff82b2b15cc2501b872728050bd625740b813c8062fec917d32d530ff6b41de56c15e7296becdf3336a58db81f5ca8e7c445c1306c52f3e01 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-escapes@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-unicode-escapes@npm:7.25.7" @@ -3057,6 +3725,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-property-regex@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.24.7" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: aae13350c50973f5802ca7906d022a6a0cc0e3aebac9122d0450bbd51e78252d4c2032ad69385e2759fcbdd3aac5d571bd7e26258907f51f8e1a51b53be626c2 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-property-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.25.7" @@ -3081,6 +3761,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-regex@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.24.7" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.24.7 + "@babel/helper-plugin-utils": ^7.24.7 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1cb4e70678906e431da0a05ac3f8350025fee290304ad7482d9cfaa1ca67b2e898654de537c9268efbdad5b80d3ebadf42b4a88ea84609bd8a4cce7b11b48afd + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-unicode-regex@npm:7.25.7" @@ -3093,6 +3785,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-sets-regex@npm:^7.25.4": + version: 7.25.4 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.4" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.2 + "@babel/helper-plugin-utils": ^7.24.8 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 6d1a7e9fdde4ffc9a81c0e3f261b96a9a0dfe65da282ec96fe63b36c597a7389feac638f1df2a8a4f8c9128337bba8e984f934e9f19077930f33abf1926759ea + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-sets-regex@npm:^7.25.7": version: 7.25.7 resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.7" @@ -3105,7 +3809,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:7.25.7, @babel/preset-env@npm:^7.20.0": +"@babel/preset-env@npm:7.25.7": version: 7.25.7 resolution: "@babel/preset-env@npm:7.25.7" dependencies: @@ -3198,6 +3902,99 @@ __metadata: languageName: node linkType: hard +"@babel/preset-env@npm:^7.20.0": + version: 7.25.4 + resolution: "@babel/preset-env@npm:7.25.4" + dependencies: + "@babel/compat-data": ^7.25.4 + "@babel/helper-compilation-targets": ^7.25.2 + "@babel/helper-plugin-utils": ^7.24.8 + "@babel/helper-validator-option": ^7.24.8 + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.25.3 + "@babel/plugin-bugfix-safari-class-field-initializer-scope": ^7.25.0 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.25.0 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.24.7 + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.25.0 + "@babel/plugin-proposal-private-property-in-object": 7.21.0-placeholder-for-preset-env.2 + "@babel/plugin-syntax-async-generators": ^7.8.4 + "@babel/plugin-syntax-class-properties": ^7.12.13 + "@babel/plugin-syntax-class-static-block": ^7.14.5 + "@babel/plugin-syntax-dynamic-import": ^7.8.3 + "@babel/plugin-syntax-export-namespace-from": ^7.8.3 + "@babel/plugin-syntax-import-assertions": ^7.24.7 + "@babel/plugin-syntax-import-attributes": ^7.24.7 + "@babel/plugin-syntax-import-meta": ^7.10.4 + "@babel/plugin-syntax-json-strings": ^7.8.3 + "@babel/plugin-syntax-logical-assignment-operators": ^7.10.4 + "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 + "@babel/plugin-syntax-numeric-separator": ^7.10.4 + "@babel/plugin-syntax-object-rest-spread": ^7.8.3 + "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 + "@babel/plugin-syntax-optional-chaining": ^7.8.3 + "@babel/plugin-syntax-private-property-in-object": ^7.14.5 + "@babel/plugin-syntax-top-level-await": ^7.14.5 + "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 + "@babel/plugin-transform-arrow-functions": ^7.24.7 + "@babel/plugin-transform-async-generator-functions": ^7.25.4 + "@babel/plugin-transform-async-to-generator": ^7.24.7 + "@babel/plugin-transform-block-scoped-functions": ^7.24.7 + "@babel/plugin-transform-block-scoping": ^7.25.0 + "@babel/plugin-transform-class-properties": ^7.25.4 + "@babel/plugin-transform-class-static-block": ^7.24.7 + "@babel/plugin-transform-classes": ^7.25.4 + "@babel/plugin-transform-computed-properties": ^7.24.7 + "@babel/plugin-transform-destructuring": ^7.24.8 + "@babel/plugin-transform-dotall-regex": ^7.24.7 + "@babel/plugin-transform-duplicate-keys": ^7.24.7 + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ^7.25.0 + "@babel/plugin-transform-dynamic-import": ^7.24.7 + "@babel/plugin-transform-exponentiation-operator": ^7.24.7 + "@babel/plugin-transform-export-namespace-from": ^7.24.7 + "@babel/plugin-transform-for-of": ^7.24.7 + "@babel/plugin-transform-function-name": ^7.25.1 + "@babel/plugin-transform-json-strings": ^7.24.7 + "@babel/plugin-transform-literals": ^7.25.2 + "@babel/plugin-transform-logical-assignment-operators": ^7.24.7 + "@babel/plugin-transform-member-expression-literals": ^7.24.7 + "@babel/plugin-transform-modules-amd": ^7.24.7 + "@babel/plugin-transform-modules-commonjs": ^7.24.8 + "@babel/plugin-transform-modules-systemjs": ^7.25.0 + "@babel/plugin-transform-modules-umd": ^7.24.7 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.24.7 + "@babel/plugin-transform-new-target": ^7.24.7 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.24.7 + "@babel/plugin-transform-numeric-separator": ^7.24.7 + "@babel/plugin-transform-object-rest-spread": ^7.24.7 + "@babel/plugin-transform-object-super": ^7.24.7 + "@babel/plugin-transform-optional-catch-binding": ^7.24.7 + "@babel/plugin-transform-optional-chaining": ^7.24.8 + "@babel/plugin-transform-parameters": ^7.24.7 + "@babel/plugin-transform-private-methods": ^7.25.4 + "@babel/plugin-transform-private-property-in-object": ^7.24.7 + "@babel/plugin-transform-property-literals": ^7.24.7 + "@babel/plugin-transform-regenerator": ^7.24.7 + "@babel/plugin-transform-reserved-words": ^7.24.7 + "@babel/plugin-transform-shorthand-properties": ^7.24.7 + "@babel/plugin-transform-spread": ^7.24.7 + "@babel/plugin-transform-sticky-regex": ^7.24.7 + "@babel/plugin-transform-template-literals": ^7.24.7 + "@babel/plugin-transform-typeof-symbol": ^7.24.8 + "@babel/plugin-transform-unicode-escapes": ^7.24.7 + "@babel/plugin-transform-unicode-property-regex": ^7.24.7 + "@babel/plugin-transform-unicode-regex": ^7.24.7 + "@babel/plugin-transform-unicode-sets-regex": ^7.25.4 + "@babel/preset-modules": 0.1.6-no-external-plugins + babel-plugin-polyfill-corejs2: ^0.4.10 + babel-plugin-polyfill-corejs3: ^0.10.6 + babel-plugin-polyfill-regenerator: ^0.6.1 + core-js-compat: ^3.37.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 752be43f0b78a2eefe5007076aed3d21b505e1c09d134b61e7de8838f1bbb1e7af81023d39adb14b6eae23727fb5a9fd23f8115a44df043319be22319be17913 + languageName: node + linkType: hard + "@babel/preset-flow@npm:^7.13.13": version: 7.22.15 resolution: "@babel/preset-flow@npm:7.22.15" @@ -3350,7 +4147,7 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.25.0": +"@babel/template@npm:^7.24.7, @babel/template@npm:^7.25.0": version: 7.25.0 resolution: "@babel/template@npm:7.25.0" dependencies: @@ -3408,7 +4205,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.24.8, @babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.4": +"@babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.24.8, @babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.1, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.4": version: 7.25.6 resolution: "@babel/traverse@npm:7.25.6" dependencies: @@ -4688,11 +5485,11 @@ __metadata: linkType: hard "@expo/vector-icons@npm:^14.0.0": - version: 14.0.4 - resolution: "@expo/vector-icons@npm:14.0.4" + version: 14.0.2 + resolution: "@expo/vector-icons@npm:14.0.2" dependencies: prop-types: ^15.8.1 - checksum: 31bd5d4e4e2f0b0620b7e8b55b0c5691875cf57c5737bd0ccef0017d0e7abee66352f3d66a58997b719bd0720cccf8f5119503c69fe1a30398747306ebefeb6e + checksum: 49e27ff52eb138745313fa2c39863fb762230b0089b910d668d7f2c06b7e71a0249dc3a26bfc8725d07bdfaadab1dbcbce087b34dfc244b00a15fc02fe4866e2 languageName: node linkType: hard @@ -14366,9 +15163,9 @@ __metadata: linkType: hard "cookie-signature@npm:^1.1.0": - version: 1.2.1 - resolution: "cookie-signature@npm:1.2.1" - checksum: bb464aacac390b5d7d8ead2d6fff7c1c3b7378c7d0250921f48923fe889688e081ab33950448929db5f24d4f9f1506589a7ee1c685de8f12a3fdb30c49667ec5 + version: 1.2.2 + resolution: "cookie-signature@npm:1.2.2" + checksum: 1ad4f9b3907c9f3673a0f0a07c0a23da7909ac6c9204c5d80a0ec102fe50ccc45f27fdf496361840d6c132c5bb0037122c0a381f856d070183d1ebe3e5e041ff languageName: node linkType: hard @@ -14395,7 +15192,7 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": +"core-js-compat@npm:^3.37.1, core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": version: 3.38.1 resolution: "core-js-compat@npm:3.38.1" dependencies: @@ -25573,7 +26370,7 @@ react-native-webview@ava-labs/react-native-webview: peerDependencies: react: "*" react-native: "*" - checksum: d396f3dea807077e8789e1d463c87024e1633481d3dff53c0650c82a08d8b7d699db97ceab4e8d2c9de85c3d5378d192c968487254c62edadff77e82a9b8c929 + checksum: 6e268fad7aa8b8e56fd28cc95f94f35a33fdac4cec0085ae71a766d092760e3f9af35218706113ff7ae99a74baabc5112d32005dce9e66bdf4fda676fad9aa4e languageName: node linkType: hard @@ -26849,13 +27646,20 @@ react-native-webview@ava-labs/react-native-webview: languageName: node linkType: hard -"set-cookie-parser@npm:^2.4.6, set-cookie-parser@npm:^2.4.8": +"set-cookie-parser@npm:^2.4.6": version: 2.7.0 resolution: "set-cookie-parser@npm:2.7.0" checksum: 1eed43d7b284b727b4e7d35e324a74c493469265488b0c8f464f5224186e7dbbdd1cb35c8822053581f807a10b930a628144041ad453db06548945c61d5a834f languageName: node linkType: hard +"set-cookie-parser@npm:^2.4.8": + version: 2.7.1 + resolution: "set-cookie-parser@npm:2.7.1" + checksum: 2ef8b351094712f8f7df6d63ed4b10350b24a5b515772690e7dec227df85fcef5bc451c7765f484fd9f36694ece5438d1456407d017f237d0d3351d7dbbd3587 + languageName: node + linkType: hard + "set-function-length@npm:^1.1.1": version: 1.1.1 resolution: "set-function-length@npm:1.1.1"