diff --git a/.circleci/config.yml b/.circleci/config.yml index 469c17b39..ab2087803 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -731,7 +731,7 @@ jobs: - image: cimg/node:18.0.0 working_directory: ~/web3-onboard-monorepo/packages/particle-network steps: - - node-build-steps + - node-staging-build-steps workflows: version: 2 diff --git a/docs/package.json b/docs/package.json index 17bd909ea..da3dd6296 100644 --- a/docs/package.json +++ b/docs/package.json @@ -58,21 +58,21 @@ "@web3-onboard/capsule": "^2.0.1", "@web3-onboard/cede-store": "^2.2.0", "@web3-onboard/coinbase": "^2.2.7", - "@web3-onboard/core": "^2.21.5", + "@web3-onboard/core": "^2.21.6", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.4", "@web3-onboard/fortmatic": "^2.0.19", "@web3-onboard/frame": "^2.0.2", "@web3-onboard/frontier": "^2.0.4", "@web3-onboard/gas": "^2.1.8", - "@web3-onboard/gnosis": "^2.1.10", + "@web3-onboard/gnosis": "^2.2.2", "@web3-onboard/infinity-wallet": "^2.0.4", - "@web3-onboard/injected-wallets": "^2.10.15", + "@web3-onboard/injected-wallets": "^2.10.16", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", "@web3-onboard/ledger": "^2.6.0", "@web3-onboard/magic": "^2.1.7", - "@web3-onboard/metamask": "^2.0.4", + "@web3-onboard/metamask": "^2.0.5", "@web3-onboard/mew-wallet": "^2.0.4", "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.7", @@ -84,11 +84,11 @@ "@web3-onboard/trust": "^2.0.4", "@web3-onboard/uauth": "^2.1.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.5.4", + "@web3-onboard/walletconnect": "^2.5.5", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.4", "@web3-onboard/zeal": "^2.0.4", - "@web3-onboard/particle-network": "^2.0.0", + "@web3-onboard/particle-network": "^2.0.1", "animejs": "^3.2.1", "bnc-sdk": "^4.6.6", "ethers": "^5.7.0", diff --git a/docs/src/lib/services/onboard.js b/docs/src/lib/services/onboard.js index c20865aaa..b6e205d3d 100644 --- a/docs/src/lib/services/onboard.js +++ b/docs/src/lib/services/onboard.js @@ -194,12 +194,6 @@ const intiOnboard = async (theme) => { } ] }, - { - id: '0x5', - token: 'ETH', - label: 'Goerli', - rpcUrl: `https://goerli.infura.io/v3/${INFURA_ID}` - }, { id: 11155111, token: 'ETH', @@ -245,7 +239,7 @@ const intiOnboard = async (theme) => { { id: '0xA', token: 'OETH', - label: 'Optimism', + label: 'OP Mainnet', rpcUrl: 'https://mainnet.optimism.io' }, { diff --git a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md index f75533be0..4184e6799 100644 --- a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md @@ -41,7 +41,7 @@ web3-onboard supports ALL EVM networks. Supporting a new network is simply a mat - Arbitrum Nova - Base - Polygon -- Optimism +- OP Mainnet - Avalanche - BNB Chain - Celo @@ -50,7 +50,6 @@ web3-onboard supports ALL EVM networks. Supporting a new network is simply a mat - Gnosis Chain - Harmony One - Moonriver -- Goerli - Sepolia - Base Goerli - All other EVM networks diff --git a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md index f62e8bf65..ea2710599 100644 --- a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md @@ -597,7 +597,7 @@ type Notification = { type NotificationType = 'pending' | 'success' | 'error' | 'hint' -export declare type Network = 'main' | 'goerli' | 'matic-main' | 'matic-mumbai' | 'local' +export declare type Network = 'main' | 'sepolia' | 'matic-main' | 'matic-mumbai' | 'local' export interface UpdateNotification { (notificationObject: CustomNotification): { @@ -630,12 +630,6 @@ const onboard = Onboard({ label: 'Ethereum Mainnet', rpcUrl: `https://mainnet.infura.io/v3/${INFURA_ID}` }, - { - id: '0x5', - token: 'ETH', - label: 'Goerli', - rpcUrl: `https://goerli.infura.io/v3/${INFURA_ID}` - }, { id: 11155111, token: 'ETH', @@ -669,7 +663,7 @@ const onboard = Onboard({ { id: 10, token: 'OETH', - label: 'Optimism', + label: 'OP Mainnet', rpcUrl: 'https://mainnet.optimism.io' }, { diff --git a/docs/src/routes/docs/[...3]modules/[...3]react/+page.md b/docs/src/routes/docs/[...3]modules/[...3]react/+page.md index 619a937b7..3b88bf1f1 100644 --- a/docs/src/routes/docs/[...3]modules/[...3]react/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...3]react/+page.md @@ -109,13 +109,13 @@ the initialized web3Onboard instance will be available in all children component import { Web3OnboardProvider, init } from '@web3-onboard/react' import injectedModule from '@web3-onboard/injected-wallets' const INFURA_KEY = '' -const ethereumRopsten = { - id: '0x3', - token: 'rETH', - label: 'Ethereum Ropsten', - rpcUrl: `https://ropsten.infura.io/v3/${INFURA_KEY}` +const ethereumSepolia = { + id: 11155111, + token: 'ETH', + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' } -const chains = [ethereumRopsten] +const chains = [ethereumSepolia] const wallets = [injectedModule()] const web3Onboard = init({ wallets, diff --git a/docs/src/routes/docs/[...3]modules/[...5]transaction-preview/+page.md b/docs/src/routes/docs/[...3]modules/[...5]transaction-preview/+page.md index 43efaff0d..feca003c1 100644 --- a/docs/src/routes/docs/[...3]modules/[...5]transaction-preview/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...5]transaction-preview/+page.md @@ -367,10 +367,7 @@ export type System = 'bitcoin' | 'ethereum' export type Network = | 'main' | 'testnet' - | 'ropsten' - | 'rinkeby' - | 'goerli' - | 'kovan' + | 'sepolia' | 'xdai' | 'bsc-main' | 'matic-main' diff --git a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md index cc84d188b..de843ece0 100644 --- a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md +++ b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md @@ -375,6 +375,7 @@ const injected = injectedModule({ - SubWallet - _Desktop & Mobile_ - Kayros - _Desktop_ - Lif3Wallet - _Mobile_ +- StableWallet - _Mobile_ ## Build Environments diff --git a/docs/src/routes/examples/[...1]connect-wallet/+page.md b/docs/src/routes/examples/[...1]connect-wallet/+page.md index 8d83ad791..9e31ac428 100644 --- a/docs/src/routes/examples/[...1]connect-wallet/+page.md +++ b/docs/src/routes/examples/[...1]connect-wallet/+page.md @@ -127,10 +127,10 @@ const chains = [ rpcUrl: `https://mainnet.infura.io/v3/${INFURA_KEY}` }, { - id: '0x5', + id: 11155111, token: 'ETH', - label: 'Goerli', - rpcUrl: `https://goerli.infura.io/v3/${INFURA_KEY}` + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' }, { id: '0x13881', @@ -147,7 +147,7 @@ const chains = [ { id: '0xA', token: 'OETH', - label: 'Optimism', + label: 'OP Mainnet', rpcUrl: 'https://mainnet.optimism.io' }, { @@ -395,10 +395,10 @@ const chains = [ rpcUrl: `https://mainnet.infura.io/v3/${INFURA_ID}` }, { - id: '0x5', + id: 11155111, token: 'ETH', - label: 'Goerli', - rpcUrl: `https://goerli.infura.io/v3/${INFURA_ID}` + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' }, { id: '0x13881', @@ -415,7 +415,7 @@ const chains = [ { id: '0xA', token: 'OETH', - label: 'Optimism', + label: 'OP Mainnet', rpcUrl: 'https://mainnet.optimism.io' }, { diff --git a/docs/src/routes/examples/[...2]uniswap-widget/+page.md b/docs/src/routes/examples/[...2]uniswap-widget/+page.md index 0c20bcdb3..1fc0d0592 100644 --- a/docs/src/routes/examples/[...2]uniswap-widget/+page.md +++ b/docs/src/routes/examples/[...2]uniswap-widget/+page.md @@ -45,11 +45,11 @@ import injectedModule from '@web3-onboard/injected-wallets' const INFURA_KEY = '' -const ethereumRopsten = { - id: '0x3', - token: 'rETH', - label: 'Ethereum Ropsten', - rpcUrl: `https://ropsten.infura.io/v3/${INFURA_KEY}` +const ethereumSepolia = { + id: 11155111, + token: 'ETH', + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' } const polygonMainnet = { @@ -66,7 +66,7 @@ const degenChain = { rpcUrl: 'https://rpc.degen.tips' } -const chains = [ethereumRopsten, polygonMainnet] +const chains = [ethereumSepolia, polygonMainnet] const wallets = [injectedModule()] diff --git a/docs/yarn.lock b/docs/yarn.lock index a060925a8..2843c381a 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -3212,10 +3212,10 @@ resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-3.0.0.tgz#8c2b9073fe0722d48693143b0dc8448840daa3bd" integrity sha512-j6Z47VOmVyGMlnKXZmL0fyvWfEYtKWCA9yGZkU3FCsGZUT5lHGmvaV9JA5F2Y+010y7+ROtR3WMXIkvl/nVzqQ== -"@metamask/sdk-communication-layer@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.2.tgz#f7cf48a6938890397f39386bcfc82c8b967b7652" - integrity sha512-5Hf2K+v3PWjmk+yxl9C2UXc7bMp77tBu3nUvZrpETB+bJ5y5rsKSe8Tkz7EFTobP+Xp6zUmqkSGmw24kO+Qqag== +"@metamask/sdk-communication-layer@0.18.4": + version "0.18.4" + resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.4.tgz#8ddef419101de86149a8cdc442dcbb80686f002c" + integrity sha512-aBJu3l56h8nnToYF+KXVGXQ82m4MEl8x3q89GBjMyX8/+f7SnmgNkkB2ApqLI/1XMnJRBQw/s1/zUSI7TUyutA== dependencies: bufferutil "^4.0.8" date-fns "^2.29.3" @@ -3230,14 +3230,14 @@ dependencies: qr-code-styling "^1.6.0-rc.1" -"@metamask/sdk@^0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.2.tgz#3ecbbe62530de0046fb885e70e3de9f6ce6b641a" - integrity sha512-iLiadHCDNxPKjOEjVxmhawLm6NdRW+2Cf1mnvQgHk/xueZysruZcwd1cpV63Eya5KfGl5T7fJNUwKur5zCY05g== +"@metamask/sdk@^0.18.3": + version "0.18.4" + resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.4.tgz#17164ce3cef2d1b9ab45e4bdb4087856a10aae6c" + integrity sha512-AW9R3lu0Z+bJKgEAnSEqo4OFjG+Q9PHQI5p2ZRQJWul08uvdlSFJsM424ZxKJtWBcN49YcZI+NuHZfKfAXrEvg== dependencies: "@metamask/onboarding" "^1.0.1" "@metamask/providers" "^15.0.0" - "@metamask/sdk-communication-layer" "0.18.2" + "@metamask/sdk-communication-layer" "0.18.4" "@metamask/sdk-install-modal-web" "0.17.0" "@types/dom-screen-wake-lock" "^1.0.0" bowser "^2.9.0" @@ -5907,10 +5907,10 @@ ethers "5.5.4" joi "17.9.1" -"@web3-onboard/core@^2.21.4": - version "2.21.4" - resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.4.tgz#0bf80a30c32f5fd8d5330cda4b6c6729c40ca316" - integrity sha512-+nOKj3hudHXfS5J8Ej5P5v/NWuG1b/863Ikaob/UHsCrulle5ILmBNrJqs2LESLdbHjZPFQBoJG+IxTPo7yIAA== +"@web3-onboard/core@^2.21.6-alpha.1": + version "2.21.6-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.6-alpha.1.tgz#43070f4c187c39199b77f4ae6d5893fb366afc74" + integrity sha512-AB5M3Fc3RisZFNwXmH9CbGRmieaHnCsLMNNvrb6cpTpmmx1UFXj6vDwdQJwX0rrvUNAurdavbDK0DkzvnINofg== dependencies: "@web3-onboard/common" "^2.3.4" bignumber.js "^9.0.0" @@ -6003,10 +6003,10 @@ dependencies: "@infinitywallet/infinity-connector" "^1.0.6" -"@web3-onboard/injected-wallets@^2.10.13": - version "2.10.14" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.14.tgz#ad4f7585927651050caec232a62774f422fb9c01" - integrity sha512-lU/YCCYNr7+Qgg1lJ1vQofmJhMPZrkRTYO0lgkGsmLFVWZZ4rJIU1dm31h5iHm4nVUbw3ItYDICKsI1NgX46AQ== +"@web3-onboard/injected-wallets@^2.10.16-alpha.1": + version "2.10.16-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.16-alpha.2.tgz#0a922d814cdf3b6c0f0a5586358278fbbb648df8" + integrity sha512-BA/vP2iJftDPn+qsNwahzmKPBV2+1q1gFj0kZ4bF8WVK28nXFo3Vw/r8NekbZuRVa0gVx2IzC9GjacXq/7NWow== dependencies: "@web3-onboard/common" "^2.3.3" joi "17.9.1" @@ -6058,12 +6058,12 @@ magic-sdk "^8.1.0" rxjs "^7.5.2" -"@web3-onboard/metamask@^2.0.4-alpha.1": - version "2.0.4-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/metamask/-/metamask-2.0.4-alpha.1.tgz#82a2c38642ceca806ef9e336cb3f14fce4815d56" - integrity sha512-CF/ue+zYSm3Qz4rJaBRrfk6jqrity/rG/H+JOcZ5ajZPeCUm9T4O7W3bFvZtwmaoIE0WQVxzOWqRCzpVSgP79A== +"@web3-onboard/metamask@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@web3-onboard/metamask/-/metamask-2.0.4.tgz#0eae0e8b63f514447d551e9c60d0c995689cc557" + integrity sha512-iE3+W7amSYAd91uVBq//Yzlsur+8XAO+1FtjMzu2SLF3BIOpYd4ZXyr/AvLzpOClYdbUXyv802LcnxEN5/7dmg== dependencies: - "@metamask/sdk" "^0.18.2" + "@metamask/sdk" "^0.18.3" "@web3-onboard/common" "^2.3.3" "@web3-onboard/mew-wallet@^2.0.4": @@ -6074,10 +6074,10 @@ "@web3-onboard/common" "^2.3.3" lodash.uniqby "^4.7.0" -"@web3-onboard/particle-network@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.0.tgz#3120c507c0486b6c0f3e4b7a93967d0d97d83c69" - integrity sha512-2uiXMuKcRKe9lYnbxAa/jmfdtUmQruAyVuQ8QtPj0UQi5nBWHcrK/grmimUHzboxe/UCbn9+Qe8FrrGF1HA9Hw== +"@web3-onboard/particle-network@^2.0.1-alpha.5": + version "2.0.1-alpha.5" + resolved "https://registry.yarnpkg.com/@web3-onboard/particle-network/-/particle-network-2.0.1-alpha.5.tgz#720ea3857041a0d3c4ec9f37a21dc70e89fb66a8" + integrity sha512-fs/l7KDiZTtHMOSEPQHe4aGVRKCp38W5Aq6kK/gAhxHCkwPbn3whyTeGrPrc9SWJmLn94/8OGzn62BCxQywv/w== dependencies: "@particle-network/auth" "^1.2.1" "@particle-network/provider" "^1.2.0" diff --git a/examples/with-nextjs/pages/_app.js b/examples/with-nextjs/pages/_app.js index 4222d2ef7..62ca47650 100644 --- a/examples/with-nextjs/pages/_app.js +++ b/examples/with-nextjs/pages/_app.js @@ -4,11 +4,11 @@ import injectedModule from '@web3-onboard/injected-wallets' const INFURA_KEY = '' -const ethereumRopsten = { - id: '0x3', - token: 'rETH', - label: 'Ethereum Ropsten', - rpcUrl: `https://ropsten.infura.io/v3/${INFURA_KEY}` +const ethereumSepolia = { + id: 11155111, + token: 'ETH', + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' } const polygonMainnet = { diff --git a/package.json b/package.json index 227dcb334..2c1c86b41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.25.2", + "version": "2.25.5", "private": true, "workspaces": { "packages": [ diff --git a/packages/core/README.md b/packages/core/README.md index 6b31ef7ab..2a33e37ec 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -548,7 +548,7 @@ type NotificationType = 'pending' | 'success' | 'error' | 'hint' declare type Network = | 'main' - | 'goerli' + | 'sepolia' | 'matic-main' | 'matic-mumbai' | 'local' @@ -575,7 +575,6 @@ const injected = injectedModule() // Only one RPC endpoint required per chain const ETH_MAINNET_RPC = `https://mainnet.infura.io/v3/${INFURA_KEY}` || `https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}` -const ETH_GOERLI_RPC = `https://goerli.infura.io/v3/${INFURA_ID}` || `https://eth-goerli.g.alchemy.com/v2/${ALCHEMY_KEY}` const onboard = Onboard({ // head to https://explorer.blocknative.com/account to sign up for free @@ -594,12 +593,6 @@ const onboard = Onboard({ label: 'Sepolia', rpcUrl: 'https://rpc.sepolia.org/' }, - { - id: '0x5', - token: 'ETH', - label: 'Goerli', - rpcUrl: ETH_GOERLI_RPC - }, { id: 42161, token: 'ARB-ETH', diff --git a/packages/core/package.json b/packages/core/package.json index 82b6b76d3..5d949e8fb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.21.5", + "version": "2.21.6", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/core/src/preflight-notifications.ts b/packages/core/src/preflight-notifications.ts index 3b418d58d..b78f85d7d 100644 --- a/packages/core/src/preflight-notifications.ts +++ b/packages/core/src/preflight-notifications.ts @@ -162,7 +162,7 @@ export function extractMessageFromError(error: { if (!error.stack || !error.message) { return { eventCode: 'txError', - errorMsg: 'An unknown error occured' + errorMsg: 'An unknown error occurred' } } diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index 3242645fa..39b68b8ed 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -73,8 +73,6 @@ export function validEnsChain(chainId: ChainId): ChainId | null { case '0xa4ba': // Arb Nova case '0x144': // zksync return '0x1' - case '0x5': // Goerli - return chainId case '0xaa36a7': // Sepolia return chainId default: @@ -121,16 +119,12 @@ export function gweiToWeiHex(gwei: number): string { export const chainIdToLabel: Record = { '0x1': 'Ethereum', - '0x3': 'Ropsten', - '0x4': 'Rinkeby', - '0x5': 'Goerli', '0xaa36a7': 'Sepolia', - '0x2a': 'Kovan', '0x38': 'Binance', '0x89': 'Polygon', '0xfa': 'Fantom', - '0xa': 'Optimism', - '0x45': 'Optimism Kovan', + '0xa': 'OP Mainnet', + '0x45': 'OP Kovan', '0xa86a': 'Avalanche', '0xa4ec': 'Celo', '0x2105': 'Base', @@ -144,17 +138,13 @@ export const chainIdToLabel: Record = { export const networkToChainId: Record = { main: '0x1', - ropsten: '0x3', - rinkeby: '0x4', - goerli: '0x5', - kovan: '0x2a', + sepolia: '0xaa36a7', xdai: '0x64', 'bsc-main': '0x38', 'matic-main': '0x89', 'fantom-main': '0xfa', 'matic-mumbai': '0x80001', - 'degen': '0x27bc86aa' - + degen: '0x27bc86aa' } export const chainStyles: Record = { @@ -162,22 +152,6 @@ export const chainStyles: Record = { icon: ethereumIcon, color: '#627EEA' }, - '0x3': { - icon: ethereumIcon, - color: '#627EEA' - }, - '0x4': { - icon: ethereumIcon, - color: '#627EEA' - }, - '0x5': { - icon: ethereumIcon, - color: '#627EEA' - }, - '0x2a': { - icon: ethereumIcon, - color: '#627EEA' - }, '0xaa36a7': { icon: ethereumIcon, color: '#627EEA' diff --git a/packages/demo/package.json b/packages/demo/package.json index 56360d3f8..af1f773bd 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -32,7 +32,7 @@ "@web3-onboard/blocto": "^2.0.1", "@web3-onboard/capsule": "2.0.1", "@web3-onboard/cede-store": "^2.2.0", - "@web3-onboard/core": "^2.21.5", + "@web3-onboard/core": "^2.21.6", "@web3-onboard/coinbase": "^2.2.7", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.3", @@ -42,12 +42,12 @@ "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.2.1", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.10.14", + "@web3-onboard/injected-wallets": "^2.10.16", "@web3-onboard/keepkey": "^2.3.8", "@web3-onboard/keystone": "^2.3.8", "@web3-onboard/ledger": "^2.6.0", "@web3-onboard/magic": "^2.1.6", - "@web3-onboard/metamask": "^2.0.4", + "@web3-onboard/metamask": "^2.0.5", "@web3-onboard/mew-wallet": "^2.0.3", "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.6", @@ -59,11 +59,11 @@ "@web3-onboard/trust": "^2.0.3", "@web3-onboard/uauth": "^2.1.2", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.5.4", + "@web3-onboard/walletconnect": "^2.5.5", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.5", "@web3-onboard/zeal": "^2.0.3", - "@web3-onboard/particle-network": "^2.0.0", + "@web3-onboard/particle-network": "^2.0.1", "vconsole": "^3.15.1" }, "license": "MIT", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 428983330..46f92b6f9 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -297,12 +297,6 @@ label: 'Arbitrum Nova', rpcUrl: 'https://nova.arbitrum.io/rpc' }, - { - id: '0x5', - token: 'ETH', - label: 'Goerli', - rpcUrl: 'https://ethereum-goerli.publicnode.com' - }, { id: '0x13881', token: 'MATIC', @@ -346,7 +340,7 @@ { id: 10, token: 'OETH', - label: 'Optimism', + label: 'OP Mainnet', rpcUrl: 'https://mainnet.optimism.io' }, { @@ -410,7 +404,7 @@ // type: 'hint', // message: 'Your in the pool, hope you brought a towel!', // autoDismiss: 0, - // link: `https://goerli.etherscan.io/tx/${transaction.hash}` + // link: `https://sepolia.etherscan.io/tx/${transaction.hash}` // } // } }, @@ -759,13 +753,13 @@ >Set Chain to Mainnet Set Chain to Sepolia Set Chain to OP Mainnet
diff --git a/packages/gas/README.md b/packages/gas/README.md index ed5b24bd2..a44e04f1a 100644 --- a/packages/gas/README.md +++ b/packages/gas/README.md @@ -1,6 +1,6 @@ # @web3-onboard/gas -## A module for requesting streams or single requests of gas price estimates from the [Blocknative Gas Platform API](https://onboard.blocknative.com/docs/packages/gas). +## A module for requesting streams or single requests of gas price estimates from the [Blocknative Gas Platform API](https://docs.blocknative.com/gas-prediction/gas-platform). Supports both Eth Mainnet and Polygon gas pricing. diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index cb1a2b1f9..22b005a9d 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.2.1", + "version": "2.2.2", "description": "Safe module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -65,4 +65,4 @@ "@safe-global/safe-apps-provider": "^0.17.1", "@safe-global/safe-apps-sdk": "^8.0.0" } -} +} \ No newline at end of file diff --git a/packages/gnosis/src/index.ts b/packages/gnosis/src/index.ts index bc4d9707c..989c74bc4 100644 --- a/packages/gnosis/src/index.ts +++ b/packages/gnosis/src/index.ts @@ -9,7 +9,8 @@ function gnosis(options?: GnosisOptions): WalletInit { whitelistedDomains = [ /^https:\/\/app\.safe\.global$/, /^https:\/\/safe\.global$/, - /^https:\/\/.*\.blockscout\.com$/ + /^https:\/\/.*\.blockscout\.com$/, + /^https:\/\/pilot\.gnosisguild\.org$/ ] } = options || {} diff --git a/packages/injected/README.md b/packages/injected/README.md index 36c97ff8b..9b93e8ca5 100644 --- a/packages/injected/README.md +++ b/packages/injected/README.md @@ -106,6 +106,7 @@ const onboard = Onboard({ - SubWallet - _Desktop & Mobile_ - Kayros - _Desktop_ - Lif3Wallet - _Mobile_ +- Zodiac Pilot - _Desktop_ ## Filtering Wallets diff --git a/packages/injected/package.json b/packages/injected/package.json index 5e7a4c5dd..6f917bb60 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.15", + "version": "2.10.16", "description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -72,4 +72,4 @@ "joi": "17.9.1", "lodash.uniqby": "^4.7.0" } -} +} \ No newline at end of file diff --git a/packages/injected/src/icons/stablewallet.ts b/packages/injected/src/icons/stablewallet.ts new file mode 100644 index 000000000..5c3bcb413 --- /dev/null +++ b/packages/injected/src/icons/stablewallet.ts @@ -0,0 +1,17 @@ +export default ` + + + + + + + + + + + + + + + +` diff --git a/packages/injected/src/icons/zodiacpilot.ts b/packages/injected/src/icons/zodiacpilot.ts new file mode 100644 index 000000000..32d79d28a --- /dev/null +++ b/packages/injected/src/icons/zodiacpilot.ts @@ -0,0 +1,3 @@ +export default ` + +` diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index 3517a84bd..9b5c83b50 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -68,7 +68,9 @@ export enum ProviderIdentityFlag { SubWallet = 'isSubWallet', Kayros = 'isKayros', FoxWallet = 'isFoxWallet', - Lif3Wallet = 'isLif3Wallet' + Lif3Wallet = 'isLif3Wallet', + ZodiacPilot = 'isZodiacPilot', + StableWallet = 'isStableWallet' } /** @@ -96,7 +98,8 @@ export enum ProviderExternalUrl { XDEFI = 'https://xdefi.io/', FoxWallet = 'https://foxwallet.com/download', Lif3Wallet = 'https://lif3.com', - Rabby = 'https://rabby.io' + Rabby = 'https://rabby.io', + ZodiacPilot = 'https://pilot.gnosisguild.org/' } export enum ProviderLabel { @@ -156,7 +159,9 @@ export enum ProviderLabel { SubWallet = 'SubWallet', Kayros = 'Kayros', FoxWallet = 'FoxWallet', - Lif3Wallet = 'Lif3 Wallet' + Lif3Wallet = 'Lif3 Wallet', + ZodiacPilot = 'Zodiac Pilot', + StableWallet = 'StableWallet' } export interface MeetOneProvider extends ExternalProvider { diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index 8c21ade69..9a4aa19ac 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -886,6 +886,29 @@ const Lif3Wallet: InjectedWalletModule = { platforms: ['mobile'] } +const zodiacPilot: InjectedWalletModule = { + label: ProviderLabel.ZodiacPilot, + injectedNamespace: InjectedNameSpace.Ethereum, + checkProviderIdentity: ({ provider }) => + !!provider && !!provider[ProviderIdentityFlag.ZodiacPilot], + getIcon: async () => (await import('./icons/zodiacpilot.js')).default, + getInterface: async () => ({ + provider: createEIP1193Provider(window.ethereum) + }), + platforms: ['desktop'], + externalUrl: ProviderExternalUrl.ZodiacPilot +} + +const stablewallet: InjectedWalletModule = { + label: ProviderLabel.StableWallet, + injectedNamespace: InjectedNameSpace.Ethereum, + checkProviderIdentity: ({ provider }) => + !!provider && !!provider[ProviderIdentityFlag.StableWallet], + getIcon: async () => (await import('./icons/stablewallet.js')).default, + getInterface: getInjectedInterface(ProviderIdentityFlag.StableWallet), + platforms: ['mobile'] +} + const wallets = [ zeal, exodus, @@ -941,7 +964,9 @@ const wallets = [ subwallet, kayros, foxwallet, - Lif3Wallet + Lif3Wallet, + zodiacPilot, + stablewallet ] export default wallets diff --git a/packages/metamask/package.json b/packages/metamask/package.json index 66144288c..ebef1f3d7 100644 --- a/packages/metamask/package.json +++ b/packages/metamask/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/metamask", - "version": "2.0.4", + "version": "2.0.5", "description": "MetaMask SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -60,7 +60,7 @@ "typescript": "^5.2.2" }, "dependencies": { - "@metamask/sdk": "^0.18.3", + "@metamask/sdk": "^0.18.4", "@web3-onboard/common": "^2.3.3" }, "engines": { diff --git a/packages/metamask/src/index.ts b/packages/metamask/src/index.ts index c7f7ad079..99521bcb1 100644 --- a/packages/metamask/src/index.ts +++ b/packages/metamask/src/index.ts @@ -27,7 +27,6 @@ const loadImports = async () => { let importPromise: Promise | null = null let sdk: MetaMaskSDK | null = null -let createInstance: typeof createEIP1193Provider function metamask({ options @@ -39,14 +38,6 @@ function metamask({ throw error }) - const getProvider = (_sdk: MetaMaskSDK) => { - const provider = createInstance(_sdk.getProvider(), {}) - provider.disconnect = () => { - sdk?.terminate() - } - return provider - } - return { label: 'MetaMask', getIcon: async () => (await import('./icon.js')).default, @@ -66,9 +57,6 @@ function metamask({ const appLogoUrl = `data:image/svg+xml;base64,${base64}` const imports = await importPromise - // Patch issue with MetaMask SDK, remove after SDK is fixed - localStorage.removeItem('providerType') - if ( !imports?.MetaMaskSDKConstructor || !imports?.createEIP1193Provider @@ -78,25 +66,24 @@ function metamask({ const { createEIP1193Provider, MetaMaskSDKConstructor } = imports - createInstance = createEIP1193Provider sdk = new MetaMaskSDKConstructor({ ...options, dappMetadata: { name: options.dappMetadata?.name || name || '', + url: options.dappMetadata?.url || window.location.origin, base64Icon: appLogoUrl }, _source: 'web3-onboard' }) - await sdk.init() - const provider = getProvider(sdk) + await sdk.init(); + const provider = sdk.getProvider(); - const _request = provider.request - provider.request = async ({ method, params }) => { - if (sdk?.isExtensionActive()) { - return (window.extension as any).request({ method, params }) + const _disconnect = sdk.disconnect + if(provider) { + (provider as any).disconnect = () => { + sdk?.terminate(); } - return _request({ method, params }) as Promise } return { diff --git a/packages/particle-network/package.json b/packages/particle-network/package.json index 2308d75e5..83c0cf0d0 100644 --- a/packages/particle-network/package.json +++ b/packages/particle-network/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/particle-network", - "version": "2.0.0", + "version": "2.0.1", "description": "Particle Network SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/particle-network/src/apple.ts b/packages/particle-network/src/apple.ts new file mode 100644 index 000000000..a5f8d5c7c --- /dev/null +++ b/packages/particle-network/src/apple.ts @@ -0,0 +1,7 @@ +export default ` + + + + + +` diff --git a/packages/particle-network/src/discord.ts b/packages/particle-network/src/discord.ts new file mode 100644 index 000000000..4afb9222b --- /dev/null +++ b/packages/particle-network/src/discord.ts @@ -0,0 +1,7 @@ +export default ` + + + + + +` diff --git a/packages/particle-network/src/email.ts b/packages/particle-network/src/email.ts new file mode 100644 index 000000000..964fb4089 --- /dev/null +++ b/packages/particle-network/src/email.ts @@ -0,0 +1,6 @@ +export default ` + + + + +` diff --git a/packages/particle-network/src/facebook.ts b/packages/particle-network/src/facebook.ts new file mode 100644 index 000000000..4fc6736eb --- /dev/null +++ b/packages/particle-network/src/facebook.ts @@ -0,0 +1,6 @@ +export default ` + + + + +` diff --git a/packages/particle-network/src/github.ts b/packages/particle-network/src/github.ts new file mode 100644 index 000000000..6ee9b5f8e --- /dev/null +++ b/packages/particle-network/src/github.ts @@ -0,0 +1,7 @@ +export default ` + + + + + +` diff --git a/packages/particle-network/src/google.ts b/packages/particle-network/src/google.ts new file mode 100644 index 000000000..445e7f2ff --- /dev/null +++ b/packages/particle-network/src/google.ts @@ -0,0 +1,201 @@ +export default ` + + + + + + + + + +` diff --git a/packages/particle-network/src/icon.ts b/packages/particle-network/src/icon.ts new file mode 100644 index 000000000..46009ad40 --- /dev/null +++ b/packages/particle-network/src/icon.ts @@ -0,0 +1,54 @@ +export default ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +` diff --git a/packages/particle-network/src/index.ts b/packages/particle-network/src/index.ts index 09c8a1e41..a011d5c2c 100644 --- a/packages/particle-network/src/index.ts +++ b/packages/particle-network/src/index.ts @@ -66,8 +66,38 @@ const particleAuth = (options: ParticleAuthModuleOptions): WalletInit => { return () => ({ label: displayLabel, getIcon: async () => { - const iconName = authType && setAsDisplay ? authType : 'icon' - return (await import(`./${iconName}.svg`)).default + const icons = await Promise.all([ + import('./email.js'), + import('./phone.js'), + import('./google.js'), + import('./apple.js'), + import('./twitter.js'), + import('./facebook.js'), + import('./microsoft.js'), + import('./linkedin.js'), + import('./github.js'), + import('./twitch.js'), + import('./discord.js'), + import('./icon.js') + ]) + + const iconMap = { + email: icons[0].default, + phone: icons[1].default, + google: icons[2].default, + apple: icons[3].default, + twitter: icons[4].default, + facebook: icons[5].default, + microsoft: icons[6].default, + linkedin: icons[7].default, + github: icons[8].default, + twitch: icons[9].default, + discord: icons[10].default, + icon: icons[11].default + } + const iconName = + authType && setAsDisplay ? authType : ('icon' as AuthTypes) + return iconMap[iconName] }, getInterface: async ({ chains }) => { const { createEIP1193Provider } = await import('@web3-onboard/common') diff --git a/packages/particle-network/src/linkedin.ts b/packages/particle-network/src/linkedin.ts new file mode 100644 index 000000000..4f7c28184 --- /dev/null +++ b/packages/particle-network/src/linkedin.ts @@ -0,0 +1,9 @@ +export default ` + + + + + + + +` diff --git a/packages/particle-network/src/microsoft.ts b/packages/particle-network/src/microsoft.ts new file mode 100644 index 000000000..f9c02cfcd --- /dev/null +++ b/packages/particle-network/src/microsoft.ts @@ -0,0 +1,10 @@ +export default ` + + + + + + + + +` diff --git a/packages/particle-network/src/phone.ts b/packages/particle-network/src/phone.ts new file mode 100644 index 000000000..9ebeefc42 --- /dev/null +++ b/packages/particle-network/src/phone.ts @@ -0,0 +1,6 @@ +export default ` + + + + +` diff --git a/packages/particle-network/src/twitch.ts b/packages/particle-network/src/twitch.ts new file mode 100644 index 000000000..36934e8a1 --- /dev/null +++ b/packages/particle-network/src/twitch.ts @@ -0,0 +1,6 @@ +export default ` + + + + +` diff --git a/packages/particle-network/src/twitter.ts b/packages/particle-network/src/twitter.ts new file mode 100644 index 000000000..d634f321e --- /dev/null +++ b/packages/particle-network/src/twitter.ts @@ -0,0 +1,6 @@ +export default ` + + + + +` diff --git a/packages/react/README.md b/packages/react/README.md index 8a6a99b22..01d2c84db 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -91,14 +91,14 @@ import injectedModule from '@web3-onboard/injected-wallets' const INFURA_KEY = '' -const ethereumRopsten = { - id: '0x3', - token: 'rETH', - label: 'Ethereum Ropsten', - rpcUrl: `https://ropsten.infura.io/v3/${INFURA_KEY}` +const ethereumSepolia = { + id: 11155111, + token: 'ETH', + label: 'Sepolia', + rpcUrl: 'https://rpc.sepolia.org/' } -const chains = [ethereumRopsten] +const chains = [ethereumSepolia] const wallets = [injectedModule()] const web3Onboard = init({ diff --git a/packages/react/package.json b/packages/react/package.json index 870ece2dd..d73f77fab 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.16", + "version": "2.8.17", "description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.5", + "@web3-onboard/core": "^2.21.6", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/solid/package.json b/packages/solid/package.json index 0339b2177..8923387ae 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/solid", - "version": "2.0.3", + "version": "2.0.4", "description": "A collection of solid Composables for integrating Web3-Onboard in to a Solid project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.5", + "@web3-onboard/core": "^2.21.6", "solid-js": "^1.8.1" } } diff --git a/packages/transaction-preview/README.md b/packages/transaction-preview/README.md index 455f98693..245bc80de 100644 --- a/packages/transaction-preview/README.md +++ b/packages/transaction-preview/README.md @@ -341,10 +341,7 @@ export type System = 'bitcoin' | 'ethereum' export type Network = | 'main' | 'testnet' - | 'ropsten' - | 'rinkeby' - | 'goerli' - | 'kovan' + | 'sepolia' | 'xdai' | 'bsc-main' | 'matic-main' diff --git a/packages/transaction-preview/package.json b/packages/transaction-preview/package.json index 3cce32a27..35ef2cc8b 100644 --- a/packages/transaction-preview/package.json +++ b/packages/transaction-preview/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/transaction-preview", - "version": "2.0.8", + "version": "2.0.9", "description": "In app preview of Ethereum transactions", "keywords": [ "Ethereum", diff --git a/packages/vue/package.json b/packages/vue/package.json index 895f47d41..4e96ed539 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.15", + "version": "2.7.16", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.4", - "@web3-onboard/core": "^2.21.5", + "@web3-onboard/core": "^2.21.6", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index aeb1d0885..1dc094716 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.5.4", + "version": "2.5.5", "description": "WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -56,10 +56,10 @@ "license": "MIT", "devDependencies": { "typescript": "^4.5.5", - "@walletconnect/types": "^2.11.2" + "@walletconnect/types": "^2.12.2" }, "dependencies": { - "@walletconnect/ethereum-provider": "^2.11.2", + "@walletconnect/ethereum-provider": "^2.12.2", "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", "rxjs": "^7.5.2" diff --git a/test/tests/fixtures.ts b/test/tests/fixtures.ts index 3f30d0ed2..e14e75117 100644 --- a/test/tests/fixtures.ts +++ b/test/tests/fixtures.ts @@ -36,7 +36,7 @@ export const metamaskTest = base.extend<{ // setup metamask await initialSetup(chromium, { secretWordsOrPrivateKey: process.env.TEST_WALLET_PHRASE, - network: 'goerli', + network: 'sepolia', password: 'Tester@1234', enableAdvancedSettings: true }) diff --git a/yarn.lock b/yarn.lock index ca0bee08d..560415a32 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2987,10 +2987,10 @@ resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-3.0.0.tgz#8c2b9073fe0722d48693143b0dc8448840daa3bd" integrity sha512-j6Z47VOmVyGMlnKXZmL0fyvWfEYtKWCA9yGZkU3FCsGZUT5lHGmvaV9JA5F2Y+010y7+ROtR3WMXIkvl/nVzqQ== -"@metamask/sdk-communication-layer@0.18.2": - version "0.18.2" - resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.2.tgz#f7cf48a6938890397f39386bcfc82c8b967b7652" - integrity sha512-5Hf2K+v3PWjmk+yxl9C2UXc7bMp77tBu3nUvZrpETB+bJ5y5rsKSe8Tkz7EFTobP+Xp6zUmqkSGmw24kO+Qqag== +"@metamask/sdk-communication-layer@0.18.4": + version "0.18.4" + resolved "https://registry.yarnpkg.com/@metamask/sdk-communication-layer/-/sdk-communication-layer-0.18.4.tgz#8ddef419101de86149a8cdc442dcbb80686f002c" + integrity sha512-aBJu3l56h8nnToYF+KXVGXQ82m4MEl8x3q89GBjMyX8/+f7SnmgNkkB2ApqLI/1XMnJRBQw/s1/zUSI7TUyutA== dependencies: bufferutil "^4.0.8" date-fns "^2.29.3" @@ -3005,14 +3005,14 @@ dependencies: qr-code-styling "^1.6.0-rc.1" -"@metamask/sdk@^0.18.3": - version "0.18.3" - resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.3.tgz#0e29fc88633fc8d74495d7f149eb7a34a2f4b4ef" - integrity sha512-rdPJ0RjxMnikpI1uqJJDYkBE8smyM49G9ErzauBzDjdlpnkjt6TdF0Qobro8yHv/glLrECy+38BjlT3eSQTOiQ== +"@metamask/sdk@^0.18.4": + version "0.18.4" + resolved "https://registry.yarnpkg.com/@metamask/sdk/-/sdk-0.18.4.tgz#17164ce3cef2d1b9ab45e4bdb4087856a10aae6c" + integrity sha512-AW9R3lu0Z+bJKgEAnSEqo4OFjG+Q9PHQI5p2ZRQJWul08uvdlSFJsM424ZxKJtWBcN49YcZI+NuHZfKfAXrEvg== dependencies: "@metamask/onboarding" "^1.0.1" "@metamask/providers" "^15.0.0" - "@metamask/sdk-communication-layer" "0.18.2" + "@metamask/sdk-communication-layer" "0.18.4" "@metamask/sdk-install-modal-web" "0.17.0" "@types/dom-screen-wake-lock" "^1.0.0" bowser "^2.9.0" @@ -5512,10 +5512,10 @@ lodash.isequal "4.5.0" uint8arrays "^3.1.0" -"@walletconnect/core@2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.11.2.tgz#35286be92c645fa461fecc0dfe25de9f076fca8f" - integrity sha512-bB4SiXX8hX3/hyBfVPC5gwZCXCl+OPj+/EDVM71iAO3TDsh78KPbrVAbDnnsbHzZVHlsMohtXX3j5XVsheN3+g== +"@walletconnect/core@2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.12.2.tgz#12bd568b90daed876e58ebcc098c12843a3321e6" + integrity sha512-7Adv/b3pp9F42BkvReaaM4KS8NEvlkS7AMtwO3uF/o6aRMKtcfTJq9/jgWdKJh4RP8pPRTRFjCw6XQ/RZtT4aQ== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" @@ -5523,13 +5523,13 @@ "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/jsonrpc-ws-connection" "1.0.14" "@walletconnect/keyvaluestorage" "^1.1.1" - "@walletconnect/logger" "^2.0.1" + "@walletconnect/logger" "^2.1.2" "@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.11.2" - "@walletconnect/utils" "2.11.2" + "@walletconnect/types" "2.12.2" + "@walletconnect/utils" "2.12.2" events "^3.3.0" isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" @@ -5648,20 +5648,20 @@ "@walletconnect/utils" "2.9.1" events "^3.3.0" -"@walletconnect/ethereum-provider@^2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.11.2.tgz#914f773e37a879bc00cf367437c4e98a826247b1" - integrity sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg== +"@walletconnect/ethereum-provider@^2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.12.2.tgz#43195a14cd43f928b2fcbba6b1a08e17e7838c4f" + integrity sha512-vBl2zCnNm2iPaomJdr5YT16cT7aa8cH2WFs6879XPngU5i7HXS3bU6TamhyhKKl13sdIfifmCkCC+RWn5GdPMw== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" "@walletconnect/modal" "^2.6.2" - "@walletconnect/sign-client" "2.11.2" - "@walletconnect/types" "2.11.2" - "@walletconnect/universal-provider" "2.11.2" - "@walletconnect/utils" "2.11.2" + "@walletconnect/sign-client" "2.12.2" + "@walletconnect/types" "2.12.2" + "@walletconnect/universal-provider" "2.12.2" + "@walletconnect/utils" "2.12.2" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -5867,6 +5867,14 @@ pino "7.11.0" tslib "1.14.1" +"@walletconnect/logger@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272" + integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw== + dependencies: + "@walletconnect/safe-json" "^1.0.2" + pino "7.11.0" + "@walletconnect/mobile-registry@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" @@ -6007,19 +6015,19 @@ "@walletconnect/utils" "2.10.2" events "^3.3.0" -"@walletconnect/sign-client@2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.11.2.tgz#855609653855f0d23b0502cdbdcf43402e34c459" - integrity sha512-MfBcuSz2GmMH+P7MrCP46mVE5qhP0ZyWA0FyIH6/WuxQ6G+MgKsGfaITqakpRPsykWOJq8tXMs3XvUPDU413OQ== +"@walletconnect/sign-client@2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.12.2.tgz#10cddcba3740f726149c33ef1a9040a808d65e08" + integrity sha512-cM0ualXj6nVvLqS4BDNRk+ZWR+lubcsz/IHreH+3wYrQ2sV+C0fN6ctrd7MMGZss0C0qacWCx0pm62ZBuoKvqA== dependencies: - "@walletconnect/core" "2.11.2" + "@walletconnect/core" "2.12.2" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/logger" "^2.0.1" + "@walletconnect/logger" "^2.1.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.11.2" - "@walletconnect/utils" "2.11.2" + "@walletconnect/types" "2.12.2" + "@walletconnect/utils" "2.12.2" events "^3.3.0" "@walletconnect/sign-client@2.9.1": @@ -6065,10 +6073,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.11.2", "@walletconnect/types@^2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.11.2.tgz#d0359dd4106fcaa1634241a00428d3ea08d0d3c7" - integrity sha512-p632MFB+lJbip2cvtXPBQslpUdiw1sDtQ5y855bOlAGquay+6fZ4h1DcDePeKQDQM3P77ax2a9aNPZxV6y/h1Q== +"@walletconnect/types@2.12.2", "@walletconnect/types@^2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.12.2.tgz#8b64a2015a0a96972d28acb2ff317a9a994abfdb" + integrity sha512-9CmwTlPbrFTzayTL9q7xM7s3KTJkS6kYFtH2m1/fHFgALs6pIUjf1qAx1TF2E4tv7SEzLAIzU4NqgYUt2vWXTg== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -6133,19 +6141,19 @@ "@walletconnect/utils" "2.10.2" events "^3.3.0" -"@walletconnect/universal-provider@2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.11.2.tgz#bec3038f51445d707bbec75f0cb8af0a1f1e04db" - integrity sha512-cNtIn5AVoDxKAJ4PmB8m5adnf5mYQMUamEUPKMVvOPscfGtIMQEh9peKsh2AN5xcRVDbgluC01Id545evFyymw== +"@walletconnect/universal-provider@2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.12.2.tgz#0c855bbb5584fd11bdf2318344fe6f42fa3e91cb" + integrity sha512-0k5ZgSkABopQLVhkiwl2gRGG7dAP4SWiI915pIlyN5sRvWV+qX1ALhWAmRcdv0TXWlKHDcDgPJw/q2sCSAHuMQ== 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.11.2" - "@walletconnect/types" "2.11.2" - "@walletconnect/utils" "2.11.2" + "@walletconnect/logger" "^2.1.2" + "@walletconnect/sign-client" "2.12.2" + "@walletconnect/types" "2.12.2" + "@walletconnect/utils" "2.12.2" events "^3.3.0" "@walletconnect/universal-provider@2.9.1": @@ -6183,10 +6191,10 @@ query-string "7.1.3" uint8arrays "^3.1.0" -"@walletconnect/utils@2.11.2": - version "2.11.2" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.11.2.tgz#dee0f19adf5e38543612cbe9fa4de7ed28eb7e85" - integrity sha512-LyfdmrnZY6dWqlF4eDrx5jpUwsB2bEPjoqR5Z6rXPiHJKUOdJt7az+mNOn5KTSOlRpd1DmozrBrWr+G9fFLYVw== +"@walletconnect/utils@2.12.2": + version "2.12.2" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.12.2.tgz#a2c349d4effef7c1c5e72e74a5483d8dfbb10918" + integrity sha512-zf50HeS3SfoLv1N9GPl2IXTZ9TsXfet4usVAsZmX9P6/Xzq7d/7QakjVQCHH/Wk1O9XkcsfeoZoUhRxoMJ5uJw== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -6196,7 +6204,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.11.2" + "@walletconnect/types" "2.12.2" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" @@ -6293,15 +6301,6 @@ ethers "5.5.4" joi "17.9.1" -"@web3-onboard/injected-wallets@^2.10.14": - version "2.10.14" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.14.tgz#ad4f7585927651050caec232a62774f422fb9c01" - integrity sha512-lU/YCCYNr7+Qgg1lJ1vQofmJhMPZrkRTYO0lgkGsmLFVWZZ4rJIU1dm31h5iHm4nVUbw3ItYDICKsI1NgX46AQ== - dependencies: - "@web3-onboard/common" "^2.3.3" - joi "17.9.1" - lodash.uniqby "^4.7.0" - "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6"