From 68cd420209b02548506b4949da9db7d8814a7416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20=C4=86wirko?= Date: Sun, 19 Feb 2023 21:14:15 +0100 Subject: [PATCH] switch to @useelven/core and update dependencies --- .eslintrc | 4 - components/containers/ClaimModal.tsx | 40 +- components/containers/Deposit.tsx | 37 +- components/containers/SCTokensTable.tsx | 4 +- components/tools/Authenticated.tsx | 8 +- components/tools/LedgerAccountsList.tsx | 3 +- components/tools/LoginComponent.tsx | 3 +- components/tools/LoginModalButton.tsx | 5 +- components/tools/MobileLoginQR.tsx | 9 +- components/ui/Footer.tsx | 4 +- components/ui/TxWebWalletPendingModal.tsx | 13 +- config/chakraTheme.ts | 2 +- config/network.ts | 66 - hooks/auth/useAccount.tsx | 8 - hooks/auth/useExtensionLogin.tsx | 111 - hooks/auth/useLedgerLogin.tsx | 120 - hooks/auth/useLoggingIn.tsx | 12 - hooks/auth/useLogin.tsx | 75 - hooks/auth/useLoginInfo.tsx | 13 - hooks/auth/useLogout.tsx | 56 - hooks/auth/useMobileAppLogin.tsx | 129 - hooks/auth/useNetworkSync.tsx | 261 -- hooks/auth/useWebWalletLogin.tsx | 62 - hooks/core/common-helpers/sendTxOperations.ts | 78 - .../common-helpers/useWebWalletTxSend.tsx | 82 - hooks/core/useScQuery.tsx | 92 - hooks/core/useScTransaction.tsx | 115 - hooks/core/useTransaction.tsx | 108 - hooks/tools/useApiCall.tsx | 67 - hooks/{tools => }/useEffectOnlyOnUpdate.tsx | 0 next.config.js | 2 +- package-lock.json | 3019 +++++------------ package.json | 42 +- pages/_app.tsx | 4 +- pages/index.tsx | 13 +- store/auth.ts | 100 - store/network.ts | 29 - types/account.ts | 10 - types/enums.ts | 14 - types/network.ts | 32 - utils/apiCall.ts | 117 - utils/bridgeAddress.ts | 7 - utils/expiresAt.ts | 7 - utils/getParamFromUrl.ts | 7 - utils/numberFormater.ts | 1 - utils/optionalRedirect.ts | 9 - utils/walletConnectCbs.ts | 37 - 47 files changed, 989 insertions(+), 4048 deletions(-) delete mode 100644 config/network.ts delete mode 100644 hooks/auth/useAccount.tsx delete mode 100644 hooks/auth/useExtensionLogin.tsx delete mode 100644 hooks/auth/useLedgerLogin.tsx delete mode 100644 hooks/auth/useLoggingIn.tsx delete mode 100644 hooks/auth/useLogin.tsx delete mode 100644 hooks/auth/useLoginInfo.tsx delete mode 100644 hooks/auth/useLogout.tsx delete mode 100644 hooks/auth/useMobileAppLogin.tsx delete mode 100644 hooks/auth/useNetworkSync.tsx delete mode 100644 hooks/auth/useWebWalletLogin.tsx delete mode 100644 hooks/core/common-helpers/sendTxOperations.ts delete mode 100644 hooks/core/common-helpers/useWebWalletTxSend.tsx delete mode 100644 hooks/core/useScQuery.tsx delete mode 100644 hooks/core/useScTransaction.tsx delete mode 100644 hooks/core/useTransaction.tsx delete mode 100644 hooks/tools/useApiCall.tsx rename hooks/{tools => }/useEffectOnlyOnUpdate.tsx (100%) delete mode 100644 store/auth.ts delete mode 100644 store/network.ts delete mode 100644 types/account.ts delete mode 100644 types/enums.ts delete mode 100644 types/network.ts delete mode 100644 utils/apiCall.ts delete mode 100644 utils/bridgeAddress.ts delete mode 100644 utils/expiresAt.ts delete mode 100644 utils/getParamFromUrl.ts delete mode 100644 utils/numberFormater.ts delete mode 100644 utils/optionalRedirect.ts delete mode 100644 utils/walletConnectCbs.ts diff --git a/.eslintrc b/.eslintrc index adbe94d..d04677b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -2,12 +2,8 @@ "extends": [ "next", "prettier", - "plugin:valtio/recommended", "plugin:@typescript-eslint/recommended" ], - "rules": { - "valtio/state-snapshot-rule": "off" - }, "plugins": ["@typescript-eslint"], "parser": "@typescript-eslint/parser" } diff --git a/components/containers/ClaimModal.tsx b/components/containers/ClaimModal.tsx index 007c62e..4c48c94 100644 --- a/components/containers/ClaimModal.tsx +++ b/components/containers/ClaimModal.tsx @@ -12,13 +12,17 @@ import { ContractFunction, BigUIntValue, BytesValue, + ContractCallPayloadBuilder, } from '@multiversx/sdk-core'; import { FC, useCallback } from 'react'; -import { useScQuery, SCQueryType } from '../../hooks/core/useScQuery'; -import { useScTransaction } from '../../hooks/core/useScTransaction'; +import { + useScQuery, + SCQueryType, + useConfig, + useTransaction, +} from '@useelven/core'; import { ActionButton } from '../tools/ActionButton'; import { denominate } from '../../utils/denominate'; -import { networkConfig } from '../../config/network'; import { shortenHash } from '../../utils/shortenHash'; interface ClaimModalProps { @@ -38,6 +42,7 @@ export const ClaimModal: FC = ({ open, onClose, }) => { + const { explorerAddress } = useConfig(); const { data: queryResult } = useScQuery({ type: SCQueryType.NUMBER, payload: { @@ -48,7 +53,7 @@ export const ClaimModal: FC = ({ autoInit: Boolean(open && tokenId), }); - const { pending, triggerTx, transaction } = useScTransaction(); + const { pending, triggerTx, transaction } = useTransaction(); const handleClaimTx = useCallback(() => { if ( @@ -57,16 +62,20 @@ export const ClaimModal: FC = ({ !queryResult ) return; - triggerTx({ - smartContractAddress: - process.env.NEXT_PUBLIC_FAUCET_SMART_CONTRACT_ADDRESS, - func: new ContractFunction('claim'), - gasLimit: 3000000, - args: [ + // Prepare data payload for smart contract using MultiversX JS SDK core tools + const data = new ContractCallPayloadBuilder() + .setFunction(new ContractFunction('claim')) + .setArgs([ BytesValue.fromUTF8(tokenId.trim()), new BigUIntValue(queryResult), - ], + ]) + .build(); + + triggerTx({ + address: process.env.NEXT_PUBLIC_FAUCET_SMART_CONTRACT_ADDRESS, + gasLimit: 3000000, value: 0, + data, }); }, [queryResult, tokenId, triggerTx]); @@ -89,7 +98,7 @@ export const ClaimModal: FC = ({ Claim{' '} - {tokenDecimals + {tokenDecimals && queryResult ? denominate(queryResult.toString(), tokenDecimals) : '-'} {' '} @@ -110,10 +119,9 @@ export const ClaimModal: FC = ({ as="a" target="_blank" rel="noopener noreferrer nofollow" - href={`${ - networkConfig[process.env.NEXT_PUBLIC_MULTIVERSX_CHAIN] - .explorerAddress - }/transactions/${transaction?.getHash().toString()}`} + href={`${explorerAddress}/transactions/${transaction + ?.getHash() + .toString()}`} > {shortenHash(transaction?.getHash().toString())} diff --git a/components/containers/Deposit.tsx b/components/containers/Deposit.tsx index 0389f22..a2a7f43 100644 --- a/components/containers/Deposit.tsx +++ b/components/containers/Deposit.tsx @@ -1,12 +1,12 @@ -import { Box, Spinner, Input, Stack, Text } from '@chakra-ui/react'; +import { Box, Spinner, Input, Stack, Text, Heading } from '@chakra-ui/react'; import { useCallback, useState } from 'react'; import { ContractFunction, BigUIntValue, BytesValue, + ContractCallPayloadBuilder, } from '@multiversx/sdk-core'; -import { useScTransaction } from '../../hooks/core/useScTransaction'; -import { networkConfig } from '../../config/network'; +import { useConfig, useTransaction } from '@useelven/core'; import { ActionButton } from '../tools/ActionButton'; import { shortenHash } from '../../utils/shortenHash'; @@ -20,10 +20,11 @@ const InputWrapper = ({ ...props }) => { }; export const Deposit = () => { + const { explorerAddress } = useConfig(); const [tokenId, setTokenId] = useState(''); const [amount, setAmount] = useState(''); const [maxAmountPerDay, setMaxAmountPerDay] = useState(''); - const { pending, triggerTx, transaction } = useScTransaction(); + const { pending, triggerTx, transaction } = useTransaction(); const handleDepositTx = useCallback(() => { if ( @@ -33,18 +34,22 @@ export const Deposit = () => { !maxAmountPerDay ) return; - triggerTx({ - smartContractAddress: - process.env.NEXT_PUBLIC_FAUCET_SMART_CONTRACT_ADDRESS, - func: new ContractFunction('ESDTTransfer'), - gasLimit: 3000000, - args: [ + // Prepare data payload for smart contract using MultiversX JS SDK core tools + const data = new ContractCallPayloadBuilder() + .setFunction(new ContractFunction('ESDTTransfer')) + .setArgs([ BytesValue.fromUTF8(tokenId), new BigUIntValue(amount), BytesValue.fromUTF8('setLimit'), new BigUIntValue(maxAmountPerDay), - ], + ]) + .build(); + + triggerTx({ + address: process.env.NEXT_PUBLIC_FAUCET_SMART_CONTRACT_ADDRESS, + gasLimit: 3000000, value: 0, + data, }); setTokenId(''); setAmount(''); @@ -64,6 +69,9 @@ export const Deposit = () => { return ( + + Remember to use the wallet of the manager of the token. + Token Id (ticker, for example: BUILDO-890d14) { as="a" target="_blank" rel="noopener noreferrer nofollow" - href={`${ - networkConfig[process.env.NEXT_PUBLIC_MULTIVERSX_CHAIN] - .explorerAddress - }/transactions/${transaction.getHash().toString()}`} + href={`${explorerAddress}/transactions/${transaction + .getHash() + .toString()}`} > {shortenHash(transaction.getHash().toString())} diff --git a/components/containers/SCTokensTable.tsx b/components/containers/SCTokensTable.tsx index cd91efa..4d49713 100644 --- a/components/containers/SCTokensTable.tsx +++ b/components/containers/SCTokensTable.tsx @@ -10,8 +10,8 @@ import { Spinner, } from '@chakra-ui/react'; import { FC } from 'react'; -import { useApiCall } from '../../hooks/tools/useApiCall'; -import { useEffectOnlyOnUpdate } from '../../hooks/tools/useEffectOnlyOnUpdate'; +import { useApiCall } from '@useelven/core'; +import { useEffectOnlyOnUpdate } from '../../hooks/useEffectOnlyOnUpdate'; import { SCToken } from '../../types/scToken'; import { denominate } from '../../utils/denominate'; import { ActionButton } from '../tools/ActionButton'; diff --git a/components/tools/Authenticated.tsx b/components/tools/Authenticated.tsx index cb49bc9..414b1d9 100644 --- a/components/tools/Authenticated.tsx +++ b/components/tools/Authenticated.tsx @@ -1,6 +1,6 @@ import { FC, ReactElement, PropsWithChildren } from 'react'; import { Spinner, Flex } from '@chakra-ui/react'; -import { useLoggingIn } from '../../hooks/auth/useLoggingIn'; +import { useLoggingIn } from '@useelven/core'; interface AuthenticatedProps { fallback?: ReactElement; @@ -14,9 +14,9 @@ export const Authenticated: FC> = ({ noSpinner = false, spinnerCentered = false, }) => { - const { isLoggingIn, isLoggedIn } = useLoggingIn(); + const { pending, loggedIn } = useLoggingIn(); - if (isLoggingIn) + if (pending) return noSpinner ? null : ( > = ({ ); - if (!isLoggedIn) return fallback; + if (!loggedIn) return fallback; return <>{children}; }; diff --git a/components/tools/LedgerAccountsList.tsx b/components/tools/LedgerAccountsList.tsx index 3d82c97..ff31b00 100644 --- a/components/tools/LedgerAccountsList.tsx +++ b/components/tools/LedgerAccountsList.tsx @@ -2,10 +2,9 @@ import { FC, useCallback, useState, useEffect, useRef } from 'react'; import { Box, Text, Flex, Spinner } from '@chakra-ui/react'; import { useRouter } from 'next/router'; -import { LoginMethodsEnum } from '../../types/enums'; +import { LoginMethodsEnum, useLoginInfo } from '@useelven/core'; import { ActionButton } from './ActionButton'; import { shortenHash } from '../../utils/shortenHash'; -import { useLoginInfo } from '../../hooks/auth/useLoginInfo'; import { errorParse } from '../../utils/errorParse'; interface LedgerAccountsListProps { diff --git a/components/tools/LoginComponent.tsx b/components/tools/LoginComponent.tsx index 48a9e36..7b93882 100644 --- a/components/tools/LoginComponent.tsx +++ b/components/tools/LoginComponent.tsx @@ -2,8 +2,7 @@ // You can always use only one of them if needed import { useCallback, memo, useState } from 'react'; import { Box, Stack } from '@chakra-ui/react'; -import { useLogin } from '../../hooks/auth/useLogin'; -import { LoginMethodsEnum } from '../../types/enums'; +import { useLogin, LoginMethodsEnum } from '@useelven/core'; import { MobileLoginQR } from './MobileLoginQR'; import { ActionButton } from './ActionButton'; import { LedgerAccountsList } from './LedgerAccountsList'; diff --git a/components/tools/LoginModalButton.tsx b/components/tools/LoginModalButton.tsx index a438c56..d0287ec 100644 --- a/components/tools/LoginModalButton.tsx +++ b/components/tools/LoginModalButton.tsx @@ -10,11 +10,10 @@ import { Flex, } from '@chakra-ui/react'; import { FC } from 'react'; +import { useLogin, useLogout } from '@useelven/core'; import { ActionButton } from '../tools/ActionButton'; import { LoginComponent } from '../tools/LoginComponent'; -import { useEffectOnlyOnUpdate } from '../../hooks/tools/useEffectOnlyOnUpdate'; -import { useLogin } from '../../hooks/auth/useLogin'; -import { useLogout } from '../../hooks/auth/useLogout'; +import { useEffectOnlyOnUpdate } from '../../hooks/useEffectOnlyOnUpdate'; interface LoginModalButtonProps { onClose?: () => void; diff --git a/components/tools/MobileLoginQR.tsx b/components/tools/MobileLoginQR.tsx index 9423639..5ae4ea8 100644 --- a/components/tools/MobileLoginQR.tsx +++ b/components/tools/MobileLoginQR.tsx @@ -1,6 +1,6 @@ import { useEffect, useState, FunctionComponent } from 'react'; import { Flex, Box } from '@chakra-ui/react'; -import { networkConfig, chainType } from '../../config/network'; +import { useConfig } from '@useelven/core'; import { isMobile } from '../../utils/isMobile'; import QRCode from 'qrcode'; @@ -12,6 +12,7 @@ export const MobileLoginQR: FunctionComponent = ({ walletConnectUri, }) => { const [qrCodeSvg, setQrCodeSvg] = useState(''); + const { walletConnectDeepLink } = useConfig(); useEffect(() => { const generateQRCode = async () => { @@ -58,9 +59,9 @@ export const MobileLoginQR: FunctionComponent = ({ _hover={{ bg: 'dappTemplate.color2.darker' }} transition="background-color .3s" as="a" - href={`${ - networkConfig[chainType]?.walletConnectDeepLink - }?wallet-connect=${encodeURIComponent(walletConnectUri)}`} + href={`${walletConnectDeepLink}?wallet-connect=${encodeURIComponent( + walletConnectUri + )}`} rel="noopener noreferrer nofollow" target="_blank" > diff --git a/components/ui/Footer.tsx b/components/ui/Footer.tsx index d071ab9..50b7f26 100644 --- a/components/ui/Footer.tsx +++ b/components/ui/Footer.tsx @@ -4,7 +4,7 @@ import packageJson from '../../package.json'; export const Footer = () => { return ( { target="_blank" rel="noopener noreferrer nofollow" > - {"xDevGuild"} + {'xDevGuild'} {' - '} { return ; @@ -23,8 +22,9 @@ export const TxWebWalletPendingModal = ({ }: { onClose: () => void; }) => { + const { explorerAddress } = useConfig(); const { isOpen, onOpen, onClose: close } = useDisclosure({ onClose }); - const { pending, transaction } = useScTransaction(); // Web Wallet state + const { pending, transaction } = useTransaction(); // Web Wallet state useEffectOnlyOnUpdate(() => { if (pending) { @@ -58,10 +58,7 @@ export const TxWebWalletPendingModal = ({ as="a" target="_blank" rel="noopener noreferrer nofollow" - href={`${ - networkConfig[process.env.NEXT_PUBLIC_MULTIVERSX_CHAIN] - .explorerAddress - }/transactions/${transactionHash}`} + href={`${explorerAddress}/transactions/${transactionHash}`} > {shortenHash(transactionHash)} diff --git a/config/chakraTheme.ts b/config/chakraTheme.ts index 55e477f..b4b9171 100644 --- a/config/chakraTheme.ts +++ b/config/chakraTheme.ts @@ -15,7 +15,7 @@ export const theme = extendTheme({ '*': { '&::-webkit-scrollbar': { width: 1.5, - height: 1.5 + height: 1.5, }, '&::-webkit-scrollbar-track': { backgroundColor: 'dappTemplate.dark.base', diff --git a/config/network.ts b/config/network.ts deleted file mode 100644 index 5bc2135..0000000 --- a/config/network.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { NetworkType } from '../types/network'; - -// Default MultiversX network configuration (constants). -// Change if you need, but by default, you shouldn't have to do that. - -export const DEFAULT_MIN_GAS_LIMIT = 50_000; - -export const DAPP_CONFIG_ENDPOINT = '/dapp/config'; -export const DAPP_INIT_ROUTE = '/dapp/init'; - -export const chainType = process.env.NEXT_PUBLIC_MULTIVERSX_CHAIN || 'devnet'; - -export const networkConfig: Record = { - devnet: { - id: 'devnet', - shortId: 'D', - name: 'Devnet', - egldLabel: 'xEGLD', - egldDenomination: '18', - decimals: '4', - gasPerDataByte: '1500', - walletConnectDeepLink: - 'https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://maiar.com/', - walletConnectBridgeAddresses: ['https://bridge.walletconnect.org'], - walletAddress: 'https://devnet-wallet.multiversx.com', - apiAddress: - process.env.NEXT_PUBLIC_MULTIVERSX_API || 'https://devnet-api.multiversx.com', - explorerAddress: 'https://devnet-explorer.multiversx.com', - apiTimeout: '4000', - }, - - testnet: { - id: 'testnet', - shortId: 'T', - name: 'Testnet', - egldLabel: 'xEGLD', - egldDenomination: '18', - decimals: '4', - gasPerDataByte: '1500', - walletConnectDeepLink: - 'https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://maiar.com/', - walletConnectBridgeAddresses: ['https://bridge.walletconnect.org'], - walletAddress: 'https://testnet-wallet.multiversx.com', - apiAddress: - process.env.NEXT_PUBLIC_MULTIVERSX_API || 'https://testnet-api.multiversx.com', - explorerAddress: 'https://testnet-explorer.multiversx.com', - apiTimeout: '4000', - }, - - mainnet: { - id: 'mainnet', - shortId: '1', - name: 'Mainnet', - egldLabel: 'EGLD', - egldDenomination: '18', - decimals: '4', - gasPerDataByte: '1500', - walletConnectDeepLink: - 'https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://maiar.com/', - walletConnectBridgeAddresses: ['https://bridge.walletconnect.org'], - walletAddress: 'https://wallet.multiversx.com', - apiAddress: process.env.NEXT_PUBLIC_MULTIVERSX_API || 'https://api.multiversx.com', - explorerAddress: 'https://explorer.multiversx.com', - apiTimeout: '4000', - }, -}; diff --git a/hooks/auth/useAccount.tsx b/hooks/auth/useAccount.tsx deleted file mode 100644 index c8665ab..0000000 --- a/hooks/auth/useAccount.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import { useSnapshot } from 'valtio'; -import { accountState } from '../../store/auth'; - -export const useAccount = () => { - const account = useSnapshot(accountState); - - return account; -}; diff --git a/hooks/auth/useExtensionLogin.tsx b/hooks/auth/useExtensionLogin.tsx deleted file mode 100644 index 7cfd633..0000000 --- a/hooks/auth/useExtensionLogin.tsx +++ /dev/null @@ -1,111 +0,0 @@ -import { Address, Account } from '@multiversx/sdk-core'; -import { ExtensionProvider } from '@multiversx/sdk-extension-provider'; -import { LoginMethodsEnum } from '../../types/enums'; -import { optionalRedirect } from '../../utils/optionalRedirect'; -import { - setAccountState, - setLoginInfoState, - setLoggingInState, -} from '../../store/auth'; -import { setNetworkState, getNetworkState } from '../../store/network'; -import { getNewLoginExpiresTimestamp } from '../../utils/expiresAt'; -import { useLogout } from './useLogout'; -import { Login } from '../../types/account'; -import { useLoggingIn } from './useLoggingIn'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { errorParse } from '../../utils/errorParse'; - -export const useExtensionLogin = (params?: Login) => { - const { logout } = useLogout(); - const { isLoggedIn, isLoggingIn, error } = useLoggingIn(); - - const login = async () => { - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - const providerInstance = ExtensionProvider.getInstance(); - - try { - if (!providerInstance.isInitialized()) { - const isSuccessfullyInitialized: boolean = - await providerInstance.init(); - - if (!isSuccessfullyInitialized) { - console.warn( - 'Something went wrong trying to redirect to wallet login..' - ); - return; - } - } - - const callbackUrl: string = - typeof window !== 'undefined' - ? encodeURIComponent( - `${window.location.origin}${params?.callbackRoute}` - ) - : '/'; - const providerLoginData = { - callbackUrl, - ...(params?.token && { token: params?.token }), - }; - - try { - await providerInstance.login(providerLoginData); - } catch (e) { - const err = errorParse(e); - console.warn(`Something went wrong trying to login the user: ${err}`); - } - - setNetworkState('dappProvider', providerInstance); - - const { signature, address } = providerInstance.account; - - const userAddressInstance = new Address(address); - const userAccountInstance = new Account(userAddressInstance); - - if (apiNetworkProvider) { - try { - const userAccountOnNetwork = await apiNetworkProvider.getAccount( - userAddressInstance - ); - userAccountInstance.update(userAccountOnNetwork); - - setAccountState('address', userAccountInstance.address.bech32()); - - setAccountState('nonce', userAccountInstance.nonce.valueOf()); - setAccountState('balance', userAccountInstance.balance.toString()); - } catch (e) { - const err = errorParse(e); - console.warn( - `Something went wrong trying to synchronize the user account: ${err}` - ); - } - } - - if (signature) { - setLoginInfoState('signature', signature); - } - if (params?.token) { - setLoginInfoState('loginToken', String(params.token)); - } - setLoginInfoState('loginMethod', LoginMethodsEnum.extension); - setLoginInfoState('expires', getNewLoginExpiresTimestamp()); - - setLoggingInState('loggedIn', Boolean(address)); - - optionalRedirect(params?.callbackRoute); - } catch (e) { - const err = errorParse(e); - setLoggingInState('error', `Error logging in ${err}`); - } finally { - setLoggingInState('pending', false); - } - }; - - return { - login, - isLoggedIn, - isLoggingIn, - error, - logout, - }; -}; diff --git a/hooks/auth/useLedgerLogin.tsx b/hooks/auth/useLedgerLogin.tsx deleted file mode 100644 index 77a2d0e..0000000 --- a/hooks/auth/useLedgerLogin.tsx +++ /dev/null @@ -1,120 +0,0 @@ -import { Address, Account } from '@multiversx/sdk-core'; -import { HWProvider } from '@multiversx/sdk-hw-provider'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { LoginMethodsEnum } from '../../types/enums'; -import { optionalRedirect } from '../../utils/optionalRedirect'; -import { - setAccountState, - setLoginInfoState, - setLoggingInState, -} from '../../store/auth'; -import { setNetworkState, getNetworkState } from '../../store/network'; -import { getNewLoginExpiresTimestamp } from '../../utils/expiresAt'; -import { useLogout } from './useLogout'; -import { Login } from '../../types/account'; -import { useLoggingIn } from './useLoggingIn'; -import { DappProvider } from '../../types/network'; -import { errorParse } from '../../utils/errorParse'; - -export const useLedgerLogin = (params?: Login) => { - const { logout } = useLogout(); - const { isLoggedIn, isLoggingIn, error } = useLoggingIn(); - - const login = async (addressIndex = 0) => { - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - const dappProvider = getNetworkState('dappProvider'); - - if (!dappProvider) { - const hwWalletProvider = new HWProvider(); - await hwWalletProvider.init(); - setNetworkState('dappProvider', hwWalletProvider); - } - - if (params?.token) { - setLoginInfoState('loginToken', String(params.token)); - } - - setAccountState('addressIndex', addressIndex); - - let userAddress; - - try { - if (params?.token) { - if (dappProvider instanceof HWProvider) { - const loginInfo = await dappProvider.tokenLogin({ - token: Buffer.from(`${params?.token}{}`), - addressIndex, - }); - - if (loginInfo.address) { - userAddress = loginInfo.address; - } - - if (loginInfo.signature) { - setLoginInfoState('signature', loginInfo.signature.hex()); - } - } - } else { - if (dappProvider instanceof HWProvider) { - const address = await dappProvider.login({ addressIndex }); - if (address) { - userAddress = address; - } - } - } - - if (userAddress) { - setAccountState('address', userAddress); - setLoggingInState('loggedIn', Boolean(userAddress)); - - if (apiNetworkProvider) { - const addressInstance = new Address(userAddress); - const userAccountInstance = new Account(addressInstance); - const userAccountOnNetwork = await apiNetworkProvider.getAccount( - addressInstance - ); - userAccountInstance.update(userAccountOnNetwork); - - setAccountState('nonce', userAccountInstance.nonce.valueOf()); - setAccountState('balance', userAccountInstance.balance.toString()); - } - } - - setLoginInfoState('loginMethod', LoginMethodsEnum.ledger); - setLoginInfoState('expires', getNewLoginExpiresTimestamp()); - - optionalRedirect(params?.callbackRoute); - } catch (e) { - const err = errorParse(e); - setLoggingInState('error', `Error logging in ${err}`); - } finally { - setLoggingInState('pending', false); - } - }; - - const getHWAccounts = async (page = 0, pageSize = 10) => { - const dappProvider = getNetworkState('dappProvider'); - let hwWalletProvider; - - if (dappProvider instanceof HWProvider) { - hwWalletProvider = dappProvider; - if (!hwWalletProvider.isInitialized()) await hwWalletProvider.init(); - } else { - hwWalletProvider = new HWProvider(); - await hwWalletProvider.init(); - setNetworkState('dappProvider', hwWalletProvider); - } - - return hwWalletProvider.getAccounts(page, pageSize); - }; - - return { - login, - isLoggedIn, - isLoggingIn, - getHWAccounts, - error, - logout, - }; -}; diff --git a/hooks/auth/useLoggingIn.tsx b/hooks/auth/useLoggingIn.tsx deleted file mode 100644 index f4f4fde..0000000 --- a/hooks/auth/useLoggingIn.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { useSnapshot } from 'valtio'; -import { loggingInState } from '../../store/auth'; - -export const useLoggingIn = () => { - const loggingInSnap = useSnapshot(loggingInState); - - return { - isLoggingIn: loggingInSnap.pending, - error: loggingInSnap.error, - isLoggedIn: loggingInSnap.loggedIn, - }; -}; diff --git a/hooks/auth/useLogin.tsx b/hooks/auth/useLogin.tsx deleted file mode 100644 index 3e8a9dd..0000000 --- a/hooks/auth/useLogin.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import { useWebWalletLogin } from './useWebWalletLogin'; -import { useExtensionLogin } from './useExtensionLogin'; -import { useMobileAppLogin } from './useMobileAppLogin'; -import { useLedgerLogin } from './useLedgerLogin'; -import { Login } from '../../types/account'; -import { LoginMethodsEnum } from '../../types/enums'; - -export const useLogin = (params?: Login) => { - const { - login: webLogin, - isLoggedIn: webIsLoggedIn, - isLoggingIn: webIsLoggingIn, - error: webLoginError, - } = useWebWalletLogin(params); - - const { - login: mobileLogin, - isLoggedIn: mobileIsLoggedIn, - isLoggingIn: mobileIsLoggingIn, - walletConnectUri, - error: mobileLoginError, - } = useMobileAppLogin(params); - - const { - login: extensionLogin, - isLoggedIn: extensionIsLoggedIn, - isLoggingIn: extensionIsLoggingIn, - error: extensionLoginError, - } = useExtensionLogin(params); - - const { - login: ledgerLogin, - isLoggedIn: ledgerIsLoggedIn, - isLoggingIn: ledgerIsLoggingIn, - error: ledgerLoginError, - getHWAccounts, - } = useLedgerLogin(params); - - const login = async (type: LoginMethodsEnum, ledgerAccountIndex?: number) => { - if (type === LoginMethodsEnum.extension) { - await extensionLogin(); - } - if (type === LoginMethodsEnum.wallet) { - await webLogin(); - } - if (type === LoginMethodsEnum.walletconnect) { - await mobileLogin(); - } - if (type === LoginMethodsEnum.ledger) { - await ledgerLogin(ledgerAccountIndex); - } - return null; - }; - - return { - walletConnectUri, - getHWAccounts, - login, - isLoggedIn: - webIsLoggedIn || - mobileIsLoggedIn || - extensionIsLoggedIn || - ledgerIsLoggedIn, - isLoggingIn: - webIsLoggingIn || - mobileIsLoggingIn || - extensionIsLoggingIn || - ledgerIsLoggingIn, - error: - webLoginError || - mobileLoginError || - extensionLoginError || - ledgerLoginError, - }; -}; diff --git a/hooks/auth/useLoginInfo.tsx b/hooks/auth/useLoginInfo.tsx deleted file mode 100644 index c95a903..0000000 --- a/hooks/auth/useLoginInfo.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { useSnapshot } from 'valtio'; -import { loginInfoState } from '../../store/auth'; - -export const useLoginInfo = () => { - const loginInfoSnap = useSnapshot(loginInfoState); - - return { - loginMethod: loginInfoSnap.loginMethod, - expires: loginInfoSnap.expires, - loginToken: loginInfoSnap.loginToken, - signature: loginInfoSnap.signature, - }; -}; diff --git a/hooks/auth/useLogout.tsx b/hooks/auth/useLogout.tsx deleted file mode 100644 index f52bba3..0000000 --- a/hooks/auth/useLogout.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import { getNetworkState, clearDappProvider } from '../../store/network'; -import { useSnapshot } from 'valtio'; -import { - clearAuthStates, - loggingInState, - setLoggingInState, -} from '../../store/auth'; -import { DappProvider } from '../../types/network'; -import { errorParse } from '../../utils/errorParse'; - -interface Logout { - dappProvider?: DappProvider; - callbackRoute?: string; - redirectFn?: (callbackRoute?: string) => void; -} - -export const useLogout = () => { - const loggingInSnap = useSnapshot(loggingInState); - const dappProviderInstance = getNetworkState('dappProvider'); - - const logout = async (params?: Logout) => { - const provider = params?.dappProvider || dappProviderInstance; - if (!provider) return; - - try { - setLoggingInState('pending', true); - await provider.logout(); - - clearAuthStates(); - clearDappProvider(); - - if (params?.callbackRoute) { - if (typeof params?.redirectFn === 'function') { - params?.redirectFn(params?.callbackRoute); - } else if (typeof window !== 'undefined') { - window.location.href = params?.callbackRoute; - } - } - - setLoggingInState('loggedIn', false); - } catch (e) { - const err = errorParse(e); - console.error('error logging out', err); - setLoggingInState('error', err); - } finally { - setLoggingInState('pending', false); - } - }; - - return { - logout, - pending: loggingInSnap.pending, - loggedIn: loggingInSnap.loggedIn, - error: loggingInSnap.error, - }; -}; diff --git a/hooks/auth/useMobileAppLogin.tsx b/hooks/auth/useMobileAppLogin.tsx deleted file mode 100644 index 952501e..0000000 --- a/hooks/auth/useMobileAppLogin.tsx +++ /dev/null @@ -1,129 +0,0 @@ -/* eslint-disable react-hooks/exhaustive-deps */ -import { Account, Address } from '@multiversx/sdk-core'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { WalletConnectProvider } from '@multiversx/sdk-wallet-connect-provider'; -import { useState, useRef } from 'react'; -import { networkConfig, chainType } from '../../config/network'; -import { LoginMethodsEnum } from '../../types/enums'; -import { - setAccountState, - setLoggingInState, - setLoginInfoState, -} from '../../store/auth'; -import { getNetworkState, setNetworkState } from '../../store/network'; -import { getBridgeAddressFromNetwork } from '../../utils/bridgeAddress'; -import { getNewLoginExpiresTimestamp } from '../../utils/expiresAt'; -import { WcOnLogin } from '../../utils/walletConnectCbs'; -import { useLogout } from './useLogout'; -import { Login } from '../../types/account'; -import { useLoggingIn } from './useLoggingIn'; -import { DappProvider } from '../../types/network'; -import { errorParse } from '../../utils/errorParse'; - -export const useMobileAppLogin = (params?: Login) => { - const { logout } = useLogout(); - const { isLoggedIn, isLoggingIn, error } = useLoggingIn(); - const [walletConnectUri, setWalletConnectUri] = useState(''); - - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - const dappProvider = getNetworkState('dappProvider'); - - const dappProviderRef = useRef(dappProvider); - - const handleOnLogout = () => { - logout({ - callbackRoute: params?.callbackRoute, - dappProvider: dappProviderRef?.current, - }); - }; - - const login = async () => { - const bridgeAddress = getBridgeAddressFromNetwork( - networkConfig[chainType].walletConnectBridgeAddresses - ); - - if (!bridgeAddress || !apiNetworkProvider) { - throw Error( - "Something wen't wrong with the initialization (ApiNetworkProvider or Wallet Connect Bridge address), plese try to refresh the page!" - ); - } - - const providerHandlers = { - onClientLogin: async () => { - if (dappProviderRef.current instanceof WalletConnectProvider) { - const address = await dappProviderRef.current.getAddress(); - const signature = await dappProviderRef.current.getSignature(); - const account = new Account(new Address(address)); - - setAccountState('address', address); - setAccountState('balance', account.balance.toString()); - setAccountState('nonce', account.nonce.valueOf()); - - setLoggingInState('loggedIn', Boolean(address)); - if (signature) { - setLoginInfoState('signature', signature); - } - if (params?.token) { - setLoginInfoState('loginToken', params?.token); - } - - setNetworkState('dappProvider', dappProviderRef.current); - - WcOnLogin( - apiNetworkProvider, - dappProviderRef.current, - params?.callbackRoute - ); - } - }, - onClientLogout: handleOnLogout, - }; - - const providerInstance = new WalletConnectProvider( - bridgeAddress, - providerHandlers - ); - - try { - const walletConnectUri: string | undefined = - await providerInstance.login(); - dappProviderRef.current = providerInstance; - - setLoginInfoState('expires', getNewLoginExpiresTimestamp()); - setLoginInfoState('loginMethod', LoginMethodsEnum.walletconnect); - - generateWcUri(bridgeAddress, walletConnectUri); - setLoggingInState('pending', true); - } catch (e) { - const err = errorParse(e); - setLoggingInState('error', `Error logging in ${err}`); - } finally { - setLoggingInState('pending', false); - } - }; - - const generateWcUri = (bridgeAddress: string, walletConnectUri: string) => { - if (!bridgeAddress) return; - - const hasUri = Boolean(walletConnectUri); - - if (!hasUri) return; - - if (!params?.token) { - setWalletConnectUri(walletConnectUri); - } else { - const wcUriWithToken = `${walletConnectUri}&token=${params.token}`; - setWalletConnectUri(wcUriWithToken); - } - }; - - return { - login, - walletConnectUri, - isLoggedIn, - isLoggingIn, - error, - logout, - }; -}; diff --git a/hooks/auth/useNetworkSync.tsx b/hooks/auth/useNetworkSync.tsx deleted file mode 100644 index cfb18ba..0000000 --- a/hooks/auth/useNetworkSync.tsx +++ /dev/null @@ -1,261 +0,0 @@ -/* eslint-disable react-hooks/exhaustive-deps */ -import { useSnapshot } from 'valtio'; -import { useEffect, useState, useRef } from 'react'; -import { - accountState, - loginInfoState, - setAccountState, - setLoggingInState, - setLoginInfoState, -} from '../../store/auth'; -import * as network from '../../store/network'; -import { Address, Account } from '@multiversx/sdk-core'; -import { WalletProvider } from '@multiversx/sdk-web-wallet-provider'; -import { WalletConnectProvider } from '@multiversx/sdk-wallet-connect-provider'; -import { ExtensionProvider } from '@multiversx/sdk-extension-provider'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { HWProvider } from '@multiversx/sdk-hw-provider'; -import { - networkConfig, - chainType, - DAPP_INIT_ROUTE, -} from '../../config/network'; -import { getBridgeAddressFromNetwork } from '../../utils/bridgeAddress'; -import { getParamFromUrl } from '../../utils/getParamFromUrl'; -import { LoginMethodsEnum } from '../../types/enums'; -import { WcOnLogin } from '../../utils/walletConnectCbs'; -import { useLogout } from './useLogout'; -import { useEffectOnlyOnUpdate } from '../tools/useEffectOnlyOnUpdate'; -import { isLoginExpired } from '../../utils/expiresAt'; -import { clearDappProvider } from '../../store/network'; -import { clearAuthStates } from '../../store/auth'; -import { DappProvider } from '../../types/network'; -import { errorParse } from '../../utils/errorParse'; - -export const useNetworkSync = () => { - const { logout } = useLogout(); - const [accountDone, setAccountDone] = useState(false); - const [loginInfoDone, setLoginInfoDone] = useState(false); - - const accountSnap = useSnapshot(accountState); - const loginInfoSnap = useSnapshot(loginInfoState); - - const dappProviderRef = useRef(); - const apiNetworkProviderRef = useRef(); - - useEffect(() => { - const accountStorage = localStorage.getItem('multiversx_dapp__account'); - const parsedStorage = accountStorage ? JSON.parse(accountStorage) : null; - - if (!parsedStorage?.address) { - setLoggingInState('pending', false); - return; - } - - setAccountState('address', parsedStorage.address); - setAccountState('nonce', parsedStorage.nonce); - setAccountState('balance', parsedStorage.balance); - setAccountState('addressIndex', parsedStorage.addressIndex); - setAccountDone(true); - }, []); - - useEffect(() => { - const loginInfoStorage = localStorage.getItem('multiversx_dapp__loginInfo'); - if (loginInfoStorage) { - const parsedStorage = JSON.parse(loginInfoStorage); - setLoginInfoState('loginMethod', parsedStorage.loginMethod); - setLoginInfoState('expires', parsedStorage.expires); - setLoginInfoState('loginToken', parsedStorage.loginToken); - setLoginInfoState('signature', parsedStorage.signature); - setLoginInfoDone(true); - } - }, []); - - useEffectOnlyOnUpdate(() => { - localStorage.setItem('multiversx_dapp__account', JSON.stringify(accountSnap)); - }, [ - accountSnap.address, - accountSnap.nonce, - accountSnap.balance, - accountSnap.addressIndex, - ]); - - useEffectOnlyOnUpdate(() => { - localStorage.setItem( - 'multiversx_dapp__loginInfo', - JSON.stringify(loginInfoSnap) - ); - }, [ - loginInfoSnap.loginMethod, - loginInfoSnap.expires, - loginInfoSnap.loginToken, - loginInfoSnap.signature, - ]); - - // Proxy provider sync - useEffect(() => { - const askForApiNetworkProvider = async () => { - let apiNetworkProvider = apiNetworkProviderRef?.current; - if (!apiNetworkProvider) { - const publicApiEndpoint = process.env.NEXT_PUBLIC_MULTIVERSX_API; - if (publicApiEndpoint) { - apiNetworkProvider = new ApiNetworkProvider(publicApiEndpoint, { - timeout: Number(networkConfig[chainType].apiTimeout), - }); - apiNetworkProviderRef.current = apiNetworkProvider; - network.setNetworkState('apiNetworkProvider', apiNetworkProvider); - } else { - throw Error( - 'There is no public api configured! Check env vars and README file.' - ); - } - } - }; - askForApiNetworkProvider(); - }, []); - - // Dapp Providers sync - // Each provider has a little bit different logic on sync - useEffectOnlyOnUpdate(() => { - const askForDappProvider = async () => { - const loginMethod = loginInfoSnap.loginMethod; - const loginExpires = loginInfoSnap.expires; - let dappProvider = dappProviderRef?.current; - - if (loginExpires && isLoginExpired(loginExpires)) { - clearAuthStates(); - clearDappProvider(); - localStorage.clear(); - return; - } - - if (!dappProvider) { - switch (loginMethod) { - // Browser extension auth (MultiversX defi wallet) - case LoginMethodsEnum.extension: - dappProvider = ExtensionProvider.getInstance(); - try { - await dappProvider.init(); - - if (!dappProvider.isInitialized()) { - console.warn( - 'Something went wrong trying to sync with the extension! Try to connect again.' - ); - return; - } else { - dappProvider.setAddress(accountSnap.address); - network.setNetworkState('dappProvider', dappProvider); - } - } catch (e) { - console.warn("Can't initialize the Dapp Provider!"); - } - break; - // xPortal mobile app auth - case LoginMethodsEnum.walletconnect: - const providerHandlers = { - onClientLogin: () => - WcOnLogin( - apiNetworkProviderRef?.current, - dappProviderRef?.current as WalletConnectProvider - ), - onClientLogout: () => - logout({ dappProvider: dappProviderRef?.current }), - }; - - const bridgeAddress = getBridgeAddressFromNetwork( - networkConfig[chainType].walletConnectBridgeAddresses - ); - dappProvider = new WalletConnectProvider( - bridgeAddress, - providerHandlers - ); - dappProviderRef.current = dappProvider; - try { - await dappProvider.init(); - if (!dappProvider.isInitialized()) { - console.warn( - 'Something went wrong trying to sync with the xPortal app!' - ); - } else { - network.setNetworkState('dappProvider', dappProvider); - } - } catch { - console.warn("Can't initialize the Dapp Provider!"); - } - break; - // Web wallet auth - case LoginMethodsEnum.wallet: - const address = getParamFromUrl('address') || accountSnap?.address; - const signature = getParamFromUrl('signature'); - if (signature) { - setLoginInfoState('signature', signature); - } - if (address) { - dappProvider = new WalletProvider( - `${networkConfig[chainType].walletAddress}${DAPP_INIT_ROUTE}` - ); - dappProviderRef.current = dappProvider; - network.setNetworkState('dappProvider', dappProvider); - const userAddressInstance = new Address(address); - const userAccountInstance = new Account(userAddressInstance); - setAccountState('address', userAccountInstance.address.bech32()); - } - break; - case LoginMethodsEnum.ledger: - dappProvider = new HWProvider(); - dappProviderRef.current = dappProvider; - network.setNetworkState('dappProvider', dappProvider); - try { - await dappProvider.init(); - if (!dappProvider.isInitialized()) { - console.warn( - 'Something went wrong trying to sync with the Ledger!' - ); - } else { - dappProvider.setAddressIndex(accountSnap.addressIndex); - network.setNetworkState( - 'dappProvider', - dappProvider - ); - } - } catch { - console.warn("Can't initialize the Dapp Provider!"); - } - break; - } - } - }; - askForDappProvider(); - }, [accountDone, loginInfoDone]); - - // Account network sync - useEffectOnlyOnUpdate(() => { - const askForAccount = async () => { - const address = accountSnap?.address; - const loginExpires = loginInfoSnap.expires; - const apiNetworkProvider = apiNetworkProviderRef.current; - const loginExpired = loginExpires && isLoginExpired(loginExpires); - if (!loginExpired && address && apiNetworkProvider) { - const userAddressInstance = new Address(address); - const userAccountInstance = new Account(userAddressInstance); - try { - const userAccountOnNetwork = await apiNetworkProvider.getAccount( - userAddressInstance - ); - userAccountInstance.update(userAccountOnNetwork); - setAccountState('address', address); - setAccountState('nonce', userAccountInstance.nonce.valueOf()); - setAccountState('balance', userAccountInstance.balance.toString()); - setLoggingInState('loggedIn', Boolean(address)); - } catch (e) { - const err = errorParse(e); - console.warn( - `Something went wrong trying to synchronize the user account: ${err}` - ); - } - } - setLoggingInState('pending', false); - }; - askForAccount(); - }, [accountSnap?.address]); -}; diff --git a/hooks/auth/useWebWalletLogin.tsx b/hooks/auth/useWebWalletLogin.tsx deleted file mode 100644 index 792f062..0000000 --- a/hooks/auth/useWebWalletLogin.tsx +++ /dev/null @@ -1,62 +0,0 @@ -import { WalletProvider } from '@multiversx/sdk-web-wallet-provider'; -import { LoginMethodsEnum } from '../../types/enums'; -import { getNewLoginExpiresTimestamp } from '../../utils/expiresAt'; -import { - chainType, - DAPP_INIT_ROUTE, - networkConfig, -} from '../../config/network'; -import { setLoginInfoState, setLoggingInState } from '../../store/auth'; -import { useLogout } from './useLogout'; -import { Login } from '../../types/account'; -import { useLoggingIn } from './useLoggingIn'; -import { errorParse } from '../../utils/errorParse'; - -export const useWebWalletLogin = (params?: Login) => { - const { logout } = useLogout(); - const { isLoggedIn, isLoggingIn, error } = useLoggingIn(); - - const login = async () => { - setLoggingInState('pending', true); - - const providerInstance = new WalletProvider( - `${networkConfig[chainType].walletAddress}${DAPP_INIT_ROUTE}` - ); - - const callbackUrl: string = - typeof window !== 'undefined' - ? encodeURIComponent( - `${window.location.origin}${params?.callbackRoute || '/'}` - ) - : '/'; - const providerLoginData = { - callbackUrl, - ...(params?.token && { token: params?.token }), - }; - - try { - setLoginInfoState('loginMethod', LoginMethodsEnum.wallet); - await providerInstance.login(providerLoginData); - setLoginInfoState('expires', getNewLoginExpiresTimestamp()); - if (params?.token) { - setLoginInfoState('loginToken', params.token); - } - } catch (e) { - const err = errorParse(e); - setLoggingInState('error', `Error logging in ${err}`); - setLoginInfoState('loginMethod', ''); - } finally { - setLoggingInState('pending', false); - } - }; - - return { - login, - isLoggedIn, - isLoggingIn, - error, - logout, - }; -}; - -export default useWebWalletLogin; diff --git a/hooks/core/common-helpers/sendTxOperations.ts b/hooks/core/common-helpers/sendTxOperations.ts deleted file mode 100644 index 4deaae2..0000000 --- a/hooks/core/common-helpers/sendTxOperations.ts +++ /dev/null @@ -1,78 +0,0 @@ -// Tools used internally by sent transactions hooks -import { Account, TransactionWatcher, Transaction } from '@multiversx/sdk-core'; -import { ExtensionProvider } from '@multiversx/sdk-extension-provider'; -import { WalletConnectProvider } from '@multiversx/sdk-wallet-connect-provider'; -import { HWProvider } from '@multiversx/sdk-hw-provider'; -import { Dispatch, SetStateAction } from 'react'; -import { setAccountState, LoginInfoState } from '../../../store/auth'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { LoginMethodsEnum } from '../../../types/enums'; -import { WalletProvider } from '@multiversx/sdk-web-wallet-provider'; -import { DappProvider } from '../../../types/network'; -import { errorParse } from '../../../utils/errorParse'; - -export interface TransactionCb { - transaction?: Transaction | null; - error?: string; - pending?: boolean; -} - -export const postSendTxOperations = async ( - tx: Transaction, - setTransaction: Dispatch>, - apiNetworkProvider: ApiNetworkProvider, - cb?: (params: TransactionCb) => void -) => { - const transactionWatcher = new TransactionWatcher(apiNetworkProvider); - await transactionWatcher.awaitCompleted(tx); - setTransaction(tx); - cb?.({ transaction: tx, pending: false }); - const sender = tx.getSender(); - const senderAccount = new Account(sender); - const userAccountOnNetwork = await apiNetworkProvider.getAccount(sender); - senderAccount.update(userAccountOnNetwork); - setAccountState('address', senderAccount.address.bech32()); - setAccountState('nonce', senderAccount.getNonceThenIncrement()); - setAccountState('balance', senderAccount.balance.toString()); -}; - -export const sendTxOperations = async ( - dappProvider: DappProvider, - tx: Transaction, - loginInfoSnap: LoginInfoState, - apiNetworkProvider: ApiNetworkProvider, - setTransaction: Dispatch>, - setError: Dispatch>, - setPending: Dispatch>, - webWalletRedirectUrl?: string, - cb?: (params: TransactionCb) => void -) => { - try { - if (dappProvider instanceof WalletProvider) { - const currentUrl = window?.location.href; - await dappProvider.signTransaction(tx, { - callbackUrl: webWalletRedirectUrl || currentUrl, - }); - } - if (dappProvider instanceof ExtensionProvider) { - await dappProvider.signTransaction(tx); - } - if (dappProvider instanceof WalletConnectProvider) { - await dappProvider.signTransaction(tx); - } - if (dappProvider instanceof HWProvider) { - await dappProvider.signTransaction(tx); - } - if (loginInfoSnap.loginMethod !== LoginMethodsEnum.wallet) { - await apiNetworkProvider.sendTransaction(tx); - await postSendTxOperations(tx, setTransaction, apiNetworkProvider, cb); - } - } catch (e) { - const err = errorParse(e); - setError(err); - cb?.({ error: err }); - } finally { - setPending(false); - cb?.({ pending: false }); - } -}; diff --git a/hooks/core/common-helpers/useWebWalletTxSend.tsx b/hooks/core/common-helpers/useWebWalletTxSend.tsx deleted file mode 100644 index a13237b..0000000 --- a/hooks/core/common-helpers/useWebWalletTxSend.tsx +++ /dev/null @@ -1,82 +0,0 @@ -import { useEffect, Dispatch, SetStateAction } from 'react'; -import { - WALLET_PROVIDER_CALLBACK_PARAM, - WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED, -} from '@multiversx/sdk-web-wallet-provider'; -import { Transaction } from '@multiversx/sdk-core'; -import { useSnapshot } from 'valtio'; -import { getParamFromUrl } from '../../../utils/getParamFromUrl'; -import { getNetworkState } from '../../../store/network'; -import { DappProvider } from '../../../types/network'; -import { accountState } from '../../../store/auth'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { postSendTxOperations, TransactionCb } from './sendTxOperations'; -import { errorParse } from '../../../utils/errorParse'; - -interface UseWebWalletTxSendProps { - setPending: Dispatch>; - setTransaction: Dispatch>; - setError: Dispatch>; - cb?: (params: TransactionCb) => void; -} - -export const useWebWalletTxSend = ({ - setPending, - setTransaction, - cb, - setError, -}: UseWebWalletTxSendProps) => { - const dappProvider = getNetworkState('dappProvider'); - const accountSnap = useSnapshot(accountState); - const currentNonce = accountSnap.nonce; - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - - useEffect(() => { - const walletProviderStatus = getParamFromUrl( - WALLET_PROVIDER_CALLBACK_PARAM - ); - - const send = async () => { - if ('getTransactionsFromWalletUrl' in dappProvider) { - const txs = dappProvider.getTransactionsFromWalletUrl(); - // For now it is prepared for handling one transaction at a time - const transactionObj = txs?.[0]; - if (!transactionObj) return; - transactionObj.data = Buffer.from(transactionObj.data).toString( - 'base64' - ); - window.history.replaceState(null, '', window.location.pathname); - setPending(true); - cb?.({ pending: true }); - const transaction = Transaction.fromPlainObject(transactionObj); - transaction.setNonce(currentNonce); - try { - await apiNetworkProvider.sendTransaction(transaction); - await postSendTxOperations( - transaction, - setTransaction, - apiNetworkProvider, - cb - ); - } catch (e) { - const err = errorParse(e); - setError(err); - cb?.({ error: err }); - } finally { - setPending(false); - cb?.({ pending: false }); - } - } - }; - - if ( - walletProviderStatus === WALLET_PROVIDER_CALLBACK_PARAM_TX_SIGNED && - apiNetworkProvider && - dappProvider - ) { - send(); - } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); -}; diff --git a/hooks/core/useScQuery.tsx b/hooks/core/useScQuery.tsx deleted file mode 100644 index dc58093..0000000 --- a/hooks/core/useScQuery.tsx +++ /dev/null @@ -1,92 +0,0 @@ -import useSWR, { Fetcher } from 'swr'; -import useSwrMutation from 'swr/mutation'; -import { apiCall } from '../../utils/apiCall'; - -export enum SCQueryType { - NUMBER = 'number', - STRING = 'string', - BOOLEAN = 'boolean', -} - -interface SCQueryData { - type: SCQueryType; - payload?: Record; - options?: Record; - autoInit?: boolean; -} - -interface FetcherArgs { - url: string; - payload: Record | undefined; -} - -export interface VMOutput { - data: { data: string | number }; - error: string; - code: string; -} - -export const fetcher: Fetcher = async ({ - url, - payload, -}) => await apiCall.post(url, payload || {}); - -export function useScQuery({ - type, - payload, - options, - autoInit = true, -}: SCQueryData) { - let url = ''; - - switch (type) { - case SCQueryType.NUMBER: - url = '/vm-values/int'; - break; - case SCQueryType.STRING: - url = '/vm-values/string'; - break; - case SCQueryType.BOOLEAN: - url = '/vm-values/int'; - break; - } - - const { data, error, mutate, isValidating, isLoading } = useSWR( - autoInit ? { url, payload } : null, - fetcher, - { - revalidateIfStale: true, - revalidateOnFocus: false, - revalidateOnReconnect: true, - ...options, - } - ); - - const { - data: mutationData, - error: mutationError, - trigger, - isMutating, - } = useSwrMutation({ url, payload }, fetcher, { - populateCache: true, - revalidate: true, - }); - - const parseData = (data: string | number | undefined) => { - if (type === SCQueryType.BOOLEAN) { - return Boolean(Number(data)); - } - if (type === SCQueryType.NUMBER) { - return Number(data); - } - return data; - }; - - return { - data: parseData(data?.data?.data || mutationData?.data?.data) as T, - isLoading: isLoading, - isValidating: isValidating || isMutating, - error: error || mutationError, - fetch: autoInit ? mutate : trigger, - }; -} diff --git a/hooks/core/useScTransaction.tsx b/hooks/core/useScTransaction.tsx deleted file mode 100644 index 8e40964..0000000 --- a/hooks/core/useScTransaction.tsx +++ /dev/null @@ -1,115 +0,0 @@ -/* eslint-disable react-hooks/exhaustive-deps */ -import { - ContractFunction, - Address, - Transaction, - TypedValue, - TokenPayment, - ContractCallPayloadBuilder, -} from '@multiversx/sdk-core'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { useSnapshot } from 'valtio'; -import { accountState, loginInfoState } from '../../store/auth'; -import { getNetworkState } from '../../store/network'; -import { chainType, networkConfig } from '../../config/network'; -import { DappProvider } from '../../types/network'; -import { useState } from 'react'; -import { - TransactionCb, - sendTxOperations, -} from './common-helpers/sendTxOperations'; -import { useWebWalletTxSend } from './common-helpers/useWebWalletTxSend'; - -interface ScTransactionParams { - smartContractAddress: string; - func: ContractFunction; - gasLimit: number; - args: TypedValue[] | undefined; - value: number | undefined; -} - -interface SCTransactionArgs { - cb?: (params: TransactionCb) => void; - webWalletRedirectUrl?: string; -} - -export function useScTransaction( - { webWalletRedirectUrl, cb }: SCTransactionArgs = { - webWalletRedirectUrl: undefined, - cb: undefined, - } -) { - const [pending, setPending] = useState(false); - const [error, setError] = useState(''); - const [transaction, setTransaction] = useState(null); - const accountSnap = useSnapshot(accountState); - const loginInfoSnap = useSnapshot(loginInfoState); - - const dappProvider = getNetworkState('dappProvider'); - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - const currentNonce = accountSnap.nonce; - - useWebWalletTxSend({ setPending, setTransaction, setError, cb }); - - const triggerTx = async ({ - smartContractAddress, - func, - gasLimit, - args, - value, - }: ScTransactionParams) => { - setTransaction(null); - setError(''); - if ( - dappProvider && - apiNetworkProvider && - currentNonce !== undefined && - !pending && - accountSnap.address && - func - ) { - setPending(true); - cb?.({ pending: true }); - - const data = new ContractCallPayloadBuilder() - .setFunction(func) - .setArgs(args || []) - .build(); - - const tx = new Transaction({ - data, - gasLimit, - ...(value ? { value: TokenPayment.egldFromAmount(value) } : {}), - chainID: networkConfig[chainType].shortId, - receiver: new Address(smartContractAddress), - sender: new Address(accountSnap.address), - }); - - tx.setNonce(currentNonce); - - sendTxOperations( - dappProvider, - tx, - loginInfoSnap, - apiNetworkProvider, - setTransaction, - setError, - setPending, - webWalletRedirectUrl, - cb - ); - } else { - setError( - 'There is something wrong with the network synchronization. Check if you are logged in.' - ); - } - }; - - return { - pending, - triggerTx, - transaction, - error, - }; -} diff --git a/hooks/core/useTransaction.tsx b/hooks/core/useTransaction.tsx deleted file mode 100644 index 115bc71..0000000 --- a/hooks/core/useTransaction.tsx +++ /dev/null @@ -1,108 +0,0 @@ -/* eslint-disable react-hooks/exhaustive-deps */ -import { - Address, - Transaction, - ITransactionPayload, - IGasLimit, - TokenPayment, -} from '@multiversx/sdk-core'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { useSnapshot } from 'valtio'; -import { accountState, loginInfoState } from '../../store/auth'; -import { getNetworkState } from '../../store/network'; -import { chainType, networkConfig } from '../../config/network'; -import { DappProvider } from '../../types/network'; -import { useState } from 'react'; -import { useWebWalletTxSend } from './common-helpers/useWebWalletTxSend'; -import { - TransactionCb, - sendTxOperations, -} from './common-helpers/sendTxOperations'; - -interface TransactionParams { - address: string; - gasLimit: IGasLimit; - data?: ITransactionPayload; - value?: number; -} - -interface TransactionArgs { - webWalletRedirectUrl?: string; - cb?: (params: TransactionCb) => void; -} - -export function useTransaction( - { webWalletRedirectUrl, cb }: TransactionArgs = { - webWalletRedirectUrl: undefined, - cb: undefined, - } -) { - const [pending, setPending] = useState(false); - const [error, setError] = useState(''); - const [transaction, setTransaction] = useState(null); - const accountSnap = useSnapshot(accountState); - const loginInfoSnap = useSnapshot(loginInfoState); - - const dappProvider = getNetworkState('dappProvider'); - const apiNetworkProvider = - getNetworkState('apiNetworkProvider'); - const currentNonce = accountSnap.nonce; - - useWebWalletTxSend({ setPending, setTransaction, setError, cb }); - - const triggerTx = async ({ - address, - data, - gasLimit, - value, - }: TransactionParams) => { - setTransaction(null); - setError(''); - - if ( - dappProvider && - apiNetworkProvider && - currentNonce !== undefined && - !pending && - accountSnap.address - ) { - setPending(true); - cb?.({ pending: true }); - - const tx = new Transaction({ - nonce: currentNonce, - receiver: new Address(address), - gasLimit, - chainID: networkConfig[chainType].shortId, - data, - ...(value ? { value: TokenPayment.egldFromAmount(value) } : {}), - sender: new Address(accountSnap.address), - }); - - tx.setNonce(currentNonce); - - sendTxOperations( - dappProvider, - tx, - loginInfoSnap, - apiNetworkProvider, - setTransaction, - setError, - setPending, - webWalletRedirectUrl, - cb - ); - } else { - setError( - 'There is something wrong with the network synchronization. Check if you are logged in.' - ); - } - }; - - return { - pending, - triggerTx, - transaction, - error, - }; -} diff --git a/hooks/tools/useApiCall.tsx b/hooks/tools/useApiCall.tsx deleted file mode 100644 index 850db8b..0000000 --- a/hooks/tools/useApiCall.tsx +++ /dev/null @@ -1,67 +0,0 @@ -import useSWR from 'swr'; -import useSwrMutation from 'swr/mutation'; -import { apiCall } from '../../utils/apiCall'; - -interface ApiCallData { - url: string; - type?: string; - payload?: Record; - options?: Record; - autoInit?: boolean; -} - -interface FetcherArgs { - url: string; - type?: string; - payload: Record | undefined; -} - -export async function fetcher({ url, type, payload }: FetcherArgs) { - if (type === 'post') { - return await apiCall.post(url, payload || {}); - } - if (type === 'put') { - return await apiCall.put(url, payload || {}); - } - if (type === 'delete') { - return await apiCall.delete(url); - } - return await apiCall.get(url); -} - -export function useApiCall({ - url, - type, - payload, - options, - autoInit = true, -}: ApiCallData) { - const { data, error, mutate, isValidating, isLoading } = useSWR( - autoInit ? { url, payload, type } : null, - fetcher, - { - revalidateIfStale: true, - revalidateOnFocus: false, - revalidateOnReconnect: true, - ...options, - } - ); - - const { - data: mutationData, - error: mutationError, - trigger, - isMutating, - } = useSwrMutation({ url, payload, type }, fetcher, { - populateCache: true, - revalidate: true, - }); - - return { - data: (data || mutationData) as T, - isLoading: isLoading, - isValidating: isValidating || isMutating, - error: error || mutationError, - fetch: autoInit ? mutate : trigger, - }; -} diff --git a/hooks/tools/useEffectOnlyOnUpdate.tsx b/hooks/useEffectOnlyOnUpdate.tsx similarity index 100% rename from hooks/tools/useEffectOnlyOnUpdate.tsx rename to hooks/useEffectOnlyOnUpdate.tsx diff --git a/next.config.js b/next.config.js index 417abd4..f3f60c8 100644 --- a/next.config.js +++ b/next.config.js @@ -12,7 +12,7 @@ const nextConfig = { }; return config; }, - reactStrictMode: false, + reactStrictMode: true, async rewrites() { return [ { diff --git a/package-lock.json b/package-lock.json index 0d5ea4b..a2fad77 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,31 +1,23 @@ { "name": "esdt-faucet-dapp", - "version": "0.3.0", + "version": "0.4.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "esdt-faucet-dapp", - "version": "0.3.0", + "version": "0.4.0", "license": "MIT", "dependencies": { - "@chakra-ui/react": "2.4.9", - "@emotion/react": "11.10.5", - "@emotion/styled": "11.10.5", + "@chakra-ui/react": "2.5.1", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", "@fontsource/poppins": "4.5.10", - "@multiversx/sdk-core": "11.2.0", - "@multiversx/sdk-extension-provider": "2.0.7", - "@multiversx/sdk-hw-provider": "3.0.3", - "@multiversx/sdk-network-providers": "1.3.0", - "@multiversx/sdk-wallet-connect-provider": "3.0.1", - "@multiversx/sdk-web-wallet-provider": "2.2.0", + "@multiversx/sdk-core": "11.3.0", + "@useelven/core": "0.0.3", "bignumber.js": "9.1.1", "buffer": "6.0.3", "crypto-browserify": "3.12.0", - "date-fns": "2.29.3", - "deep-equal": "2.2.0", - "events": "3.3.0", - "lodash.clonedeep": "4.5.0", "next": "13.1.6", "path-browserify": "1.0.1", "process": "0.11.10", @@ -33,36 +25,19 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-social-icons": "5.15.0", - "stream-browserify": "3.0.0", - "swr": "2.0.2", - "valtio": "1.9.0" + "stream-browserify": "3.0.0" }, "devDependencies": { - "@types/deep-equal": "1.0.1", - "@types/lodash.clonedeep": "4.5.7", - "@types/node": "18.11.18", + "@types/node": "18.14.0", "@types/qrcode": "1.5.0", - "@types/react": "18.0.27", - "@typescript-eslint/eslint-plugin": "5.49.0", - "eslint": "8.32.0", + "@types/react": "18.0.28", + "@typescript-eslint/eslint-plugin": "5.52.0", + "@typescript-eslint/parser": "^5.52.0", + "eslint": "8.34.0", "eslint-config-next": "13.1.6", "eslint-config-prettier": "8.6.0", - "eslint-plugin-valtio": "0.6.1", - "prettier": "2.8.3", - "typescript": "4.9.4" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", - "peer": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" + "prettier": "2.8.4", + "typescript": "4.9.5" } }, "node_modules/@babel/code-frame": { @@ -76,126 +51,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/compat-data": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.14.tgz", - "integrity": "sha512-0YpKHD6ImkWMEINCyDAD0HLLUH/lPCefG8ld9it8DJB2wnApraKuhgYTvTY1z7UFIfBTGy5LwncZ+5HWWGbhFw==", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.20.12", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", - "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", - "peer": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", - "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-module-transforms": "^7.20.11", - "@babel/helpers": "^7.20.7", - "@babel/parser": "^7.20.7", - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.12", - "@babel/types": "^7.20.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", - "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", - "peer": true, - "dependencies": { - "@babel/types": "^7.20.7", - "@jridgewell/gen-mapping": "^0.3.2", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", - "peer": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz", - "integrity": "sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==", - "peer": true, - "dependencies": { - "@babel/compat-data": "^7.20.5", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.21.3", - "lru-cache": "^5.1.1", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", - "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", - "peer": true, - "dependencies": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", - "peer": true, - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", @@ -207,57 +62,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.20.11", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz", - "integrity": "sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==", - "peer": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.20.2", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.19.1", - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.10", - "@babel/types": "^7.20.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz", - "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", - "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", - "peer": true, - "dependencies": { - "@babel/types": "^7.20.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", - "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", - "peer": true, - "dependencies": { - "@babel/types": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { "version": "7.19.4", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", @@ -274,29 +78,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.13.tgz", - "integrity": "sha512-nzJ0DWCL3gB5RCXbUO3KIMMsBY2Eqbx8mBpKGE/02PgyRQFcPQLbkQ1vyy596mZLaP+dAfD+R4ckASzNVmW3jg==", - "peer": true, - "dependencies": { - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.13", - "@babel/types": "^7.20.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/highlight": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", @@ -310,73 +91,76 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/parser": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.13.tgz", - "integrity": "sha512-gFDLKMfpiXCsjt4za2JA9oTMn70CeseCehb11kRZgvd7+F67Hih3OHOK24cRrWECJ/ljfPGac6ygXAs/C8kIvw==", - "peer": true, - "bin": { - "parser": "bin/babel-parser.js" + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=4" } }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz", - "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==", + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=4" } }, - "node_modules/@babel/runtime": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", - "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dependencies": { - "regenerator-runtime": "^0.13.11" - }, + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/@babel/highlight/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "engines": { - "node": ">=6.9.0" + "node": ">=0.8.0" } }, - "node_modules/@babel/template": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", - "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", - "peer": true, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7" + "has-flag": "^3.0.0" }, "engines": { - "node": ">=6.9.0" + "node": ">=4" } }, - "node_modules/@babel/traverse": { + "node_modules/@babel/runtime": { "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.13.tgz", - "integrity": "sha512-kMJXfF0T6DIS9E8cgdLCSAL+cuCK+YEZHWiLK0SXpTo8YRj5lpJu3CDNKiIBCne4m9hhTIqUg6SYTAI39tAiVQ==", - "peer": true, + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", + "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.20.13", - "@babel/types": "^7.20.7", - "debug": "^4.1.0", - "globals": "^11.1.0" + "regenerator-runtime": "^0.13.11" }, "engines": { "node": ">=6.9.0" @@ -396,9 +180,9 @@ } }, "node_modules/@chakra-ui/accordion": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.8.tgz", - "integrity": "sha512-RTXYhL85dUSVUEurDicxS76JaCXa/L4FYWPAxPSisbZtFvL+/gvoFMcGtT8ZRsJwFWaevmkD+57EmOYCWlLL1A==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.9.tgz", + "integrity": "sha512-a9CKIAUHezc0f5FR/SQ4GVxnWuIb2HbDTxTEKTp58w/J9pecIbJaNrJ5TUZ0MVbDU9jkgO9RsZ29jkja8PomAw==", "dependencies": { "@chakra-ui/descendant": "3.0.13", "@chakra-ui/icon": "3.0.16", @@ -435,9 +219,9 @@ "integrity": "sha512-pKfOS/mztc4sUXHNc8ypJ1gPWSolWT770jrgVRfolVbYlki8y5Y+As996zMF6k5lewTu6j9DQequ7Cc9a69IVQ==" }, "node_modules/@chakra-ui/avatar": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.4.tgz", - "integrity": "sha512-OUuZAhabW0FgmFVt0djH3cVR8p9bKC3vYT3Ol2lrUz3hbf4LrjU5EzmMHmQvcbSs6bNDxS3k9hnswLebOFctJQ==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.5.tgz", + "integrity": "sha512-TEHXuGE79+fEn61qJ7J/A0Ec+WjyNwobrDTATcLg9Zx2/WEMmZNfrWIAlI5ANQAwVbdSWeGVbyoLAK5mbcrE0A==", "dependencies": { "@chakra-ui/image": "2.0.15", "@chakra-ui/react-children-utils": "2.0.6", @@ -464,9 +248,9 @@ } }, "node_modules/@chakra-ui/breakpoint-utils": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.7.tgz", - "integrity": "sha512-YBwsDPMlaMRZ4fKc2WyIIaUmByzkiP4ozxMJIjJRPhedzSho7FOZuE8532q+97f2SyY8z/yZPJ41q4GdwHI/HQ==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.8.tgz", + "integrity": "sha512-Pq32MlEX9fwb5j5xx8s18zJMARNHlQZH2VH1RZgfgRDpp7DcEgtRW5AInfN5CfqdHLO1dGxA7I3MqEuL5JnIsA==", "dependencies": { "@chakra-ui/shared-utils": "2.0.5" } @@ -657,14 +441,14 @@ } }, "node_modules/@chakra-ui/hooks": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.5.tgz", - "integrity": "sha512-E3bGwxjXvMUc9ev3egctrRi5fnER5xXbWUsivA3iFRdUrkfX+19JLUfP1TURzv7UQG8X1AxKSwfqIsYyeHrdmQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.6.tgz", + "integrity": "sha512-oMSOeoOF6/UpwTVlDFHSROAA4hPY8WgJ0erdHs1ZkuwAwHv7UzjDkvrb6xYzAAH9qHoFzc5RIBm6jVoh3LCc+Q==", "dependencies": { "@chakra-ui/react-utils": "2.0.12", "@chakra-ui/utils": "2.0.15", - "compute-scroll-into-view": "1.0.14", - "copy-to-clipboard": "3.3.1" + "compute-scroll-into-view": "1.0.20", + "copy-to-clipboard": "3.3.3" }, "peerDependencies": { "react": ">=18" @@ -696,9 +480,9 @@ } }, "node_modules/@chakra-ui/input": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.19.tgz", - "integrity": "sha512-wV+EG6+F9GngMPpLHBCuxXTNttHihFTT3DpbJnmID9LuAPg7YkWcTNTvpAzC0/Sz9KrcTR9RhSu9a5cvxkkXpw==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.20.tgz", + "integrity": "sha512-ypmsy4n4uNBVgn6Gd24Zrpi+qRf/T9WEzWkysuYC9Qfxo+i7yuf3snp7XmBy8KSGVSiXE11eO8ZN5oCg6Xg0jg==", "dependencies": { "@chakra-ui/form-control": "2.0.17", "@chakra-ui/object-utils": "2.0.8", @@ -712,11 +496,11 @@ } }, "node_modules/@chakra-ui/layout": { - "version": "2.1.15", - "resolved": "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.15.tgz", - "integrity": "sha512-dJYzBm2ywRYNmtadot/5ii+Gztsx8a9Jd+gFXiSLcfQs/QRdboqMyr/0O+6RY2sI7Mwvyo6uo9AvGJBU1djrNQ==", + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.16.tgz", + "integrity": "sha512-QFS3feozIGsvB0H74lUocev55aRF26eNrdmhfJifwikZAiq+zzZAMdBdNU9UJhHClnMOU8/iGZ0MF7ti4zQS1A==", "dependencies": { - "@chakra-ui/breakpoint-utils": "2.0.7", + "@chakra-ui/breakpoint-utils": "2.0.8", "@chakra-ui/icon": "3.0.16", "@chakra-ui/object-utils": "2.0.8", "@chakra-ui/react-children-utils": "2.0.6", @@ -742,11 +526,11 @@ } }, "node_modules/@chakra-ui/media-query": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.11.tgz", - "integrity": "sha512-AylT/qIpbCOvcjvURMdItLvAnaEYZynatvVJUQ8TYcQO2KHBt8BBhQ9umrmNAZFr8y7CRcg7PdvK+g+yOkq22g==", + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.12.tgz", + "integrity": "sha512-8pSLDf3oxxhFrhd40rs7vSeIBfvOmIKHA7DJlGUC/y+9irD24ZwgmCtFnn+y3gI47hTJsopbSX+wb8nr7XPswA==", "dependencies": { - "@chakra-ui/breakpoint-utils": "2.0.7", + "@chakra-ui/breakpoint-utils": "2.0.8", "@chakra-ui/react-env": "3.0.0", "@chakra-ui/shared-utils": "2.0.5" }, @@ -756,9 +540,9 @@ } }, "node_modules/@chakra-ui/menu": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.8.tgz", - "integrity": "sha512-3Ysk1HwJTv6mzkT1dgsNObZnuZiySPJwLdmmCdv8+rpto8u0oCN+etenN0s7HQlAddvHxZ2Sm+1yKZOu6Wimrg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.9.tgz", + "integrity": "sha512-ue5nD4QJcl3H3UwN0zZNJmH89XUebnvEdW6THAUL41hDjJ0J/Fjpg9Sgzwug2aBbBXBNbVMsUuhcCj6x91d+IQ==", "dependencies": { "@chakra-ui/clickable": "2.0.14", "@chakra-ui/descendant": "3.0.13", @@ -917,14 +701,14 @@ } }, "node_modules/@chakra-ui/provider": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.1.0.tgz", - "integrity": "sha512-+NUBHOkqWFpi/unwqhUQh1t/S1+TMZBTz+FiTeWycSUicdFsGCcTe6eQNLu6X5C8gYx9FGXG4ESx7HCTNXQj7w==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.1.2.tgz", + "integrity": "sha512-4lLlz8QuJv00BhfyKzWpzfoti9MDOdJ/MqXixJV/EZ02RMBOdE9qy9bSz/WckPC2MVhtRUuwMkxH+0QY21PXuw==", "dependencies": { "@chakra-ui/css-reset": "2.0.12", "@chakra-ui/portal": "2.0.15", "@chakra-ui/react-env": "3.0.0", - "@chakra-ui/system": "2.4.0", + "@chakra-ui/system": "2.5.1", "@chakra-ui/utils": "2.0.15" }, "peerDependencies": { @@ -952,13 +736,13 @@ } }, "node_modules/@chakra-ui/react": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/@chakra-ui/react/-/react-2.4.9.tgz", - "integrity": "sha512-lY++xW+zhLp0zQr2Sf5phjYMIphOmjGV/o5A1oDQPrqwLJFm4mL2+eXvpAFrLnZoh00qa4iBqarxJCW7qpHeiA==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/react/-/react-2.5.1.tgz", + "integrity": "sha512-ugkaqfcNMb9L4TkalWiF3rnqfr0TlUUD46JZaDIZiORVisaSwXTZTQrVfG40VghhaJT28rnC5WtiE8kd567ZBQ==", "dependencies": { - "@chakra-ui/accordion": "2.1.8", + "@chakra-ui/accordion": "2.1.9", "@chakra-ui/alert": "2.0.17", - "@chakra-ui/avatar": "2.2.4", + "@chakra-ui/avatar": "2.2.5", "@chakra-ui/breadcrumb": "2.1.4", "@chakra-ui/button": "2.0.16", "@chakra-ui/card": "2.1.6", @@ -968,15 +752,16 @@ "@chakra-ui/counter": "2.0.14", "@chakra-ui/css-reset": "2.0.12", "@chakra-ui/editable": "2.0.19", + "@chakra-ui/focus-lock": "2.0.16", "@chakra-ui/form-control": "2.0.17", - "@chakra-ui/hooks": "2.1.5", + "@chakra-ui/hooks": "2.1.6", "@chakra-ui/icon": "3.0.16", "@chakra-ui/image": "2.0.15", - "@chakra-ui/input": "2.0.19", - "@chakra-ui/layout": "2.1.15", + "@chakra-ui/input": "2.0.20", + "@chakra-ui/layout": "2.1.16", "@chakra-ui/live-region": "2.0.13", - "@chakra-ui/media-query": "3.2.11", - "@chakra-ui/menu": "2.1.8", + "@chakra-ui/media-query": "3.2.12", + "@chakra-ui/menu": "2.1.9", "@chakra-ui/modal": "2.2.9", "@chakra-ui/number-input": "2.0.18", "@chakra-ui/pin-input": "2.0.19", @@ -984,24 +769,24 @@ "@chakra-ui/popper": "3.0.13", "@chakra-ui/portal": "2.0.15", "@chakra-ui/progress": "2.1.5", - "@chakra-ui/provider": "2.1.0", + "@chakra-ui/provider": "2.1.2", "@chakra-ui/radio": "2.0.19", "@chakra-ui/react-env": "3.0.0", "@chakra-ui/select": "2.0.18", - "@chakra-ui/skeleton": "2.0.23", - "@chakra-ui/slider": "2.0.20", + "@chakra-ui/skeleton": "2.0.24", + "@chakra-ui/slider": "2.0.21", "@chakra-ui/spinner": "2.0.13", "@chakra-ui/stat": "2.0.17", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/switch": "2.0.22", - "@chakra-ui/system": "2.4.0", + "@chakra-ui/system": "2.5.1", "@chakra-ui/table": "2.0.16", "@chakra-ui/tabs": "2.1.8", "@chakra-ui/tag": "2.0.17", "@chakra-ui/textarea": "2.0.18", "@chakra-ui/theme": "2.2.5", - "@chakra-ui/theme-utils": "2.0.9", - "@chakra-ui/toast": "5.0.1", + "@chakra-ui/theme-utils": "2.0.11", + "@chakra-ui/toast": "6.0.1", "@chakra-ui/tooltip": "2.2.6", "@chakra-ui/transition": "2.0.15", "@chakra-ui/utils": "2.0.15", @@ -1196,11 +981,11 @@ } }, "node_modules/@chakra-ui/react-use-size": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.8.tgz", - "integrity": "sha512-OdCxVPm8ekPVn9R6S1OtfLVNRVZ0G1tcfA2/oY1c55aXbm/R0TFZ+twSoy+X+aRFhqydmE7DRsKyW2ysXuuVBw==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.9.tgz", + "integrity": "sha512-Jce7QmO1jlQZq+Y77VKckWzroRnajChzUQ8xhLQZO6VbYvrpg3cu+X2QCz3G+MZzB+1/hnvvAqmZ+uJLd8rEJg==", "dependencies": { - "@zag-js/element-size": "0.3.0" + "@zag-js/element-size": "0.3.1" }, "peerDependencies": { "react": ">=18" @@ -1255,11 +1040,11 @@ "integrity": "sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==" }, "node_modules/@chakra-ui/skeleton": { - "version": "2.0.23", - "resolved": "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.23.tgz", - "integrity": "sha512-iMK50PlC9kR52v8tZWSKnZTJsOpZrqXOXaR9r/0Ry3xhdMq5hGkcigA+zKy/ZEglbMZ2CG9Fdtvi2vQurE1VZw==", + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.24.tgz", + "integrity": "sha512-1jXtVKcl/jpbrJlc/TyMsFyI651GTXY5ma30kWyTXoby2E+cxbV6OR8GB/NMZdGxbQBax8/VdtYVjI0n+OBqWA==", "dependencies": { - "@chakra-ui/media-query": "3.2.11", + "@chakra-ui/media-query": "3.2.12", "@chakra-ui/react-use-previous": "2.0.5", "@chakra-ui/shared-utils": "2.0.5" }, @@ -1269,9 +1054,9 @@ } }, "node_modules/@chakra-ui/slider": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.20.tgz", - "integrity": "sha512-5Q+9s6bIjI8GIp7YRHqt5hT678p7lCIdA/zB6c/fCp+MvOInxx4LiJZvNuaw0HX6z6bC7R/skIhmIjsgSI3MNw==", + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.21.tgz", + "integrity": "sha512-Mm76yJxEqJl21+3waEcKg3tM8Y4elJ7mcViN6Brj35PTfzUJfSJxeBGo1nLPJ+X5jLj7o/L4kfBmUk3lY4QYEQ==", "dependencies": { "@chakra-ui/number-utils": "2.0.7", "@chakra-ui/react-context": "2.0.7", @@ -1281,7 +1066,7 @@ "@chakra-ui/react-use-latest-ref": "2.0.5", "@chakra-ui/react-use-merge-refs": "2.0.7", "@chakra-ui/react-use-pan-event": "2.0.9", - "@chakra-ui/react-use-size": "2.0.8", + "@chakra-ui/react-use-size": "2.0.9", "@chakra-ui/react-use-update-effect": "2.0.7" }, "peerDependencies": { @@ -1316,9 +1101,9 @@ } }, "node_modules/@chakra-ui/styled-system": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.5.2.tgz", - "integrity": "sha512-FVnSWcj28F2t0R6slslYnhdWL8L3+elzoNt9oXBosS9PS6u6Yh56Dqq2GH2yasOWSmuuXGCPbzOYuc0U+MlCqg==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.6.1.tgz", + "integrity": "sha512-jy/1dVi1LxjoRCm+Eo5mqBgvPy5SCWMlIcz6GbIZBDpkGeKZwtqrZLjekxxLBCy8ORY+kJlUB0FT6AzVR/1tjw==", "dependencies": { "@chakra-ui/shared-utils": "2.0.5", "csstype": "^3.0.11", @@ -1340,15 +1125,15 @@ } }, "node_modules/@chakra-ui/system": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@chakra-ui/system/-/system-2.4.0.tgz", - "integrity": "sha512-gUX6OZVvFDMV92NtKLuawIWqvjhYc0u1LCAMeb1k3ktVBjWEYjIM4DBIirEhHjcADa8ownrTEHeW0aGxN7uxjQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/system/-/system-2.5.1.tgz", + "integrity": "sha512-4+86OrcSoq7lGkm5fh+sJ3IWXSTzjz+HOllRbCW2Rtnmcg7ritiXVNV2VygEg2DrCcx5+tNqRHDM764zW+AEug==", "dependencies": { "@chakra-ui/color-mode": "2.1.12", "@chakra-ui/object-utils": "2.0.8", "@chakra-ui/react-utils": "2.0.12", - "@chakra-ui/styled-system": "2.5.2", - "@chakra-ui/theme-utils": "2.0.9", + "@chakra-ui/styled-system": "2.6.1", + "@chakra-ui/theme-utils": "2.0.11", "@chakra-ui/utils": "2.0.15", "react-fast-compare": "3.2.0" }, @@ -1444,20 +1229,20 @@ } }, "node_modules/@chakra-ui/theme-utils": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.9.tgz", - "integrity": "sha512-+Nn1NooFeAr4d/OVU1NjXEMKCKCIfesYw27BoYzFYCWt/+cS/qcVdPJj+uXgK8L8xExhkREipt2r9kGlE+WpTw==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.11.tgz", + "integrity": "sha512-lBAay6Sq3/fl7exd3mFxWAbzgdQowytor0fnlHrpNStn1HgFjXukwsf6356XQOie2Vd8qaMM7qZtMh4AiC0dcg==", "dependencies": { "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/theme": "2.2.5", "lodash.mergewith": "4.6.2" } }, "node_modules/@chakra-ui/toast": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@chakra-ui/toast/-/toast-5.0.1.tgz", - "integrity": "sha512-R66broJXhe4cd+o5/r7raF4Jg4J3W3QBHrykV7AV/W0Wiav8tL8jwSq8pMmXVnO3oGwKWZ+VHuSWmjcL65BHmg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/toast/-/toast-6.0.1.tgz", + "integrity": "sha512-ej2kJXvu/d2h6qnXU5D8XTyw0qpsfmbiU7hUffo/sPxkz89AUOQ08RUuUmB1ssW/FZcQvNMJ5WgzCTKHGBxtxw==", "dependencies": { "@chakra-ui/alert": "2.0.17", "@chakra-ui/close-button": "2.0.17", @@ -1466,11 +1251,11 @@ "@chakra-ui/react-use-timeout": "2.0.5", "@chakra-ui/react-use-update-effect": "2.0.7", "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/theme": "2.2.5" }, "peerDependencies": { - "@chakra-ui/system": "2.4.0", + "@chakra-ui/system": "2.5.1", "framer-motion": ">=4.0.0", "react": ">=18", "react-dom": ">=18" @@ -1529,12 +1314,11 @@ } }, "node_modules/@emotion/babel-plugin": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz", - "integrity": "sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.6.tgz", + "integrity": "sha512-p2dAqtVrkhSa7xz1u/m9eHYdLi+en8NowrmXeF/dKtJpU8lCWli8RUAati7NcSl0afsBott48pdnANuD0wh9QQ==", "dependencies": { "@babel/helper-module-imports": "^7.16.7", - "@babel/plugin-syntax-jsx": "^7.17.12", "@babel/runtime": "^7.18.3", "@emotion/hash": "^0.9.0", "@emotion/memoize": "^0.8.0", @@ -1545,9 +1329,6 @@ "find-root": "^1.1.0", "source-map": "^0.5.7", "stylis": "4.1.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" } }, "node_modules/@emotion/cache": { @@ -1581,12 +1362,12 @@ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==" }, "node_modules/@emotion/react": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz", - "integrity": "sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.6.tgz", + "integrity": "sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==", "dependencies": { "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.5", + "@emotion/babel-plugin": "^11.10.6", "@emotion/cache": "^11.10.5", "@emotion/serialize": "^1.1.1", "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", @@ -1595,13 +1376,9 @@ "hoist-non-react-statics": "^3.3.1" }, "peerDependencies": { - "@babel/core": "^7.0.0", "react": ">=16.8.0" }, "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, "@types/react": { "optional": true } @@ -1625,26 +1402,22 @@ "integrity": "sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA==" }, "node_modules/@emotion/styled": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz", - "integrity": "sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.6.tgz", + "integrity": "sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og==", "dependencies": { "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.5", + "@emotion/babel-plugin": "^11.10.6", "@emotion/is-prop-valid": "^1.2.0", "@emotion/serialize": "^1.1.1", "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", "@emotion/utils": "^1.2.0" }, "peerDependencies": { - "@babel/core": "^7.0.0", "@emotion/react": "^11.0.0-rc.0", "react": ">=16.8.0" }, "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, "@types/react": { "optional": true } @@ -1696,21 +1469,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@fontsource/poppins": { "version": "4.5.10", "resolved": "https://registry.npmjs.org/@fontsource/poppins/-/poppins-4.5.10.tgz", @@ -1749,106 +1507,29 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", - "peer": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "peer": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "peer": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "peer": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", - "peer": true, - "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" - } - }, "node_modules/@ledgerhq/devices": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.7.tgz", - "integrity": "sha512-PZ9TtaTGBYUm/g0qNKPbECZt7DDNvqM3ILS5wAtOMna2cBR+mrywUGXrkjuOWlHpuqZ8wenaAKveQBbzF2ba8w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.6.tgz", + "integrity": "sha512-trEqJqgXuXLgb228c6kJdur0idTVxtofy8NxumvsspZKh5x/pHJX8EoNxWX91Pg7H3AA+jxLEeRvAjNDVDJgGQ==", "dependencies": { - "@ledgerhq/errors": "^6.12.3", + "@ledgerhq/errors": "^6.12.2", "@ledgerhq/logs": "^6.10.1", "rxjs": "6", "semver": "^7.3.5" } }, - "node_modules/@ledgerhq/devices/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/devices/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/devices/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@ledgerhq/errors": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.3.tgz", - "integrity": "sha512-djiMSgB/7hnK3aLR/c5ZMMivxjcI7o2+y3VKcsZZpydPoVf9+FXqeJPRfOwmJ0JxbQ//LinUfWpIfHew8LkaVw==" + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.2.tgz", + "integrity": "sha512-qYTkxlWHVItxPAb9pQewfVoN8nFvvFYzWEyzVRX/NuO/g3JKL5kef5lLuqTtUIFOvFROMLi3EBxU+vbvV0ktow==" }, "node_modules/@ledgerhq/hw-transport": { - "version": "6.27.10", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.10.tgz", - "integrity": "sha512-3cmwQZsiRKe6VcHA1kAtC8+Wt0xjCa9Y0TO/Ns2k4BmEhIlG143I4H1dJntkX6XhDpE1pK9Xn2niBQsTTeGhqA==", + "version": "6.27.9", + "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.9.tgz", + "integrity": "sha512-Po0eFWyH3C6I5oxLW3t/jtjqFJdF6/zmF9WL3n5lvSVbtmilPGz2IFOwHoz/XWSwM4PLwV6JXgFBIC6h6UNn/Q==", "dependencies": { - "@ledgerhq/devices": "^7.0.7", - "@ledgerhq/errors": "^6.12.3", + "@ledgerhq/devices": "^7.0.6", + "@ledgerhq/errors": "^6.12.2", "events": "^3.3.0" } }, @@ -1895,36 +1576,6 @@ "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.50.0.tgz", "integrity": "sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA==" }, - "node_modules/@ledgerhq/hw-transport-u2f/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-u2f/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-u2f/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@ledgerhq/hw-transport-webhid": { "version": "6.11.2", "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.11.2.tgz", @@ -1947,36 +1598,6 @@ "semver": "^7.3.5" } }, - "node_modules/@ledgerhq/hw-transport-webhid/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-webhid/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-webhid/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@ledgerhq/hw-transport-webusb": { "version": "6.11.2", "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport-webusb/-/hw-transport-webusb-6.11.2.tgz", @@ -1999,36 +1620,6 @@ "semver": "^7.3.5" } }, - "node_modules/@ledgerhq/hw-transport-webusb/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-webusb/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@ledgerhq/hw-transport-webusb/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@ledgerhq/logs": { "version": "6.10.1", "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-6.10.1.tgz", @@ -2129,9 +1720,9 @@ "peer": true }, "node_modules/@multiversx/sdk-core": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-11.2.0.tgz", - "integrity": "sha512-NEg/i8XMhSL4gGNseCmPz5F6ToSyPniYjagvSKHPwyJ1B1Zevk3P8TbDbxRSGHQQv787+AagAZHP0lddvEtdTA==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-11.3.0.tgz", + "integrity": "sha512-ow6MI43scKsnyFxBzH8Acj0s+3G8Q61mqcXo2Cl1pAsOvew3ycRAWF1ZP+13sgpXYRoANxJ6LGsH3MVfkuqA0w==", "dependencies": { "@multiversx/sdk-transaction-decoder": "1.0.2", "bech32": "1.1.4", @@ -2171,62 +1762,6 @@ "platform": "1.3.6" } }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/@ledgerhq/devices": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.6.tgz", - "integrity": "sha512-trEqJqgXuXLgb228c6kJdur0idTVxtofy8NxumvsspZKh5x/pHJX8EoNxWX91Pg7H3AA+jxLEeRvAjNDVDJgGQ==", - "dependencies": { - "@ledgerhq/errors": "^6.12.2", - "@ledgerhq/logs": "^6.10.1", - "rxjs": "6", - "semver": "^7.3.5" - } - }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/@ledgerhq/errors": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.2.tgz", - "integrity": "sha512-qYTkxlWHVItxPAb9pQewfVoN8nFvvFYzWEyzVRX/NuO/g3JKL5kef5lLuqTtUIFOvFROMLi3EBxU+vbvV0ktow==" - }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/@ledgerhq/hw-transport": { - "version": "6.27.9", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.9.tgz", - "integrity": "sha512-Po0eFWyH3C6I5oxLW3t/jtjqFJdF6/zmF9WL3n5lvSVbtmilPGz2IFOwHoz/XWSwM4PLwV6JXgFBIC6h6UNn/Q==", - "dependencies": { - "@ledgerhq/devices": "^7.0.6", - "@ledgerhq/errors": "^6.12.2", - "events": "^3.3.0" - } - }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@multiversx/sdk-hw-provider/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/@multiversx/sdk-network-providers": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@multiversx/sdk-network-providers/-/sdk-network-providers-1.3.0.tgz", @@ -2270,9 +1805,9 @@ } }, "node_modules/@multiversx/sdk-web-wallet-provider": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-web-wallet-provider/-/sdk-web-wallet-provider-2.2.0.tgz", - "integrity": "sha512-oc7W10zbzdLK5N+urM52cdIx0ZjkN2lDLdY19W6Nwuvs9FSWahqBIeCbH+b3Ifw35x46FSVs1S86S4F+lKkCNA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-web-wallet-provider/-/sdk-web-wallet-provider-2.2.1.tgz", + "integrity": "sha512-1cboGOzVY8UepE/XxNc5bzB7jVmVCdqyhdOcB0uIEBCGnZpQV0LxqAQIQ0a/aTP7GxYodrAwl5+3aEL+OlW3Lw==", "dependencies": { "qs": "6.10.3" } @@ -2629,12 +2164,6 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, - "node_modules/@types/deep-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha512-mMUu4nWHLBlHtxXY17Fg6+ucS/MnndyOWyOe7MmwkoMYxvfQU2ajtRaEvqSUv+aVkMqH/C0NCI8UoVfRNQ10yg==", - "dev": true - }, "node_modules/@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -2652,15 +2181,6 @@ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==" }, - "node_modules/@types/lodash.clonedeep": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.7.tgz", - "integrity": "sha512-ccNqkPptFIXrpVqUECi60/DFxjNKsfoQxSQsgcBJCX/fuX1wgyQieojkcWH/KpE3xzLoWN/2k+ZeGqIN3paSvw==", - "dev": true, - "dependencies": { - "@types/lodash": "*" - } - }, "node_modules/@types/lodash.mergewith": { "version": "4.6.7", "resolved": "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.7.tgz", @@ -2675,9 +2195,9 @@ "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "node_modules/@types/node": { - "version": "18.11.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", - "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" + "version": "18.14.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.0.tgz", + "integrity": "sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A==" }, "node_modules/@types/parse-json": { "version": "4.0.0", @@ -2700,9 +2220,9 @@ } }, "node_modules/@types/react": { - "version": "18.0.27", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.27.tgz", - "integrity": "sha512-3vtRKHgVxu3Jp9t718R9BuzoD4NcQ8YJ5XRzsSKxNDiDonD2MXIT1TmSkenxuCycZJoQT5d2vE8LwWJxBC1gmA==", + "version": "18.0.28", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.28.tgz", + "integrity": "sha512-RD0ivG1kEztNBdoAK7lekI9M+azSnitIn85h4iOiaLjaTrMjzslhaqCGaI4IyCJ1RljWiLCEu4jyrLLgqxBTew==", "devOptional": true, "dependencies": { "@types/prop-types": "*", @@ -2723,15 +2243,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.49.0.tgz", - "integrity": "sha512-IhxabIpcf++TBaBa1h7jtOWyon80SXPRLDq0dVz5SLFC/eW6tofkw/O7Ar3lkx5z5U6wzbKDrl2larprp5kk5Q==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.52.0.tgz", + "integrity": "sha512-lHazYdvYVsBokwCdKOppvYJKaJ4S41CgKBcPvyd0xjZNbvQdhn/pnJlGtQksQ/NhInzdaeaSarlBjDXHuclEbg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/type-utils": "5.49.0", - "@typescript-eslint/utils": "5.49.0", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/type-utils": "5.52.0", + "@typescript-eslint/utils": "5.52.0", "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", "regexpp": "^3.2.0", @@ -2755,48 +2276,15 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/parser": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.49.0.tgz", - "integrity": "sha512-veDlZN9mUhGqU31Qiv2qEp+XrJj5fgZpJ8PW30sHU+j/8/e5ruAhLaVDAeznS7A7i4ucb/s8IozpDtt9NqCkZg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.52.0.tgz", + "integrity": "sha512-e2KiLQOZRo4Y0D/b+3y08i3jsekoSkOYStROYmPUnGMEoA0h+k2qOH5H6tcjIc68WDvGwH+PaOrP1XRzLJ6QlA==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/typescript-estree": "5.49.0", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/typescript-estree": "5.52.0", "debug": "^4.3.4" }, "engines": { @@ -2816,13 +2304,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.49.0.tgz", - "integrity": "sha512-clpROBOiMIzpbWNxCe1xDK14uPZh35u4QaZO1GddilEzoCLAEz4szb51rBpdgurs5k2YzPtJeTEN3qVbG+LRUQ==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.52.0.tgz", + "integrity": "sha512-AR7sxxfBKiNV0FWBSARxM8DmNxrwgnYMPwmpkC1Pl1n+eT8/I2NAUPuwDy/FmDcC6F8pBfmOcaxcxRHspgOBMw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/visitor-keys": "5.49.0" + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/visitor-keys": "5.52.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -2833,13 +2321,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.49.0.tgz", - "integrity": "sha512-eUgLTYq0tR0FGU5g1YHm4rt5H/+V2IPVkP0cBmbhRyEmyGe4XvJ2YJ6sYTmONfjmdMqyMLad7SB8GvblbeESZA==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.52.0.tgz", + "integrity": "sha512-tEKuUHfDOv852QGlpPtB3lHOoig5pyFQN/cUiZtpw99D93nEBjexRLre5sQZlkMoHry/lZr8qDAt2oAHLKA6Jw==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.49.0", - "@typescript-eslint/utils": "5.49.0", + "@typescript-eslint/typescript-estree": "5.52.0", + "@typescript-eslint/utils": "5.52.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -2860,9 +2348,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.49.0.tgz", - "integrity": "sha512-7If46kusG+sSnEpu0yOz2xFv5nRz158nzEXnJFCGVEHWnuzolXKwrH5Bsf9zsNlOQkyZuk0BZKKoJQI+1JPBBg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.52.0.tgz", + "integrity": "sha512-oV7XU4CHYfBhk78fS7tkum+/Dpgsfi91IIDy7fjCyq2k6KB63M6gMC0YIvy+iABzmXThCRI6xpCEyVObBdWSDQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -2873,76 +2361,43 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.49.0.tgz", - "integrity": "sha512-PBdx+V7deZT/3GjNYPVQv1Nc0U46dAHbIuOG8AZ3on3vuEKiPDwFE/lG1snN2eUB9IhF7EyF7K1hmTcLztNIsA==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.52.0.tgz", + "integrity": "sha512-WeWnjanyEwt6+fVrSR0MYgEpUAuROxuAH516WPjUblIrClzYJj0kBbjdnbQXLpgAN8qbEuGywiQsXUVDiAoEuQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/visitor-keys": "5.49.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/visitor-keys": "5.52.0", "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" }, "engines": { - "node": ">=10" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/utils": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.49.0.tgz", - "integrity": "sha512-cPJue/4Si25FViIb74sHCLtM4nTSBXtLx1d3/QT6mirQ/c65bV8arBEebBJJizfq8W2YyMoPI/WWPFWitmNqnQ==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.52.0.tgz", + "integrity": "sha512-As3lChhrbwWQLNk2HC8Ree96hldKIqk98EYvypd3It8Q1f8d5zWyIoaZEp2va5667M4ZyE7X8UUR+azXrFl+NA==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/typescript-estree": "5.49.0", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/typescript-estree": "5.52.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0", "semver": "^7.3.7" @@ -2958,46 +2413,13 @@ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.49.0.tgz", - "integrity": "sha512-v9jBMjpNWyn8B6k/Mjt6VbUS4J1GvUlR4x3Y+ibnP1z7y7V4n0WRz+50DY6+Myj0UaXVSuUlHohO+eZ8IJEnkg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.52.0.tgz", + "integrity": "sha512-qMwpw6SU5VHCPr99y274xhbm+PRViK/NATY6qzt+Et7+mThGuFSl/ompj2/hrBlRP/kq+BFdgagnOSgw9TB0eA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.49.0", + "@typescript-eslint/types": "5.52.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -3008,6 +2430,28 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@useelven/core": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@useelven/core/-/core-0.0.3.tgz", + "integrity": "sha512-cnZ+L7FbI2J8XKRrOmlRxwaQFocqSZs54DPFJ292VzhK8//WGRr9lbvqnvHomQPOzf0g+vqyhzW1Kop7IFcWug==", + "dependencies": { + "@multiversx/sdk-core": "11.3.0", + "@multiversx/sdk-extension-provider": "2.0.7", + "@multiversx/sdk-hw-provider": "3.0.3", + "@multiversx/sdk-network-providers": "1.3.0", + "@multiversx/sdk-wallet-connect-provider": "3.0.1", + "@multiversx/sdk-web-wallet-provider": "2.2.1", + "lodash.clonedeep": "4.5.0", + "swr": "2.0.3", + "valtio": "1.10.2" + }, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "react": "18.2.0" + } + }, "node_modules/@walletconnect/browser-utils": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz", @@ -3024,6 +2468,7 @@ "version": "1.6.5", "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.6.5.tgz", "integrity": "sha512-dRq1D3NEGwM2I3CpiwFsWy1rrdMKCMSfDUu3rCCXUE4zInx+pyq7IEFjYiSjtOEZzjRlUTqYwhjnYIezQZgh4w==", + "deprecated": "WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/", "dependencies": { "@walletconnect/core": "^1.6.5", "@walletconnect/iso-crypto": "^1.6.5", @@ -3130,7 +2575,8 @@ "node_modules/@walletconnect/types": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.8.0.tgz", - "integrity": "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==" + "integrity": "sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==", + "deprecated": "WalletConnect's v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/" }, "node_modules/@walletconnect/utils": { "version": "1.8.0", @@ -3160,9 +2606,9 @@ } }, "node_modules/@zag-js/element-size": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.3.0.tgz", - "integrity": "sha512-5/hEI+0c6ZNCx6KHlOS5/WeHsd6+I7gk7Y/b/zATp4Rp3tHirs/tu1frq+iy5BmfaG9hbQtfHfUJTjOcI5jnoQ==" + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.3.1.tgz", + "integrity": "sha512-jR5j4G//bRzcxwAACWi9EfITnwjNmn10LxF4NmALrdZU7/PNWP3uUCdhCxd/0SCyeiJXUl0yvD57rWAbKPs1nw==" }, "node_modules/@zag-js/focus-visible": { "version": "0.2.1", @@ -3220,14 +2666,17 @@ } }, "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dependencies": { - "color-convert": "^1.9.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/argparse": { @@ -3368,6 +2817,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -3576,34 +3026,6 @@ "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", "integrity": "sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==" }, - "node_modules/browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "peer": true, - "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -3661,9 +3083,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001449", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001449.tgz", - "integrity": "sha512-CPB+UL9XMT/Av+pJxCKGhdx+yg1hzplvFJQlJ2n68PyQGMz9L/E2zCyLdOL8uasbouTUgnPl+y0tccI/se+BEw==", + "version": "1.0.30001456", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001456.tgz", + "integrity": "sha512-XFHJY5dUgmpMV25UqaD4kVq2LsiaU5rS8fb0f17pCoXQiQslzmFgnfOxfvo1bTpTqf7dwG/N/05CnLCnOEKmzA==", "funding": [ { "type": "opencollective", @@ -3676,24 +3098,19 @@ ] }, "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=4" - } - }, - "node_modules/chalk/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/cipher-base": { @@ -3721,27 +3138,30 @@ } }, "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dependencies": { - "color-name": "1.1.3" + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/color2k": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.1.tgz", - "integrity": "sha512-iCg+xrEqtYISsSJZN1z44fyhv4EfX8lSkcDhodt6VnMf1+iMwZxAtmGXchTCeMUnTbXunGvUVK6E3skkApPnZw==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.2.tgz", + "integrity": "sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==" }, "node_modules/compute-scroll-into-view": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz", - "integrity": "sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ==" + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" }, "node_modules/concat-map": { "version": "0.0.1", @@ -3755,9 +3175,9 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "node_modules/copy-to-clipboard": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz", - "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", + "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", "dependencies": { "toggle-selection": "^1.0.6" } @@ -3865,22 +3285,11 @@ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", "dev": true }, - "node_modules/date-fns": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", - "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==", - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -3913,6 +3322,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.0.tgz", "integrity": "sha512-RdpzE0Hv4lhowpIUKKMJfeH6C1pXdtT1/it80ubgWqwI3qpuxUBpC1S4hnHg+zjnuOoDkzUtUCEEkG+XG5l3Mw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "es-get-iterator": "^1.1.2", @@ -3952,9 +3362,10 @@ } }, "node_modules/define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dev": true, "dependencies": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -4024,12 +3435,6 @@ "node": ">=6.0.0" } }, - "node_modules/electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", - "peer": true - }, "node_modules/elliptic": { "version": "6.5.4", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", @@ -4132,6 +3537,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -4187,15 +3593,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "peer": true, - "engines": { - "node": ">=6" - } - }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -4208,9 +3605,9 @@ } }, "node_modules/eslint": { - "version": "8.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.32.0.tgz", - "integrity": "sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==", + "version": "8.34.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz", + "integrity": "sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==", "dev": true, "dependencies": { "@eslint/eslintrc": "^1.4.1", @@ -4453,6 +3850,15 @@ "node": ">=0.10.0" } }, + "node_modules/eslint-plugin-import/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/eslint-plugin-jsx-a11y": { "version": "6.7.1", "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.7.1.tgz", @@ -4483,10 +3889,19 @@ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" } }, + "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/eslint-plugin-react": { - "version": "7.32.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.1.tgz", - "integrity": "sha512-vOjdgyd0ZHBXNsmvU+785xY8Bfe57EFbTYYk8XrROzWpr9QBvpjITvAXt9xqcE6+8cjR/g1+mfumPToxsl1www==", + "version": "7.32.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", + "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", "dev": true, "dependencies": { "array-includes": "^3.1.6", @@ -4553,13 +3968,13 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-plugin-valtio": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-valtio/-/eslint-plugin-valtio-0.6.1.tgz", - "integrity": "sha512-oFfE++Eix1lsW2DmmmQyJrwkjbA2QC3PYj8u82c4IuxtG90Qq9zx2rwrZVjWEL2xba+7oE/GGuujz2/nA1Bmlg==", + "node_modules/eslint-plugin-react/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true, - "engines": { - "node": ">=12.7.0" + "bin": { + "semver": "bin/semver.js" } }, "node_modules/eslint-scope": { @@ -4608,114 +4023,29 @@ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=10" } }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", "dev": true, "engines": { - "node": ">=8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" }, "engines": { - "node": ">=8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, "node_modules/espree": { @@ -4736,9 +4066,9 @@ } }, "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", + "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -4914,9 +4244,9 @@ "dev": true }, "node_modules/focus-lock": { - "version": "0.11.5", - "resolved": "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.5.tgz", - "integrity": "sha512-1mTr6pl9HBpJ8CqY7hRc38MCrcuTZIeYAkBD1gBTzbx5/to+bRBaBYtJ68iDq7ryTzAAbKrG3dVKjkrWTaaEaw==", + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.6.tgz", + "integrity": "sha512-KSuV3ur4gf2KqMNoZx3nXNVhqCkn42GuTYCX4tXPEwf0MjpFQmNMiN6m7dXaUXgIoivL6/65agoUMg4RLS0Vbg==", "dependencies": { "tslib": "^2.0.3" }, @@ -4952,14 +4282,15 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/framer-motion": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-8.5.4.tgz", - "integrity": "sha512-xBVovXUIdpKvRvIPsrSTiyXZUYyct9zarzdVeyzv+V6DFsDpHIuppyOjDO8VM1fBspDn+rUU4ZFZ5yJxLmzebQ==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-9.0.4.tgz", + "integrity": "sha512-lZ1+2/WBn8iYRYmeEFpu/X2fI1GNwJL+X21EpnWwKP3vkJsnWBXZF5kHF29wIPk9sBU2xDIpDm9SAVo206bp9A==", "peer": true, "dependencies": { "@motionone/dom": "^10.15.3", @@ -5043,19 +4374,11 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "peer": true, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -5102,9 +4425,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.3.0.tgz", - "integrity": "sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.4.0.tgz", + "integrity": "sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==", "dev": true, "funding": { "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" @@ -5143,12 +4466,18 @@ } }, "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "peer": true, + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/globalthis": { @@ -5202,6 +4531,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -5236,22 +4566,25 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/has-property-descriptors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.1" }, @@ -5286,6 +4619,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "dependencies": { "has-symbols": "^1.0.2" }, @@ -5410,11 +4744,12 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "node_modules/internal-slot": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, "dependencies": { - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "has": "^1.0.3", "side-channel": "^1.0.4" }, @@ -5434,6 +4769,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -5449,6 +4785,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -5467,6 +4804,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "dependencies": { "has-bigints": "^1.0.1" }, @@ -5478,6 +4816,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -5493,6 +4832,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -5515,6 +4855,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -5573,6 +4914,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5602,6 +4944,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -5625,6 +4968,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -5640,6 +4984,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5648,6 +4993,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2" }, @@ -5659,6 +5005,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -5673,6 +5020,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "dependencies": { "has-symbols": "^1.0.2" }, @@ -5687,6 +5035,7 @@ "version": "1.1.10", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -5710,6 +5059,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5730,6 +5080,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz", "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.1" @@ -5753,7 +5104,8 @@ "node_modules/isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true }, "node_modules/isexe": { "version": "2.0.0", @@ -5793,18 +5145,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "peer": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/json-bigint": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", @@ -5839,15 +5179,15 @@ "dev": true }, "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "peer": true, + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, "bin": { "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" } }, "node_modules/jsx-ast-utils": { @@ -5963,12 +5303,14 @@ } }, "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "peer": true, + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dependencies": { - "yallist": "^3.0.2" + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, "node_modules/md5.js": { @@ -6038,9 +5380,9 @@ } }, "node_modules/minimist": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6049,7 +5391,8 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "node_modules/nanoassert": { "version": "1.1.0", @@ -6145,12 +5488,6 @@ "node-gyp-build-test": "build-test.js" } }, - "node_modules/node-releases": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz", - "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", - "peer": true - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -6171,6 +5508,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" @@ -6186,6 +5524,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, "engines": { "node": ">= 0.4" } @@ -6194,6 +5533,7 @@ "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -6278,9 +5618,9 @@ } }, "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", + "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", "dev": true, "dependencies": { "define-lazy-prop": "^2.0.0", @@ -6511,9 +5851,9 @@ } }, "node_modules/prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -6569,9 +5909,9 @@ } }, "node_modules/proxy-compare": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.4.0.tgz", - "integrity": "sha512-FD8KmQUQD6Mfpd0hywCOzcon/dbkFP8XBd9F1ycbKtvVsfv6TsFUKJ2eC0Iz2y+KzlkdT1Z8SY6ZSgm07zOyqg==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.5.0.tgz", + "integrity": "sha512-f1us0OsVAJ3tdIMXGQx2lmseYS4YXe4W+sKF5g5ww/jV+5ogMadPt+sIZ+88Ga9kvMJsrRNWzCrKPpr6pMWYbA==" }, "node_modules/public-encrypt": { "version": "4.0.3", @@ -6719,12 +6059,12 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" }, "node_modules/react-focus-lock": { - "version": "2.9.3", - "resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.3.tgz", - "integrity": "sha512-cGNkz9p5Fpqio6hBHlkKxzRYrBYtcPosFOL6Q3N/LSbHjwP/PTBqHpvbgaOYoE7rWfzw8qXPKTB3Tk/VPgw4NQ==", + "version": "2.9.4", + "resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.4.tgz", + "integrity": "sha512-7pEdXyMseqm3kVjhdVH18sovparAzLg5h6WvIx7/Ck3ekjhrrDMEegHSa3swwC8wgfdd7DIdUVRGeiHT9/7Sgg==", "dependencies": { "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.5", + "focus-lock": "^0.11.6", "prop-types": "^15.6.2", "react-clientside-effect": "^1.2.6", "use-callback-ref": "^1.3.0", @@ -6860,6 +6200,7 @@ "version": "1.4.3", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -7036,11 +6377,17 @@ } }, "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dependencies": { + "lru-cache": "^6.0.0" + }, "bin": { "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/set-blocking": { @@ -7131,6 +6478,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dev": true, "dependencies": { "internal-slot": "^1.0.4" }, @@ -7288,14 +6636,15 @@ "integrity": "sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA==" }, "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/supports-preserve-symlinks-flag": { @@ -7310,9 +6659,9 @@ } }, "node_modules/swr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.2.tgz", - "integrity": "sha512-iHbQW17hsduonMEliZnr6/yaxb+yvLe2r0+AH+ZfeqKzwc2bb+QRYpZm5/b/H0Lxgy7VWow4o71JeSazSun+9A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.3.tgz", + "integrity": "sha512-sGvQDok/AHEWTPfhUWXEHBVEXmgGnuahyhmRQbjl9XBYxT/MSlAzvXEKQpyM++bMPaI52vcWS2HiKNaW7+9OFw==", "dependencies": { "use-sync-external-store": "^1.2.0" }, @@ -7412,18 +6761,6 @@ "strip-bom": "^3.0.0" } }, - "node_modules/tsconfig-paths/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, "node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -7491,9 +6828,9 @@ } }, "node_modules/typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -7523,32 +6860,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "peer": true, - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "browserslist-lint": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -7623,11 +6934,11 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "node_modules/valtio": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.9.0.tgz", - "integrity": "sha512-mQLFsAlKbYascZygFQh6lXuDjU5WHLoeZ8He4HqMnWfasM96V6rDbeFkw1XeG54xycmDonr/Jb4xgviHtuySrA==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.10.2.tgz", + "integrity": "sha512-NG9FUB44VQKzEqs6qGke6XEuAYWoEeCADiS6/Hkgy2bYALOdztoCwJUNl79lEae2wGhqZ6Lv+K9wPUIiS8VLxw==", "dependencies": { - "proxy-compare": "2.4.0", + "proxy-compare": "2.5.0", "use-sync-external-store": "1.2.0" }, "engines": { @@ -7661,6 +6972,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -7676,6 +6988,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "dev": true, "dependencies": { "is-map": "^2.0.1", "is-set": "^2.0.1", @@ -7695,6 +7008,7 @@ "version": "1.1.9", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -7732,36 +7046,6 @@ "node": ">=8" } }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -7794,10 +7078,9 @@ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" }, "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "peer": true + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "node_modules/yaml": { "version": "1.10.2", @@ -7900,115 +7183,14 @@ "url": "https://github.com/sponsors/sindresorhus" } } - }, - "dependencies": { - "@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", - "peer": true, - "requires": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "requires": { - "@babel/highlight": "^7.18.6" - } - }, - "@babel/compat-data": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.20.14.tgz", - "integrity": "sha512-0YpKHD6ImkWMEINCyDAD0HLLUH/lPCefG8ld9it8DJB2wnApraKuhgYTvTY1z7UFIfBTGy5LwncZ+5HWWGbhFw==", - "peer": true - }, - "@babel/core": { - "version": "7.20.12", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", - "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", - "peer": true, - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", - "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-module-transforms": "^7.20.11", - "@babel/helpers": "^7.20.7", - "@babel/parser": "^7.20.7", - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.12", - "@babel/types": "^7.20.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.2", - "semver": "^6.3.0" - } - }, - "@babel/generator": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", - "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", - "peer": true, - "requires": { - "@babel/types": "^7.20.7", - "@jridgewell/gen-mapping": "^0.3.2", - "jsesc": "^2.5.1" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", - "peer": true, - "requires": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } - } - }, - "@babel/helper-compilation-targets": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz", - "integrity": "sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==", - "peer": true, - "requires": { - "@babel/compat-data": "^7.20.5", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.21.3", - "lru-cache": "^5.1.1", - "semver": "^6.3.0" - } - }, - "@babel/helper-environment-visitor": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz", - "integrity": "sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg==", - "peer": true - }, - "@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", - "peer": true, - "requires": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" - } - }, - "@babel/helper-hoist-variables": { + }, + "dependencies": { + "@babel/code-frame": { "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", - "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", - "peer": true, + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "requires": { - "@babel/types": "^7.18.6" + "@babel/highlight": "^7.18.6" } }, "@babel/helper-module-imports": { @@ -8019,45 +7201,6 @@ "@babel/types": "^7.18.6" } }, - "@babel/helper-module-transforms": { - "version": "7.20.11", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz", - "integrity": "sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==", - "peer": true, - "requires": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.20.2", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.19.1", - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.10", - "@babel/types": "^7.20.7" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz", - "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==" - }, - "@babel/helper-simple-access": { - "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", - "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", - "peer": true, - "requires": { - "@babel/types": "^7.20.2" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", - "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", - "peer": true, - "requires": { - "@babel/types": "^7.18.6" - } - }, "@babel/helper-string-parser": { "version": "7.19.4", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", @@ -8068,23 +7211,6 @@ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" }, - "@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", - "peer": true - }, - "@babel/helpers": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.20.13.tgz", - "integrity": "sha512-nzJ0DWCL3gB5RCXbUO3KIMMsBY2Eqbx8mBpKGE/02PgyRQFcPQLbkQ1vyy596mZLaP+dAfD+R4ckASzNVmW3jg==", - "peer": true, - "requires": { - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.13", - "@babel/types": "^7.20.7" - } - }, "@babel/highlight": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", @@ -8093,20 +7219,57 @@ "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" - } - }, - "@babel/parser": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.13.tgz", - "integrity": "sha512-gFDLKMfpiXCsjt4za2JA9oTMn70CeseCehb11kRZgvd7+F67Hih3OHOK24cRrWECJ/ljfPGac6ygXAs/C8kIvw==", - "peer": true - }, - "@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz", - "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==", - "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@babel/runtime": { @@ -8117,35 +7280,6 @@ "regenerator-runtime": "^0.13.11" } }, - "@babel/template": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", - "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", - "peer": true, - "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7" - } - }, - "@babel/traverse": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.20.13.tgz", - "integrity": "sha512-kMJXfF0T6DIS9E8cgdLCSAL+cuCK+YEZHWiLK0SXpTo8YRj5lpJu3CDNKiIBCne4m9hhTIqUg6SYTAI39tAiVQ==", - "peer": true, - "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.20.13", - "@babel/types": "^7.20.7", - "debug": "^4.1.0", - "globals": "^11.1.0" - } - }, "@babel/types": { "version": "7.20.7", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz", @@ -8157,9 +7291,9 @@ } }, "@chakra-ui/accordion": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.8.tgz", - "integrity": "sha512-RTXYhL85dUSVUEurDicxS76JaCXa/L4FYWPAxPSisbZtFvL+/gvoFMcGtT8ZRsJwFWaevmkD+57EmOYCWlLL1A==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/accordion/-/accordion-2.1.9.tgz", + "integrity": "sha512-a9CKIAUHezc0f5FR/SQ4GVxnWuIb2HbDTxTEKTp58w/J9pecIbJaNrJ5TUZ0MVbDU9jkgO9RsZ29jkja8PomAw==", "requires": { "@chakra-ui/descendant": "3.0.13", "@chakra-ui/icon": "3.0.16", @@ -8187,9 +7321,9 @@ "integrity": "sha512-pKfOS/mztc4sUXHNc8ypJ1gPWSolWT770jrgVRfolVbYlki8y5Y+As996zMF6k5lewTu6j9DQequ7Cc9a69IVQ==" }, "@chakra-ui/avatar": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.4.tgz", - "integrity": "sha512-OUuZAhabW0FgmFVt0djH3cVR8p9bKC3vYT3Ol2lrUz3hbf4LrjU5EzmMHmQvcbSs6bNDxS3k9hnswLebOFctJQ==", + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@chakra-ui/avatar/-/avatar-2.2.5.tgz", + "integrity": "sha512-TEHXuGE79+fEn61qJ7J/A0Ec+WjyNwobrDTATcLg9Zx2/WEMmZNfrWIAlI5ANQAwVbdSWeGVbyoLAK5mbcrE0A==", "requires": { "@chakra-ui/image": "2.0.15", "@chakra-ui/react-children-utils": "2.0.6", @@ -8208,9 +7342,9 @@ } }, "@chakra-ui/breakpoint-utils": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.7.tgz", - "integrity": "sha512-YBwsDPMlaMRZ4fKc2WyIIaUmByzkiP4ozxMJIjJRPhedzSho7FOZuE8532q+97f2SyY8z/yZPJ41q4GdwHI/HQ==", + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/@chakra-ui/breakpoint-utils/-/breakpoint-utils-2.0.8.tgz", + "integrity": "sha512-Pq32MlEX9fwb5j5xx8s18zJMARNHlQZH2VH1RZgfgRDpp7DcEgtRW5AInfN5CfqdHLO1dGxA7I3MqEuL5JnIsA==", "requires": { "@chakra-ui/shared-utils": "2.0.5" } @@ -8356,14 +7490,14 @@ } }, "@chakra-ui/hooks": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.5.tgz", - "integrity": "sha512-E3bGwxjXvMUc9ev3egctrRi5fnER5xXbWUsivA3iFRdUrkfX+19JLUfP1TURzv7UQG8X1AxKSwfqIsYyeHrdmQ==", + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@chakra-ui/hooks/-/hooks-2.1.6.tgz", + "integrity": "sha512-oMSOeoOF6/UpwTVlDFHSROAA4hPY8WgJ0erdHs1ZkuwAwHv7UzjDkvrb6xYzAAH9qHoFzc5RIBm6jVoh3LCc+Q==", "requires": { "@chakra-ui/react-utils": "2.0.12", "@chakra-ui/utils": "2.0.15", - "compute-scroll-into-view": "1.0.14", - "copy-to-clipboard": "3.3.1" + "compute-scroll-into-view": "1.0.20", + "copy-to-clipboard": "3.3.3" } }, "@chakra-ui/icon": { @@ -8384,9 +7518,9 @@ } }, "@chakra-ui/input": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.19.tgz", - "integrity": "sha512-wV+EG6+F9GngMPpLHBCuxXTNttHihFTT3DpbJnmID9LuAPg7YkWcTNTvpAzC0/Sz9KrcTR9RhSu9a5cvxkkXpw==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/@chakra-ui/input/-/input-2.0.20.tgz", + "integrity": "sha512-ypmsy4n4uNBVgn6Gd24Zrpi+qRf/T9WEzWkysuYC9Qfxo+i7yuf3snp7XmBy8KSGVSiXE11eO8ZN5oCg6Xg0jg==", "requires": { "@chakra-ui/form-control": "2.0.17", "@chakra-ui/object-utils": "2.0.8", @@ -8396,11 +7530,11 @@ } }, "@chakra-ui/layout": { - "version": "2.1.15", - "resolved": "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.15.tgz", - "integrity": "sha512-dJYzBm2ywRYNmtadot/5ii+Gztsx8a9Jd+gFXiSLcfQs/QRdboqMyr/0O+6RY2sI7Mwvyo6uo9AvGJBU1djrNQ==", + "version": "2.1.16", + "resolved": "https://registry.npmjs.org/@chakra-ui/layout/-/layout-2.1.16.tgz", + "integrity": "sha512-QFS3feozIGsvB0H74lUocev55aRF26eNrdmhfJifwikZAiq+zzZAMdBdNU9UJhHClnMOU8/iGZ0MF7ti4zQS1A==", "requires": { - "@chakra-ui/breakpoint-utils": "2.0.7", + "@chakra-ui/breakpoint-utils": "2.0.8", "@chakra-ui/icon": "3.0.16", "@chakra-ui/object-utils": "2.0.8", "@chakra-ui/react-children-utils": "2.0.6", @@ -8420,19 +7554,19 @@ "requires": {} }, "@chakra-ui/media-query": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.11.tgz", - "integrity": "sha512-AylT/qIpbCOvcjvURMdItLvAnaEYZynatvVJUQ8TYcQO2KHBt8BBhQ9umrmNAZFr8y7CRcg7PdvK+g+yOkq22g==", + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/@chakra-ui/media-query/-/media-query-3.2.12.tgz", + "integrity": "sha512-8pSLDf3oxxhFrhd40rs7vSeIBfvOmIKHA7DJlGUC/y+9irD24ZwgmCtFnn+y3gI47hTJsopbSX+wb8nr7XPswA==", "requires": { - "@chakra-ui/breakpoint-utils": "2.0.7", + "@chakra-ui/breakpoint-utils": "2.0.8", "@chakra-ui/react-env": "3.0.0", "@chakra-ui/shared-utils": "2.0.5" } }, "@chakra-ui/menu": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.8.tgz", - "integrity": "sha512-3Ysk1HwJTv6mzkT1dgsNObZnuZiySPJwLdmmCdv8+rpto8u0oCN+etenN0s7HQlAddvHxZ2Sm+1yKZOu6Wimrg==", + "version": "2.1.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/menu/-/menu-2.1.9.tgz", + "integrity": "sha512-ue5nD4QJcl3H3UwN0zZNJmH89XUebnvEdW6THAUL41hDjJ0J/Fjpg9Sgzwug2aBbBXBNbVMsUuhcCj6x91d+IQ==", "requires": { "@chakra-ui/clickable": "2.0.14", "@chakra-ui/descendant": "3.0.13", @@ -8556,14 +7690,14 @@ } }, "@chakra-ui/provider": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.1.0.tgz", - "integrity": "sha512-+NUBHOkqWFpi/unwqhUQh1t/S1+TMZBTz+FiTeWycSUicdFsGCcTe6eQNLu6X5C8gYx9FGXG4ESx7HCTNXQj7w==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@chakra-ui/provider/-/provider-2.1.2.tgz", + "integrity": "sha512-4lLlz8QuJv00BhfyKzWpzfoti9MDOdJ/MqXixJV/EZ02RMBOdE9qy9bSz/WckPC2MVhtRUuwMkxH+0QY21PXuw==", "requires": { "@chakra-ui/css-reset": "2.0.12", "@chakra-ui/portal": "2.0.15", "@chakra-ui/react-env": "3.0.0", - "@chakra-ui/system": "2.4.0", + "@chakra-ui/system": "2.5.1", "@chakra-ui/utils": "2.0.15" } }, @@ -8581,13 +7715,13 @@ } }, "@chakra-ui/react": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/@chakra-ui/react/-/react-2.4.9.tgz", - "integrity": "sha512-lY++xW+zhLp0zQr2Sf5phjYMIphOmjGV/o5A1oDQPrqwLJFm4mL2+eXvpAFrLnZoh00qa4iBqarxJCW7qpHeiA==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/react/-/react-2.5.1.tgz", + "integrity": "sha512-ugkaqfcNMb9L4TkalWiF3rnqfr0TlUUD46JZaDIZiORVisaSwXTZTQrVfG40VghhaJT28rnC5WtiE8kd567ZBQ==", "requires": { - "@chakra-ui/accordion": "2.1.8", + "@chakra-ui/accordion": "2.1.9", "@chakra-ui/alert": "2.0.17", - "@chakra-ui/avatar": "2.2.4", + "@chakra-ui/avatar": "2.2.5", "@chakra-ui/breadcrumb": "2.1.4", "@chakra-ui/button": "2.0.16", "@chakra-ui/card": "2.1.6", @@ -8597,15 +7731,16 @@ "@chakra-ui/counter": "2.0.14", "@chakra-ui/css-reset": "2.0.12", "@chakra-ui/editable": "2.0.19", + "@chakra-ui/focus-lock": "2.0.16", "@chakra-ui/form-control": "2.0.17", - "@chakra-ui/hooks": "2.1.5", + "@chakra-ui/hooks": "2.1.6", "@chakra-ui/icon": "3.0.16", "@chakra-ui/image": "2.0.15", - "@chakra-ui/input": "2.0.19", - "@chakra-ui/layout": "2.1.15", + "@chakra-ui/input": "2.0.20", + "@chakra-ui/layout": "2.1.16", "@chakra-ui/live-region": "2.0.13", - "@chakra-ui/media-query": "3.2.11", - "@chakra-ui/menu": "2.1.8", + "@chakra-ui/media-query": "3.2.12", + "@chakra-ui/menu": "2.1.9", "@chakra-ui/modal": "2.2.9", "@chakra-ui/number-input": "2.0.18", "@chakra-ui/pin-input": "2.0.19", @@ -8613,24 +7748,24 @@ "@chakra-ui/popper": "3.0.13", "@chakra-ui/portal": "2.0.15", "@chakra-ui/progress": "2.1.5", - "@chakra-ui/provider": "2.1.0", + "@chakra-ui/provider": "2.1.2", "@chakra-ui/radio": "2.0.19", "@chakra-ui/react-env": "3.0.0", "@chakra-ui/select": "2.0.18", - "@chakra-ui/skeleton": "2.0.23", - "@chakra-ui/slider": "2.0.20", + "@chakra-ui/skeleton": "2.0.24", + "@chakra-ui/slider": "2.0.21", "@chakra-ui/spinner": "2.0.13", "@chakra-ui/stat": "2.0.17", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/switch": "2.0.22", - "@chakra-ui/system": "2.4.0", + "@chakra-ui/system": "2.5.1", "@chakra-ui/table": "2.0.16", "@chakra-ui/tabs": "2.1.8", "@chakra-ui/tag": "2.0.17", "@chakra-ui/textarea": "2.0.18", "@chakra-ui/theme": "2.2.5", - "@chakra-ui/theme-utils": "2.0.9", - "@chakra-ui/toast": "5.0.1", + "@chakra-ui/theme-utils": "2.0.11", + "@chakra-ui/toast": "6.0.1", "@chakra-ui/tooltip": "2.2.6", "@chakra-ui/transition": "2.0.15", "@chakra-ui/utils": "2.0.15", @@ -8772,11 +7907,11 @@ "requires": {} }, "@chakra-ui/react-use-size": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.8.tgz", - "integrity": "sha512-OdCxVPm8ekPVn9R6S1OtfLVNRVZ0G1tcfA2/oY1c55aXbm/R0TFZ+twSoy+X+aRFhqydmE7DRsKyW2ysXuuVBw==", + "version": "2.0.9", + "resolved": "https://registry.npmjs.org/@chakra-ui/react-use-size/-/react-use-size-2.0.9.tgz", + "integrity": "sha512-Jce7QmO1jlQZq+Y77VKckWzroRnajChzUQ8xhLQZO6VbYvrpg3cu+X2QCz3G+MZzB+1/hnvvAqmZ+uJLd8rEJg==", "requires": { - "@zag-js/element-size": "0.3.0" + "@zag-js/element-size": "0.3.1" } }, "@chakra-ui/react-use-timeout": { @@ -8816,19 +7951,19 @@ "integrity": "sha512-4/Wur0FqDov7Y0nCXl7HbHzCg4aq86h+SXdoUeuCMD3dSj7dpsVnStLYhng1vxvlbUnLpdF4oz5Myt3i/a7N3Q==" }, "@chakra-ui/skeleton": { - "version": "2.0.23", - "resolved": "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.23.tgz", - "integrity": "sha512-iMK50PlC9kR52v8tZWSKnZTJsOpZrqXOXaR9r/0Ry3xhdMq5hGkcigA+zKy/ZEglbMZ2CG9Fdtvi2vQurE1VZw==", + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/@chakra-ui/skeleton/-/skeleton-2.0.24.tgz", + "integrity": "sha512-1jXtVKcl/jpbrJlc/TyMsFyI651GTXY5ma30kWyTXoby2E+cxbV6OR8GB/NMZdGxbQBax8/VdtYVjI0n+OBqWA==", "requires": { - "@chakra-ui/media-query": "3.2.11", + "@chakra-ui/media-query": "3.2.12", "@chakra-ui/react-use-previous": "2.0.5", "@chakra-ui/shared-utils": "2.0.5" } }, "@chakra-ui/slider": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.20.tgz", - "integrity": "sha512-5Q+9s6bIjI8GIp7YRHqt5hT678p7lCIdA/zB6c/fCp+MvOInxx4LiJZvNuaw0HX6z6bC7R/skIhmIjsgSI3MNw==", + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/@chakra-ui/slider/-/slider-2.0.21.tgz", + "integrity": "sha512-Mm76yJxEqJl21+3waEcKg3tM8Y4elJ7mcViN6Brj35PTfzUJfSJxeBGo1nLPJ+X5jLj7o/L4kfBmUk3lY4QYEQ==", "requires": { "@chakra-ui/number-utils": "2.0.7", "@chakra-ui/react-context": "2.0.7", @@ -8838,7 +7973,7 @@ "@chakra-ui/react-use-latest-ref": "2.0.5", "@chakra-ui/react-use-merge-refs": "2.0.7", "@chakra-ui/react-use-pan-event": "2.0.9", - "@chakra-ui/react-use-size": "2.0.8", + "@chakra-ui/react-use-size": "2.0.9", "@chakra-ui/react-use-update-effect": "2.0.7" } }, @@ -8861,9 +7996,9 @@ } }, "@chakra-ui/styled-system": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.5.2.tgz", - "integrity": "sha512-FVnSWcj28F2t0R6slslYnhdWL8L3+elzoNt9oXBosS9PS6u6Yh56Dqq2GH2yasOWSmuuXGCPbzOYuc0U+MlCqg==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/styled-system/-/styled-system-2.6.1.tgz", + "integrity": "sha512-jy/1dVi1LxjoRCm+Eo5mqBgvPy5SCWMlIcz6GbIZBDpkGeKZwtqrZLjekxxLBCy8ORY+kJlUB0FT6AzVR/1tjw==", "requires": { "@chakra-ui/shared-utils": "2.0.5", "csstype": "^3.0.11", @@ -8880,15 +8015,15 @@ } }, "@chakra-ui/system": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@chakra-ui/system/-/system-2.4.0.tgz", - "integrity": "sha512-gUX6OZVvFDMV92NtKLuawIWqvjhYc0u1LCAMeb1k3ktVBjWEYjIM4DBIirEhHjcADa8ownrTEHeW0aGxN7uxjQ==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/system/-/system-2.5.1.tgz", + "integrity": "sha512-4+86OrcSoq7lGkm5fh+sJ3IWXSTzjz+HOllRbCW2Rtnmcg7ritiXVNV2VygEg2DrCcx5+tNqRHDM764zW+AEug==", "requires": { "@chakra-ui/color-mode": "2.1.12", "@chakra-ui/object-utils": "2.0.8", "@chakra-ui/react-utils": "2.0.12", - "@chakra-ui/styled-system": "2.5.2", - "@chakra-ui/theme-utils": "2.0.9", + "@chakra-ui/styled-system": "2.6.1", + "@chakra-ui/theme-utils": "2.0.11", "@chakra-ui/utils": "2.0.15", "react-fast-compare": "3.2.0" } @@ -8957,20 +8092,20 @@ } }, "@chakra-ui/theme-utils": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.9.tgz", - "integrity": "sha512-+Nn1NooFeAr4d/OVU1NjXEMKCKCIfesYw27BoYzFYCWt/+cS/qcVdPJj+uXgK8L8xExhkREipt2r9kGlE+WpTw==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@chakra-ui/theme-utils/-/theme-utils-2.0.11.tgz", + "integrity": "sha512-lBAay6Sq3/fl7exd3mFxWAbzgdQowytor0fnlHrpNStn1HgFjXukwsf6356XQOie2Vd8qaMM7qZtMh4AiC0dcg==", "requires": { "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/theme": "2.2.5", "lodash.mergewith": "4.6.2" } }, "@chakra-ui/toast": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@chakra-ui/toast/-/toast-5.0.1.tgz", - "integrity": "sha512-R66broJXhe4cd+o5/r7raF4Jg4J3W3QBHrykV7AV/W0Wiav8tL8jwSq8pMmXVnO3oGwKWZ+VHuSWmjcL65BHmg==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@chakra-ui/toast/-/toast-6.0.1.tgz", + "integrity": "sha512-ej2kJXvu/d2h6qnXU5D8XTyw0qpsfmbiU7hUffo/sPxkz89AUOQ08RUuUmB1ssW/FZcQvNMJ5WgzCTKHGBxtxw==", "requires": { "@chakra-ui/alert": "2.0.17", "@chakra-ui/close-button": "2.0.17", @@ -8979,7 +8114,7 @@ "@chakra-ui/react-use-timeout": "2.0.5", "@chakra-ui/react-use-update-effect": "2.0.7", "@chakra-ui/shared-utils": "2.0.5", - "@chakra-ui/styled-system": "2.5.2", + "@chakra-ui/styled-system": "2.6.1", "@chakra-ui/theme": "2.2.5" } }, @@ -9023,12 +8158,11 @@ "requires": {} }, "@emotion/babel-plugin": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.5.tgz", - "integrity": "sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.10.6.tgz", + "integrity": "sha512-p2dAqtVrkhSa7xz1u/m9eHYdLi+en8NowrmXeF/dKtJpU8lCWli8RUAati7NcSl0afsBott48pdnANuD0wh9QQ==", "requires": { "@babel/helper-module-imports": "^7.16.7", - "@babel/plugin-syntax-jsx": "^7.17.12", "@babel/runtime": "^7.18.3", "@emotion/hash": "^0.9.0", "@emotion/memoize": "^0.8.0", @@ -9072,12 +8206,12 @@ "integrity": "sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA==" }, "@emotion/react": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.5.tgz", - "integrity": "sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.10.6.tgz", + "integrity": "sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw==", "requires": { "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.5", + "@emotion/babel-plugin": "^11.10.6", "@emotion/cache": "^11.10.5", "@emotion/serialize": "^1.1.1", "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", @@ -9104,12 +8238,12 @@ "integrity": "sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA==" }, "@emotion/styled": { - "version": "11.10.5", - "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.5.tgz", - "integrity": "sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw==", + "version": "11.10.6", + "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.6.tgz", + "integrity": "sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og==", "requires": { "@babel/runtime": "^7.18.3", - "@emotion/babel-plugin": "^11.10.5", + "@emotion/babel-plugin": "^11.10.6", "@emotion/is-prop-valid": "^1.2.0", "@emotion/serialize": "^1.1.1", "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0", @@ -9152,17 +8286,6 @@ "js-yaml": "^4.1.0", "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - } } }, "@fontsource/poppins": { @@ -9193,90 +8316,29 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, - "@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", - "peer": true, - "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "peer": true - }, - "@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "peer": true - }, - "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", - "peer": true - }, - "@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", - "peer": true, - "requires": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" - } - }, "@ledgerhq/devices": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.7.tgz", - "integrity": "sha512-PZ9TtaTGBYUm/g0qNKPbECZt7DDNvqM3ILS5wAtOMna2cBR+mrywUGXrkjuOWlHpuqZ8wenaAKveQBbzF2ba8w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.6.tgz", + "integrity": "sha512-trEqJqgXuXLgb228c6kJdur0idTVxtofy8NxumvsspZKh5x/pHJX8EoNxWX91Pg7H3AA+jxLEeRvAjNDVDJgGQ==", "requires": { - "@ledgerhq/errors": "^6.12.3", + "@ledgerhq/errors": "^6.12.2", "@ledgerhq/logs": "^6.10.1", "rxjs": "6", "semver": "^7.3.5" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - } } }, "@ledgerhq/errors": { - "version": "6.12.3", - "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.3.tgz", - "integrity": "sha512-djiMSgB/7hnK3aLR/c5ZMMivxjcI7o2+y3VKcsZZpydPoVf9+FXqeJPRfOwmJ0JxbQ//LinUfWpIfHew8LkaVw==" + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.2.tgz", + "integrity": "sha512-qYTkxlWHVItxPAb9pQewfVoN8nFvvFYzWEyzVRX/NuO/g3JKL5kef5lLuqTtUIFOvFROMLi3EBxU+vbvV0ktow==" }, "@ledgerhq/hw-transport": { - "version": "6.27.10", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.10.tgz", - "integrity": "sha512-3cmwQZsiRKe6VcHA1kAtC8+Wt0xjCa9Y0TO/Ns2k4BmEhIlG143I4H1dJntkX6XhDpE1pK9Xn2niBQsTTeGhqA==", + "version": "6.27.9", + "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.9.tgz", + "integrity": "sha512-Po0eFWyH3C6I5oxLW3t/jtjqFJdF6/zmF9WL3n5lvSVbtmilPGz2IFOwHoz/XWSwM4PLwV6JXgFBIC6h6UNn/Q==", "requires": { - "@ledgerhq/devices": "^7.0.7", - "@ledgerhq/errors": "^6.12.3", + "@ledgerhq/devices": "^7.0.6", + "@ledgerhq/errors": "^6.12.2", "events": "^3.3.0" } }, @@ -9321,27 +8383,6 @@ "version": "5.50.0", "resolved": "https://registry.npmjs.org/@ledgerhq/logs/-/logs-5.50.0.tgz", "integrity": "sha512-swKHYCOZUGyVt4ge0u8a7AwNcA//h4nx5wIi0sruGye1IJ5Cva0GyK9L2/WdX+kWVTKp92ZiEo1df31lrWGPgA==" - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -9366,27 +8407,6 @@ "rxjs": "6", "semver": "^7.3.5" } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -9411,27 +8431,6 @@ "rxjs": "6", "semver": "^7.3.5" } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } }, @@ -9545,9 +8544,9 @@ } }, "@multiversx/sdk-core": { - "version": "11.2.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-11.2.0.tgz", - "integrity": "sha512-NEg/i8XMhSL4gGNseCmPz5F6ToSyPniYjagvSKHPwyJ1B1Zevk3P8TbDbxRSGHQQv787+AagAZHP0lddvEtdTA==", + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-11.3.0.tgz", + "integrity": "sha512-ow6MI43scKsnyFxBzH8Acj0s+3G8Q61mqcXo2Cl1pAsOvew3ycRAWF1ZP+13sgpXYRoANxJ6LGsH3MVfkuqA0w==", "requires": { "@multiversx/sdk-transaction-decoder": "1.0.2", "bech32": "1.1.4", @@ -9584,55 +8583,6 @@ "@ledgerhq/hw-transport-webusb": "6.11.2", "buffer": "6.0.3", "platform": "1.3.6" - }, - "dependencies": { - "@ledgerhq/devices": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/@ledgerhq/devices/-/devices-7.0.6.tgz", - "integrity": "sha512-trEqJqgXuXLgb228c6kJdur0idTVxtofy8NxumvsspZKh5x/pHJX8EoNxWX91Pg7H3AA+jxLEeRvAjNDVDJgGQ==", - "requires": { - "@ledgerhq/errors": "^6.12.2", - "@ledgerhq/logs": "^6.10.1", - "rxjs": "6", - "semver": "^7.3.5" - } - }, - "@ledgerhq/errors": { - "version": "6.12.2", - "resolved": "https://registry.npmjs.org/@ledgerhq/errors/-/errors-6.12.2.tgz", - "integrity": "sha512-qYTkxlWHVItxPAb9pQewfVoN8nFvvFYzWEyzVRX/NuO/g3JKL5kef5lLuqTtUIFOvFROMLi3EBxU+vbvV0ktow==" - }, - "@ledgerhq/hw-transport": { - "version": "6.27.9", - "resolved": "https://registry.npmjs.org/@ledgerhq/hw-transport/-/hw-transport-6.27.9.tgz", - "integrity": "sha512-Po0eFWyH3C6I5oxLW3t/jtjqFJdF6/zmF9WL3n5lvSVbtmilPGz2IFOwHoz/XWSwM4PLwV6JXgFBIC6h6UNn/Q==", - "requires": { - "@ledgerhq/devices": "^7.0.6", - "@ledgerhq/errors": "^6.12.2", - "events": "^3.3.0" - } - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - } } }, "@multiversx/sdk-network-providers": { @@ -9679,9 +8629,9 @@ } }, "@multiversx/sdk-web-wallet-provider": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-web-wallet-provider/-/sdk-web-wallet-provider-2.2.0.tgz", - "integrity": "sha512-oc7W10zbzdLK5N+urM52cdIx0ZjkN2lDLdY19W6Nwuvs9FSWahqBIeCbH+b3Ifw35x46FSVs1S86S4F+lKkCNA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-web-wallet-provider/-/sdk-web-wallet-provider-2.2.1.tgz", + "integrity": "sha512-1cboGOzVY8UepE/XxNc5bzB7jVmVCdqyhdOcB0uIEBCGnZpQV0LxqAQIQ0a/aTP7GxYodrAwl5+3aEL+OlW3Lw==", "requires": { "qs": "6.10.3" } @@ -9906,12 +8856,6 @@ } } }, - "@types/deep-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/deep-equal/-/deep-equal-1.0.1.tgz", - "integrity": "sha512-mMUu4nWHLBlHtxXY17Fg6+ucS/MnndyOWyOe7MmwkoMYxvfQU2ajtRaEvqSUv+aVkMqH/C0NCI8UoVfRNQ10yg==", - "dev": true - }, "@types/json-schema": { "version": "7.0.11", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", @@ -9929,15 +8873,6 @@ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.191.tgz", "integrity": "sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ==" }, - "@types/lodash.clonedeep": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.7.tgz", - "integrity": "sha512-ccNqkPptFIXrpVqUECi60/DFxjNKsfoQxSQsgcBJCX/fuX1wgyQieojkcWH/KpE3xzLoWN/2k+ZeGqIN3paSvw==", - "dev": true, - "requires": { - "@types/lodash": "*" - } - }, "@types/lodash.mergewith": { "version": "4.6.7", "resolved": "https://registry.npmjs.org/@types/lodash.mergewith/-/lodash.mergewith-4.6.7.tgz", @@ -9952,9 +8887,9 @@ "integrity": "sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==" }, "@types/node": { - "version": "18.11.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.18.tgz", - "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==" + "version": "18.14.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.0.tgz", + "integrity": "sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A==" }, "@types/parse-json": { "version": "4.0.0", @@ -9977,9 +8912,9 @@ } }, "@types/react": { - "version": "18.0.27", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.27.tgz", - "integrity": "sha512-3vtRKHgVxu3Jp9t718R9BuzoD4NcQ8YJ5XRzsSKxNDiDonD2MXIT1TmSkenxuCycZJoQT5d2vE8LwWJxBC1gmA==", + "version": "18.0.28", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.28.tgz", + "integrity": "sha512-RD0ivG1kEztNBdoAK7lekI9M+azSnitIn85h4iOiaLjaTrMjzslhaqCGaI4IyCJ1RljWiLCEu4jyrLLgqxBTew==", "devOptional": true, "requires": { "@types/prop-types": "*", @@ -10000,181 +8935,120 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.49.0.tgz", - "integrity": "sha512-IhxabIpcf++TBaBa1h7jtOWyon80SXPRLDq0dVz5SLFC/eW6tofkw/O7Ar3lkx5z5U6wzbKDrl2larprp5kk5Q==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.52.0.tgz", + "integrity": "sha512-lHazYdvYVsBokwCdKOppvYJKaJ4S41CgKBcPvyd0xjZNbvQdhn/pnJlGtQksQ/NhInzdaeaSarlBjDXHuclEbg==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/type-utils": "5.49.0", - "@typescript-eslint/utils": "5.49.0", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/type-utils": "5.52.0", + "@typescript-eslint/utils": "5.52.0", "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", "ignore": "^5.2.0", "natural-compare-lite": "^1.4.0", "regexpp": "^3.2.0", "semver": "^7.3.7", "tsutils": "^3.21.0" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } } }, "@typescript-eslint/parser": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.49.0.tgz", - "integrity": "sha512-veDlZN9mUhGqU31Qiv2qEp+XrJj5fgZpJ8PW30sHU+j/8/e5ruAhLaVDAeznS7A7i4ucb/s8IozpDtt9NqCkZg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.52.0.tgz", + "integrity": "sha512-e2KiLQOZRo4Y0D/b+3y08i3jsekoSkOYStROYmPUnGMEoA0h+k2qOH5H6tcjIc68WDvGwH+PaOrP1XRzLJ6QlA==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/typescript-estree": "5.49.0", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/typescript-estree": "5.52.0", "debug": "^4.3.4" } }, "@typescript-eslint/scope-manager": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.49.0.tgz", - "integrity": "sha512-clpROBOiMIzpbWNxCe1xDK14uPZh35u4QaZO1GddilEzoCLAEz4szb51rBpdgurs5k2YzPtJeTEN3qVbG+LRUQ==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.52.0.tgz", + "integrity": "sha512-AR7sxxfBKiNV0FWBSARxM8DmNxrwgnYMPwmpkC1Pl1n+eT8/I2NAUPuwDy/FmDcC6F8pBfmOcaxcxRHspgOBMw==", "dev": true, "requires": { - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/visitor-keys": "5.49.0" + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/visitor-keys": "5.52.0" } }, "@typescript-eslint/type-utils": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.49.0.tgz", - "integrity": "sha512-eUgLTYq0tR0FGU5g1YHm4rt5H/+V2IPVkP0cBmbhRyEmyGe4XvJ2YJ6sYTmONfjmdMqyMLad7SB8GvblbeESZA==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.52.0.tgz", + "integrity": "sha512-tEKuUHfDOv852QGlpPtB3lHOoig5pyFQN/cUiZtpw99D93nEBjexRLre5sQZlkMoHry/lZr8qDAt2oAHLKA6Jw==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "5.49.0", - "@typescript-eslint/utils": "5.49.0", + "@typescript-eslint/typescript-estree": "5.52.0", + "@typescript-eslint/utils": "5.52.0", "debug": "^4.3.4", "tsutils": "^3.21.0" } }, "@typescript-eslint/types": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.49.0.tgz", - "integrity": "sha512-7If46kusG+sSnEpu0yOz2xFv5nRz158nzEXnJFCGVEHWnuzolXKwrH5Bsf9zsNlOQkyZuk0BZKKoJQI+1JPBBg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.52.0.tgz", + "integrity": "sha512-oV7XU4CHYfBhk78fS7tkum+/Dpgsfi91IIDy7fjCyq2k6KB63M6gMC0YIvy+iABzmXThCRI6xpCEyVObBdWSDQ==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.49.0.tgz", - "integrity": "sha512-PBdx+V7deZT/3GjNYPVQv1Nc0U46dAHbIuOG8AZ3on3vuEKiPDwFE/lG1snN2eUB9IhF7EyF7K1hmTcLztNIsA==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.52.0.tgz", + "integrity": "sha512-WeWnjanyEwt6+fVrSR0MYgEpUAuROxuAH516WPjUblIrClzYJj0kBbjdnbQXLpgAN8qbEuGywiQsXUVDiAoEuQ==", "dev": true, "requires": { - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/visitor-keys": "5.49.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/visitor-keys": "5.52.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", "semver": "^7.3.7", "tsutils": "^3.21.0" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } } }, "@typescript-eslint/utils": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.49.0.tgz", - "integrity": "sha512-cPJue/4Si25FViIb74sHCLtM4nTSBXtLx1d3/QT6mirQ/c65bV8arBEebBJJizfq8W2YyMoPI/WWPFWitmNqnQ==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.49.0", - "@typescript-eslint/types": "5.49.0", - "@typescript-eslint/typescript-estree": "5.49.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", - "semver": "^7.3.7" - }, - "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, - "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - } + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.52.0.tgz", + "integrity": "sha512-As3lChhrbwWQLNk2HC8Ree96hldKIqk98EYvypd3It8Q1f8d5zWyIoaZEp2va5667M4ZyE7X8UUR+azXrFl+NA==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.52.0", + "@typescript-eslint/types": "5.52.0", + "@typescript-eslint/typescript-estree": "5.52.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0", + "semver": "^7.3.7" } }, "@typescript-eslint/visitor-keys": { - "version": "5.49.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.49.0.tgz", - "integrity": "sha512-v9jBMjpNWyn8B6k/Mjt6VbUS4J1GvUlR4x3Y+ibnP1z7y7V4n0WRz+50DY6+Myj0UaXVSuUlHohO+eZ8IJEnkg==", + "version": "5.52.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.52.0.tgz", + "integrity": "sha512-qMwpw6SU5VHCPr99y274xhbm+PRViK/NATY6qzt+Et7+mThGuFSl/ompj2/hrBlRP/kq+BFdgagnOSgw9TB0eA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.49.0", + "@typescript-eslint/types": "5.52.0", "eslint-visitor-keys": "^3.3.0" } }, + "@useelven/core": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@useelven/core/-/core-0.0.3.tgz", + "integrity": "sha512-cnZ+L7FbI2J8XKRrOmlRxwaQFocqSZs54DPFJ292VzhK8//WGRr9lbvqnvHomQPOzf0g+vqyhzW1Kop7IFcWug==", + "requires": { + "@multiversx/sdk-core": "11.3.0", + "@multiversx/sdk-extension-provider": "2.0.7", + "@multiversx/sdk-hw-provider": "3.0.3", + "@multiversx/sdk-network-providers": "1.3.0", + "@multiversx/sdk-wallet-connect-provider": "3.0.1", + "@multiversx/sdk-web-wallet-provider": "2.2.1", + "lodash.clonedeep": "4.5.0", + "swr": "2.0.3", + "valtio": "1.10.2" + } + }, "@walletconnect/browser-utils": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz", @@ -10327,9 +9201,9 @@ } }, "@zag-js/element-size": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.3.0.tgz", - "integrity": "sha512-5/hEI+0c6ZNCx6KHlOS5/WeHsd6+I7gk7Y/b/zATp4Rp3tHirs/tu1frq+iy5BmfaG9hbQtfHfUJTjOcI5jnoQ==" + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@zag-js/element-size/-/element-size-0.3.1.tgz", + "integrity": "sha512-jR5j4G//bRzcxwAACWi9EfITnwjNmn10LxF4NmALrdZU7/PNWP3uUCdhCxd/0SCyeiJXUl0yvD57rWAbKPs1nw==" }, "@zag-js/focus-visible": { "version": "0.2.1", @@ -10372,11 +9246,11 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "color-convert": "^1.9.0" + "color-convert": "^2.0.1" } }, "argparse": { @@ -10485,7 +9359,8 @@ "available-typed-arrays": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true }, "axe-core": { "version": "4.6.3", @@ -10665,18 +9540,6 @@ } } }, - "browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", - "peer": true, - "requires": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" - } - }, "buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -10711,25 +9574,18 @@ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" }, "caniuse-lite": { - "version": "1.0.30001449", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001449.tgz", - "integrity": "sha512-CPB+UL9XMT/Av+pJxCKGhdx+yg1hzplvFJQlJ2n68PyQGMz9L/E2zCyLdOL8uasbouTUgnPl+y0tccI/se+BEw==" + "version": "1.0.30001456", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001456.tgz", + "integrity": "sha512-XFHJY5dUgmpMV25UqaD4kVq2LsiaU5rS8fb0f17pCoXQiQslzmFgnfOxfvo1bTpTqf7dwG/N/05CnLCnOEKmzA==" }, "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" - } + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, "cipher-base": { @@ -10757,27 +9613,27 @@ } }, "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { - "color-name": "1.1.3" + "color-name": "~1.1.4" } }, "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "color2k": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.1.tgz", - "integrity": "sha512-iCg+xrEqtYISsSJZN1z44fyhv4EfX8lSkcDhodt6VnMf1+iMwZxAtmGXchTCeMUnTbXunGvUVK6E3skkApPnZw==" + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.2.tgz", + "integrity": "sha512-kJhwH5nAwb34tmyuqq/lgjEKzlFXn1U99NlnB6Ws4qVaERcRUYeYP1cBw6BJ4vxaWStAUEef4WMr7WjOCnBt8w==" }, "compute-scroll-into-view": { - "version": "1.0.14", - "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz", - "integrity": "sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ==" + "version": "1.0.20", + "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", + "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==" }, "concat-map": { "version": "0.0.1", @@ -10791,9 +9647,9 @@ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==" }, "copy-to-clipboard": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz", - "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", + "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", "requires": { "toggle-selection": "^1.0.6" } @@ -10892,15 +9748,11 @@ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==", "dev": true }, - "date-fns": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz", - "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==" - }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "requires": { "ms": "2.1.2" } @@ -10919,6 +9771,7 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.0.tgz", "integrity": "sha512-RdpzE0Hv4lhowpIUKKMJfeH6C1pXdtT1/it80ubgWqwI3qpuxUBpC1S4hnHg+zjnuOoDkzUtUCEEkG+XG5l3Mw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "es-get-iterator": "^1.1.2", @@ -10952,9 +9805,10 @@ "dev": true }, "define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dev": true, "requires": { "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" @@ -11012,12 +9866,6 @@ "esutils": "^2.0.2" } }, - "electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", - "peer": true - }, "elliptic": { "version": "6.5.4", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", @@ -11113,6 +9961,7 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -11156,21 +10005,15 @@ "is-symbol": "^1.0.2" } }, - "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "peer": true - }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, "eslint": { - "version": "8.32.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.32.0.tgz", - "integrity": "sha512-nETVXpnthqKPFyuY2FNjz/bEd6nbosRgKbkgS/y1C7LJop96gYHWpiguLecMHQ2XCPxn77DS0P+68WzG6vkZSQ==", + "version": "8.34.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.34.0.tgz", + "integrity": "sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==", "dev": true, "requires": { "@eslint/eslintrc": "^1.4.1", @@ -11214,40 +10057,6 @@ "text-table": "^0.2.0" }, "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "eslint-scope": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", @@ -11257,30 +10066,6 @@ "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } - }, - "globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "requires": { - "type-fest": "^0.20.2" - } - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } } } }, @@ -11426,6 +10211,12 @@ "requires": { "esutils": "^2.0.2" } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true } } }, @@ -11451,12 +10242,20 @@ "object.entries": "^1.1.6", "object.fromentries": "^2.0.6", "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } } }, "eslint-plugin-react": { - "version": "7.32.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.1.tgz", - "integrity": "sha512-vOjdgyd0ZHBXNsmvU+785xY8Bfe57EFbTYYk8XrROzWpr9QBvpjITvAXt9xqcE6+8cjR/g1+mfumPToxsl1www==", + "version": "7.32.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.32.2.tgz", + "integrity": "sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==", "dev": true, "requires": { "array-includes": "^3.1.6", @@ -11495,6 +10294,12 @@ "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true } } }, @@ -11505,12 +10310,6 @@ "dev": true, "requires": {} }, - "eslint-plugin-valtio": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-valtio/-/eslint-plugin-valtio-0.6.1.tgz", - "integrity": "sha512-oFfE++Eix1lsW2DmmmQyJrwkjbA2QC3PYj8u82c4IuxtG90Qq9zx2rwrZVjWEL2xba+7oE/GGuujz2/nA1Bmlg==", - "dev": true - }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -11564,9 +10363,9 @@ } }, "esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.2.tgz", + "integrity": "sha512-JVSoLdTlTDkmjFmab7H/9SL9qGSyjElT3myyKp7krqjVFQCDLmj1QFaCLRFBszBKI0XVZaiiXvuPIX3ZwHe1Ng==", "dev": true, "requires": { "estraverse": "^5.1.0" @@ -11708,9 +10507,9 @@ "dev": true }, "focus-lock": { - "version": "0.11.5", - "resolved": "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.5.tgz", - "integrity": "sha512-1mTr6pl9HBpJ8CqY7hRc38MCrcuTZIeYAkBD1gBTzbx5/to+bRBaBYtJ68iDq7ryTzAAbKrG3dVKjkrWTaaEaw==", + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/focus-lock/-/focus-lock-0.11.6.tgz", + "integrity": "sha512-KSuV3ur4gf2KqMNoZx3nXNVhqCkn42GuTYCX4tXPEwf0MjpFQmNMiN6m7dXaUXgIoivL6/65agoUMg4RLS0Vbg==", "requires": { "tslib": "^2.0.3" }, @@ -11731,14 +10530,15 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "requires": { "is-callable": "^1.1.3" } }, "framer-motion": { - "version": "8.5.4", - "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-8.5.4.tgz", - "integrity": "sha512-xBVovXUIdpKvRvIPsrSTiyXZUYyct9zarzdVeyzv+V6DFsDpHIuppyOjDO8VM1fBspDn+rUU4ZFZ5yJxLmzebQ==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-9.0.4.tgz", + "integrity": "sha512-lZ1+2/WBn8iYRYmeEFpu/X2fI1GNwJL+X21EpnWwKP3vkJsnWBXZF5kHF29wIPk9sBU2xDIpDm9SAVo206bp9A==", "peer": true, "requires": { "@emotion/is-prop-valid": "^0.8.2", @@ -11813,13 +10613,8 @@ "functions-have-names": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" - }, - "gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "peer": true + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true }, "get-caller-file": { "version": "2.0.5", @@ -11852,9 +10647,9 @@ } }, "get-tsconfig": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.3.0.tgz", - "integrity": "sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.4.0.tgz", + "integrity": "sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==", "dev": true }, "glob": { @@ -11881,10 +10676,13 @@ } }, "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "peer": true + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } }, "globalthis": { "version": "1.0.3", @@ -11925,6 +10723,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "requires": { "get-intrinsic": "^1.1.3" } @@ -11952,17 +10751,20 @@ "has-bigints": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true }, "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true }, "has-property-descriptors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, "requires": { "get-intrinsic": "^1.1.1" } @@ -11982,6 +10784,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -12071,11 +10874,12 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "internal-slot": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dev": true, "requires": { - "get-intrinsic": "^1.1.3", + "get-intrinsic": "^1.2.0", "has": "^1.0.3", "side-channel": "^1.0.4" } @@ -12092,6 +10896,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -12101,6 +10906,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.3", @@ -12116,6 +10922,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, "requires": { "has-bigints": "^1.0.1" } @@ -12124,6 +10931,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -12132,7 +10940,8 @@ "is-callable": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true }, "is-core-module": { "version": "2.11.0", @@ -12146,6 +10955,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -12179,7 +10989,8 @@ "is-map": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", - "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==" + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "dev": true }, "is-negative-zero": { "version": "2.0.2", @@ -12197,6 +11008,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -12211,6 +11023,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -12219,12 +11032,14 @@ "is-set": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", - "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==" + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "dev": true }, "is-shared-array-buffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dev": true, "requires": { "call-bind": "^1.0.2" } @@ -12233,6 +11048,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, "requires": { "has-tostringtag": "^1.0.0" } @@ -12241,6 +11057,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, "requires": { "has-symbols": "^1.0.2" } @@ -12249,6 +11066,7 @@ "version": "1.1.10", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dev": true, "requires": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -12265,7 +11083,8 @@ "is-weakmap": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", - "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==" + "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "dev": true }, "is-weakref": { "version": "1.0.2", @@ -12280,6 +11099,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz", "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==", + "dev": true, "requires": { "call-bind": "^1.0.2", "get-intrinsic": "^1.1.1" @@ -12297,7 +11117,8 @@ "isarray": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", - "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true }, "isexe": { "version": "2.0.0", @@ -12330,12 +11151,6 @@ "argparse": "^2.0.1" } }, - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "peer": true - }, "json-bigint": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", @@ -12370,10 +11185,13 @@ "dev": true }, "json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "peer": true + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } }, "jsx-ast-utils": { "version": "3.3.3", @@ -12469,12 +11287,11 @@ } }, "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "peer": true, + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "requires": { - "yallist": "^3.0.2" + "yallist": "^4.0.0" } }, "md5.js": { @@ -12532,15 +11349,16 @@ } }, "minimist": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "nanoassert": { "version": "1.1.0", @@ -12599,12 +11417,6 @@ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==" }, - "node-releases": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.8.tgz", - "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", - "peer": true - }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -12619,6 +11431,7 @@ "version": "1.1.5", "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3" @@ -12627,12 +11440,14 @@ "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true }, "object.assign": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.4", @@ -12693,9 +11508,9 @@ } }, "open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", + "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", "dev": true, "requires": { "define-lazy-prop": "^2.0.0", @@ -12853,9 +11668,9 @@ "dev": true }, "prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "version": "2.8.4", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz", + "integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==", "dev": true }, "process": { @@ -12894,9 +11709,9 @@ } }, "proxy-compare": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.4.0.tgz", - "integrity": "sha512-FD8KmQUQD6Mfpd0hywCOzcon/dbkFP8XBd9F1ycbKtvVsfv6TsFUKJ2eC0Iz2y+KzlkdT1Z8SY6ZSgm07zOyqg==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/proxy-compare/-/proxy-compare-2.5.0.tgz", + "integrity": "sha512-f1us0OsVAJ3tdIMXGQx2lmseYS4YXe4W+sKF5g5ww/jV+5ogMadPt+sIZ+88Ga9kvMJsrRNWzCrKPpr6pMWYbA==" }, "public-encrypt": { "version": "4.0.3", @@ -13000,12 +11815,12 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" }, "react-focus-lock": { - "version": "2.9.3", - "resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.3.tgz", - "integrity": "sha512-cGNkz9p5Fpqio6hBHlkKxzRYrBYtcPosFOL6Q3N/LSbHjwP/PTBqHpvbgaOYoE7rWfzw8qXPKTB3Tk/VPgw4NQ==", + "version": "2.9.4", + "resolved": "https://registry.npmjs.org/react-focus-lock/-/react-focus-lock-2.9.4.tgz", + "integrity": "sha512-7pEdXyMseqm3kVjhdVH18sovparAzLg5h6WvIx7/Ck3ekjhrrDMEegHSa3swwC8wgfdd7DIdUVRGeiHT9/7Sgg==", "requires": { "@babel/runtime": "^7.0.0", - "focus-lock": "^0.11.5", + "focus-lock": "^0.11.6", "prop-types": "^15.6.2", "react-clientside-effect": "^1.2.6", "use-callback-ref": "^1.3.0", @@ -13096,6 +11911,7 @@ "version": "1.4.3", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz", "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==", + "dev": true, "requires": { "call-bind": "^1.0.2", "define-properties": "^1.1.3", @@ -13204,9 +12020,12 @@ } }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "requires": { + "lru-cache": "^6.0.0" + } }, "set-blocking": { "version": "2.0.0", @@ -13272,6 +12091,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dev": true, "requires": { "internal-slot": "^1.0.4" } @@ -13387,11 +12207,12 @@ "integrity": "sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA==" }, "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" } }, "supports-preserve-symlinks-flag": { @@ -13400,9 +12221,9 @@ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" }, "swr": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.2.tgz", - "integrity": "sha512-iHbQW17hsduonMEliZnr6/yaxb+yvLe2r0+AH+ZfeqKzwc2bb+QRYpZm5/b/H0Lxgy7VWow4o71JeSazSun+9A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/swr/-/swr-2.0.3.tgz", + "integrity": "sha512-sGvQDok/AHEWTPfhUWXEHBVEXmgGnuahyhmRQbjl9XBYxT/MSlAzvXEKQpyM++bMPaI52vcWS2HiKNaW7+9OFw==", "requires": { "use-sync-external-store": "^1.2.0" } @@ -13481,17 +12302,6 @@ "json5": "^1.0.1", "minimist": "^1.2.6", "strip-bom": "^3.0.0" - }, - "dependencies": { - "json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - } } }, "tslib": { @@ -13543,9 +12353,9 @@ } }, "typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "dev": true }, "u2f-api": { @@ -13565,16 +12375,6 @@ "which-boxed-primitive": "^1.0.2" } }, - "update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", - "peer": true, - "requires": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - } - }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -13627,11 +12427,11 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "valtio": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.9.0.tgz", - "integrity": "sha512-mQLFsAlKbYascZygFQh6lXuDjU5WHLoeZ8He4HqMnWfasM96V6rDbeFkw1XeG54xycmDonr/Jb4xgviHtuySrA==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/valtio/-/valtio-1.10.2.tgz", + "integrity": "sha512-NG9FUB44VQKzEqs6qGke6XEuAYWoEeCADiS6/Hkgy2bYALOdztoCwJUNl79lEae2wGhqZ6Lv+K9wPUIiS8VLxw==", "requires": { - "proxy-compare": "2.4.0", + "proxy-compare": "2.5.0", "use-sync-external-store": "1.2.0" } }, @@ -13648,6 +12448,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, "requires": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -13660,6 +12461,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "dev": true, "requires": { "is-map": "^2.0.1", "is-set": "^2.0.1", @@ -13676,6 +12478,7 @@ "version": "1.1.9", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dev": true, "requires": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.2", @@ -13699,29 +12502,6 @@ "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - } } }, "wrappy": { @@ -13742,10 +12522,9 @@ "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" }, "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "peer": true + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "yaml": { "version": "1.10.2", diff --git a/package.json b/package.json index 0ddf0e2..0d6928a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "esdt-faucet-dapp", - "version": "0.3.0", + "version": "0.4.0", "author": "Julian Ćwirko ", "license": "MIT", "homepage": "https://github.com/xdevguild/esdt-faucet-dapp", @@ -14,26 +14,18 @@ "build": "next build", "start": "next start", "lint": "next lint", - "format": "prettier --write '**/*.{js,ts,tsx,json}'" + "prettier": "prettier --write '**/*.{js,ts,tsx,json}'" }, "dependencies": { - "@chakra-ui/react": "2.4.9", - "@multiversx/sdk-core": "11.2.0", - "@multiversx/sdk-extension-provider": "2.0.7", - "@multiversx/sdk-hw-provider": "3.0.3", - "@multiversx/sdk-network-providers": "1.3.0", - "@multiversx/sdk-wallet-connect-provider": "3.0.1", - "@multiversx/sdk-web-wallet-provider": "2.2.0", - "@emotion/react": "11.10.5", - "@emotion/styled": "11.10.5", + "@chakra-ui/react": "2.5.1", + "@emotion/react": "11.10.6", + "@emotion/styled": "11.10.6", "@fontsource/poppins": "4.5.10", + "@multiversx/sdk-core": "11.3.0", + "@useelven/core": "0.0.3", "bignumber.js": "9.1.1", "buffer": "6.0.3", "crypto-browserify": "3.12.0", - "date-fns": "2.29.3", - "deep-equal": "2.2.0", - "events": "3.3.0", - "lodash.clonedeep": "4.5.0", "next": "13.1.6", "path-browserify": "1.0.1", "process": "0.11.10", @@ -41,22 +33,18 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-social-icons": "5.15.0", - "stream-browserify": "3.0.0", - "swr": "2.0.2", - "valtio": "1.9.0" + "stream-browserify": "3.0.0" }, "devDependencies": { - "@types/deep-equal": "1.0.1", - "@types/lodash.clonedeep": "4.5.7", - "@types/node": "18.11.18", + "@types/node": "18.14.0", "@types/qrcode": "1.5.0", - "@types/react": "18.0.27", - "@typescript-eslint/eslint-plugin": "5.49.0", - "eslint": "8.32.0", + "@types/react": "18.0.28", + "@typescript-eslint/eslint-plugin": "5.52.0", + "@typescript-eslint/parser": "^5.52.0", + "eslint": "8.34.0", "eslint-config-next": "13.1.6", "eslint-config-prettier": "8.6.0", - "eslint-plugin-valtio": "0.6.1", - "prettier": "2.8.3", - "typescript": "4.9.4" + "prettier": "2.8.4", + "typescript": "4.9.5" } } diff --git a/pages/_app.tsx b/pages/_app.tsx index 96a7e70..e59260a 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -10,11 +10,11 @@ import '@fontsource/poppins/900.css'; import type { AppProps } from 'next/app'; import { ChakraProvider } from '@chakra-ui/react'; -import { useNetworkSync } from '../hooks/auth/useNetworkSync'; +import { useNetworkSync } from '@useelven/core'; import { theme } from '../config/chakraTheme'; const NextJSDappTemplate = ({ Component, pageProps }: AppProps) => { - useNetworkSync(); + useNetworkSync({ chainType: 'devnet' }); return ( diff --git a/pages/index.tsx b/pages/index.tsx index 3a9cffe..7ea6a9c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,7 +1,6 @@ import type { NextPage } from 'next'; import { Text, - Flex, Link, Tabs, TabList, @@ -14,7 +13,6 @@ import { HeaderMenu } from '../components/ui/HeaderMenu'; import { HeaderMenuButtons } from '../components/ui/HeaderMenuButtons'; import { Authenticated } from '../components/tools/Authenticated'; import { CardWrapper } from '../components/ui/CardWrapper'; -import { LoginModalButton } from '../components/tools/LoginModalButton'; import { ScTokens } from '../components/containers/SCTokens'; import { Deposit } from '../components/containers/Deposit'; @@ -49,14 +47,9 @@ const Home: NextPage = () => { - - Connect your wallet! - - - - - + + Connect your wallet! + } > diff --git a/store/auth.ts b/store/auth.ts deleted file mode 100644 index 59ade0f..0000000 --- a/store/auth.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { proxy } from 'valtio'; -import { LoginMethodsEnum } from '../types/enums'; -import cloneDeep from 'lodash.clonedeep'; - -// Account info state + persistance - -interface AccountState extends Record { - addressIndex: number; // For HW provider only - address: string; - nonce: number; - balance: string; -} - -const accountInitialState: AccountState = { - addressIndex: 0, - address: '', - nonce: 0, - balance: '', -}; - -export const accountState = proxy(accountInitialState); - -export const setAccountState = (key: keyof AccountState, value: unknown) => { - accountState[key] = value; -}; - -export const clearAccountState = () => { - const resetObj = cloneDeep(accountInitialState); - Object.keys(resetObj).forEach((key) => { - setAccountState(key, resetObj[key]); - }); -}; - -// Login info state + persistance - -export interface LoginInfoState extends Record { - loginMethod: LoginMethodsEnum; - expires: number; - loginToken: string; - signature: string; -} - -const loginInfoInitialState: LoginInfoState = { - loginMethod: LoginMethodsEnum.none, - expires: 0, - loginToken: '', - signature: '', -}; - -export const loginInfoState = proxy(loginInfoInitialState); - -export const setLoginInfoState = ( - key: keyof LoginInfoState, - value: unknown -) => { - loginInfoState[key] = value; -}; - -export const clearLoginInfoState = () => { - const resetObj = cloneDeep(loginInfoInitialState); - Object.keys(resetObj).forEach((key) => { - loginInfoState[key] = resetObj[key]; - }); -}; - -// Login info state - -export interface LoggingInState extends Record { - pending: boolean; - error: string; - loggedIn: boolean; -} - -const loggingInInitialState: LoggingInState = { - pending: true, - error: '', - loggedIn: false, -}; - -export const loggingInState = proxy(loggingInInitialState); - -export const setLoggingInState = ( - key: keyof LoggingInState, - value: unknown -) => { - loggingInState[key] = value; -}; - -export const clearLoggingInState = () => { - const resetObj = cloneDeep(loginInfoInitialState); - Object.keys(resetObj).forEach((key) => { - setLoggingInState(key, resetObj[key]); - }); -}; - -export const clearAuthStates = () => { - clearAccountState(); - clearLoginInfoState(); - clearLoggingInState(); -}; diff --git a/store/network.ts b/store/network.ts deleted file mode 100644 index 27d95cc..0000000 --- a/store/network.ts +++ /dev/null @@ -1,29 +0,0 @@ -interface NetworkState { - dappProvider: T; - apiNetworkProvider: T; -} - -// It doesn't have to be tracked or persistent, it will init on every hard refresh -const networkState: NetworkState = { - dappProvider: null, - apiNetworkProvider: null, -}; - -export function getNetworkState( - key: keyof NetworkState -): NetworkState[keyof NetworkState] { - return networkState[key] as T; -} - -export function setNetworkState(key: keyof NetworkState, value: unknown) { - networkState[key] = value; -} - -export const clearNetworkState = () => { - networkState.dappProvider = null; - networkState.apiNetworkProvider = null; -}; - -export const clearDappProvider = () => { - networkState['dappProvider'] = null; -}; diff --git a/types/account.ts b/types/account.ts deleted file mode 100644 index 920c044..0000000 --- a/types/account.ts +++ /dev/null @@ -1,10 +0,0 @@ -export interface LocalAccountInstance { - address: string; - balance: string; - nonce: number; -} - -export interface Login { - callbackRoute?: string; - token?: string; -} diff --git a/types/enums.ts b/types/enums.ts deleted file mode 100644 index c9338a3..0000000 --- a/types/enums.ts +++ /dev/null @@ -1,14 +0,0 @@ -export enum LoginMethodsEnum { - ledger = 'ledger', - walletconnect = 'walletconnect', - wallet = 'wallet', - extension = 'extension', - extra = 'extra', - none = '', -} - -export enum EnvironmentsEnum { - testnet = 'testnet', - devnet = 'devnet', - mainnet = 'mainnet', -} diff --git a/types/network.ts b/types/network.ts deleted file mode 100644 index 4d591c7..0000000 --- a/types/network.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { WalletProvider } from '@multiversx/sdk-web-wallet-provider'; -import { WalletConnectProvider } from '@multiversx/sdk-wallet-connect-provider'; -import { ExtensionProvider } from '@multiversx/sdk-extension-provider'; -import { ApiNetworkProvider, ProxyNetworkProvider } from '@multiversx/sdk-network-providers'; -import { HWProvider } from '@multiversx/sdk-hw-provider'; - -export interface BaseNetworkType { - id: string; - shortId: string; - name: string; - egldLabel: string; - egldDenomination: string; - decimals: string; - gasPerDataByte: string; - walletConnectDeepLink: string; - walletAddress: string; - apiAddress: string; - explorerAddress: string; - apiTimeout: string; -} - -export interface NetworkType extends BaseNetworkType { - walletConnectBridgeAddresses: string[]; -} - -export type DappProvider = - | ExtensionProvider - | WalletConnectProvider - | WalletProvider - | HWProvider; - -export type NetworkProvider = ApiNetworkProvider | ProxyNetworkProvider; diff --git a/utils/apiCall.ts b/utils/apiCall.ts deleted file mode 100644 index 7483684..0000000 --- a/utils/apiCall.ts +++ /dev/null @@ -1,117 +0,0 @@ -// Usefull for the api calls on the backend side, but not only. It is also used as fetcher in hooks - -export const apiCall = { - baseEndpoint: `${process.env.NEXT_PUBLIC_MULTIVERSX_API}`, - - async get(endpoint: string, options?: Record) { - if (typeof fetch !== 'undefined') { - const defaultOptions = { - method: 'GET', - headers: { - 'Content-Type': 'application/json', - Accept: 'application/json', - }, - }; - - const response = await fetch( - this.baseEndpoint + endpoint, - Object.assign(defaultOptions, options || {}) - ); - - const result = await response.json(); - - if (!response.ok) { - const error = result?.error || response.status; - return Promise.reject(error); - } - - return result; - } - }, - - async post( - endpoint: string, - payload: Record, - options?: Record - ) { - if (typeof fetch !== 'undefined') { - const defaultOptions = { - method: 'POST', - headers: { - 'Content-Type': 'application/json', - Accept: 'application/json', - }, - body: JSON.stringify(payload || {}), - }; - - const response = await fetch( - this.baseEndpoint + endpoint, - Object.assign(defaultOptions, options || {}) - ); - - const result = await response.json(); - - if (!response.ok) { - const error = result?.error || response.status; - return Promise.reject(error); - } - - return result; - } - }, - async put( - endpoint: string, - payload: Record, - options?: Record - ) { - if (typeof fetch !== 'undefined') { - const defaultOptions = { - method: 'PUT', - headers: { - 'Content-Type': 'application/json', - Accept: 'application/json', - }, - body: JSON.stringify(payload || {}), - }; - - const response = await fetch( - this.baseEndpoint + endpoint, - Object.assign(defaultOptions, options || {}) - ); - - const result = await response.json(); - - if (!response.ok) { - const error = result?.error || response.status; - return Promise.reject(error); - } - - return result; - } - }, - async delete(endpoint: string, options?: Record) { - if (typeof fetch !== 'undefined') { - const defaultOptions = { - method: 'DELETE', - headers: { - 'Content-Type': 'application/json', - Accept: 'application/json', - }, - }; - - const response = await fetch( - this.baseEndpoint + endpoint, - Object.assign(defaultOptions, options || {}) - ); - - const result = await response.json(); - - if (!response.ok) { - const error = result?.error || response.status; - return Promise.reject(error); - } - - return result; - } - }, -}; diff --git a/utils/bridgeAddress.ts b/utils/bridgeAddress.ts deleted file mode 100644 index 204402c..0000000 --- a/utils/bridgeAddress.ts +++ /dev/null @@ -1,7 +0,0 @@ -export function getBridgeAddressFromNetwork( - walletConnectBridgeAddresses: string[] -) { - return walletConnectBridgeAddresses[ - Math.floor(Math.random() * walletConnectBridgeAddresses.length) - ]; -} diff --git a/utils/expiresAt.ts b/utils/expiresAt.ts deleted file mode 100644 index cba6bcd..0000000 --- a/utils/expiresAt.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const getNewLoginExpiresTimestamp = () => { - return new Date().setHours(new Date().getHours() + 24); -}; - -export const isLoginExpired = (expirationTimestamp: number) => { - return Date.now() > expirationTimestamp; -}; diff --git a/utils/getParamFromUrl.ts b/utils/getParamFromUrl.ts deleted file mode 100644 index 114056e..0000000 --- a/utils/getParamFromUrl.ts +++ /dev/null @@ -1,7 +0,0 @@ -export const getParamFromUrl = (paramName: string) => { - if (typeof window !== 'undefined') { - const url = new URL(window.location.href); - const params = new URLSearchParams(url.search); - return params.get(paramName); - } -}; diff --git a/utils/numberFormater.ts b/utils/numberFormater.ts deleted file mode 100644 index 7aa9cf4..0000000 --- a/utils/numberFormater.ts +++ /dev/null @@ -1 +0,0 @@ -export const numberFormatter = Intl.NumberFormat('en', { notation: 'compact' }); diff --git a/utils/optionalRedirect.ts b/utils/optionalRedirect.ts deleted file mode 100644 index a9666ec..0000000 --- a/utils/optionalRedirect.ts +++ /dev/null @@ -1,9 +0,0 @@ -export const optionalRedirect = (callbackUrl?: string) => { - if (typeof window !== 'undefined' && callbackUrl != null) { - setTimeout(() => { - if (!window.location.pathname.includes(callbackUrl)) { - window.location.href = callbackUrl; - } - }, 200); - } -}; diff --git a/utils/walletConnectCbs.ts b/utils/walletConnectCbs.ts deleted file mode 100644 index d18620f..0000000 --- a/utils/walletConnectCbs.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { Address, Account } from '@multiversx/sdk-core'; -import { WalletConnectProvider } from '@multiversx/sdk-wallet-connect-provider'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; -import { setAccountState, setLoginInfoState } from '../store/auth'; -import { LoginMethodsEnum } from '../types/enums'; -import { optionalRedirect } from '../utils/optionalRedirect'; -import { errorParse } from './errorParse'; - -export const WcOnLogin = async ( - apiNetworkProvider?: ApiNetworkProvider, - dappProvider?: WalletConnectProvider, - callbackRoute?: string -) => { - const address = await dappProvider?.getAddress(); - - const userAddressInstance = new Address(address); - const userAccountInstance = new Account(userAddressInstance); - - if (apiNetworkProvider) { - try { - const userAccountOnNetwork = await apiNetworkProvider.getAccount( - userAddressInstance - ); - userAccountInstance.update(userAccountOnNetwork); - setAccountState('address', userAccountInstance.address.bech32()); - } catch (e) { - const err = errorParse(e); - console.warn( - `Something went wrong trying to synchronize the user account: ${err}` - ); - } - } - - setLoginInfoState('loginMethod', LoginMethodsEnum.walletconnect); - - optionalRedirect(callbackRoute); -};