From ed353db5771274582e55de8c1a7d9ff4d04ade54 Mon Sep 17 00:00:00 2001 From: Ignacio Santise Date: Tue, 17 Sep 2024 07:19:48 -0300 Subject: [PATCH] chore: reown migration (#166) * chore: migrate packages --- README.md | 2 +- dapps/ModalEthers/.env.example | 2 +- dapps/ModalEthers/src/utils/ConfigUtils.ts | 2 +- dapps/ModalUProvider/.env.example | 2 +- dapps/ModalUProvider/src/utils/ConfigUtils.ts | 2 +- dapps/ModalViem/.env.example | 2 +- dapps/ModalViem/src/utils/ConfigUtils.ts | 2 +- dapps/W3MEthers/.env.example | 2 +- dapps/W3MEthers/ios/Podfile.lock | 4 +- dapps/W3MEthers/package.json | 8 +- dapps/W3MEthers/src/App.tsx | 36 +- dapps/W3MEthers/src/utils/SiweUtils.ts | 4 +- dapps/W3MEthers/src/views/ReadContract.tsx | 12 +- dapps/W3MEthers/src/views/SendTransaction.tsx | 12 +- dapps/W3MEthers/src/views/SignMessage.tsx | 12 +- dapps/W3MEthers/src/views/SignTypedDataV4.tsx | 12 +- dapps/W3MEthers/src/views/WriteContract.tsx | 12 +- dapps/W3MEthers/yarn.lock | 318 ++++---- dapps/W3MEthers5/.env.example | 2 +- dapps/W3MEthers5/ios/Podfile.lock | 4 +- dapps/W3MEthers5/package.json | 8 +- dapps/W3MEthers5/src/App.tsx | 32 +- dapps/W3MEthers5/src/utils/SiweUtils.ts | 4 +- dapps/W3MEthers5/src/views/ReadContract.tsx | 12 +- .../W3MEthers5/src/views/SendTransaction.tsx | 12 +- dapps/W3MEthers5/src/views/SignMessage.tsx | 12 +- .../W3MEthers5/src/views/SignTypedDataV4.tsx | 12 +- dapps/W3MEthers5/src/views/WriteContract.tsx | 12 +- dapps/W3MEthers5/yarn.lock | 273 +++---- dapps/W3MWagmi/README.md | 2 +- dapps/W3MWagmi/android/app/build.gradle | 2 +- dapps/W3MWagmi/package.json | 6 +- dapps/W3MWagmi/src/App.tsx | 24 +- dapps/W3MWagmi/src/components/Card.tsx | 2 +- .../Connections/components/ReadContract.tsx | 2 +- .../components/SendTransaction.tsx | 2 +- .../Connections/components/SignMessage.tsx | 2 +- .../components/SignTypedDataV4.tsx | 2 +- .../Connections/components/WriteContract.tsx | 2 +- .../src/screens/Connections/index.tsx | 6 +- .../src/screens/LogList/components/Log.tsx | 2 +- dapps/W3MWagmi/src/utils/SiweUtils.ts | 2 +- dapps/W3MWagmi/yarn.lock | 310 ++++---- dapps/rn_cli_dapp_0_68_5/package.json | 2 +- dapps/rn_cli_dapp_0_68_5/yarn.lock | 680 +++++++++++++++--- wallets/rn_cli_wallet/README.md | 2 +- .../rn_cli_wallet/android/app/build.gradle | 2 +- wallets/rn_cli_wallet/ios/Podfile.lock | 4 +- wallets/rn_cli_wallet/package.json | 4 +- ...eb3Wallet.ts => useInitializeWalletKit.ts} | 8 +- wallets/rn_cli_wallet/src/hooks/useLogs.ts | 6 +- ...anager.ts => useWalletKitEventsManager.ts} | 41 +- .../src/modals/SessionAuthenticateModal.tsx | 21 +- .../src/modals/SessionProposalModal.tsx | 8 +- .../modals/SessionSendTransactionModal.tsx | 6 +- .../src/modals/SessionSignModal.tsx | 6 +- .../src/modals/SessionSignTypedDataModal.tsx | 6 +- wallets/rn_cli_wallet/src/screens/App.tsx | 20 +- .../src/screens/Connections/index.tsx | 6 +- .../src/screens/SessionDetail/index.tsx | 16 +- wallets/rn_cli_wallet/src/store/ModalStore.ts | 2 - ...{WalletConnectUtil.ts => WalletKitUtil.ts} | 24 +- wallets/rn_cli_wallet/yarn.lock | 133 ++-- wallets/rn_cli_wallet_068_5/README.md | 4 +- .../src/utils/Web3WalletClient.ts | 2 +- 65 files changed, 1306 insertions(+), 892 deletions(-) rename wallets/rn_cli_wallet/src/hooks/{useInitializeWeb3Wallet.ts => useInitializeWalletKit.ts} (85%) rename wallets/rn_cli_wallet/src/hooks/{useWalletConnectEventsManager.ts => useWalletKitEventsManager.ts} (73%) rename wallets/rn_cli_wallet/src/utils/{WalletConnectUtil.ts => WalletKitUtil.ts} (76%) diff --git a/README.md b/README.md index 07ff300b..60f271b0 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ React Native examples implementing WalletConnect AppKit and WalletKit ## Getting Started - Ensure your [React Native environment](https://reactnative.dev/docs/next/set-up-your-environment) has been properly setup (XCode, ruby etc). -- Read our [React Native docs](https://docs.walletconnect.com/appkit/react-native/core/installation) +- Read our [React Native docs](https://docs.reown.com/appkit/react-native/core/installation) - Read through the various README files for further information - Submit any issues / feature requests. diff --git a/dapps/ModalEthers/.env.example b/dapps/ModalEthers/.env.example index b6bba221..1b3ed031 100644 --- a/dapps/ModalEthers/.env.example +++ b/dapps/ModalEthers/.env.example @@ -1 +1 @@ -ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.walletconnect.com/ \ No newline at end of file +ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.reown.com/ \ No newline at end of file diff --git a/dapps/ModalEthers/src/utils/ConfigUtils.ts b/dapps/ModalEthers/src/utils/ConfigUtils.ts index 4cf22ba9..9ef1c8a6 100644 --- a/dapps/ModalEthers/src/utils/ConfigUtils.ts +++ b/dapps/ModalEthers/src/utils/ConfigUtils.ts @@ -5,7 +5,7 @@ const providerMetadata: IProviderMetadata = { name: 'Modal with Ethers', description: 'RN example using Ethers 5 by WalletConnect', url: 'https://walletconnect.com/', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'wcmetherssample://', }, diff --git a/dapps/ModalUProvider/.env.example b/dapps/ModalUProvider/.env.example index b2819e01..7c92313a 100644 --- a/dapps/ModalUProvider/.env.example +++ b/dapps/ModalUProvider/.env.example @@ -1,3 +1,3 @@ -ENV_PROJECT_ID='YOUR_ENV_PROJECT_ID' #Get it from https://cloud.walletconnect.com/ +ENV_PROJECT_ID='YOUR_ENV_PROJECT_ID' #Get it from https://cloud.reown.com/ ENV_RELAY_URL='' ENV_SENTRY_DSN='...' \ No newline at end of file diff --git a/dapps/ModalUProvider/src/utils/ConfigUtils.ts b/dapps/ModalUProvider/src/utils/ConfigUtils.ts index d1078c8d..d1acb68a 100644 --- a/dapps/ModalUProvider/src/utils/ConfigUtils.ts +++ b/dapps/ModalUProvider/src/utils/ConfigUtils.ts @@ -5,7 +5,7 @@ const providerMetadata: IProviderMetadata = { name: 'Modal with UProvider', description: 'RN example using Universal Provider by WalletConnect', url: 'https://walletconnect.com/', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'wcmuprovidersample://', }, diff --git a/dapps/ModalViem/.env.example b/dapps/ModalViem/.env.example index b6bba221..1b3ed031 100644 --- a/dapps/ModalViem/.env.example +++ b/dapps/ModalViem/.env.example @@ -1 +1 @@ -ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.walletconnect.com/ \ No newline at end of file +ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.reown.com/ \ No newline at end of file diff --git a/dapps/ModalViem/src/utils/ConfigUtils.ts b/dapps/ModalViem/src/utils/ConfigUtils.ts index 8a258808..d8c260ea 100644 --- a/dapps/ModalViem/src/utils/ConfigUtils.ts +++ b/dapps/ModalViem/src/utils/ConfigUtils.ts @@ -5,7 +5,7 @@ const providerMetadata: IProviderMetadata = { name: 'Modal with Viem', description: 'RN example using Viem by WalletConnect', url: 'https://walletconnect.com/', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'wcmviemsample://', }, diff --git a/dapps/W3MEthers/.env.example b/dapps/W3MEthers/.env.example index b6bba221..1b3ed031 100644 --- a/dapps/W3MEthers/.env.example +++ b/dapps/W3MEthers/.env.example @@ -1 +1 @@ -ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.walletconnect.com/ \ No newline at end of file +ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.reown.com/ \ No newline at end of file diff --git a/dapps/W3MEthers/ios/Podfile.lock b/dapps/W3MEthers/ios/Podfile.lock index f20c157e..6f9bd429 100644 --- a/dapps/W3MEthers/ios/Podfile.lock +++ b/dapps/W3MEthers/ios/Podfile.lock @@ -970,7 +970,7 @@ PODS: - React-Mapbuffer (0.73.4): - glog - React-debug - - react-native-compat (2.15.1): + - react-native-compat (2.16.1): - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1449,7 +1449,7 @@ SPEC CHECKSUMS: React-jsinspector: 9ac353eccf6ab54d1e0a33862ba91221d1e88460 React-logger: 0a57b68dd2aec7ff738195f081f0520724b35dab React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad - react-native-compat: 52cb0d2564c4f73df88a427f14aa81626c33fe32 + react-native-compat: 18a0603ec7be84855f7a908329ea877069d47570 react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74 react-native-mmkv: e97c0c79403fb94577e5d902ab1ebd42b0715b43 react-native-netinfo: 8a7fd3f7130ef4ad2fb4276d5c9f8d3f28d2df3d diff --git a/dapps/W3MEthers/package.json b/dapps/W3MEthers/package.json index 5d1ecaab..928b705b 100644 --- a/dapps/W3MEthers/package.json +++ b/dapps/W3MEthers/package.json @@ -15,10 +15,10 @@ "@react-native-async-storage/async-storage": "1.21.0", "@react-native-clipboard/clipboard": "1.13.2", "@react-native-community/netinfo": "11.2.1", - "@walletconnect/react-native-compat": "2.15.1", - "@web3modal/coinbase-ethers-react-native": "2.0.2", - "@web3modal/email-ethers-react-native": "2.0.2", - "@web3modal/ethers-react-native": "2.0.2", + "@walletconnect/react-native-compat": "2.16.1", + "@reown/appkit-coinbase-ethers-react-native": "1.0.0", + "@reown/appkit-auth-ethers-react-native": "1.0.0", + "@reown/appkit-ethers-react-native": "1.0.0", "ethers": "6.10.0", "expo": "^50.0.0", "react": "18.2.0", diff --git a/dapps/W3MEthers/src/App.tsx b/dapps/W3MEthers/src/App.tsx index e7746347..e9effb5a 100644 --- a/dapps/W3MEthers/src/App.tsx +++ b/dapps/W3MEthers/src/App.tsx @@ -5,15 +5,15 @@ import {Linking, SafeAreaView, StyleSheet} from 'react-native'; import Clipboard from '@react-native-clipboard/clipboard'; import { - createWeb3Modal, + createAppKit, defaultConfig, - W3mButton, - Web3Modal, -} from '@web3modal/ethers-react-native'; -import {FlexView, Text} from '@web3modal/ui-react-native'; + AppKitButton, + AppKit, +} from '@reown/appkit-ethers-react-native'; +import {FlexView, Text} from '@reown/appkit-ui-react-native'; import {handleResponse} from '@coinbase/wallet-mobile-sdk'; -import {CoinbaseProvider} from '@web3modal/coinbase-ethers-react-native'; -import {EmailProvider} from '@web3modal/email-ethers-react-native'; +import {CoinbaseProvider} from '@reown/appkit-coinbase-ethers-react-native'; +import {AuthProvider} from '@reown/appkit-auth-ethers-react-native'; import {ENV_PROJECT_ID} from '@env'; import {SignMessage} from './views/SignMessage'; @@ -24,7 +24,7 @@ import {SignTypedDataV4} from './views/SignTypedDataV4'; import {mainnet, polygon} from './utils/ChainUtils'; import {siweConfig} from './utils/SiweUtils'; -// 1. Get projectId at https://cloud.walletconnect.com +// 1. Get projectId at https://cloud.reown.com const projectId = ENV_PROJECT_ID; // 2. Define your chains @@ -32,10 +32,10 @@ const chains = [mainnet, polygon]; // 3. Create config const metadata = { - name: 'W3M ethers', - description: 'Web3Modal with Ethers', - url: 'https://web3modal.com', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + name: 'AppKit Ethers', + description: 'AppKit with Ethers', + url: 'https://reown.com/appkit', + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'rn-w3m-ethers-sample://', }, @@ -46,11 +46,11 @@ const coinbaseProvider = new CoinbaseProvider({ rpcUrl: mainnet.rpcUrl, }); -const emailProvider = new EmailProvider({projectId, metadata}); +const auth = new AuthProvider({projectId, metadata}); const config = defaultConfig({ metadata, - extraConnectors: [coinbaseProvider, emailProvider], + extraConnectors: [coinbaseProvider, auth], }); const clipboardClient = { @@ -70,7 +70,7 @@ const customWallets = [ ]; // 3. Create modal -createWeb3Modal({ +createAppKit({ projectId, chains, config, @@ -96,17 +96,17 @@ function App(): React.JSX.Element { return ( - Web3Modal + ethers + AppKit + ethers - + - + ); } diff --git a/dapps/W3MEthers/src/utils/SiweUtils.ts b/dapps/W3MEthers/src/utils/SiweUtils.ts index 9b645500..fd11c4d9 100644 --- a/dapps/W3MEthers/src/utils/SiweUtils.ts +++ b/dapps/W3MEthers/src/utils/SiweUtils.ts @@ -3,9 +3,9 @@ import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs, -} from '@web3modal/siwe-react-native'; +} from '@reown/appkit-siwe-react-native'; import {generateRandomBytes32} from '@walletconnect/utils'; -import {createSIWEConfig, formatMessage} from '@web3modal/siwe-react-native'; +import {createSIWEConfig, formatMessage} from '@reown/appkit-siwe-react-native'; import {mainnet, polygon} from './ChainUtils'; import AsyncStorage from '@react-native-async-storage/async-storage'; diff --git a/dapps/W3MEthers/src/views/ReadContract.tsx b/dapps/W3MEthers/src/views/ReadContract.tsx index 32446816..868569a5 100644 --- a/dapps/W3MEthers/src/views/ReadContract.tsx +++ b/dapps/W3MEthers/src/views/ReadContract.tsx @@ -1,12 +1,12 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers-react-native'; import {BrowserProvider, Contract} from 'ethers'; import wagmigotchiABI from '../utils/wagmigotchiABI'; @@ -15,8 +15,8 @@ export function ReadContract() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers/src/views/SendTransaction.tsx b/dapps/W3MEthers/src/views/SendTransaction.tsx index 183eec7d..20c701d0 100644 --- a/dapps/W3MEthers/src/views/SendTransaction.tsx +++ b/dapps/W3MEthers/src/views/SendTransaction.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers-react-native'; import {BrowserProvider, parseEther} from 'ethers'; export function SendTransaction() { @@ -15,8 +15,8 @@ export function SendTransaction() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers/src/views/SignMessage.tsx b/dapps/W3MEthers/src/views/SignMessage.tsx index 1380022a..69d81e3a 100644 --- a/dapps/W3MEthers/src/views/SignMessage.tsx +++ b/dapps/W3MEthers/src/views/SignMessage.tsx @@ -1,21 +1,21 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import {BrowserProvider} from 'ethers'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers-react-native'; export function SignMessage() { const [requestModalVisible, setRequetsModalVisible] = useState(false); const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers/src/views/SignTypedDataV4.tsx b/dapps/W3MEthers/src/views/SignTypedDataV4.tsx index 85c266a0..1f4bd2b2 100644 --- a/dapps/W3MEthers/src/views/SignTypedDataV4.tsx +++ b/dapps/W3MEthers/src/views/SignTypedDataV4.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import {BrowserProvider} from 'ethers'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers-react-native'; import {eip712} from '../utils/eip712'; export function SignTypedDataV4() { @@ -15,8 +15,8 @@ export function SignTypedDataV4() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers/src/views/WriteContract.tsx b/dapps/W3MEthers/src/views/WriteContract.tsx index b3fb2aa0..887079cd 100644 --- a/dapps/W3MEthers/src/views/WriteContract.tsx +++ b/dapps/W3MEthers/src/views/WriteContract.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import usdtAbi from '../utils/usdtAbi'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers-react-native'; import {BrowserProvider, Contract} from 'ethers'; export function WriteContract() { @@ -15,8 +15,8 @@ export function WriteContract() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers/yarn.lock b/dapps/W3MEthers/yarn.lock index d8c20abf..5cdbde94 100644 --- a/dapps/W3MEthers/yarn.lock +++ b/dapps/W3MEthers/yarn.lock @@ -2509,6 +2509,85 @@ invariant "^2.2.4" nullthrows "^1.1.1" +"@reown/appkit-auth-ethers-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-auth-ethers-react-native/-/appkit-auth-ethers-react-native-1.0.0.tgz#6fe4ca46170092668e73ca65da6500294dd71bb6" + integrity sha512-aPBRMU8GYx/XTF2V1CeMfja/FapTPeMMmqSrWAxkomJ4ToUgdlNo5dn1D4Fcf3LLXtA8Rqb/BqZKYf5Krugz8g== + dependencies: + "@reown/appkit-wallet-react-native" "1.0.0" + +"@reown/appkit-coinbase-ethers-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-coinbase-ethers-react-native/-/appkit-coinbase-ethers-react-native-1.0.0.tgz#93846c0809d3f143bf5995735e5cc3abe9013ae9" + integrity sha512-miICkHZ0XV5G47HrbSHSmu3vm3c74Ao2bd6WjsUPycCityP5WYHQODku5idYjIZUUeCm1u5A24PJXjk3ve8ywQ== + +"@reown/appkit-common-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-common-react-native/-/appkit-common-react-native-1.0.0.tgz#bbf172189022588742cf6d757b0276a6f727258c" + integrity sha512-en9iGnqEZCCPAZMI7odyhAKZ784FLU3fmuylKK2gatJmbxuc/4rDM/V8XPyG1I9yoH3DbSF4ePylJTzWbWFqaA== + +"@reown/appkit-core-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-core-react-native/-/appkit-core-react-native-1.0.0.tgz#38ee9490b8cccc815c8ecc2e6ef65b8e429c396b" + integrity sha512-z3jSdvxOdhCkGDv9mG5iy1yE1c6OG0By6KBKPzMHvpZk2qt+kpCsefVhzPIpPwtdqdAZ5ZStSSRcsvj6OGkBHg== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + valtio "1.11.2" + +"@reown/appkit-ethers-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-ethers-react-native/-/appkit-ethers-react-native-1.0.0.tgz#16f86129704ad054de8585771d7c9b2057e1a284" + integrity sha512-HL3OF5nyrwsvveWTRtBavkcqGpZBinQTX/ygf4W/IS5L+j9IrczetfF7SlBsnQRGa4bN5/X5+5R/9dg2OSt5NA== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-scaffold-react-native" "1.0.0" + "@reown/appkit-scaffold-utils-react-native" "1.0.0" + "@reown/appkit-siwe-react-native" "1.0.0" + "@walletconnect/ethereum-provider" "2.16.1" + +"@reown/appkit-scaffold-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-scaffold-react-native/-/appkit-scaffold-react-native-1.0.0.tgz#5088b058463e9fae80bd622c698f53f41358bb57" + integrity sha512-XW1bZc77Mx5tNtIJlwBiKN3QPPBIflEl/BBPKq60MiEShJy+kgZDdfsznoTCyJcuMlSwhgiCQiC/JAS6C9w0WQ== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-siwe-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + +"@reown/appkit-scaffold-utils-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-scaffold-utils-react-native/-/appkit-scaffold-utils-react-native-1.0.0.tgz#c05ce80f869cbac1cbed7a55850278f6f12db7fd" + integrity sha512-KcNHyaiJRPWEl1WU0HcuvF4PozTruDmYwhnbi7Q+vz8d3Kg0aRk55l8snPIZ3UidwuQtwh927RRPZ7EZ15KfXA== + dependencies: + "@reown/appkit-scaffold-react-native" "1.0.0" + +"@reown/appkit-siwe-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-siwe-react-native/-/appkit-siwe-react-native-1.0.0.tgz#494342cfe986bc807d8daf97e669ddd2196d1559" + integrity sha512-ecTtPBM9UQaoE5gzkisL5Erv6vNLIyunqfnwayzxQ5s3r/cqfkMOxa27GqU19A/gdAw4l7Tcxr0KQ6R1ftwOIQ== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + valtio "1.11.2" + +"@reown/appkit-ui-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-ui-react-native/-/appkit-ui-react-native-1.0.0.tgz#9598717c109c7c98245576c5d1ec6dddbce8870e" + integrity sha512-ZiFZnIwsOSaLRlBY75Jzn5fH7khpajuYDxKeKRQ4I9IpPqsYUHUAcwQxekhLMVYQzFxA1O1TXPYcK9jiVAhYpg== + dependencies: + qrcode "1.5.3" + +"@reown/appkit-wallet-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-wallet-react-native/-/appkit-wallet-react-native-1.0.0.tgz#107592d9bfcb50426779a01674adb2e900f96660" + integrity sha512-g84P+j1fEiREmkOOUqfpcG2ajPnn5KfD/VXjMmcBkE1YIQgKWRUJYdV2jdNnyODQcR7bmEOzyq8h6ZIMhJL8XA== + dependencies: + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + zod "3.22.4" + "@segment/loosely-validate-event@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@segment/loosely-validate-event/-/loosely-validate-event-2.0.0.tgz#87dfc979e5b4e7b82c5f1d8b722dfd5d77644681" @@ -2936,10 +3015,10 @@ "@urql/core" ">=2.3.1" wonka "^4.0.14" -"@walletconnect/core@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.1.tgz#a59646e39a5beaa3f3551d129af43cd404cf4faf" - integrity sha512-h0MSYKJu9i1VEs5koCTT7c5YeQ1Kj0ncTFiMqANbDnB1r3mBulXn+FKtZ2fCmf1j7KDpgluuUzpSs+sQfPcv4Q== +"@walletconnect/core@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.1.tgz#019b181387792e0d284e75074b961b48193d9b6a" + integrity sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw== dependencies: "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-provider" "1.0.14" @@ -2948,14 +3027,13 @@ "@walletconnect/jsonrpc-ws-connection" "1.0.14" "@walletconnect/keyvaluestorage" "1.1.1" "@walletconnect/logger" "2.1.2" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" - isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" uint8arrays "3.1.0" @@ -2966,20 +3044,20 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.13.1.tgz#a9bdb8f9da303088b7b724fa98f4b5ca0d46a36d" - integrity sha512-bHJVqb++GrrMGlapsbSvvIyBlwulMGZEx6N5xwAl6ImPVzbDN0g0XmibNkjzJXVsi/+/d0R/HmKS1WyJQSNx3w== +"@walletconnect/ethereum-provider@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.16.1.tgz#4fb8a1df39104ad3fbd02579233e796f432f6d35" + integrity sha512-oD7DNCssUX3plS5gGUZ9JQ63muQB/vxO68X6RzD2wd8gBsYtSPw4BqYFc7KTO6dUizD6gfPirw32yW2pTvy92w== dependencies: "@walletconnect/jsonrpc-http-connection" "1.0.8" "@walletconnect/jsonrpc-provider" "1.0.14" "@walletconnect/jsonrpc-types" "1.0.4" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/modal" "2.6.2" - "@walletconnect/sign-client" "2.13.1" - "@walletconnect/types" "2.13.1" - "@walletconnect/universal-provider" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/sign-client" "2.16.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/universal-provider" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" "@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1": @@ -3095,19 +3173,19 @@ "@walletconnect/modal-core" "2.6.2" "@walletconnect/modal-ui" "2.6.2" -"@walletconnect/react-native-compat@2.15.1": - version "2.15.1" - resolved "https://registry.yarnpkg.com/@walletconnect/react-native-compat/-/react-native-compat-2.15.1.tgz#5d5df9b52cd197eae31cc2a22af481cdfe4fefff" - integrity sha512-49CUBihJHWWYm+gHLnr9ihJHRo52F1NJliz3fdq4dyUsDtxnuSghHU1vE3G+EKd8Z/ckhCVEUNHn1NlOYsGBGw== +"@walletconnect/react-native-compat@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/react-native-compat/-/react-native-compat-2.16.1.tgz#7202cfec115993fdc0abd77b72201fa8a89501eb" + integrity sha512-MoVZAzKOQhnze8fLpS8XiVDRZRDb38AOasBA16jTssX3779HeYQkn0xieLU47OBz3WOMuGv0++6CivoXhwaBEg== dependencies: events "3.3.0" fast-text-encoding "1.0.6" react-native-url-polyfill "2.0.0" -"@walletconnect/relay-api@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" - integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== +"@walletconnect/relay-api@1.0.11": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.11.tgz#80ab7ef2e83c6c173be1a59756f95e515fb63224" + integrity sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q== dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" @@ -3130,19 +3208,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.1.tgz#7bdc9226218fd33caf3aef69dff0b4140abc7fa8" - integrity sha512-e+dcqcLsedB4ZjnePFM5Cy8oxu0dyz5iZfhfKH/MOrQV/hyhZ+hJwh4MmkO2QyEu2PERKs9o2Uc6x8RZdi0UAQ== +"@walletconnect/sign-client@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.1.tgz#94a2f630ba741bd180f540c53576c5ceaace4857" + integrity sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA== dependencies: - "@walletconnect/core" "2.13.1" + "@walletconnect/core" "2.16.1" "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" "@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2": @@ -3152,10 +3230,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.1.tgz#393e3bd4d60a755f3a70cbe769b58cf153450310" - integrity sha512-CIrdt66d38xdunGCy5peOOP17EQkCEGKweXc3+Gn/RWeSiRU35I7wjC/Bp4iWcgAQ6iBTZv4jGGST5XyrOp+Pg== +"@walletconnect/types@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.1.tgz#6583d458d3f7b1919d482ba516ccb7878ec8c91f" + integrity sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA== dependencies: "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" @@ -3164,38 +3242,40 @@ "@walletconnect/logger" "2.1.2" events "3.3.0" -"@walletconnect/universal-provider@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.13.1.tgz#e007c4963ca73fea7c29dc3ca4ca57e2607daafc" - integrity sha512-A/6WysrvzXWtYD933PKjJlj7PGtOWdkwKeRDiD6JEVk5fQ+DQ1x0p5qcUhaa57r3S0p559YvRNvHFFjx+PpMqA== +"@walletconnect/universal-provider@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.16.1.tgz#6d52c41c7388e01f89007956a1117748ab9a11e4" + integrity sha512-q/tyWUVNenizuClEiaekx9FZj/STU1F3wpDK4PUIh3xh+OmUI5fw2dY3MaNDjyb5AyrS0M8BuQDeuoSuOR/Q7w== dependencies: "@walletconnect/jsonrpc-http-connection" "1.0.8" "@walletconnect/jsonrpc-provider" "1.0.14" "@walletconnect/jsonrpc-types" "1.0.4" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" - "@walletconnect/sign-client" "2.13.1" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/sign-client" "2.16.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" -"@walletconnect/utils@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.1.tgz#f44e81028754c6e056dba588ad9b9fa5ad047645" - integrity sha512-EcooXXlqy5hk9hy/nK2wBF/qxe7HjH0K8ZHzjKkXRkwAE5pCvy0IGXIXWmUR9sw8LFJEqZyd8rZdWLKNUe8hqA== +"@walletconnect/utils@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.1.tgz#2099cc2bd16b0edc32022f64aa2c2c323b45d1d4" + integrity sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" "@stablelib/random" "1.0.2" "@stablelib/sha256" "1.0.1" "@stablelib/x25519" "1.0.3" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" + "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" + "@walletconnect/types" "2.16.1" "@walletconnect/window-getters" "1.0.1" "@walletconnect/window-metadata" "1.0.1" detect-browser "5.3.0" + elliptic "^6.5.7" query-string "7.1.3" uint8arrays "3.1.0" @@ -3214,85 +3294,6 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3modal/coinbase-ethers-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/coinbase-ethers-react-native/-/coinbase-ethers-react-native-2.0.2.tgz#0c5f62808fad1b6c2e54f4af0b990dbddf6b2d21" - integrity sha512-3+5ZD/+Kaie4MAG3PsSLt49geKR3SN4APdzlfJsS3W3WRfZZHvEcL9iH1rKqew4PD7snTju5oCJCxtgds6xx6A== - -"@web3modal/common-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/common-react-native/-/common-react-native-2.0.2.tgz#f085d4b904a5d5f0d89b109725f79a5a65608c71" - integrity sha512-nkwkuS5+QIL2OKIMCzGJrao4SCyfQ8y759OmXfkb7RIcshP6PAWfZtW9MCVV4H7qHe7Q5g4BSPpIXPZS8rdPKg== - -"@web3modal/core-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/core-react-native/-/core-react-native-2.0.2.tgz#ed59f60c6592816bb8091e1582e41c2d13a78c58" - integrity sha512-whZNmgYAwQtSZQvzcXWk++hNnpKqaoQvzA0paDtWEHMOqZL/6r7MPSntXoCilgPixc8HRHOOr/IkPWPdrgVuig== - dependencies: - "@web3modal/common-react-native" "2.0.2" - valtio "1.11.2" - -"@web3modal/email-ethers-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/email-ethers-react-native/-/email-ethers-react-native-2.0.2.tgz#d863f507002437331aefa5ff644391a5c644e785" - integrity sha512-OYRRQ8FazkrfVNsJhwGP3cgDt8k18HdqifWYl7asYLgiFxaAlRYN8aZ+/Ue7H6AZUICHpBUj2dU9tGBQb7Pg0w== - dependencies: - "@web3modal/email-react-native" "2.0.2" - -"@web3modal/email-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/email-react-native/-/email-react-native-2.0.2.tgz#8c1161a839cded03988d9a63b8112c29d6c8cb8e" - integrity sha512-ZB1Qg+afo/OV3kZg78Z+HuUyFsF1UUf5pO+IkmSpHqyNeJVbYGDkJiMuu4XQN+tYEAJLOrKhmXgmVb3FCZK6bA== - dependencies: - "@web3modal/core-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - zod "3.22.4" - -"@web3modal/ethers-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/ethers-react-native/-/ethers-react-native-2.0.2.tgz#bece4ffd9506c9c5a605ce4e04f562366d65b913" - integrity sha512-SHX2m8eGstrKc81ansGx2qzyLvPcurz5WcWEepGoFAOJihYWPVo33IDvRLOHkdGACUv92LA+8ebL6764mXsFGg== - dependencies: - "@walletconnect/ethereum-provider" "2.13.1" - "@web3modal/common-react-native" "2.0.2" - "@web3modal/scaffold-react-native" "2.0.2" - "@web3modal/scaffold-utils-react-native" "2.0.2" - "@web3modal/siwe-react-native" "2.0.2" - -"@web3modal/scaffold-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/scaffold-react-native/-/scaffold-react-native-2.0.2.tgz#2b5c726d7bb389a6c7ab1ee1fe8653cb898d080a" - integrity sha512-UqOUS8IL8mFkShZQg3TTZbnAH32haduFJwffwFi5SCo2ARrAbKRszLpCaBhmnMPt5BSV6BdCsu9WRTm5j1zWNQ== - dependencies: - "@web3modal/core-react-native" "2.0.2" - "@web3modal/siwe-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - -"@web3modal/scaffold-utils-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/scaffold-utils-react-native/-/scaffold-utils-react-native-2.0.2.tgz#403603869b94657e347225ce320010b625a26f9f" - integrity sha512-vw6Ht6wEWkZpbF4beA5z+LiFt1esL3MOQ60veQpsP59d3M8jz3HgalUeV2uJjWGZ9kgqZbDOCL+9AEYdqlt62A== - dependencies: - "@web3modal/scaffold-react-native" "2.0.2" - -"@web3modal/siwe-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/siwe-react-native/-/siwe-react-native-2.0.2.tgz#7d727aa1d1c943e3ae26cae6db61715e40fa475e" - integrity sha512-NNdZ6heXDfF7Qq1+2bwABTmkcaF3Ohq/1WqGgj6Cu5A4ZNnyI4wKXJCuobNUmhFtbWMQkc4ZxT6XF8QNsdu2rQ== - dependencies: - "@walletconnect/utils" "2.13.1" - "@web3modal/common-react-native" "2.0.2" - "@web3modal/core-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - valtio "1.11.2" - -"@web3modal/ui-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/ui-react-native/-/ui-react-native-2.0.2.tgz#be73dd3f3d4c19624fe34cb0534f07f99d094b22" - integrity sha512-ZVRPD9fkSSijtrVqFt2W0komy4dT+Nr4x5wGWrFK9fruXpdTNPeoVbjY+OqSeoThf1r8MOnxyoZe57MNddvH5Q== - dependencies: - qrcode "1.5.3" - "@xmldom/xmldom@^0.8.8": version "0.8.10" resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.10.tgz#a1337ca426aa61cef9fe15b5b28e340a72f6fa99" @@ -3766,6 +3767,11 @@ bn.js@5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== +bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -3807,6 +3813,11 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" +brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== + browserslist@^4.22.2: version "4.22.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.3.tgz#299d11b7e947a6b843981392721169e27d60c5a6" @@ -4623,6 +4634,19 @@ electron-to-chromium@^1.4.648: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.657.tgz#8a07ee3faa552976970843a80a1c94088ea59c9a" integrity sha512-On2ymeleg6QbRuDk7wNgDdXtNqlJLM2w4Agx1D/RiTmItiL+a9oq5p7HUa2ZtkAtGBe/kil2dq/7rPfkbe0r5w== +elliptic@^6.5.7: + version "6.5.7" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b" + integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" @@ -5702,6 +5726,14 @@ has-tostringtag@^1.0.0, has-tostringtag@^1.0.1: dependencies: has-symbols "^1.0.3" +hash.js@^1.0.0, hash.js@^1.0.3: + version "1.1.7" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + hasown@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" @@ -5745,6 +5777,15 @@ hey-listen@^1.0.8: resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg== + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + hosted-git-info@^3.0.2: version "3.0.8" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" @@ -6260,14 +6301,6 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== -isomorphic-unfetch@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" - integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== - dependencies: - node-fetch "^2.6.1" - unfetch "^4.2.0" - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" @@ -7439,6 +7472,16 @@ mimic-fn@^4.0.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== + "minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -9667,11 +9710,6 @@ unenv@^1.9.0: node-fetch-native "^1.6.1" pathe "^1.1.1" -unfetch@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" - integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" diff --git a/dapps/W3MEthers5/.env.example b/dapps/W3MEthers5/.env.example index b6bba221..1b3ed031 100644 --- a/dapps/W3MEthers5/.env.example +++ b/dapps/W3MEthers5/.env.example @@ -1 +1 @@ -ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.walletconnect.com/ \ No newline at end of file +ENV_PROJECT_ID='YOUR_PROJECT_ID' #Get it from https://cloud.reown.com/ \ No newline at end of file diff --git a/dapps/W3MEthers5/ios/Podfile.lock b/dapps/W3MEthers5/ios/Podfile.lock index f22d3a2f..f275cff2 100644 --- a/dapps/W3MEthers5/ios/Podfile.lock +++ b/dapps/W3MEthers5/ios/Podfile.lock @@ -944,7 +944,7 @@ PODS: - React-Mapbuffer (0.73.4): - glog - React-debug - - react-native-compat (2.15.1): + - react-native-compat (2.16.1): - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1383,7 +1383,7 @@ SPEC CHECKSUMS: React-jsinspector: 9ac353eccf6ab54d1e0a33862ba91221d1e88460 React-logger: 0a57b68dd2aec7ff738195f081f0520724b35dab React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad - react-native-compat: 52cb0d2564c4f73df88a427f14aa81626c33fe32 + react-native-compat: 18a0603ec7be84855f7a908329ea877069d47570 react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74 react-native-netinfo: 8a7fd3f7130ef4ad2fb4276d5c9f8d3f28d2df3d react-native-webview: a9454e7b9a99dc4c3fc865fd92de3e95d2eb79d2 diff --git a/dapps/W3MEthers5/package.json b/dapps/W3MEthers5/package.json index 29ebcf3f..831f045f 100644 --- a/dapps/W3MEthers5/package.json +++ b/dapps/W3MEthers5/package.json @@ -1,5 +1,5 @@ { - "name": "web3modal-ethers5", + "name": "appkit-ethers5", "version": "0.0.1", "private": true, "scripts": { @@ -15,9 +15,9 @@ "@react-native-async-storage/async-storage": "1.21.0", "@react-native-clipboard/clipboard": "1.13.2", "@react-native-community/netinfo": "11.2.1", - "@walletconnect/react-native-compat": "2.15.1", - "@web3modal/email-ethers-react-native": "2.0.2", - "@web3modal/ethers5-react-native": "2.0.2", + "@walletconnect/react-native-compat": "2.16.1", + "@reown/appkit-auth-ethers-react-native": "1.0.0", + "@reown/appkit-ethers5-react-native": "1.0.0", "ethers": "5.7.2", "react": "18.2.0", "react-native": "0.73.4", diff --git a/dapps/W3MEthers5/src/App.tsx b/dapps/W3MEthers5/src/App.tsx index da503f87..717a46e6 100644 --- a/dapps/W3MEthers5/src/App.tsx +++ b/dapps/W3MEthers5/src/App.tsx @@ -6,13 +6,13 @@ import {SafeAreaView, StyleSheet} from 'react-native'; import Clipboard from '@react-native-clipboard/clipboard'; import { - createWeb3Modal, + createAppKit, defaultConfig, - W3mButton, - Web3Modal, -} from '@web3modal/ethers5-react-native'; -import {FlexView, Text} from '@web3modal/ui-react-native'; -import {EmailProvider} from '@web3modal/email-ethers-react-native'; + AppKitButton, + AppKit, +} from '@reown/appkit-ethers5-react-native'; +import {FlexView, Text} from '@reown/appkit-ui-react-native'; +import {AuthProvider} from '@reown/appkit-auth-ethers-react-native'; import {ENV_PROJECT_ID} from '@env'; import {SignMessage} from './views/SignMessage'; @@ -22,25 +22,25 @@ import {WriteContract} from './views/WriteContract'; import {SignTypedDataV4} from './views/SignTypedDataV4'; import {siweConfig} from './utils/SiweUtils'; -// 1. Get projectId at https://cloud.walletconnect.com +// 1. Get projectId at https://cloud.reown.com const projectId = ENV_PROJECT_ID; // 2. Create config const metadata = { name: 'W3M ethers5', - description: 'Web3Modal with Ethers v5', - url: 'https://web3modal.com', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + description: 'AppKit with Ethers v5', + url: 'https://reown.com/appkit', + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'rn-w3m-ethers5-sample://', }, }; -const emailProvider = new EmailProvider({projectId, metadata}); +const auth = new AuthProvider({projectId, metadata}); const config = defaultConfig({ metadata, - extraConnectors: [emailProvider], + extraConnectors: [auth], }); // 3. Define your chains @@ -79,7 +79,7 @@ const customWallets = [ ]; // 3. Create modal -createWeb3Modal({ +createAppKit({ projectId, chains, config, @@ -93,17 +93,17 @@ function App(): React.JSX.Element { return ( - Web3Modal + ethers 5 + AppKit + ethers 5 - + - + ); } diff --git a/dapps/W3MEthers5/src/utils/SiweUtils.ts b/dapps/W3MEthers5/src/utils/SiweUtils.ts index e8046041..dacbc512 100644 --- a/dapps/W3MEthers5/src/utils/SiweUtils.ts +++ b/dapps/W3MEthers5/src/utils/SiweUtils.ts @@ -3,9 +3,9 @@ import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs, -} from '@web3modal/siwe-react-native'; +} from '@reown/appkit-siwe-react-native'; import {generateRandomBytes32} from '@walletconnect/utils'; -import {createSIWEConfig, formatMessage} from '@web3modal/siwe-react-native'; +import {createSIWEConfig, formatMessage} from '@reown/appkit-siwe-react-native'; import {mainnet, polygon} from './ChainUtils'; import AsyncStorage from '@react-native-async-storage/async-storage'; diff --git a/dapps/W3MEthers5/src/views/ReadContract.tsx b/dapps/W3MEthers5/src/views/ReadContract.tsx index 98f70d43..59f60f2d 100644 --- a/dapps/W3MEthers5/src/views/ReadContract.tsx +++ b/dapps/W3MEthers5/src/views/ReadContract.tsx @@ -1,12 +1,12 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers5-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers5-react-native'; import {ethers} from 'ethers'; import wagmigotchiABI from '../utils/wagmigotchiABI'; @@ -15,8 +15,8 @@ export function ReadContract() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers5/src/views/SendTransaction.tsx b/dapps/W3MEthers5/src/views/SendTransaction.tsx index 05d5967a..cea3be36 100644 --- a/dapps/W3MEthers5/src/views/SendTransaction.tsx +++ b/dapps/W3MEthers5/src/views/SendTransaction.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers5-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers5-react-native'; import {ethers} from 'ethers'; export function SendTransaction() { @@ -15,8 +15,8 @@ export function SendTransaction() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers5/src/views/SignMessage.tsx b/dapps/W3MEthers5/src/views/SignMessage.tsx index 4ea1dac5..90296320 100644 --- a/dapps/W3MEthers5/src/views/SignMessage.tsx +++ b/dapps/W3MEthers5/src/views/SignMessage.tsx @@ -1,21 +1,21 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import {ethers} from 'ethers'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers5-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers5-react-native'; export function SignMessage() { const [requestModalVisible, setRequetsModalVisible] = useState(false); const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers5/src/views/SignTypedDataV4.tsx b/dapps/W3MEthers5/src/views/SignTypedDataV4.tsx index 719f372b..a1df83fd 100644 --- a/dapps/W3MEthers5/src/views/SignTypedDataV4.tsx +++ b/dapps/W3MEthers5/src/views/SignTypedDataV4.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers5-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers5-react-native'; import {eip712} from '../utils/eip712'; import {ethers} from 'ethers'; @@ -16,8 +16,8 @@ export function SignTypedDataV4() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers5/src/views/WriteContract.tsx b/dapps/W3MEthers5/src/views/WriteContract.tsx index 7f69e869..2b6f4bc1 100644 --- a/dapps/W3MEthers5/src/views/WriteContract.tsx +++ b/dapps/W3MEthers5/src/views/WriteContract.tsx @@ -1,13 +1,13 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {RequestModal} from '../components/RequestModal'; import usdtAbi from '../utils/usdtAbi'; import { - useWeb3ModalAccount, - useWeb3ModalProvider, -} from '@web3modal/ethers5-react-native'; + useAppKitAccount, + useAppKitProvider, +} from '@reown/appkit-ethers5-react-native'; import {ethers} from 'ethers'; export function WriteContract() { @@ -15,8 +15,8 @@ export function WriteContract() { const [isLoading, setIsLoading] = useState(false); const [data, setData] = useState(); const [error, setError] = useState(false); - const {walletProvider} = useWeb3ModalProvider(); - const {isConnected} = useWeb3ModalAccount(); + const {walletProvider} = useAppKitProvider(); + const {isConnected} = useAppKitAccount(); const onPress = async () => { if (!isConnected || !walletProvider) { diff --git a/dapps/W3MEthers5/yarn.lock b/dapps/W3MEthers5/yarn.lock index 63e5fce8..2725aa15 100644 --- a/dapps/W3MEthers5/yarn.lock +++ b/dapps/W3MEthers5/yarn.lock @@ -2399,6 +2399,80 @@ invariant "^2.2.4" nullthrows "^1.1.1" +"@reown/appkit-auth-ethers-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-auth-ethers-react-native/-/appkit-auth-ethers-react-native-1.0.0.tgz#6fe4ca46170092668e73ca65da6500294dd71bb6" + integrity sha512-aPBRMU8GYx/XTF2V1CeMfja/FapTPeMMmqSrWAxkomJ4ToUgdlNo5dn1D4Fcf3LLXtA8Rqb/BqZKYf5Krugz8g== + dependencies: + "@reown/appkit-wallet-react-native" "1.0.0" + +"@reown/appkit-common-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-common-react-native/-/appkit-common-react-native-1.0.0.tgz#bbf172189022588742cf6d757b0276a6f727258c" + integrity sha512-en9iGnqEZCCPAZMI7odyhAKZ784FLU3fmuylKK2gatJmbxuc/4rDM/V8XPyG1I9yoH3DbSF4ePylJTzWbWFqaA== + +"@reown/appkit-core-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-core-react-native/-/appkit-core-react-native-1.0.0.tgz#38ee9490b8cccc815c8ecc2e6ef65b8e429c396b" + integrity sha512-z3jSdvxOdhCkGDv9mG5iy1yE1c6OG0By6KBKPzMHvpZk2qt+kpCsefVhzPIpPwtdqdAZ5ZStSSRcsvj6OGkBHg== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + valtio "1.11.2" + +"@reown/appkit-ethers5-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-ethers5-react-native/-/appkit-ethers5-react-native-1.0.0.tgz#72f67115cc856dba7b4fa35d2b7a5e0b4c212cc8" + integrity sha512-CKHTGJjkKdJZapVoHCe/mHxeaGGXja3VGpQXKsh6FBCHRKlTstZZmYSNtBideDwtRJqCcBXmWDnlIrOV0qNwmg== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-scaffold-react-native" "1.0.0" + "@reown/appkit-scaffold-utils-react-native" "1.0.0" + "@reown/appkit-siwe-react-native" "1.0.0" + "@walletconnect/ethereum-provider" "2.16.1" + +"@reown/appkit-scaffold-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-scaffold-react-native/-/appkit-scaffold-react-native-1.0.0.tgz#5088b058463e9fae80bd622c698f53f41358bb57" + integrity sha512-XW1bZc77Mx5tNtIJlwBiKN3QPPBIflEl/BBPKq60MiEShJy+kgZDdfsznoTCyJcuMlSwhgiCQiC/JAS6C9w0WQ== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-siwe-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + +"@reown/appkit-scaffold-utils-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-scaffold-utils-react-native/-/appkit-scaffold-utils-react-native-1.0.0.tgz#c05ce80f869cbac1cbed7a55850278f6f12db7fd" + integrity sha512-KcNHyaiJRPWEl1WU0HcuvF4PozTruDmYwhnbi7Q+vz8d3Kg0aRk55l8snPIZ3UidwuQtwh927RRPZ7EZ15KfXA== + dependencies: + "@reown/appkit-scaffold-react-native" "1.0.0" + +"@reown/appkit-siwe-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-siwe-react-native/-/appkit-siwe-react-native-1.0.0.tgz#494342cfe986bc807d8daf97e669ddd2196d1559" + integrity sha512-ecTtPBM9UQaoE5gzkisL5Erv6vNLIyunqfnwayzxQ5s3r/cqfkMOxa27GqU19A/gdAw4l7Tcxr0KQ6R1ftwOIQ== + dependencies: + "@reown/appkit-common-react-native" "1.0.0" + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + valtio "1.11.2" + +"@reown/appkit-ui-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-ui-react-native/-/appkit-ui-react-native-1.0.0.tgz#9598717c109c7c98245576c5d1ec6dddbce8870e" + integrity sha512-ZiFZnIwsOSaLRlBY75Jzn5fH7khpajuYDxKeKRQ4I9IpPqsYUHUAcwQxekhLMVYQzFxA1O1TXPYcK9jiVAhYpg== + dependencies: + qrcode "1.5.3" + +"@reown/appkit-wallet-react-native@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@reown/appkit-wallet-react-native/-/appkit-wallet-react-native-1.0.0.tgz#107592d9bfcb50426779a01674adb2e900f96660" + integrity sha512-g84P+j1fEiREmkOOUqfpcG2ajPnn5KfD/VXjMmcBkE1YIQgKWRUJYdV2jdNnyODQcR7bmEOzyq8h6ZIMhJL8XA== + dependencies: + "@reown/appkit-core-react-native" "1.0.0" + "@reown/appkit-ui-react-native" "1.0.0" + zod "3.22.4" + "@sideway/address@^4.1.5": version "4.1.5" resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" @@ -2789,10 +2863,10 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@walletconnect/core@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.1.tgz#a59646e39a5beaa3f3551d129af43cd404cf4faf" - integrity sha512-h0MSYKJu9i1VEs5koCTT7c5YeQ1Kj0ncTFiMqANbDnB1r3mBulXn+FKtZ2fCmf1j7KDpgluuUzpSs+sQfPcv4Q== +"@walletconnect/core@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.16.1.tgz#019b181387792e0d284e75074b961b48193d9b6a" + integrity sha512-UlsnEMT5wwFvmxEjX8s4oju7R3zadxNbZgsFeHEsjh7uknY2zgmUe1Lfc5XU6zyPb1Jx7Nqpdx1KN485ee8ogw== dependencies: "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-provider" "1.0.14" @@ -2801,14 +2875,13 @@ "@walletconnect/jsonrpc-ws-connection" "1.0.14" "@walletconnect/keyvaluestorage" "1.1.1" "@walletconnect/logger" "2.1.2" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" - isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" uint8arrays "3.1.0" @@ -2819,20 +2892,20 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.13.1.tgz#a9bdb8f9da303088b7b724fa98f4b5ca0d46a36d" - integrity sha512-bHJVqb++GrrMGlapsbSvvIyBlwulMGZEx6N5xwAl6ImPVzbDN0g0XmibNkjzJXVsi/+/d0R/HmKS1WyJQSNx3w== +"@walletconnect/ethereum-provider@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.16.1.tgz#4fb8a1df39104ad3fbd02579233e796f432f6d35" + integrity sha512-oD7DNCssUX3plS5gGUZ9JQ63muQB/vxO68X6RzD2wd8gBsYtSPw4BqYFc7KTO6dUizD6gfPirw32yW2pTvy92w== dependencies: "@walletconnect/jsonrpc-http-connection" "1.0.8" "@walletconnect/jsonrpc-provider" "1.0.14" "@walletconnect/jsonrpc-types" "1.0.4" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/modal" "2.6.2" - "@walletconnect/sign-client" "2.13.1" - "@walletconnect/types" "2.13.1" - "@walletconnect/universal-provider" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/sign-client" "2.16.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/universal-provider" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" "@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1": @@ -2948,19 +3021,19 @@ "@walletconnect/modal-core" "2.6.2" "@walletconnect/modal-ui" "2.6.2" -"@walletconnect/react-native-compat@2.15.1": - version "2.15.1" - resolved "https://registry.yarnpkg.com/@walletconnect/react-native-compat/-/react-native-compat-2.15.1.tgz#5d5df9b52cd197eae31cc2a22af481cdfe4fefff" - integrity sha512-49CUBihJHWWYm+gHLnr9ihJHRo52F1NJliz3fdq4dyUsDtxnuSghHU1vE3G+EKd8Z/ckhCVEUNHn1NlOYsGBGw== +"@walletconnect/react-native-compat@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/react-native-compat/-/react-native-compat-2.16.1.tgz#7202cfec115993fdc0abd77b72201fa8a89501eb" + integrity sha512-MoVZAzKOQhnze8fLpS8XiVDRZRDb38AOasBA16jTssX3779HeYQkn0xieLU47OBz3WOMuGv0++6CivoXhwaBEg== dependencies: events "3.3.0" fast-text-encoding "1.0.6" react-native-url-polyfill "2.0.0" -"@walletconnect/relay-api@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" - integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== +"@walletconnect/relay-api@1.0.11": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.11.tgz#80ab7ef2e83c6c173be1a59756f95e515fb63224" + integrity sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q== dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" @@ -2983,19 +3056,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.1.tgz#7bdc9226218fd33caf3aef69dff0b4140abc7fa8" - integrity sha512-e+dcqcLsedB4ZjnePFM5Cy8oxu0dyz5iZfhfKH/MOrQV/hyhZ+hJwh4MmkO2QyEu2PERKs9o2Uc6x8RZdi0UAQ== +"@walletconnect/sign-client@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.16.1.tgz#94a2f630ba741bd180f540c53576c5ceaace4857" + integrity sha512-s2Tx2n2duxt+sHtuWXrN9yZVaHaYqcEcjwlTD+55/vs5NUPlISf+fFmZLwSeX1kUlrSBrAuxPUcqQuRTKcjLOA== dependencies: - "@walletconnect/core" "2.13.1" + "@walletconnect/core" "2.16.1" "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" "@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2": @@ -3005,10 +3078,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.1.tgz#393e3bd4d60a755f3a70cbe769b58cf153450310" - integrity sha512-CIrdt66d38xdunGCy5peOOP17EQkCEGKweXc3+Gn/RWeSiRU35I7wjC/Bp4iWcgAQ6iBTZv4jGGST5XyrOp+Pg== +"@walletconnect/types@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.16.1.tgz#6583d458d3f7b1919d482ba516ccb7878ec8c91f" + integrity sha512-9P4RG4VoDEF+yBF/n2TF12gsvT/aTaeZTVDb/AOayafqiPnmrQZMKmNCJJjq1sfdsDcHXFcZWMGsuCeSJCmrXA== dependencies: "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" @@ -3017,38 +3090,40 @@ "@walletconnect/logger" "2.1.2" events "3.3.0" -"@walletconnect/universal-provider@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.13.1.tgz#e007c4963ca73fea7c29dc3ca4ca57e2607daafc" - integrity sha512-A/6WysrvzXWtYD933PKjJlj7PGtOWdkwKeRDiD6JEVk5fQ+DQ1x0p5qcUhaa57r3S0p559YvRNvHFFjx+PpMqA== +"@walletconnect/universal-provider@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.16.1.tgz#6d52c41c7388e01f89007956a1117748ab9a11e4" + integrity sha512-q/tyWUVNenizuClEiaekx9FZj/STU1F3wpDK4PUIh3xh+OmUI5fw2dY3MaNDjyb5AyrS0M8BuQDeuoSuOR/Q7w== dependencies: "@walletconnect/jsonrpc-http-connection" "1.0.8" "@walletconnect/jsonrpc-provider" "1.0.14" "@walletconnect/jsonrpc-types" "1.0.4" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" - "@walletconnect/sign-client" "2.13.1" - "@walletconnect/types" "2.13.1" - "@walletconnect/utils" "2.13.1" + "@walletconnect/sign-client" "2.16.1" + "@walletconnect/types" "2.16.1" + "@walletconnect/utils" "2.16.1" events "3.3.0" -"@walletconnect/utils@2.13.1": - version "2.13.1" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.1.tgz#f44e81028754c6e056dba588ad9b9fa5ad047645" - integrity sha512-EcooXXlqy5hk9hy/nK2wBF/qxe7HjH0K8ZHzjKkXRkwAE5pCvy0IGXIXWmUR9sw8LFJEqZyd8rZdWLKNUe8hqA== +"@walletconnect/utils@2.16.1": + version "2.16.1" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.16.1.tgz#2099cc2bd16b0edc32022f64aa2c2c323b45d1d4" + integrity sha512-aoQirVoDoiiEtYeYDtNtQxFzwO/oCrz9zqeEEXYJaAwXlGVTS34KFe7W3/Rxd/pldTYKFOZsku2EzpISfH8Wsw== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" "@stablelib/random" "1.0.2" "@stablelib/sha256" "1.0.1" "@stablelib/x25519" "1.0.3" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" + "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.13.1" + "@walletconnect/types" "2.16.1" "@walletconnect/window-getters" "1.0.1" "@walletconnect/window-metadata" "1.0.1" detect-browser "5.3.0" + elliptic "^6.5.7" query-string "7.1.3" uint8arrays "3.1.0" @@ -3067,80 +3142,6 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3modal/common-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/common-react-native/-/common-react-native-2.0.2.tgz#f085d4b904a5d5f0d89b109725f79a5a65608c71" - integrity sha512-nkwkuS5+QIL2OKIMCzGJrao4SCyfQ8y759OmXfkb7RIcshP6PAWfZtW9MCVV4H7qHe7Q5g4BSPpIXPZS8rdPKg== - -"@web3modal/core-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/core-react-native/-/core-react-native-2.0.2.tgz#ed59f60c6592816bb8091e1582e41c2d13a78c58" - integrity sha512-whZNmgYAwQtSZQvzcXWk++hNnpKqaoQvzA0paDtWEHMOqZL/6r7MPSntXoCilgPixc8HRHOOr/IkPWPdrgVuig== - dependencies: - "@web3modal/common-react-native" "2.0.2" - valtio "1.11.2" - -"@web3modal/email-ethers-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/email-ethers-react-native/-/email-ethers-react-native-2.0.2.tgz#d863f507002437331aefa5ff644391a5c644e785" - integrity sha512-OYRRQ8FazkrfVNsJhwGP3cgDt8k18HdqifWYl7asYLgiFxaAlRYN8aZ+/Ue7H6AZUICHpBUj2dU9tGBQb7Pg0w== - dependencies: - "@web3modal/email-react-native" "2.0.2" - -"@web3modal/email-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/email-react-native/-/email-react-native-2.0.2.tgz#8c1161a839cded03988d9a63b8112c29d6c8cb8e" - integrity sha512-ZB1Qg+afo/OV3kZg78Z+HuUyFsF1UUf5pO+IkmSpHqyNeJVbYGDkJiMuu4XQN+tYEAJLOrKhmXgmVb3FCZK6bA== - dependencies: - "@web3modal/core-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - zod "3.22.4" - -"@web3modal/ethers5-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/ethers5-react-native/-/ethers5-react-native-2.0.2.tgz#2c92a115d5185fadd2a92e85badf3fffe1dbc14b" - integrity sha512-EQJjO2oFcdYszIp3dbhkLg2NogzG8wyKYDyDrom3zNkwVNEDJItPh54izYzo6rFtKFKJKlpdNcop+BrTCBz6Qg== - dependencies: - "@walletconnect/ethereum-provider" "2.13.1" - "@web3modal/common-react-native" "2.0.2" - "@web3modal/scaffold-react-native" "2.0.2" - "@web3modal/scaffold-utils-react-native" "2.0.2" - "@web3modal/siwe-react-native" "2.0.2" - -"@web3modal/scaffold-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/scaffold-react-native/-/scaffold-react-native-2.0.2.tgz#2b5c726d7bb389a6c7ab1ee1fe8653cb898d080a" - integrity sha512-UqOUS8IL8mFkShZQg3TTZbnAH32haduFJwffwFi5SCo2ARrAbKRszLpCaBhmnMPt5BSV6BdCsu9WRTm5j1zWNQ== - dependencies: - "@web3modal/core-react-native" "2.0.2" - "@web3modal/siwe-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - -"@web3modal/scaffold-utils-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/scaffold-utils-react-native/-/scaffold-utils-react-native-2.0.2.tgz#403603869b94657e347225ce320010b625a26f9f" - integrity sha512-vw6Ht6wEWkZpbF4beA5z+LiFt1esL3MOQ60veQpsP59d3M8jz3HgalUeV2uJjWGZ9kgqZbDOCL+9AEYdqlt62A== - dependencies: - "@web3modal/scaffold-react-native" "2.0.2" - -"@web3modal/siwe-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/siwe-react-native/-/siwe-react-native-2.0.2.tgz#7d727aa1d1c943e3ae26cae6db61715e40fa475e" - integrity sha512-NNdZ6heXDfF7Qq1+2bwABTmkcaF3Ohq/1WqGgj6Cu5A4ZNnyI4wKXJCuobNUmhFtbWMQkc4ZxT6XF8QNsdu2rQ== - dependencies: - "@walletconnect/utils" "2.13.1" - "@web3modal/common-react-native" "2.0.2" - "@web3modal/core-react-native" "2.0.2" - "@web3modal/ui-react-native" "2.0.2" - valtio "1.11.2" - -"@web3modal/ui-react-native@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3modal/ui-react-native/-/ui-react-native-2.0.2.tgz#be73dd3f3d4c19624fe34cb0534f07f99d094b22" - integrity sha512-ZVRPD9fkSSijtrVqFt2W0komy4dT+Nr4x5wGWrFK9fruXpdTNPeoVbjY+OqSeoThf1r8MOnxyoZe57MNddvH5Q== - dependencies: - qrcode "1.5.3" - abort-controller@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" @@ -4161,6 +4162,19 @@ elliptic@6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.7: + version "6.5.7" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.7.tgz#8ec4da2cb2939926a1b9a73619d768207e647c8b" + integrity sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" @@ -5493,14 +5507,6 @@ isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== -isomorphic-unfetch@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" - integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== - dependencies: - node-fetch "^2.6.1" - unfetch "^4.2.0" - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" @@ -6674,7 +6680,7 @@ node-fetch-native@^1.4.0, node-fetch-native@^1.4.1, node-fetch-native@^1.6.1: resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.1.tgz#f95c74917d3cebc794cdae0cd2a9c7594aad0cb4" integrity sha512-bW9T/uJDPAJB2YNYEpWzE54U5O3MQidXsOyTfnbKYtTtFexRvGzb1waphBN4ZwP6EcIvYYEOwW0b72BpAqydTw== -node-fetch@^2.2.0, node-fetch@^2.6.0, node-fetch@^2.6.1, node-fetch@^2.6.12: +node-fetch@^2.2.0, node-fetch@^2.6.0, node-fetch@^2.6.12: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -8257,11 +8263,6 @@ unenv@^1.9.0: node-fetch-native "^1.6.1" pathe "^1.1.1" -unfetch@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" - integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== - unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" diff --git a/dapps/W3MWagmi/README.md b/dapps/W3MWagmi/README.md index 039e46f9..8f6e8d4f 100644 --- a/dapps/W3MWagmi/README.md +++ b/dapps/W3MWagmi/README.md @@ -17,7 +17,7 @@ In order to build the app successfuly, you'll need some extra files chmod +x ./scripts/copy-sample-files.sh && ./scripts/copy-sample-files.sh ``` -## Step 3: Open .env.debug file and replace **ENV_PROJECT_ID with your [Cloud Project ID](https://cloud.walletconnect.com/) +## Step 3: Open .env.debug file and replace **ENV_PROJECT_ID with your [Cloud Project ID](https://cloud.reown.com/) ## Step 4: Start your Application diff --git a/dapps/W3MWagmi/android/app/build.gradle b/dapps/W3MWagmi/android/app/build.gradle index fdd80870..226cb81d 100644 --- a/dapps/W3MWagmi/android/app/build.gradle +++ b/dapps/W3MWagmi/android/app/build.gradle @@ -102,7 +102,7 @@ android { applicationId "com.walletconnect.web3modal.rnsample" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 58 + versionCode 60 versionName "1.1" resValue "string", "build_config_package", "com.w3mwagmi" } diff --git a/dapps/W3MWagmi/package.json b/dapps/W3MWagmi/package.json index 23b311e8..afa66166 100644 --- a/dapps/W3MWagmi/package.json +++ b/dapps/W3MWagmi/package.json @@ -20,12 +20,12 @@ "@react-navigation/bottom-tabs": "6.6.1", "@react-navigation/native": "6.1.18", "@react-navigation/native-stack": "6.10.1", + "@reown/appkit-auth-wagmi-react-native": "1.0.0", + "@reown/appkit-coinbase-wagmi-react-native": "1.0.0", + "@reown/appkit-wagmi-react-native": "1.0.0", "@sentry/react-native": "5.20.0", "@tanstack/react-query": "5.51.1", "@walletconnect/react-native-compat": "2.16.0", - "@web3modal/coinbase-wagmi-react-native": "2.0.4", - "@web3modal/email-wagmi-react-native": "2.0.4", - "@web3modal/wagmi-react-native": "2.0.4", "expo": "51.0.20", "react": "18.2.0", "react-native": "0.74.3", diff --git a/dapps/W3MWagmi/src/App.tsx b/dapps/W3MWagmi/src/App.tsx index 51cf2f19..9f859d78 100644 --- a/dapps/W3MWagmi/src/App.tsx +++ b/dapps/W3MWagmi/src/App.tsx @@ -3,13 +3,13 @@ import React, {useEffect} from 'react'; import {Linking} from 'react-native'; import BootSplash from 'react-native-bootsplash'; import { - createWeb3Modal, + createAppKit, defaultWagmiConfig, - Web3Modal, -} from '@web3modal/wagmi-react-native'; + AppKit, +} from '@reown/appkit-wagmi-react-native'; -import {coinbaseConnector} from '@web3modal/coinbase-wagmi-react-native'; -import {emailConnector} from '@web3modal/email-wagmi-react-native'; +import {coinbaseConnector} from '@reown/appkit-coinbase-wagmi-react-native'; +import {authConnector} from '@reown/appkit-auth-wagmi-react-native'; import {WagmiProvider} from 'wagmi'; import {handleResponse} from '@coinbase/wallet-mobile-sdk'; import Toast from 'react-native-toast-message'; @@ -38,9 +38,9 @@ const projectId = Config.ENV_PROJECT_ID; // 2. Create config const metadata = { name: 'AppKit + wagmi', - description: 'AppKit + wagmi', - url: 'https://walletconnect.com', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + description: 'AppKit Reown', + url: 'https://reown.com/appkit', + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'w3mwagmisample://', universal: 'https://lab.web3modal.com/rn_appkit', @@ -58,7 +58,7 @@ const _coinbaseConnector = coinbaseConnector({ redirect: metadata?.redirect?.native || '', }); -const _emailConnector = emailConnector({ +const _authConnector = authConnector({ projectId, metadata, }); @@ -67,13 +67,13 @@ const wagmiConfig = defaultWagmiConfig({ chains, projectId, metadata, - extraConnectors: [_coinbaseConnector, _emailConnector], + extraConnectors: [_coinbaseConnector, _authConnector], }); const customWallets = getCustomWallets(); // 3. Create modal -createWeb3Modal({ +createAppKit({ projectId, wagmiConfig, metadata, @@ -122,7 +122,7 @@ function App(): JSX.Element { - + diff --git a/dapps/W3MWagmi/src/components/Card.tsx b/dapps/W3MWagmi/src/components/Card.tsx index a301f33f..43cbd462 100644 --- a/dapps/W3MWagmi/src/components/Card.tsx +++ b/dapps/W3MWagmi/src/components/Card.tsx @@ -7,7 +7,7 @@ import { ViewStyle, View, } from 'react-native'; -import {Icon, IconProps} from '@web3modal/ui-react-native'; +import {Icon, IconProps} from '@reown/appkit-ui-react-native'; import {useTheme} from '@/hooks/useTheme'; diff --git a/dapps/W3MWagmi/src/screens/Connections/components/ReadContract.tsx b/dapps/W3MWagmi/src/screens/Connections/components/ReadContract.tsx index 539bdfc2..326f8fcf 100644 --- a/dapps/W3MWagmi/src/screens/Connections/components/ReadContract.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/components/ReadContract.tsx @@ -1,6 +1,6 @@ import React, {useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {useAccount, useReadContract} from 'wagmi'; import {RequestModal} from '@/components/RequestModal'; import wagmigotchiABI from '@/utils/wagmigotchiABI'; diff --git a/dapps/W3MWagmi/src/screens/Connections/components/SendTransaction.tsx b/dapps/W3MWagmi/src/screens/Connections/components/SendTransaction.tsx index 664a647e..86c90a31 100644 --- a/dapps/W3MWagmi/src/screens/Connections/components/SendTransaction.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/components/SendTransaction.tsx @@ -1,6 +1,6 @@ import React, {useEffect, useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {useAccount, useSendTransaction} from 'wagmi'; import {RequestModal} from '@/components/RequestModal'; diff --git a/dapps/W3MWagmi/src/screens/Connections/components/SignMessage.tsx b/dapps/W3MWagmi/src/screens/Connections/components/SignMessage.tsx index f9d98f25..dfca16a8 100644 --- a/dapps/W3MWagmi/src/screens/Connections/components/SignMessage.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/components/SignMessage.tsx @@ -1,6 +1,6 @@ import React, {useEffect, useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {useAccount, useSignMessage} from 'wagmi'; import {RequestModal} from '@/components/RequestModal'; diff --git a/dapps/W3MWagmi/src/screens/Connections/components/SignTypedDataV4.tsx b/dapps/W3MWagmi/src/screens/Connections/components/SignTypedDataV4.tsx index 9fffdcf7..79a64b71 100644 --- a/dapps/W3MWagmi/src/screens/Connections/components/SignTypedDataV4.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/components/SignTypedDataV4.tsx @@ -1,6 +1,6 @@ import React, {useEffect, useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {useAccount, useSignTypedData} from 'wagmi'; import {RequestModal} from '@/components/RequestModal'; diff --git a/dapps/W3MWagmi/src/screens/Connections/components/WriteContract.tsx b/dapps/W3MWagmi/src/screens/Connections/components/WriteContract.tsx index a875f2db..0d34e436 100644 --- a/dapps/W3MWagmi/src/screens/Connections/components/WriteContract.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/components/WriteContract.tsx @@ -1,6 +1,6 @@ import React, {useEffect, useState} from 'react'; import {View} from 'react-native'; -import {Button} from '@web3modal/ui-react-native'; +import {Button} from '@reown/appkit-ui-react-native'; import {useAccount, useWriteContract} from 'wagmi'; import {RequestModal} from '@/components/RequestModal'; diff --git a/dapps/W3MWagmi/src/screens/Connections/index.tsx b/dapps/W3MWagmi/src/screens/Connections/index.tsx index 3d1403a4..2f44e1ed 100644 --- a/dapps/W3MWagmi/src/screens/Connections/index.tsx +++ b/dapps/W3MWagmi/src/screens/Connections/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import {StyleSheet, View} from 'react-native'; -import {W3mButton} from '@web3modal/wagmi-react-native'; -import {FlexView, Text} from '@web3modal/ui-react-native'; +import {AppKitButton} from '@reown/appkit-wagmi-react-native'; +import {FlexView, Text} from '@reown/appkit-ui-react-native'; import {SignMessage} from './components/SignMessage'; import {SendTransaction} from './components/SendTransaction'; @@ -16,7 +16,7 @@ function ConnectionsScreen() { AppKit + wagmi - + diff --git a/dapps/W3MWagmi/src/screens/LogList/components/Log.tsx b/dapps/W3MWagmi/src/screens/LogList/components/Log.tsx index 1f02bcaf..e068c902 100644 --- a/dapps/W3MWagmi/src/screens/LogList/components/Log.tsx +++ b/dapps/W3MWagmi/src/screens/LogList/components/Log.tsx @@ -1,7 +1,7 @@ import React from 'react'; import {View, StyleSheet, TouchableOpacity, Alert} from 'react-native'; import {useTheme} from '@/hooks/useTheme'; -import {Text} from '@web3modal/ui-react-native'; +import {Text} from '@reown/appkit-ui-react-native'; import Clipboard from '@react-native-clipboard/clipboard'; type Log = { diff --git a/dapps/W3MWagmi/src/utils/SiweUtils.ts b/dapps/W3MWagmi/src/utils/SiweUtils.ts index 034dcb2d..edd043eb 100644 --- a/dapps/W3MWagmi/src/utils/SiweUtils.ts +++ b/dapps/W3MWagmi/src/utils/SiweUtils.ts @@ -7,7 +7,7 @@ import { formatMessage, type SIWEVerifyMessageArgs, type SIWECreateMessageArgs, -} from '@web3modal/siwe-react-native'; +} from '@reown/appkit-siwe-react-native'; import {generateRandomBytes32} from '@walletconnect/utils'; import {chains} from './WagmiUtils'; diff --git a/dapps/W3MWagmi/yarn.lock b/dapps/W3MWagmi/yarn.lock index 0378c642..c1d5e91b 100644 --- a/dapps/W3MWagmi/yarn.lock +++ b/dapps/W3MWagmi/yarn.lock @@ -4323,6 +4323,136 @@ __metadata: languageName: node linkType: hard +"@reown/appkit-auth-wagmi-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-auth-wagmi-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-wallet-react-native": 1.0.0 + peerDependencies: + wagmi: ">=2" + checksum: 3f0973786c2f297d6dbf423224807686f7efd6c6b378cab924548ef4bc88e971016321997897e75d6c237989ec4164adef47b83c48a33d3bbe6e9c0424544c3b + languageName: node + linkType: hard + +"@reown/appkit-coinbase-wagmi-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-coinbase-wagmi-react-native@npm:1.0.0" + peerDependencies: + "@coinbase/wallet-mobile-sdk": ">=1.0.10" + wagmi: ">=2" + checksum: a5807ee464f3120c0062e7be5ef6503d8d353cbe23d000cb498e3adfc07288c5a21e90d14a3341f5b12ee778aa192526fd9bb6c19427142e624ee5d6bfea1306 + languageName: node + linkType: hard + +"@reown/appkit-common-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-common-react-native@npm:1.0.0" + checksum: 4d1e3a5f7a67798d7898377e3cf4a3860fd78d5b082700e2f2b45d2adc5e7b5caf90b510488b3e573500edbfcbb196d86f554d869891214b53447339ab1ca199 + languageName: node + linkType: hard + +"@reown/appkit-core-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-core-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-common-react-native": 1.0.0 + valtio: 1.11.2 + peerDependencies: + "@react-native-async-storage/async-storage": ">=1.17.0" + "@walletconnect/react-native-compat": ">=2.13.1" + react: ">=17" + react-native: ">=0.68.5" + checksum: 803c50b18fac1b3614db514208ab7fbb48b9694a4fc16e73665df10b7c809073617cb2ea0cba0f3d793169024f0da96bdd65cb1970cd0f5fd8da58d0ab61c030 + languageName: node + linkType: hard + +"@reown/appkit-scaffold-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-scaffold-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-common-react-native": 1.0.0 + "@reown/appkit-core-react-native": 1.0.0 + "@reown/appkit-siwe-react-native": 1.0.0 + "@reown/appkit-ui-react-native": 1.0.0 + peerDependencies: + react: ">=17" + react-native: ">=0.68.5" + react-native-modal: ">=13" + checksum: efc4d119e519883303f9f07333d1e12c7580f91d092dde02037d95fd0ccec62fda9b79e3a2ee9f45c4355b7cd6960d796d99911fe80d9b1dc40cfd68c316f159 + languageName: node + linkType: hard + +"@reown/appkit-scaffold-utils-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-scaffold-utils-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-scaffold-react-native": 1.0.0 + checksum: e54f4feee0278a66b41597dacd86f334c0cf0d1a9e061e77f717f1c0becc0e3f0efc3cae88fa633e5656df211a2dc5059a52eacb884ef4391af14c4e711336b9 + languageName: node + linkType: hard + +"@reown/appkit-siwe-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-siwe-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-common-react-native": 1.0.0 + "@reown/appkit-core-react-native": 1.0.0 + "@reown/appkit-ui-react-native": 1.0.0 + valtio: 1.11.2 + peerDependencies: + "@walletconnect/utils": ">=2.16.1" + checksum: 1fbfda65ec8a984cedf78a3e4c5952b3c2111e6fbade158682a882d1407526d128205ae0b5f819d8d6e39c17f8f6e047bfc12d0fc238e1f679bd7ca1208ae449 + languageName: node + linkType: hard + +"@reown/appkit-ui-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-ui-react-native@npm:1.0.0" + dependencies: + qrcode: 1.5.3 + peerDependencies: + react: ">=17" + react-native: ">=0.68.5" + react-native-svg: ">=13" + checksum: af1ef21e819c92fe3232f61fc884e6a461f7a6dca8cec8817632683a22dc4846d3ed340231a5b2f16d7dd05187ec76889f8b371a9504a2013e199e7ace49eeca + languageName: node + linkType: hard + +"@reown/appkit-wagmi-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-wagmi-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-common-react-native": 1.0.0 + "@reown/appkit-scaffold-react-native": 1.0.0 + "@reown/appkit-scaffold-utils-react-native": 1.0.0 + "@reown/appkit-siwe-react-native": 1.0.0 + peerDependencies: + "@react-native-async-storage/async-storage": ">=1.17.0" + "@react-native-community/netinfo": "*" + "@walletconnect/react-native-compat": ">=2.13.1" + react: ">=17" + react-native: ">=0.68.5" + react-native-get-random-values: "*" + viem: ">=2.21.4" + wagmi: ">=2.12.10" + checksum: 029bbd42eb1e997685a789a61da478c4cbeb2c8594b9f2d9440bd899aaa2a707b0d69874079393aea60bfa2534e445ab3af00181df97cd7da92e63ff20d5309e + languageName: node + linkType: hard + +"@reown/appkit-wallet-react-native@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/appkit-wallet-react-native@npm:1.0.0" + dependencies: + "@reown/appkit-core-react-native": 1.0.0 + "@reown/appkit-ui-react-native": 1.0.0 + zod: 3.22.4 + peerDependencies: + "@react-native-async-storage/async-storage": ">=1.17.0" + react-native-webview: ">=11" + checksum: 30e5c57b63741e2f96b07c33ee36caa43ad2e9c05c51f845167e448b036bf88ec9d5c6b0ea83a2ed4fc6479fbbe87182c7d382d2efd763b7ef644dc973f4d68a + languageName: node + linkType: hard + "@rnx-kit/chromium-edge-launcher@npm:^1.0.0": version: 1.0.0 resolution: "@rnx-kit/chromium-edge-launcher@npm:1.0.0" @@ -5629,15 +5759,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/relay-api@npm:1.0.10": - version: 1.0.10 - resolution: "@walletconnect/relay-api@npm:1.0.10" - dependencies: - "@walletconnect/jsonrpc-types": ^1.0.2 - checksum: a332cbfdf0d3bad7046b0559653a5121a4b5a540f029cc01eeb8ef466681b10626a5a24d55668405e7c635535f35b8038d4aa5a2f0d16c8b512c41fecff2448c - languageName: node - linkType: hard - "@walletconnect/relay-api@npm:1.0.11": version: 1.0.11 resolution: "@walletconnect/relay-api@npm:1.0.11" @@ -5696,20 +5817,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:2.13.1": - version: 2.13.1 - resolution: "@walletconnect/types@npm:2.13.1" - dependencies: - "@walletconnect/events": 1.0.1 - "@walletconnect/heartbeat": 1.2.2 - "@walletconnect/jsonrpc-types": 1.0.4 - "@walletconnect/keyvaluestorage": 1.1.1 - "@walletconnect/logger": 2.1.2 - events: 3.3.0 - checksum: 5a028bf2d1c250ffadf6a5b898553bd6f63d4eb944d73bd43a633b2d12854c4908cf966fd18c21275490e93d91f39cbd6b5461b0fc38c8eafb5b9554b1203aeb - languageName: node - linkType: hard - "@walletconnect/types@npm:2.15.2": version: 2.15.2 resolution: "@walletconnect/types@npm:2.15.2" @@ -5741,28 +5848,6 @@ __metadata: languageName: node linkType: hard -"@walletconnect/utils@npm:2.13.1": - version: 2.13.1 - resolution: "@walletconnect/utils@npm:2.13.1" - dependencies: - "@stablelib/chacha20poly1305": 1.0.1 - "@stablelib/hkdf": 1.0.1 - "@stablelib/random": 1.0.2 - "@stablelib/sha256": 1.0.1 - "@stablelib/x25519": 1.0.3 - "@walletconnect/relay-api": 1.0.10 - "@walletconnect/safe-json": 1.0.2 - "@walletconnect/time": 1.0.2 - "@walletconnect/types": 2.13.1 - "@walletconnect/window-getters": 1.0.1 - "@walletconnect/window-metadata": 1.0.1 - detect-browser: 5.3.0 - query-string: 7.1.3 - uint8arrays: 3.1.0 - checksum: 0112da2d2dc348023934d3fcd7c67d476b7b5c444e3809fd6086923cbcabfacc3e1a3165ca49979da7aa658d9358340a278bee448a6df4f6a58ba7c4f3e47ea3 - languageName: node - linkType: hard - "@walletconnect/utils@npm:2.15.2": version: 2.15.2 resolution: "@walletconnect/utils@npm:2.15.2" @@ -5806,135 +5891,6 @@ __metadata: languageName: node linkType: hard -"@web3modal/coinbase-wagmi-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/coinbase-wagmi-react-native@npm:2.0.4" - peerDependencies: - "@coinbase/wallet-mobile-sdk": ">=1.0.10" - wagmi: ">=2" - checksum: 0ddbd4766dc95d82d478a65547d97e315bc3d9c4f2a5bb1ef8374af80dcece8bbf6ff61a0d0a80105e212fd888fbe2522c4dd778d3269e30af64f712300a5cbe - languageName: node - linkType: hard - -"@web3modal/common-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/common-react-native@npm:2.0.4" - checksum: 32bfe6423c7c2059a3d32a1aa32ac3264ecadd7962d93494c9237b5ada1f25b6bd9ce071557ba1d0a8eeb81245f49a2d8be4e87c28668d8192db9cffd7e9cfc4 - languageName: node - linkType: hard - -"@web3modal/core-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/core-react-native@npm:2.0.4" - dependencies: - "@web3modal/common-react-native": 2.0.4 - valtio: 1.11.2 - peerDependencies: - "@react-native-async-storage/async-storage": ">=1.17.0" - "@walletconnect/react-native-compat": ">=2.13.1" - react: ">=17" - react-native: ">=0.68.5" - checksum: dd2104a0b43468fd91fc3a5a15a5d3aa77e58111d09e996ed40f5520a32fc2ab9172f50d0a7deb4da7a53887ab2a0528aacc90b76f68a8772118f51799c5afef - languageName: node - linkType: hard - -"@web3modal/email-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/email-react-native@npm:2.0.4" - dependencies: - "@web3modal/core-react-native": 2.0.4 - "@web3modal/ui-react-native": 2.0.4 - zod: 3.22.4 - peerDependencies: - "@react-native-async-storage/async-storage": ">=1.17.0" - react-native-webview: ">=11" - checksum: 72388632f8890bbc2bd5523c176fb0d25cb3b485443201d7260a48e5ef3eb7478ef625743b16c993a6fce0af41ee071dcc3bece8b8ff323ecdcefc876183f1c8 - languageName: node - linkType: hard - -"@web3modal/email-wagmi-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/email-wagmi-react-native@npm:2.0.4" - dependencies: - "@web3modal/email-react-native": 2.0.4 - peerDependencies: - wagmi: ">=2" - checksum: 73ce06c14ffd8f4b1198ec585c816282b019bd4b4739f719be80f17141f9b9fddfa98f07da7f28ca09b1c385364412ee0c32bf0322567df740ad659bcb18db02 - languageName: node - linkType: hard - -"@web3modal/scaffold-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/scaffold-react-native@npm:2.0.4" - dependencies: - "@web3modal/common-react-native": 2.0.4 - "@web3modal/core-react-native": 2.0.4 - "@web3modal/siwe-react-native": 2.0.4 - "@web3modal/ui-react-native": 2.0.4 - peerDependencies: - react: ">=17" - react-native: ">=0.68.5" - react-native-modal: ">=13" - checksum: 65f76d2d00887bd3f7ee45b2637578935149a24acb643f75022ac023a66c31fa9077f7bf1a51c9f689285d5beeb61ad29641f36b6ae16c534fccfa2130674def - languageName: node - linkType: hard - -"@web3modal/scaffold-utils-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/scaffold-utils-react-native@npm:2.0.4" - dependencies: - "@web3modal/scaffold-react-native": 2.0.4 - checksum: 5633cf5b750544df56d38220eeff9c08e16ba302688b20d30c0f21ef85ac68eb8041c1c8650f0d7897796e7ab972a9756521d71ca5c560a8aed70af2777dc966 - languageName: node - linkType: hard - -"@web3modal/siwe-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/siwe-react-native@npm:2.0.4" - dependencies: - "@walletconnect/utils": 2.13.1 - "@web3modal/common-react-native": 2.0.4 - "@web3modal/core-react-native": 2.0.4 - "@web3modal/ui-react-native": 2.0.4 - valtio: 1.11.2 - checksum: e0b6e62197daa6d2950d8da8f59fa4c9abede09c2cac3b62e614d4b77e9999ebaa83d76479f2ad22e28a7a3babb1b23bed1e72078f56eb042599bc0a56c9d42c - languageName: node - linkType: hard - -"@web3modal/ui-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/ui-react-native@npm:2.0.4" - dependencies: - qrcode: 1.5.3 - peerDependencies: - react: ">=17" - react-native: ">=0.68.5" - react-native-svg: ">=13" - checksum: 142bbc6b143ac7bce3e77387836d96ebbe9c901cb3b5c23872b7872b068c3c7547fe3e8129056ab89a230a2292c996989355e736c5ea7ca6bbfa8536c3aa8010 - languageName: node - linkType: hard - -"@web3modal/wagmi-react-native@npm:2.0.4": - version: 2.0.4 - resolution: "@web3modal/wagmi-react-native@npm:2.0.4" - dependencies: - "@web3modal/common-react-native": 2.0.4 - "@web3modal/scaffold-react-native": 2.0.4 - "@web3modal/scaffold-utils-react-native": 2.0.4 - "@web3modal/siwe-react-native": 2.0.4 - peerDependencies: - "@react-native-async-storage/async-storage": ">=1.17.0" - "@react-native-community/netinfo": "*" - "@walletconnect/react-native-compat": ">=2.13.1" - react: ">=17" - react-native: ">=0.68.5" - react-native-get-random-values: "*" - viem: ">=2" - wagmi: ">=2" - checksum: 89acfe89fd35ea50777f7e9d0338690b377b4684e57e25af71f1db92ae11d49a05c0a17eebe7605324970e8401de1cd49e0ae25bc15b68392c9521f957e81323 - languageName: node - linkType: hard - "@xmldom/xmldom@npm:^0.8.8": version: 0.8.10 resolution: "@xmldom/xmldom@npm:0.8.10" @@ -6179,14 +6135,14 @@ __metadata: "@react-navigation/bottom-tabs": 6.6.1 "@react-navigation/native": 6.1.18 "@react-navigation/native-stack": 6.10.1 + "@reown/appkit-auth-wagmi-react-native": 1.0.0 + "@reown/appkit-coinbase-wagmi-react-native": 1.0.0 + "@reown/appkit-wagmi-react-native": 1.0.0 "@sentry/react-native": 5.20.0 "@tanstack/react-query": 5.51.1 "@types/react": ^18.2.6 "@types/react-test-renderer": ^18.0.0 "@walletconnect/react-native-compat": 2.16.0 - "@web3modal/coinbase-wagmi-react-native": 2.0.4 - "@web3modal/email-wagmi-react-native": 2.0.4 - "@web3modal/wagmi-react-native": 2.0.4 babel-jest: ^29.6.3 babel-plugin-module-resolver: ^5.0.0 eslint: ^8.19.0 diff --git a/dapps/rn_cli_dapp_0_68_5/package.json b/dapps/rn_cli_dapp_0_68_5/package.json index 3e6cea57..9ae20037 100644 --- a/dapps/rn_cli_dapp_0_68_5/package.json +++ b/dapps/rn_cli_dapp_0_68_5/package.json @@ -12,7 +12,7 @@ "dependencies": { "@react-native-async-storage/async-storage": "1.19.0", "@react-native-community/netinfo": "9.4.1", - "@walletconnect/modal-react-native": "1.0.0-rc.11", + "@walletconnect/modal-react-native": "1.1.0", "big-integer": "1.6.51", "react": "17.0.2", "react-native": "0.68.5", diff --git a/dapps/rn_cli_dapp_0_68_5/yarn.lock b/dapps/rn_cli_dapp_0_68_5/yarn.lock index b36276d2..485b2820 100644 --- a/dapps/rn_cli_dapp_0_68_5/yarn.lock +++ b/dapps/rn_cli_dapp_0_68_5/yarn.lock @@ -787,11 +787,6 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@ethersproject/shims@5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/shims/-/shims-5.7.0.tgz#ee32e543418595774029c5ea6123ea8995e7e154" - integrity sha512-WeDptc6oAprov5CCN2LJ/6/+dC9gTonnkdAtLepm/7P5Z+3PRxS5NpfVWmOMs1yE4Vitl2cU8bOPWC0GvGSbVg== - "@hapi/hoek@^9.0.0": version "9.3.0" resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" @@ -1065,6 +1060,98 @@ resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz#ea6d23ade78a325f7a52750aab1526b02b628c29" integrity sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg== +"@parcel/watcher-android-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.1.tgz#c2c19a3c442313ff007d2d7a9c2c1dd3e1c9ca84" + integrity sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg== + +"@parcel/watcher-darwin-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz#c817c7a3b4f3a79c1535bfe54a1c2818d9ffdc34" + integrity sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA== + +"@parcel/watcher-darwin-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.1.tgz#1a3f69d9323eae4f1c61a5f480a59c478d2cb020" + integrity sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg== + +"@parcel/watcher-freebsd-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.1.tgz#0d67fef1609f90ba6a8a662bc76a55fc93706fc8" + integrity sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w== + +"@parcel/watcher-linux-arm-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.1.tgz#ce5b340da5829b8e546bd00f752ae5292e1c702d" + integrity sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA== + +"@parcel/watcher-linux-arm64-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.1.tgz#6d7c00dde6d40608f9554e73998db11b2b1ff7c7" + integrity sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA== + +"@parcel/watcher-linux-arm64-musl@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.1.tgz#bd39bc71015f08a4a31a47cd89c236b9d6a7f635" + integrity sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA== + +"@parcel/watcher-linux-x64-glibc@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.4.1.tgz#0ce29966b082fb6cdd3de44f2f74057eef2c9e39" + integrity sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg== + +"@parcel/watcher-linux-x64-musl@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.1.tgz#d2ebbf60e407170bb647cd6e447f4f2bab19ad16" + integrity sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ== + +"@parcel/watcher-wasm@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-wasm/-/watcher-wasm-2.4.1.tgz#c4353e4fdb96ee14389856f7f6f6d21b7dcef9e1" + integrity sha512-/ZR0RxqxU/xxDGzbzosMjh4W6NdYFMqq2nvo2b8SLi7rsl/4jkL8S5stIikorNkdR50oVDvqb/3JT05WM+CRRA== + dependencies: + is-glob "^4.0.3" + micromatch "^4.0.5" + napi-wasm "^1.1.0" + +"@parcel/watcher-win32-arm64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.1.tgz#eb4deef37e80f0b5e2f215dd6d7a6d40a85f8adc" + integrity sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg== + +"@parcel/watcher-win32-ia32@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.1.tgz#94fbd4b497be39fd5c8c71ba05436927842c9df7" + integrity sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw== + +"@parcel/watcher-win32-x64@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.1.tgz#4bf920912f67cae5f2d264f58df81abfea68dadf" + integrity sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A== + +"@parcel/watcher@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.4.1.tgz#a50275151a1bb110879c6123589dba90c19f1bf8" + integrity sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA== + dependencies: + detect-libc "^1.0.3" + is-glob "^4.0.3" + micromatch "^4.0.5" + node-addon-api "^7.0.0" + optionalDependencies: + "@parcel/watcher-android-arm64" "2.4.1" + "@parcel/watcher-darwin-arm64" "2.4.1" + "@parcel/watcher-darwin-x64" "2.4.1" + "@parcel/watcher-freebsd-x64" "2.4.1" + "@parcel/watcher-linux-arm-glibc" "2.4.1" + "@parcel/watcher-linux-arm64-glibc" "2.4.1" + "@parcel/watcher-linux-arm64-musl" "2.4.1" + "@parcel/watcher-linux-x64-glibc" "2.4.1" + "@parcel/watcher-linux-x64-musl" "2.4.1" + "@parcel/watcher-win32-arm64" "2.4.1" + "@parcel/watcher-win32-ia32" "2.4.1" + "@parcel/watcher-win32-x64" "2.4.1" + "@react-native-async-storage/async-storage@1.19.0": version "1.19.0" resolved "https://registry.yarnpkg.com/@react-native-async-storage/async-storage/-/async-storage-1.19.0.tgz#594aca9c20924b7955d62cf43797b4187e1e6cf8" @@ -1628,25 +1715,26 @@ dependencies: eslint-visitor-keys "^1.1.0" -"@walletconnect/core@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.10.0.tgz#b659de4dfb374becd938964abd4f2150d410e617" - integrity sha512-Z8pdorfIMueuiBXLdnf7yloiO9JIiobuxN3j0OTal+MYc4q5/2O7d+jdD1DAXbLi1taJx3x60UXT/FPVkjIqIQ== +"@walletconnect/core@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.11.0.tgz#3a4e301077b2f858fd916b7a20b5b984d1afce63" + integrity sha512-2Tjp5BCevI7dbmqo/OrCjX4tqgMqwJNQLlQAlphqPfvwlF9+tIu6pGcVbSN3U9zyXzWIZCeleqEaWUeSeET4Ew== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "1.0.3" "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/jsonrpc-ws-connection" "1.0.13" - "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/jsonrpc-ws-connection" "1.0.14" + "@walletconnect/keyvaluestorage" "^1.1.1" "@walletconnect/logger" "^2.0.1" "@walletconnect/relay-api" "^1.0.9" "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.0" - "@walletconnect/utils" "2.10.0" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" + isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -1710,24 +1798,24 @@ "@walletconnect/jsonrpc-types" "^1.0.3" tslib "1.14.1" -"@walletconnect/jsonrpc-ws-connection@1.0.13": - version "1.0.13" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.13.tgz#23b0cdd899801bfbb44a6556936ec2b93ef2adf4" - integrity sha512-mfOM7uFH4lGtQxG+XklYuFBj6dwVvseTt5/ahOkkmpcAEgz2umuzu7fTR+h5EmjQBdrmYyEBOWADbeaFNxdySg== +"@walletconnect/jsonrpc-ws-connection@1.0.14": + version "1.0.14" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.14.tgz#eec700e74766c7887de2bd76c91a0206628732aa" + integrity sha512-Jsl6fC55AYcbkNVkwNM6Jo+ufsuCQRqViOQ8ZBPH9pRREHH9welbBiszuTLqEJiQcO/6XfFDl6bzCJIkrEi8XA== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.2" events "^3.3.0" - tslib "1.14.1" ws "^7.5.1" -"@walletconnect/keyvaluestorage@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz#92f5ca0f54c1a88a093778842ce0c874d86369c8" - integrity sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ== +"@walletconnect/keyvaluestorage@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842" + integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA== dependencies: - safe-json-utils "^1.1.1" - tslib "1.14.1" + "@walletconnect/safe-json" "^1.0.1" + idb-keyval "^6.2.1" + unstorage "^1.9.0" "@walletconnect/logger@^2.0.1": version "2.0.1" @@ -1737,27 +1825,16 @@ pino "7.11.0" tslib "1.14.1" -"@walletconnect/modal-react-native@1.0.0-rc.11": - version "1.0.0-rc.11" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-react-native/-/modal-react-native-1.0.0-rc.11.tgz#4cee6a69f273484c3d7c19fb786a6082ff8519fe" - integrity sha512-DZbpLj5OzwGHeBiRiGb0jIZTKOPW3uMtFmPjC71I19hYnjo4HkdLtB5RMzL27CbL3xFsTq8UEUC9G53dMecm6w== +"@walletconnect/modal-react-native@1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-react-native/-/modal-react-native-1.1.0.tgz#567a572ab9007e40ee7941f2cb1d571ef43a1781" + integrity sha512-DWszXt5Jq03EX+hUK3UGfHgY3+eZ+/Nq8AE3aF030TpL7eB3pq8pWsmqcuIL3pGu9Ko96SaThlEm+KcQ1vGr3g== dependencies: - "@ethersproject/shims" "5.7.0" - "@walletconnect/core" "2.10.0" - "@walletconnect/react-native-compat" "2.10.0" - "@walletconnect/universal-provider" "2.10.0" + "@walletconnect/core" "2.11.0" + "@walletconnect/universal-provider" "2.11.0" qrcode "1.5.3" valtio "1.10.5" -"@walletconnect/react-native-compat@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/react-native-compat/-/react-native-compat-2.10.0.tgz#6254b23a22d371e7890ed957cf7950ee5b9eafc7" - integrity sha512-7u0ykp1gz+7UoYp3miAfm6fTjsDUEHjGB2RXSeYjCX5ikVN6rJl0USMzBmM52pYTtAVFG9QT25Tt2bGk2rHOjw== - dependencies: - events "3.3.0" - fast-text-encoding "^1.0.6" - react-native-url-polyfill "^2.0.0" - "@walletconnect/relay-api@^1.0.9": version "1.0.9" resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.9.tgz#f8c2c3993dddaa9f33ed42197fc9bfebd790ecaf" @@ -1785,19 +1862,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.10.0.tgz#0fee8f12821e37783099f0c7bd64e6efdfbd9d86" - integrity sha512-hbDljDS53kR/It3oXD91UkcOsT6diNnW5+Zzksm0YEfwww5dop/YfNlcdnc8+jKUhWOL/YDPNQCjzsCSNlVzbw== +"@walletconnect/sign-client@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.11.0.tgz#de10f976cc1b8ab04b7f7c27f6a298e4e083ab25" + integrity sha512-H2ukscibBS+6WrzQWh+WyVBqO5z4F5et12JcwobdwgHnJSlqIoZxqnUYYWNCI5rUR5UKsKWaUyto4AE9N5dw4Q== dependencies: - "@walletconnect/core" "2.10.0" + "@walletconnect/core" "2.11.0" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.0" - "@walletconnect/utils" "2.10.0" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" "@walletconnect/time@^1.0.2": @@ -1807,37 +1884,37 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.10.0.tgz#5d63235b49e03d609521402a4b49627dbc4ed514" - integrity sha512-kSTA/WZnbKdEbvbXSW16Ty6dOSzOZCHnGg6JH7q1MuraalD2HuNg00lVVu7QAZ/Rj1Gn9DAkrgP5Wd5a8Xq//Q== +"@walletconnect/types@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.11.0.tgz#474a009c56faa9ef4063b76ed84415c801dc9f1e" + integrity sha512-AB5b1lrEbCGHxqS2vqfCkIoODieH+ZAUp9rA1O2ftrhnqDJiJK983Df87JhYhECsQUBHHfALphA8ydER0q+9sw== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-types" "1.0.3" - "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/keyvaluestorage" "^1.1.1" "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/universal-provider@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.10.0.tgz#565d6478dcb5cc66955e5f03d6a00f51c9bcac14" - integrity sha512-jtVWf+AeTCqBcB3lCmWkv3bvSmdRCkQdo67GNoT5y6/pvVHMxfjgrJNBOUsWQMxpREpWDpZ993X0JRjsYVsMcA== +"@walletconnect/universal-provider@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.11.0.tgz#89053c2360b5ce766c213ca4e33bb4ce4976b0be" + integrity sha512-zgJv8jDvIMP4Qse/D9oIRXGdfoNqonsrjPZanQ/CHNe7oXGOBiQND2IIeX+tS0H7uNA0TPvctljCLiIN9nw4eA== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.10.0" - "@walletconnect/types" "2.10.0" - "@walletconnect/utils" "2.10.0" + "@walletconnect/sign-client" "2.11.0" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" -"@walletconnect/utils@2.10.0": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.10.0.tgz#6918d12180d797b8bd4a19fb2ff128e394e181d6" - integrity sha512-9GRyEz/7CJW+G04RvrjPET5k7hOEsB9b3fF9cWDk/iDCxSWpbkU/hv/urRB36C+gvQMAZgIZYX3dHfzJWkY/2g== +"@walletconnect/utils@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.11.0.tgz#31c95151c823022077883dda61800cdea71879b7" + integrity sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -1847,7 +1924,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.0" + "@walletconnect/types" "2.11.0" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" @@ -1922,6 +1999,11 @@ acorn@^7.1.1, acorn@^7.4.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== +acorn@^8.11.3: + version "8.12.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" + integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== + acorn@^8.2.4: version "8.10.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" @@ -2012,7 +2094,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.3: +anymatch@^3.0.3, anymatch@^3.1.3, anymatch@~3.1.2: version "3.1.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== @@ -2329,6 +2411,11 @@ big-integer@1.6.51, big-integer@1.6.x: resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== +binary-extensions@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" + integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== + bl@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" @@ -2388,6 +2475,13 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" +braces@^3.0.3, braces@~3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + browser-process-hrtime@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" @@ -2415,7 +2509,7 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^5.4.3, buffer@^5.5.0: +buffer@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -2519,6 +2613,21 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== +chokidar@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" + integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" @@ -2529,6 +2638,13 @@ ci-info@^3.2.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== +citty@^0.1.5, citty@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/citty/-/citty-0.1.6.tgz#0f7904da1ed4625e1a9ea7e0fa780981aab7c5e4" + integrity sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ== + dependencies: + consola "^3.2.3" + cjs-module-lexer@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f" @@ -2563,6 +2679,15 @@ cli-spinners@^2.0.0, cli-spinners@^2.5.0: resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.9.0.tgz#5881d0ad96381e117bbe07ad91f2008fe6ffd8db" integrity sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g== +clipboardy@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-4.0.0.tgz#e73ced93a76d19dd379ebf1f297565426dffdca1" + integrity sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w== + dependencies: + execa "^8.0.1" + is-wsl "^3.1.0" + is64bit "^2.0.0" + cliui@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" @@ -2690,6 +2815,11 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== +confbox@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.7.tgz#ccfc0a2bcae36a84838e83a3b7f770fb17d6c579" + integrity sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA== + connect@^3.6.5: version "3.7.0" resolved "https://registry.yarnpkg.com/connect/-/connect-3.7.0.tgz#5d49348910caa5e07a01800b030d0c35f20484f8" @@ -2700,11 +2830,21 @@ connect@^3.6.5: parseurl "~1.3.3" utils-merge "1.0.1" +consola@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== + convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== +cookie-es@^1.1.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/cookie-es/-/cookie-es-1.2.2.tgz#18ceef9eb513cac1cb6c14bcbf8bdb2679b34821" + integrity sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg== + copy-descriptor@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" @@ -2750,7 +2890,7 @@ cross-spawn@^6.0.0: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.2: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -2759,6 +2899,11 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2: shebang-command "^2.0.0" which "^2.0.1" +crossws@^0.2.0, crossws@^0.2.4: + version "0.2.4" + resolved "https://registry.yarnpkg.com/crossws/-/crossws-0.2.4.tgz#82a8b518bff1018ab1d21ced9e35ffbe1681ad03" + integrity sha512-DAxroI2uSOgUKLz00NX6A8U/8EE3SZHmIND+10jkVSaypvyt57J5JEOxAQOL6lQxyzi/wZbTIwssU1uy69h5Vg== + css-select@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" @@ -2895,6 +3040,11 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" +defu@^6.1.4: + version "6.1.4" + resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" + integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== + delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -2919,6 +3069,11 @@ deprecated-react-native-prop-types@^2.3.0: invariant "*" prop-types "*" +destr@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/destr/-/destr-2.0.3.tgz#7f9e97cb3d16dbdca7be52aca1644ce402cfe449" + integrity sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ== + destroy@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" @@ -2929,6 +3084,11 @@ detect-browser@5.3.0: resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== +detect-libc@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + integrity sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg== + detect-newline@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" @@ -3380,7 +3540,7 @@ event-target-shim@^5.0.0, event-target-shim@^5.0.1: resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -events@3.3.0, events@^3.3.0: +events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -3418,6 +3578,21 @@ execa@^4.0.0: signal-exit "^3.0.2" strip-final-newline "^2.0.0" +execa@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -3507,11 +3682,6 @@ fast-redact@^3.0.0: resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.2.0.tgz#b1e2d39bc731376d28bde844454fa23e26919987" integrity sha512-zaTadChr+NekyzallAMXATXLOR8MNx3zqpZ0MUF2aGf4EathnG0f32VLODNlY8IuGY3HoRO2L6/6fSzNsLaHIw== -fast-text-encoding@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz#0aa25f7f638222e3396d72bf936afcf1d42d6867" - integrity sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w== - fb-watchman@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" @@ -3543,6 +3713,13 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + filter-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" @@ -3669,6 +3846,11 @@ fsevents@^2.1.2, fsevents@^2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -3719,6 +3901,11 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== +get-port-please@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.1.2.tgz#502795e56217128e4183025c89a48c71652f4e49" + integrity sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ== + get-stdin@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" @@ -3738,6 +3925,11 @@ get-stream@^5.0.0: dependencies: pump "^3.0.0" +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" @@ -3751,7 +3943,7 @@ get-value@^2.0.3, get-value@^2.0.6: resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" integrity sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA== -glob-parent@^5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -3806,6 +3998,22 @@ growly@^1.3.0: resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" integrity sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw== +h3@^1.10.2, h3@^1.12.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/h3/-/h3-1.12.0.tgz#9d7f05f08a997d263e484b02436cb027df3026d8" + integrity sha512-Zi/CcNeWBXDrFNlV0hUBJQR9F7a96RjMeAZweW/ZWkR9fuXrMcvKnSA63f/zZ9l0GgQOZDVHGvXivNN9PWOwhA== + dependencies: + cookie-es "^1.1.0" + crossws "^0.2.4" + defu "^6.1.4" + destr "^2.0.3" + iron-webcrypto "^1.1.1" + ohash "^1.1.3" + radix3 "^1.1.2" + ufo "^1.5.3" + uncrypto "^0.1.3" + unenv "^1.9.0" + has-bigints@^1.0.1, has-bigints@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" @@ -3944,6 +4152,11 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" +http-shutdown@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/http-shutdown/-/http-shutdown-1.2.2.tgz#41bc78fc767637c4c95179bc492f312c0ae64c5f" + integrity sha512-S9wWkJ/VSY9/k4qcjG318bqJNruzE4HySUhFYknwmu6LBP97KLLfwNf+n4V1BHurvFNkSKLFnK/RsuUnRTf9Vw== + https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" @@ -3957,6 +4170,11 @@ human-signals@^1.1.1: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -3964,6 +4182,11 @@ iconv-lite@0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" +idb-keyval@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/idb-keyval/-/idb-keyval-6.2.1.tgz#94516d625346d16f56f3b33855da11bfded2db33" + integrity sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg== + ieee754@^1.1.13: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" @@ -4047,6 +4270,11 @@ ip@^1.1.5: resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.8.tgz#ae05948f6b075435ed3307acce04629da8cdbf48" integrity sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg== +iron-webcrypto@^1.1.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz#aa60ff2aa10550630f4c0b11fd2442becdb35a6f" + integrity sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg== + is-accessor-descriptor@^0.1.6: version "0.1.6" resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" @@ -4082,6 +4310,13 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + is-boolean-object@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" @@ -4163,6 +4398,11 @@ is-docker@^2.0.0: resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -4195,13 +4435,20 @@ is-generator-fn@^2.0.0: resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + is-interactive@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" @@ -4273,6 +4520,11 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -4332,6 +4584,20 @@ is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" +is-wsl@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" + integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw== + dependencies: + is-inside-container "^1.0.0" + +is64bit@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is64bit/-/is64bit-2.0.0.tgz#198c627cbcb198bbec402251f88e5e1a51236c07" + integrity sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw== + dependencies: + system-architecture "^0.1.0" + isarray@1.0.0, isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -4354,6 +4620,14 @@ isobject@^3.0.0, isobject@^3.0.1: resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== +isomorphic-unfetch@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" + integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== + dependencies: + node-fetch "^2.6.1" + unfetch "^4.2.0" + istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" @@ -4838,6 +5112,11 @@ jetifier@^1.6.2: resolved "https://registry.yarnpkg.com/jetifier/-/jetifier-1.6.8.tgz#e88068697875cbda98c32472902c4d3756247798" integrity sha512-3Zi16h6L5tXDRQJTb221cnRoVG9/9OvreLdLU2/ZjRv/GILL+2Cemt0IKvkowwkDpvouAU1DQPOJ7qaiHeIdrw== +jiti@^1.21.0: + version "1.21.6" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.6.tgz#6c7f7398dd4b3142767f9a168af2f317a428d268" + integrity sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w== + joi@^17.2.1: version "17.9.2" resolved "https://registry.yarnpkg.com/joi/-/joi-17.9.2.tgz#8b2e4724188369f55451aebd1d0b1d9482470690" @@ -5048,6 +5327,30 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== +listhen@^1.7.2: + version "1.7.2" + resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.7.2.tgz#66b81740692269d5d8cafdc475020f2fc51afbae" + integrity sha512-7/HamOm5YD9Wb7CFgAZkKgVPA96WwhcTQoqtm2VTZGVbVVn3IWKRBTgrU7cchA3Q8k9iCsG8Osoi9GX4JsGM9g== + dependencies: + "@parcel/watcher" "^2.4.1" + "@parcel/watcher-wasm" "^2.4.1" + citty "^0.1.6" + clipboardy "^4.0.0" + consola "^3.2.3" + crossws "^0.2.0" + defu "^6.1.4" + get-port-please "^3.1.2" + h3 "^1.10.2" + http-shutdown "^1.2.2" + jiti "^1.21.0" + mlly "^1.6.1" + node-forge "^1.3.1" + pathe "^1.1.2" + std-env "^3.7.0" + ufo "^1.4.0" + untun "^0.1.3" + uqr "^0.1.2" + locate-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" @@ -5124,6 +5427,11 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lru-cache@^10.4.3: + version "10.4.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" + integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -5467,6 +5775,14 @@ micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" +micromatch@^4.0.5: + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== + dependencies: + braces "^3.0.3" + picomatch "^2.3.1" + mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" @@ -5489,6 +5805,11 @@ mime@^2.4.1: resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== +mime@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-3.0.0.tgz#b374550dca3a0c18443b0c950a6a58f1931cf7a7" + integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== + mimic-fn@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" @@ -5499,6 +5820,11 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -5526,6 +5852,21 @@ mkdirp@^0.5.1: dependencies: minimist "^1.2.6" +mlly@^1.6.1, mlly@^1.7.1: + version "1.7.1" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.1.tgz#e0336429bb0731b6a8e887b438cbdae522c8f32f" + integrity sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA== + dependencies: + acorn "^8.11.3" + pathe "^1.1.2" + pkg-types "^1.1.1" + ufo "^1.5.3" + +mri@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -5563,6 +5904,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" +napi-wasm@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/napi-wasm/-/napi-wasm-1.1.3.tgz#7bb95c88e6561f84880bb67195437b1cfbe99224" + integrity sha512-h/4nMGsHjZDCYmQVNODIrYACVJ+I9KItbG+0si6W/jSjdA9JbWDoU4LLeMXVcEQGHjttI2tuXqDrbGF7qkUHHg== + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -5588,6 +5934,11 @@ nocache@^2.1.0: resolved "https://registry.yarnpkg.com/nocache/-/nocache-2.1.0.tgz#120c9ffec43b5729b1d5de88cd71aa75a0ba491f" integrity sha512-0L9FvHG3nfnnmaEQPjT9xhfN4ISk0A8/2j4M37Np4mcDesJjHgEUfgPhdCyZuFI954tjokaIj/A3NdpFNdEh4Q== +node-addon-api@^7.0.0: + version "7.1.1" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558" + integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ== + node-dir@^0.1.17: version "0.1.17" resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5" @@ -5595,6 +5946,11 @@ node-dir@^0.1.17: dependencies: minimatch "^3.0.2" +node-fetch-native@^1.6.3, node-fetch-native@^1.6.4: + version "1.6.4" + resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.4.tgz#679fc8fd8111266d47d7e72c379f1bed9acff06e" + integrity sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ== + node-fetch@^2.2.0, node-fetch@^2.6.0, node-fetch@^2.6.12: version "2.6.12" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.12.tgz#02eb8e22074018e3d5a83016649d04df0e348fba" @@ -5602,6 +5958,18 @@ node-fetch@^2.2.0, node-fetch@^2.6.0, node-fetch@^2.6.12: dependencies: whatwg-url "^5.0.0" +node-fetch@^2.6.1: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + +node-forge@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" + integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== + node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -5646,7 +6014,7 @@ normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0: +normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== @@ -5665,6 +6033,13 @@ npm-run-path@^4.0.0: dependencies: path-key "^3.0.0" +npm-run-path@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== + dependencies: + path-key "^4.0.0" + nth-check@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" @@ -5770,6 +6145,20 @@ object.values@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" +ofetch@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/ofetch/-/ofetch-1.3.4.tgz#7ea65ced3c592ec2b9906975ae3fe1d26a56f635" + integrity sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw== + dependencies: + destr "^2.0.3" + node-fetch-native "^1.6.3" + ufo "^1.5.3" + +ohash@^1.1.3: + version "1.1.4" + resolved "https://registry.yarnpkg.com/ohash/-/ohash-1.1.4.tgz#ae8d83014ab81157d2c285abf7792e2995fadd72" + integrity sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g== + on-exit-leak-free@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" @@ -5815,6 +6204,13 @@ onetime@^5.1.0: dependencies: mimic-fn "^2.1.0" +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + open@^6.2.0: version "6.4.0" resolved "https://registry.yarnpkg.com/open/-/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9" @@ -5967,17 +6363,27 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +pathe@^1.1.1, pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== + picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== @@ -6036,6 +6442,15 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +pkg-types@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.2.0.tgz#d0268e894e93acff11a6279de147e83354ebd42d" + integrity sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA== + dependencies: + confbox "^0.1.7" + mlly "^1.7.1" + pathe "^1.1.2" + plist@^3.0.2, plist@^3.0.5: version "3.1.0" resolved "https://registry.yarnpkg.com/plist/-/plist-3.1.0.tgz#797a516a93e62f5bde55e0b9cc9c967f860893c9" @@ -6174,6 +6589,11 @@ quick-format-unescaped@^4.0.3: resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== +radix3@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/radix3/-/radix3-1.1.2.tgz#fd27d2af3896c6bf4bcdfab6427c69c2afc69ec0" + integrity sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA== + range-parser@~1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" @@ -6247,13 +6667,6 @@ react-native-svg@13.10.0: css-select "^5.1.0" css-tree "^1.1.3" -react-native-url-polyfill@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz#db714520a2985cff1d50ab2e66279b9f91ffd589" - integrity sha512-My330Do7/DvKnEvwQc0WdcBnFPploYKp9CYlefDXzIdEaA+PAhDYllkvGeEroEzvc4Kzzj2O4yVdz8v6fjRvhA== - dependencies: - whatwg-url-without-unicode "8.0.0-3" - react-native@0.68.5: version "0.68.5" resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.68.5.tgz#8ba7389e00b757c59b6ea23bf38303d52367d155" @@ -6372,6 +6785,13 @@ readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + readline@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/readline/-/readline-1.3.0.tgz#c580d77ef2cfc8752b132498060dc9793a7ac01c" @@ -6599,11 +7019,6 @@ safe-buffer@~5.2.0: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-json-utils@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1" - integrity sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ== - safe-regex-test@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" @@ -6791,6 +7206,11 @@ signal-exit@^3.0.0, signal-exit@^3.0.2: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + simple-plist@^1.1.0: version "1.3.1" resolved "https://registry.yarnpkg.com/simple-plist/-/simple-plist-1.3.1.tgz#16e1d8f62c6c9b691b8383127663d834112fb017" @@ -6989,6 +7409,11 @@ statuses@~1.5.0: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== +std-env@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" + integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== + stream-buffers@2.2.x: version "2.2.0" resolved "https://registry.yarnpkg.com/stream-buffers/-/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4" @@ -7105,6 +7530,11 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -7154,6 +7584,11 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== +system-architecture@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/system-architecture/-/system-architecture-0.1.0.tgz#71012b3ac141427d97c67c56bc7921af6bff122d" + integrity sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA== + table@^6.0.9: version "6.8.1" resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" @@ -7372,6 +7807,11 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" +ufo@^1.4.0, ufo@^1.5.3, ufo@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.5.4.tgz#16d6949674ca0c9e0fbbae1fa20a71d7b1ded754" + integrity sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ== + uglify-es@^3.1.9: version "3.3.9" resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677" @@ -7397,6 +7837,27 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +uncrypto@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/uncrypto/-/uncrypto-0.1.3.tgz#e1288d609226f2d02d8d69ee861fa20d8348ef2b" + integrity sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q== + +unenv@^1.9.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/unenv/-/unenv-1.10.0.tgz#c3394a6c6e4cfe68d699f87af456fe3f0db39571" + integrity sha512-wY5bskBQFL9n3Eca5XnhH6KbUo/tfvkwm9OpcdCvLaeA7piBNbavbOKJySEwQ1V0RH6HvNlSAFRTpvTqgKRQXQ== + dependencies: + consola "^3.2.3" + defu "^6.1.4" + mime "^3.0.0" + node-fetch-native "^1.6.4" + pathe "^1.1.2" + +unfetch@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" + integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -7453,6 +7914,31 @@ unset-value@^1.0.0: has-value "^0.3.1" isobject "^3.0.0" +unstorage@^1.9.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/unstorage/-/unstorage-1.12.0.tgz#a215895dfdef01ffb8ff529bb3869dbf947d8498" + integrity sha512-ARZYTXiC+e8z3lRM7/qY9oyaOkaozCeNd2xoz7sYK9fv7OLGhVsf+BZbmASqiK/HTZ7T6eAlnVq9JynZppyk3w== + dependencies: + anymatch "^3.1.3" + chokidar "^3.6.0" + destr "^2.0.3" + h3 "^1.12.0" + listhen "^1.7.2" + lru-cache "^10.4.3" + mri "^1.2.0" + node-fetch-native "^1.6.4" + ofetch "^1.3.4" + ufo "^1.5.4" + +untun@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/untun/-/untun-0.1.3.tgz#5d10dee37a3a5737ff03d158be877dae0a0e58a6" + integrity sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ== + dependencies: + citty "^0.1.5" + consola "^3.2.3" + pathe "^1.1.1" + update-browserslist-db@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" @@ -7461,6 +7947,11 @@ update-browserslist-db@^1.0.11: escalade "^3.1.1" picocolors "^1.0.0" +uqr@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/uqr/-/uqr-0.1.2.tgz#5c6cd5dcff9581f9bb35b982cb89e2c483a41d7d" + integrity sha512-MJu7ypHq6QasgF5YRTjqscSzQp/W11zoUk6kvmlH+fmWEs63Y0Eib13hYFwAzagRJcVY8WVnlV+eBDUGMJ5IbA== + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -7618,15 +8109,6 @@ whatwg-mimetype@^2.3.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== -whatwg-url-without-unicode@8.0.0-3: - version "8.0.0-3" - resolved "https://registry.yarnpkg.com/whatwg-url-without-unicode/-/whatwg-url-without-unicode-8.0.0-3.tgz#ab6df4bf6caaa6c85a59f6e82c026151d4bb376b" - integrity sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig== - dependencies: - buffer "^5.4.3" - punycode "^2.1.1" - webidl-conversions "^5.0.0" - whatwg-url@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" diff --git a/wallets/rn_cli_wallet/README.md b/wallets/rn_cli_wallet/README.md index 998b7ab1..bba1ce2d 100644 --- a/wallets/rn_cli_wallet/README.md +++ b/wallets/rn_cli_wallet/README.md @@ -17,7 +17,7 @@ In order to build the app successfuly, you'll need some extra files chmod +x ./scripts/copy-sample-files.sh && ./scripts/copy-sample-files.sh ``` -## Step 3: Open .env.debug file and replace **ENV_PROJECT_ID with your [Cloud Project ID](https://cloud.walletconnect.com/) +## Step 3: Open .env.debug file and replace **ENV_PROJECT_ID with your [Cloud Project ID](https://cloud.reown.com/) ## Step 4: Start your Application diff --git a/wallets/rn_cli_wallet/android/app/build.gradle b/wallets/rn_cli_wallet/android/app/build.gradle index a066db8d..3a561e08 100644 --- a/wallets/rn_cli_wallet/android/app/build.gradle +++ b/wallets/rn_cli_wallet/android/app/build.gradle @@ -89,7 +89,7 @@ android { applicationId "com.walletconnect.web3wallet.rnsample" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 42 + versionCode 43 versionName "1.0" resValue "string", "build_config_package", "com.walletconnect.web3wallet.rnsample" } diff --git a/wallets/rn_cli_wallet/ios/Podfile.lock b/wallets/rn_cli_wallet/ios/Podfile.lock index e77ee6d4..baeeb1f3 100644 --- a/wallets/rn_cli_wallet/ios/Podfile.lock +++ b/wallets/rn_cli_wallet/ios/Podfile.lock @@ -938,7 +938,7 @@ PODS: - React-Mapbuffer (0.74.3): - glog - React-debug - - react-native-compat (2.16.0): + - react-native-compat (2.16.1): - DoubleConversion - glog - hermes-engine @@ -1574,7 +1574,7 @@ SPEC CHECKSUMS: React-jsitracing: 6b3c8c98313642140530f93c46f5a6ca4530b446 React-logger: fa92ba4d3a5d39ac450f59be2a3cec7b099f0304 React-Mapbuffer: 9f68550e7c6839d01411ac8896aea5c868eff63a - react-native-compat: 389cd76a1c6ce2a6d5fd868f2c76056cff403db8 + react-native-compat: df8345f4a15687aec734240d03f0a4ac52bd1a4e react-native-config: d7d8a0c65f7fa523197879f6b777997abbfc987e react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06 react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc diff --git a/wallets/rn_cli_wallet/package.json b/wallets/rn_cli_wallet/package.json index 3a6b9991..c5411281 100644 --- a/wallets/rn_cli_wallet/package.json +++ b/wallets/rn_cli_wallet/package.json @@ -29,9 +29,9 @@ "@react-navigation/native": "6.1.18", "@react-navigation/native-stack": "6.10.1", "@react-navigation/stack": "6.4.1", + "@reown/walletkit": "1.0.0", "@sentry/react-native": "5.26.0", - "@walletconnect/react-native-compat": "2.16.0", - "@walletconnect/web3wallet": "1.15.0", + "@walletconnect/react-native-compat": "2.16.1", "@web3modal/ui-react-native": "2.0.1", "dayjs": "1.11.11", "ethers": "5.7.2", diff --git a/wallets/rn_cli_wallet/src/hooks/useInitializeWeb3Wallet.ts b/wallets/rn_cli_wallet/src/hooks/useInitializeWalletKit.ts similarity index 85% rename from wallets/rn_cli_wallet/src/hooks/useInitializeWeb3Wallet.ts rename to wallets/rn_cli_wallet/src/hooks/useInitializeWalletKit.ts index ecc3570c..f9a25cc2 100644 --- a/wallets/rn_cli_wallet/src/hooks/useInitializeWeb3Wallet.ts +++ b/wallets/rn_cli_wallet/src/hooks/useInitializeWalletKit.ts @@ -3,9 +3,9 @@ import {useSnapshot} from 'valtio'; import SettingsStore from '@/store/SettingsStore'; import {createOrRestoreEIP155Wallet} from '@/utils/EIP155WalletUtil'; -import {createWeb3Wallet, web3wallet} from '@/utils/WalletConnectUtil'; +import {createWalletKit, walletKit} from '@/utils/WalletKitUtil'; -export default function useInitializeWeb3Wallet() { +export default function useInitializeWalletKit() { const [initialized, setInitialized] = useState(false); const prevRelayerURLValue = useRef(''); @@ -18,7 +18,7 @@ export default function useInitializeWeb3Wallet() { SettingsStore.setEIP155Address(eip155Addresses[0]); SettingsStore.setWallet(eip155Wallets[eip155Addresses[0]]); - await createWeb3Wallet(relayerRegionURL); + await createWalletKit(relayerRegionURL); setInitialized(true); SettingsStore.state.initPromiseResolver?.resolve(undefined); } catch (err: unknown) { @@ -29,7 +29,7 @@ export default function useInitializeWeb3Wallet() { // restart transport if relayer region changes const onRelayerRegionChange = useCallback(() => { try { - web3wallet.core.relayer.restartTransport(relayerRegionURL); + walletKit.core.relayer.restartTransport(relayerRegionURL); prevRelayerURLValue.current = relayerRegionURL; } catch (err: unknown) { console.log(err); diff --git a/wallets/rn_cli_wallet/src/hooks/useLogs.ts b/wallets/rn_cli_wallet/src/hooks/useLogs.ts index 7954a4f7..dd2d8137 100644 --- a/wallets/rn_cli_wallet/src/hooks/useLogs.ts +++ b/wallets/rn_cli_wallet/src/hooks/useLogs.ts @@ -1,12 +1,12 @@ import {useCallback, useEffect} from 'react'; import SettingsStore from '@/store/SettingsStore'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; export function useLogs() { const getLogs = useCallback(async () => { - if (web3wallet) { + if (walletKit) { // @ts-ignore - const _logs = await web3wallet.core.logChunkController?.getLogArray(); + const _logs = await walletKit.core.logChunkController?.getLogArray(); SettingsStore.setLogs(_logs.reverse()); } }, []); diff --git a/wallets/rn_cli_wallet/src/hooks/useWalletConnectEventsManager.ts b/wallets/rn_cli_wallet/src/hooks/useWalletKitEventsManager.ts similarity index 73% rename from wallets/rn_cli_wallet/src/hooks/useWalletConnectEventsManager.ts rename to wallets/rn_cli_wallet/src/hooks/useWalletKitEventsManager.ts index a5590116..ac8a7c32 100644 --- a/wallets/rn_cli_wallet/src/hooks/useWalletConnectEventsManager.ts +++ b/wallets/rn_cli_wallet/src/hooks/useWalletKitEventsManager.ts @@ -1,15 +1,14 @@ import {useCallback, useEffect} from 'react'; -import {Web3WalletTypes} from '@walletconnect/web3wallet'; import {SignClientTypes} from '@walletconnect/types'; import Toast from 'react-native-toast-message'; import {EIP155_CHAINS, EIP155_SIGNING_METHODS} from '@/utils/PresetsUtil'; import ModalStore from '@/store/ModalStore'; import SettingsStore from '@/store/SettingsStore'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import {getSupportedChains} from '@/utils/HelperUtil'; -export default function useWalletConnectEventsManager(initialized: boolean) { +export default function useWalletKitEventsManager(initialized: boolean) { /****************************************************************************** * 1. Open session proposal modal for confirmation / rejection *****************************************************************************/ @@ -32,16 +31,9 @@ export default function useWalletConnectEventsManager(initialized: boolean) { }, [], ); - /****************************************************************************** - * 2. Open Auth modal for confirmation / rejection - *****************************************************************************/ - const onAuthRequest = useCallback((request: Web3WalletTypes.AuthRequest) => { - console.log('onAuthRequest', request); - ModalStore.open('AuthRequestModal', {request}); - }, []); /****************************************************************************** - * 3. Open request handling modal based on method that was used + * 2. Open request handling modal based on method that was used *****************************************************************************/ const onSessionRequest = useCallback( @@ -49,7 +41,7 @@ export default function useWalletConnectEventsManager(initialized: boolean) { console.log('onSessionRequest', requestEvent); const {topic, params, verifyContext} = requestEvent; const {request} = params; - const requestSession = web3wallet.engine.signClient.session.get(topic); + const requestSession = walletKit.engine.signClient.session.get(topic); // set the verify context so it can be displayed in the projectInfoCard SettingsStore.setCurrentRequestVerifyContext(verifyContext); @@ -107,33 +99,24 @@ export default function useWalletConnectEventsManager(initialized: boolean) { useEffect(() => { if (initialized) { //sign - web3wallet.on('session_proposal', onSessionProposal); - web3wallet.on('session_request', onSessionRequest); + walletKit.on('session_proposal', onSessionProposal); + walletKit.on('session_request', onSessionRequest); // auth - web3wallet.on('auth_request', onAuthRequest); - web3wallet.on('session_authenticate', onSessionAuthenticate); + walletKit.on('session_authenticate', onSessionAuthenticate); - web3wallet.engine.signClient.events.on('session_ping', data => { + walletKit.engine.signClient.events.on('session_ping', data => { console.log('session_ping received', data); Toast.show({ type: 'info', text1: 'Session ping received', }); }); - web3wallet.on('session_delete', data => { + walletKit.on('session_delete', data => { console.log('session_delete event received', data); - SettingsStore.setSessions( - Object.values(web3wallet.getActiveSessions()), - ); + SettingsStore.setSessions(Object.values(walletKit.getActiveSessions())); }); // load sessions on init - SettingsStore.setSessions(Object.values(web3wallet.getActiveSessions())); + SettingsStore.setSessions(Object.values(walletKit.getActiveSessions())); } - }, [ - initialized, - onAuthRequest, - onSessionProposal, - onSessionRequest, - onSessionAuthenticate, - ]); + }, [initialized, onSessionProposal, onSessionRequest, onSessionAuthenticate]); } diff --git a/wallets/rn_cli_wallet/src/modals/SessionAuthenticateModal.tsx b/wallets/rn_cli_wallet/src/modals/SessionAuthenticateModal.tsx index b1e963ea..36915a98 100644 --- a/wallets/rn_cli_wallet/src/modals/SessionAuthenticateModal.tsx +++ b/wallets/rn_cli_wallet/src/modals/SessionAuthenticateModal.tsx @@ -2,15 +2,11 @@ import {useSnapshot} from 'valtio'; import {useCallback, useEffect, useMemo, useState} from 'react'; import {View, StyleSheet, Text} from 'react-native'; import {SignClientTypes, AuthTypes} from '@walletconnect/types'; -import { - buildAuthObject, - getSdkError, - populateAuthPayload, -} from '@walletconnect/utils'; +import {buildAuthObject, populateAuthPayload} from '@walletconnect/utils'; import ModalStore from '@/store/ModalStore'; import {eip155Addresses, eip155Wallets} from '@/utils/EIP155WalletUtil'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import SettingsStore from '@/store/SettingsStore'; import {handleRedirect} from '@/utils/LinkingUtils'; import {useTheme} from '@/hooks/useTheme'; @@ -45,6 +41,7 @@ export default function SessionAuthenticateModal() { ); // TODO: Add checkbox to change strategy + // eslint-disable-next-line @typescript-eslint/no-unused-vars const [signStrategy, setSignStrategy] = useState<'one' | 'all'>('one'); const address = eip155Addresses[account]; @@ -73,14 +70,12 @@ export default function SessionAuthenticateModal() { ); signedAuths.push(signedCacao); }); - await web3wallet.approveSessionAuthenticate({ + await walletKit.approveSessionAuthenticate({ id: messages[0].id, auths: signedAuths, }); - SettingsStore.setSessions( - Object.values(web3wallet.getActiveSessions()), - ); + SettingsStore.setSessions(Object.values(walletKit.getActiveSessions())); handleRedirect({ peerRedirect: authRequest.params.requester?.metadata?.redirect, @@ -101,7 +96,7 @@ export default function SessionAuthenticateModal() { if (authRequest) { try { setIsLoadingReject(true); - await web3wallet.rejectSessionAuthenticate({ + await walletKit.rejectSessionAuthenticate({ id: authRequest.id, reason: { code: 12001, @@ -128,7 +123,7 @@ export default function SessionAuthenticateModal() { const iss = `${authPayload.chains[0]}:${address}`; if (signStrategy === 'one') { - const message = web3wallet.formatAuthMessage({ + const message = walletKit.formatAuthMessage({ request: authPayload, iss, }); @@ -136,7 +131,7 @@ export default function SessionAuthenticateModal() { } else if (signStrategy === 'all') { const messagesToSign: any[] = []; authPayload.chains.forEach((chain: string) => { - const message = web3wallet.formatAuthMessage({ + const message = walletKit.formatAuthMessage({ request: authPayload, iss: `${chain}:${address}`, }); diff --git a/wallets/rn_cli_wallet/src/modals/SessionProposalModal.tsx b/wallets/rn_cli_wallet/src/modals/SessionProposalModal.tsx index b33a5c41..eb17f9e9 100644 --- a/wallets/rn_cli_wallet/src/modals/SessionProposalModal.tsx +++ b/wallets/rn_cli_wallet/src/modals/SessionProposalModal.tsx @@ -8,7 +8,7 @@ import {Events} from '@/components/Modal/Events'; import {Methods} from '@/components/Modal/Methods'; import ModalStore from '@/store/ModalStore'; import {eip155Addresses} from '@/utils/EIP155WalletUtil'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import SettingsStore from '@/store/SettingsStore'; import {handleRedirect} from '@/utils/LinkingUtils'; import {useTheme} from '@/hooks/useTheme'; @@ -74,12 +74,12 @@ export default function SessionProposalModal() { }); try { - const session = await web3wallet.approveSession({ + const session = await walletKit.approveSession({ id: proposal.id, namespaces, }); SettingsStore.setSessions( - Object.values(web3wallet.getActiveSessions()), + Object.values(walletKit.getActiveSessions()), ); handleRedirect({ @@ -101,7 +101,7 @@ export default function SessionProposalModal() { try { setIsLoadingReject(true); await new Promise(resolve => setTimeout(resolve, 1000)); - await web3wallet.rejectSession({ + await walletKit.rejectSession({ id: proposal.id, reason: getSdkError('USER_REJECTED_METHODS'), }); diff --git a/wallets/rn_cli_wallet/src/modals/SessionSendTransactionModal.tsx b/wallets/rn_cli_wallet/src/modals/SessionSendTransactionModal.tsx index 23975868..eee48450 100644 --- a/wallets/rn_cli_wallet/src/modals/SessionSendTransactionModal.tsx +++ b/wallets/rn_cli_wallet/src/modals/SessionSendTransactionModal.tsx @@ -9,7 +9,7 @@ import { approveEIP155Request, rejectEIP155Request, } from '@/utils/EIP155RequestHandlerUtil'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import {handleRedirect} from '@/utils/LinkingUtils'; import ModalStore from '@/store/ModalStore'; import {RequestModal} from '@/modals/RequestModal'; @@ -42,7 +42,7 @@ export default function SessionSendTransactionModal() { setIsLoadingApprove(true); try { const response = await approveEIP155Request(requestEvent); - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); @@ -65,7 +65,7 @@ export default function SessionSendTransactionModal() { setIsLoadingReject(true); const response = rejectEIP155Request(requestEvent); try { - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); diff --git a/wallets/rn_cli_wallet/src/modals/SessionSignModal.tsx b/wallets/rn_cli_wallet/src/modals/SessionSignModal.tsx index dfbfef64..b2f95e95 100644 --- a/wallets/rn_cli_wallet/src/modals/SessionSignModal.tsx +++ b/wallets/rn_cli_wallet/src/modals/SessionSignModal.tsx @@ -10,7 +10,7 @@ import { approveEIP155Request, rejectEIP155Request, } from '@/utils/EIP155RequestHandlerUtil'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import {handleRedirect} from '@/utils/LinkingUtils'; import ModalStore from '@/store/ModalStore'; import {RequestModal} from './RequestModal'; @@ -43,7 +43,7 @@ export default function SessionSignModal() { setIsLoadingApprove(true); const response = await approveEIP155Request(requestEvent); try { - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); @@ -67,7 +67,7 @@ export default function SessionSignModal() { setIsLoadingReject(true); const response = rejectEIP155Request(requestEvent); try { - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); diff --git a/wallets/rn_cli_wallet/src/modals/SessionSignTypedDataModal.tsx b/wallets/rn_cli_wallet/src/modals/SessionSignTypedDataModal.tsx index 22cf9525..3abd4e8b 100644 --- a/wallets/rn_cli_wallet/src/modals/SessionSignTypedDataModal.tsx +++ b/wallets/rn_cli_wallet/src/modals/SessionSignTypedDataModal.tsx @@ -10,7 +10,7 @@ import { approveEIP155Request, rejectEIP155Request, } from '@/utils/EIP155RequestHandlerUtil'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import {handleRedirect} from '@/utils/LinkingUtils'; import ModalStore from '@/store/ModalStore'; import {RequestModal} from './RequestModal'; @@ -42,7 +42,7 @@ export default function SessionSignTypedDataModal() { setIsLoadingApprove(true); const response = await approveEIP155Request(requestEvent); try { - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); @@ -65,7 +65,7 @@ export default function SessionSignTypedDataModal() { setIsLoadingReject(true); const response = rejectEIP155Request(requestEvent); try { - await web3wallet.respondSessionRequest({ + await walletKit.respondSessionRequest({ topic, response, }); diff --git a/wallets/rn_cli_wallet/src/screens/App.tsx b/wallets/rn_cli_wallet/src/screens/App.tsx index e9535f8d..41d18a68 100644 --- a/wallets/rn_cli_wallet/src/screens/App.tsx +++ b/wallets/rn_cli_wallet/src/screens/App.tsx @@ -8,9 +8,9 @@ import Toast from 'react-native-toast-message'; import {RELAYER_EVENTS} from '@walletconnect/core'; import {RootStackNavigator} from '@/navigators/RootStackNavigator'; -import useInitializeWeb3Wallet from '@/hooks/useInitializeWeb3Wallet'; -import useWalletConnectEventsManager from '@/hooks/useWalletConnectEventsManager'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import useInitializeWalletKit from '@/hooks/useInitializeWalletKit'; +import useWalletKitEventsManager from '@/hooks/useWalletKitEventsManager'; +import {walletKit} from '@/utils/WalletKitUtil'; import SettingsStore from '@/store/SettingsStore'; import ModalStore from '@/store/ModalStore'; @@ -25,30 +25,30 @@ const App = () => { const scheme = useColorScheme(); // Step 1 - Initialize wallets and wallet connect client - const initialized = useInitializeWeb3Wallet(); + const initialized = useInitializeWalletKit(); // Step 2 - Once initialized, set up wallet connect event manager - useWalletConnectEventsManager(initialized); + useWalletKitEventsManager(initialized); useEffect(() => { if (initialized) { BootSplash.hide({fade: true}); - web3wallet.core.relayer.on(RELAYER_EVENTS.connect, () => { + walletKit.core.relayer.on(RELAYER_EVENTS.connect, () => { Toast.show({ type: 'success', text1: 'Network connection is restored!', }); SettingsStore.setSocketStatus('connected'); }); - web3wallet.core.relayer.on(RELAYER_EVENTS.disconnect, () => { + walletKit.core.relayer.on(RELAYER_EVENTS.disconnect, () => { Toast.show({ type: 'error', text1: 'Network connection lost.', }); SettingsStore.setSocketStatus('disconnected'); }); - web3wallet.core.relayer.on(RELAYER_EVENTS.connection_stalled, () => { + walletKit.core.relayer.on(RELAYER_EVENTS.connection_stalled, () => { Toast.show({ type: 'error', text1: 'Network connection stalled.', @@ -63,7 +63,7 @@ const App = () => { ModalStore.open('LoadingModal', {loadingMessage: 'Pairing...'}); await SettingsStore.state.initPromise; - await web3wallet.pair({uri}); + await walletKit.pair({uri}); } catch (error: any) { ModalStore.open('LoadingModal', { errorMessage: error?.message || 'There was an error pairing', @@ -92,7 +92,7 @@ const App = () => { useEffect(() => { /** - * Empty promise that resolves after web3wallet is initialized + * Empty promise that resolves after WalletKit is initialized * Usefull for cold starts */ SettingsStore.setInitPromise(); diff --git a/wallets/rn_cli_wallet/src/screens/Connections/index.tsx b/wallets/rn_cli_wallet/src/screens/Connections/index.tsx index 02479d1d..7a7726d6 100644 --- a/wallets/rn_cli_wallet/src/screens/Connections/index.tsx +++ b/wallets/rn_cli_wallet/src/screens/Connections/index.tsx @@ -1,6 +1,6 @@ import {useEffect, useState} from 'react'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import Sessions from '@/screens/Connections/components/Sessions'; import ActionButtons from '@/screens/Connections/components/ActionButtons'; import {CopyURIDialog} from '@/components/CopyURIDialog'; @@ -28,13 +28,13 @@ export default function Connections({route}: Props) { ModalStore.open('LoadingModal', {loadingMessage: 'Pairing...'}); /** - * Wait for settings web3wallet to be initialized before calling pair + * Wait for settings walletKit to be initialized before calling pair */ await SettingsStore.state.initPromise; try { setCopyDialogVisible(false); - await web3wallet.pair({uri}); + await walletKit.pair({uri}); } catch (error: any) { ModalStore.open('LoadingModal', { errorMessage: error?.message || 'There was an error pairing', diff --git a/wallets/rn_cli_wallet/src/screens/SessionDetail/index.tsx b/wallets/rn_cli_wallet/src/screens/SessionDetail/index.tsx index f14a2f5b..a8f988d9 100644 --- a/wallets/rn_cli_wallet/src/screens/SessionDetail/index.tsx +++ b/wallets/rn_cli_wallet/src/screens/SessionDetail/index.tsx @@ -3,7 +3,7 @@ import {View, Text, ScrollView} from 'react-native'; import {getSdkError} from '@walletconnect/utils'; import {useNavigation} from '@react-navigation/native'; -import {web3wallet} from '@/utils/WalletConnectUtil'; +import {walletKit} from '@/utils/WalletKitUtil'; import {ModalHeader} from '@/components/Modal/ModalHeader'; import {useTheme} from '@/hooks/useTheme'; import {ActionButton} from '@/components/ActionButton'; @@ -27,7 +27,7 @@ export default function SessionDetail({route}: Props) { const session = useMemo( () => - web3wallet.engine.signClient.session.values.find(s => s.topic === topic), + walletKit.engine.signClient.session.values.find(s => s.topic === topic), [topic], ); const namespaces = useMemo(() => session?.namespaces, [session]); @@ -43,11 +43,11 @@ export default function SessionDetail({route}: Props) { const onDeleteSession = useCallback(async () => { setDeleteLoading(true); try { - await web3wallet.disconnectSession({ + await walletKit.disconnectSession({ topic, reason: getSdkError('USER_DISCONNECTED'), }); - SettingsStore.setSessions(Object.values(web3wallet.getActiveSessions())); + SettingsStore.setSessions(Object.values(walletKit.getActiveSessions())); nativagor.goBack(); } catch (e) { console.log((e as Error).message, 'error'); @@ -57,7 +57,7 @@ export default function SessionDetail({route}: Props) { const onSessionPing = useCallback(async () => { setPingLoading(true); - await web3wallet.engine.signClient.ping({topic}); + await walletKit.engine.signClient.ping({topic}); setPingLoading(false); }, [topic]); @@ -66,7 +66,7 @@ export default function SessionDetail({route}: Props) { try { const namespace = Object.keys(session?.namespaces!)[0]; const chainId = session?.namespaces[namespace].chains?.[0]; - await web3wallet.emitSessionEvent({ + await walletKit.emitSessionEvent({ topic, event: {name: 'chainChanged', data: 'Hello World'}, chainId: chainId!, // chainId: 'eip155:1' @@ -80,11 +80,11 @@ export default function SessionDetail({route}: Props) { const onSessionUpdate = useCallback(async () => { setUpdateLoading(true); try { - const _session = web3wallet.engine.signClient.session.get(topic); + const _session = walletKit.engine.signClient.session.get(topic); const baseAddress = '0x70012948c348CBF00806A3C79E3c5DAdFaAa347'; const namespaceKeyToUpdate = Object.keys(_session?.namespaces)[0]; const namespaceToUpdate = _session?.namespaces[namespaceKeyToUpdate]; - await web3wallet.updateSession({ + await walletKit.updateSession({ topic, namespaces: { ..._session?.namespaces, diff --git a/wallets/rn_cli_wallet/src/store/ModalStore.ts b/wallets/rn_cli_wallet/src/store/ModalStore.ts index 7db083ad..b7eb8a4b 100644 --- a/wallets/rn_cli_wallet/src/store/ModalStore.ts +++ b/wallets/rn_cli_wallet/src/store/ModalStore.ts @@ -1,5 +1,4 @@ import {SessionTypes, SignClientTypes} from '@walletconnect/types'; -import {Web3WalletTypes} from '@walletconnect/web3wallet'; import {proxy, ref} from 'valtio'; /** @@ -9,7 +8,6 @@ interface ModalData { proposal?: SignClientTypes.EventArguments['session_proposal']; requestEvent?: SignClientTypes.EventArguments['session_request']; requestSession?: SessionTypes.Struct; - request?: Web3WalletTypes.AuthRequest; authRequest?: SignClientTypes.EventArguments['session_authenticate']; loadingMessage?: string; errorMessage?: string; diff --git a/wallets/rn_cli_wallet/src/utils/WalletConnectUtil.ts b/wallets/rn_cli_wallet/src/utils/WalletKitUtil.ts similarity index 76% rename from wallets/rn_cli_wallet/src/utils/WalletConnectUtil.ts rename to wallets/rn_cli_wallet/src/utils/WalletKitUtil.ts index eb7d96f1..13ca9fd2 100644 --- a/wallets/rn_cli_wallet/src/utils/WalletConnectUtil.ts +++ b/wallets/rn_cli_wallet/src/utils/WalletKitUtil.ts @@ -1,22 +1,22 @@ -import {Web3Wallet, IWeb3Wallet} from '@walletconnect/web3wallet'; +import {WalletKit, IWalletKit} from '@reown/walletkit'; import {Core} from '@walletconnect/core'; import AsyncStorage from '@react-native-async-storage/async-storage'; import Config from 'react-native-config'; -export let web3wallet: IWeb3Wallet; +export let walletKit: IWalletKit; -export async function createWeb3Wallet(relayerRegionURL: string) { +export async function createWalletKit(relayerRegionURL: string) { const core = new Core({ projectId: Config.ENV_PROJECT_ID, relayUrl: relayerRegionURL ?? Config.ENV_RELAY_URL, }); - web3wallet = await Web3Wallet.init({ + walletKit = await WalletKit.init({ core, metadata: { name: 'React Native Wallet Example', - description: 'React Native Wallet for WalletConnect', - url: 'https://walletconnect.com/', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + description: 'React Native Wallet with Reown WalletKit', + url: 'https://reown.com/', + icons: ['https://avatars.githubusercontent.com/u/179229932'], redirect: { native: 'rn-web3wallet://', universal: 'https://lab.web3modal.com/rn_walletkit', @@ -27,7 +27,7 @@ export async function createWeb3Wallet(relayerRegionURL: string) { try { const clientId = - await web3wallet.engine.signClient.core.crypto.getClientId(); + await walletKit.engine.signClient.core.crypto.getClientId(); console.log('WalletConnect ClientID: ', clientId); AsyncStorage.setItem('WALLETCONNECT_CLIENT_ID', clientId); } catch (error) { @@ -43,13 +43,13 @@ export async function updateSignClientChainId( address: string, ) { // get most recent session - const sessions = web3wallet.getActiveSessions(); + const sessions = walletKit.getActiveSessions(); if (!sessions) { return; } const namespace = chainId.split(':')[0]; Object.values(sessions).forEach(async session => { - await web3wallet.updateSession({ + await walletKit.updateSession({ topic: session.topic, namespaces: { ...session.namespaces, @@ -91,7 +91,7 @@ export async function updateSignClientChainId( }, chainId, }; - await web3wallet.emitSessionEvent(chainChanged); - await web3wallet.emitSessionEvent(accountsChanged); + await walletKit.emitSessionEvent(chainChanged); + await walletKit.emitSessionEvent(accountsChanged); }); } diff --git a/wallets/rn_cli_wallet/yarn.lock b/wallets/rn_cli_wallet/yarn.lock index bad6b4eb..11da9a4a 100644 --- a/wallets/rn_cli_wallet/yarn.lock +++ b/wallets/rn_cli_wallet/yarn.lock @@ -3419,6 +3419,21 @@ __metadata: languageName: node linkType: hard +"@reown/walletkit@npm:1.0.0": + version: 1.0.0 + resolution: "@reown/walletkit@npm:1.0.0" + dependencies: + "@walletconnect/core": 2.16.1 + "@walletconnect/jsonrpc-provider": 1.0.14 + "@walletconnect/jsonrpc-utils": 1.0.8 + "@walletconnect/logger": 2.1.2 + "@walletconnect/sign-client": 2.16.1 + "@walletconnect/types": 2.16.1 + "@walletconnect/utils": 2.16.1 + checksum: 5769c9bd6f9d28981eae250f9bdf59ea924d4226bb1448cb4dc9ae811227faebfd7191b662695ed3ca9dfe91c5e10f1e106e319ed3aa29ca457d2c268f43c867 + languageName: node + linkType: hard + "@rnx-kit/chromium-edge-launcher@npm:^1.0.0": version: 1.0.0 resolution: "@rnx-kit/chromium-edge-launcher@npm:1.0.0" @@ -3856,7 +3871,7 @@ __metadata: languageName: node linkType: hard -"@stablelib/sha256@npm:1.0.1, @stablelib/sha256@npm:^1.0.1": +"@stablelib/sha256@npm:1.0.1": version: 1.0.1 resolution: "@stablelib/sha256@npm:1.0.1" dependencies: @@ -4281,30 +4296,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/auth-client@npm:2.1.2": - version: 2.1.2 - resolution: "@walletconnect/auth-client@npm:2.1.2" - dependencies: - "@ethersproject/hash": ^5.7.0 - "@ethersproject/transactions": ^5.7.0 - "@stablelib/random": ^1.0.2 - "@stablelib/sha256": ^1.0.1 - "@walletconnect/core": ^2.10.1 - "@walletconnect/events": ^1.0.1 - "@walletconnect/heartbeat": ^1.2.1 - "@walletconnect/jsonrpc-utils": ^1.0.8 - "@walletconnect/logger": ^2.0.1 - "@walletconnect/time": ^1.0.2 - "@walletconnect/utils": ^2.10.1 - events: ^3.3.0 - isomorphic-unfetch: ^3.1.0 - checksum: 717af88945ae098cf7f1c3d8e381578bf3f9ad75817ef2c267d9f3965741870bc282d78ae7d5d8ce440be1b3dabdd4ddf078b79cdac66955784d2d016e2280f4 - languageName: node - linkType: hard - -"@walletconnect/core@npm:2.16.0, @walletconnect/core@npm:^2.10.1": - version: 2.16.0 - resolution: "@walletconnect/core@npm:2.16.0" +"@walletconnect/core@npm:2.16.1": + version: 2.16.1 + resolution: "@walletconnect/core@npm:2.16.1" dependencies: "@walletconnect/heartbeat": 1.2.2 "@walletconnect/jsonrpc-provider": 1.0.14 @@ -4317,12 +4311,12 @@ __metadata: "@walletconnect/relay-auth": 1.0.4 "@walletconnect/safe-json": 1.0.2 "@walletconnect/time": 1.0.2 - "@walletconnect/types": 2.16.0 - "@walletconnect/utils": 2.16.0 + "@walletconnect/types": 2.16.1 + "@walletconnect/utils": 2.16.1 events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.0 - checksum: 97c0df0336635df0b140161ae36c429bf46a873fc3d348dae3d739036fec88a77898ce50f58d0359fc18d97122dfec65077f4fb6cd97d6b8fd20c5978a40881c + checksum: ab658833fb845624ccb2d109c5218f5b4624b948b4a8b01bf22eb964c5e5d3cd890ee43645e196ad73d1be9a25d6a1bcd16a83893266ee1b30c9ec5377086820 languageName: node linkType: hard @@ -4345,7 +4339,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/heartbeat@npm:1.2.2, @walletconnect/heartbeat@npm:^1.2.1": +"@walletconnect/heartbeat@npm:1.2.2": version: 1.2.2 resolution: "@walletconnect/heartbeat@npm:1.2.2" dependencies: @@ -4416,7 +4410,7 @@ __metadata: languageName: node linkType: hard -"@walletconnect/logger@npm:2.1.2, @walletconnect/logger@npm:^2.0.1": +"@walletconnect/logger@npm:2.1.2": version: 2.1.2 resolution: "@walletconnect/logger@npm:2.1.2" dependencies: @@ -4426,9 +4420,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/react-native-compat@npm:2.16.0": - version: 2.16.0 - resolution: "@walletconnect/react-native-compat@npm:2.16.0" +"@walletconnect/react-native-compat@npm:2.16.1": + version: 2.16.1 + resolution: "@walletconnect/react-native-compat@npm:2.16.1" dependencies: events: 3.3.0 fast-text-encoding: 1.0.6 @@ -4441,7 +4435,7 @@ __metadata: peerDependenciesMeta: expo-application: optional: true - checksum: bbe17f049e8f213f8505bedd6e1f0dccdef73dae92f8b4d55827169417129c35970366a89efb7eda4c88d8353edd5973d0ebf85a061b742aaf8a082dd6bae478 + checksum: 543ce405024606416554e5120493a7cdb6dc93d7706920b05ad4947440c31d3e17956d8253325ba31cf63ba3d36f642e58d68e010bc5f712d4a52267f41b57b0 languageName: node linkType: hard @@ -4477,20 +4471,20 @@ __metadata: languageName: node linkType: hard -"@walletconnect/sign-client@npm:2.16.0": - version: 2.16.0 - resolution: "@walletconnect/sign-client@npm:2.16.0" +"@walletconnect/sign-client@npm:2.16.1": + version: 2.16.1 + resolution: "@walletconnect/sign-client@npm:2.16.1" dependencies: - "@walletconnect/core": 2.16.0 + "@walletconnect/core": 2.16.1 "@walletconnect/events": 1.0.1 "@walletconnect/heartbeat": 1.2.2 "@walletconnect/jsonrpc-utils": 1.0.8 "@walletconnect/logger": 2.1.2 "@walletconnect/time": 1.0.2 - "@walletconnect/types": 2.16.0 - "@walletconnect/utils": 2.16.0 + "@walletconnect/types": 2.16.1 + "@walletconnect/utils": 2.16.1 events: 3.3.0 - checksum: 34827c64519ca0fba816bc6af8b5fa3d2927887a4a8e012d299b030e3817b7a646aefcb28de3a43be74234c8d0c6ae8fcfb1d77f137bcf6bef9f539f3489c1b5 + checksum: e25808e2fbfc01cff47391281e7cb050927cde2e83f5eec640e5be52c8adc9ee50bd70447a2e72defc9cad3d3e3009ef48ac7d1b694dafa5d6a62e046863b58a languageName: node linkType: hard @@ -4503,9 +4497,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:2.16.0": - version: 2.16.0 - resolution: "@walletconnect/types@npm:2.16.0" +"@walletconnect/types@npm:2.16.1": + version: 2.16.1 + resolution: "@walletconnect/types@npm:2.16.1" dependencies: "@walletconnect/events": 1.0.1 "@walletconnect/heartbeat": 1.2.2 @@ -4513,13 +4507,13 @@ __metadata: "@walletconnect/keyvaluestorage": 1.1.1 "@walletconnect/logger": 2.1.2 events: 3.3.0 - checksum: 5a7aef8cfd38d9b9019f7a414a4ff295b173778de50e2a98827a7c32335545cab5b57addca72e49f9936b0bbca5ba2d53879039911898d8350342c6471d6b5e5 + checksum: 9ea47bfb0d5db8f0e440e040d55b05b4932aa3f56e976d42290e831c39d4bc5f2d4cd400f64ca86d8a6a195e34d6370f8db878f7b339ff7cac60a12bbfd9e445 languageName: node linkType: hard -"@walletconnect/utils@npm:2.16.0, @walletconnect/utils@npm:^2.10.1": - version: 2.16.0 - resolution: "@walletconnect/utils@npm:2.16.0" +"@walletconnect/utils@npm:2.16.1": + version: 2.16.1 + resolution: "@walletconnect/utils@npm:2.16.1" dependencies: "@stablelib/chacha20poly1305": 1.0.1 "@stablelib/hkdf": 1.0.1 @@ -4530,30 +4524,14 @@ __metadata: "@walletconnect/relay-auth": 1.0.4 "@walletconnect/safe-json": 1.0.2 "@walletconnect/time": 1.0.2 - "@walletconnect/types": 2.16.0 + "@walletconnect/types": 2.16.1 "@walletconnect/window-getters": 1.0.1 "@walletconnect/window-metadata": 1.0.1 detect-browser: 5.3.0 elliptic: ^6.5.7 query-string: 7.1.3 uint8arrays: 3.1.0 - checksum: 147d61521d3e19b2b81c7a06996c980529861db0e0088bd3ba35526426bca963bef544532d138957e8a81728b8b2d849f2237d0c1a0d45d436bb97d8dc51f6fb - languageName: node - linkType: hard - -"@walletconnect/web3wallet@npm:1.15.0": - version: 1.15.0 - resolution: "@walletconnect/web3wallet@npm:1.15.0" - dependencies: - "@walletconnect/auth-client": 2.1.2 - "@walletconnect/core": 2.16.0 - "@walletconnect/jsonrpc-provider": 1.0.14 - "@walletconnect/jsonrpc-utils": 1.0.8 - "@walletconnect/logger": 2.1.2 - "@walletconnect/sign-client": 2.16.0 - "@walletconnect/types": 2.16.0 - "@walletconnect/utils": 2.16.0 - checksum: 23ae356367a44819b746115187f736847b18417a795fa9f0a4bbe721aa18aaffe1ee8a7a3bf5dfb180ea023f8896a38c3c5eac5c816d0e2ed14c00f2d48e1203 + checksum: 404c5f262e020c208ab30283c1dbe23f7a4876d3d89ebb23dde95ea32deb8ada72886d64151f6a826d21774797fa44feed70d33729661aa0de4b6850b3ace0d5 languageName: node linkType: hard @@ -8320,16 +8298,6 @@ __metadata: languageName: node linkType: hard -"isomorphic-unfetch@npm:^3.1.0": - version: 3.1.0 - resolution: "isomorphic-unfetch@npm:3.1.0" - dependencies: - node-fetch: ^2.6.1 - unfetch: ^4.2.0 - checksum: 82b92fe4ec2823a81ab0fc0d11bd94d710e6f9a940d56b3cba31896d4345ec9ffc7949f4ff31ebcae84f6b95f7ebf3474c4c7452b834eb4078ea3f2c37e459c5 - languageName: node - linkType: hard - "istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0": version: 3.2.2 resolution: "istanbul-lib-coverage@npm:3.2.2" @@ -10027,7 +9995,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.2.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7": +"node-fetch@npm:^2.2.0, node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.7": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: @@ -12881,13 +12849,6 @@ __metadata: languageName: node linkType: hard -"unfetch@npm:^4.2.0": - version: 4.2.0 - resolution: "unfetch@npm:4.2.0" - checksum: 6a4b2557e1d921eaa80c4425ce27a404945ec26491ed06e62598f333996a91a44c7908cb26dc7c2746d735762b13276cf4aa41829b4c8f438dde63add3045d7a - languageName: node - linkType: hard - "unicode-canonical-property-names-ecmascript@npm:^2.0.0": version: 2.0.0 resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" @@ -13185,12 +13146,12 @@ __metadata: "@react-navigation/native": 6.1.18 "@react-navigation/native-stack": 6.10.1 "@react-navigation/stack": 6.4.1 + "@reown/walletkit": 1.0.0 "@sentry/react-native": 5.26.0 "@types/lodash.clonedeep": ^4.5.9 "@types/react": ^18.2.6 "@types/react-test-renderer": ^18.0.0 - "@walletconnect/react-native-compat": 2.16.0 - "@walletconnect/web3wallet": 1.15.0 + "@walletconnect/react-native-compat": 2.16.1 "@web3modal/ui-react-native": 2.0.1 babel-jest: ^29.6.3 babel-plugin-module-resolver: ^5.0.0 diff --git a/wallets/rn_cli_wallet_068_5/README.md b/wallets/rn_cli_wallet_068_5/README.md index a58ef60a..83ccea4e 100644 --- a/wallets/rn_cli_wallet_068_5/README.md +++ b/wallets/rn_cli_wallet_068_5/README.md @@ -10,7 +10,7 @@ Inside this directory (`wallets/rn_cli_wallet_068_5`), install the React Native yarn ``` -Set up your own `.env` file from the example and **replace `ENV_PROJECT_ID` with your own ProjectId from https://cloud.walletconnect.com** +Set up your own `.env` file from the example and **replace `ENV_PROJECT_ID` with your own ProjectId from https://cloud.reown.com** ```bash cp .env.example .env @@ -18,7 +18,7 @@ cp .env.example .env ### Testing the Wallet -- Go to our [React App](https://react-app.walletconnect.com/) +- Go to our [React App](https://react-app.reown.com/) - Get the WC URI - Paste into the React Native Wallet - Pair (Approve or reject) diff --git a/wallets/rn_cli_wallet_068_5/src/utils/Web3WalletClient.ts b/wallets/rn_cli_wallet_068_5/src/utils/Web3WalletClient.ts index b9f5ba1c..6e4b83ed 100644 --- a/wallets/rn_cli_wallet_068_5/src/utils/Web3WalletClient.ts +++ b/wallets/rn_cli_wallet_068_5/src/utils/Web3WalletClient.ts @@ -28,7 +28,7 @@ export async function createWeb3Wallet() { name: 'React Native Web3Wallet', description: 'ReactNative Web3Wallet', url: 'https://walletconnect.com/', - icons: ['https://avatars.githubusercontent.com/u/37784886'], + icons: ['https://avatars.githubusercontent.com/u/179229932'], }, }); }