From e3a3fee3779863116bc0761de4a141942486b40b Mon Sep 17 00:00:00 2001 From: Spencer Yen Date: Thu, 9 Mar 2023 16:13:24 -0500 Subject: [PATCH 1/7] Add Uniswap Wallet to WalletConnect switch chain regex (#151) --- .changeset/gold-beans-destroy.md | 5 +++++ packages/connectors/src/walletConnectLegacy.ts | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/gold-beans-destroy.md diff --git a/.changeset/gold-beans-destroy.md b/.changeset/gold-beans-destroy.md new file mode 100644 index 00000000..5395b437 --- /dev/null +++ b/.changeset/gold-beans-destroy.md @@ -0,0 +1,5 @@ +--- +'@wagmi/connectors': patch +--- + +Added "uniswap wallet" to the regex that determines wallets allowed to switch chains in the WalletConnect legacy connector diff --git a/packages/connectors/src/walletConnectLegacy.ts b/packages/connectors/src/walletConnectLegacy.ts index 773ffa0a..87888445 100644 --- a/packages/connectors/src/walletConnectLegacy.ts +++ b/packages/connectors/src/walletConnectLegacy.ts @@ -18,8 +18,10 @@ import { Connector } from './base' * - MetaMask (metamask.io) * - Rainbow (rainbow.me) * - Trust Wallet (trustwallet.com) + * - Uniswap Wallet (uniswap.org) */ -const switchChainAllowedRegex = /(imtoken|metamask|rainbow|trust wallet)/i +const switchChainAllowedRegex = + /(imtoken|metamask|rainbow|trust wallet|uniswap wallet)/i type WalletConnectOptions = ConstructorParameters< typeof WalletConnectProvider From 641af48830c5f4dc819e43ba0ee4fde7f8492f7b Mon Sep 17 00:00:00 2001 From: Anton Dalgren Date: Thu, 9 Mar 2023 22:13:58 +0100 Subject: [PATCH 2/7] feat: Add name mapping for Bifrost Wallet. (#148) * feat: Add name mapping for Bifrost Wallet. * chore: add changeset --- .changeset/heavy-shoes-poke.md | 5 +++++ packages/connectors/src/types.ts | 1 + packages/connectors/src/utils/getInjectedName.test.ts | 1 + packages/connectors/src/utils/getInjectedName.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 .changeset/heavy-shoes-poke.md diff --git a/.changeset/heavy-shoes-poke.md b/.changeset/heavy-shoes-poke.md new file mode 100644 index 00000000..120bde6a --- /dev/null +++ b/.changeset/heavy-shoes-poke.md @@ -0,0 +1,5 @@ +--- +'@wagmi/connectors': patch +--- + +Added name mapping for Bifrost Wallet diff --git a/packages/connectors/src/types.ts b/packages/connectors/src/types.ts index fa1c83a7..0e1a1d2f 100644 --- a/packages/connectors/src/types.ts +++ b/packages/connectors/src/types.ts @@ -47,6 +47,7 @@ type WatchAssetParams = { type InjectedProviderFlags = { isApexWallet?: true isAvalanche?: true + isBifrost?: true isBitKeep?: true isBitski?: true isBraveWallet?: true diff --git a/packages/connectors/src/utils/getInjectedName.test.ts b/packages/connectors/src/utils/getInjectedName.test.ts index 08141224..2da69d20 100644 --- a/packages/connectors/src/utils/getInjectedName.test.ts +++ b/packages/connectors/src/utils/getInjectedName.test.ts @@ -15,6 +15,7 @@ describe.each([ ethereum: { isAvalanche: true, isMetaMask: true }, expected: 'Core Wallet', }, + { ethereum: { isBifrost: true }, expected: 'Bifrost Wallet' }, { ethereum: { isBitKeep: true }, expected: 'BitKeep' }, { ethereum: { isBitski: true }, expected: 'Bitski' }, { ethereum: { isBraveWallet: true }, expected: 'Brave Wallet' }, diff --git a/packages/connectors/src/utils/getInjectedName.ts b/packages/connectors/src/utils/getInjectedName.ts index ecfc21a2..d388e58d 100644 --- a/packages/connectors/src/utils/getInjectedName.ts +++ b/packages/connectors/src/utils/getInjectedName.ts @@ -6,6 +6,7 @@ export function getInjectedName(ethereum?: Ethereum) { const getName = (provider: Ethereum) => { if (provider.isApexWallet) return 'Apex Wallet' if (provider.isAvalanche) return 'Core Wallet' + if (provider.isBifrost) return 'Bifrost Wallet' if (provider.isBitKeep) return 'BitKeep' if (provider.isBitski) return 'Bitski' if (provider.isBraveWallet) return 'Brave Wallet' From af971bfdaea285544fff5a32bf45fda72bb5aa73 Mon Sep 17 00:00:00 2001 From: tate Date: Fri, 10 Mar 2023 08:20:16 +1100 Subject: [PATCH 3/7] update universal resolver addresses (#141) --- packages/chains/src/goerli.ts | 4 ++-- packages/chains/src/mainnet.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/chains/src/goerli.ts b/packages/chains/src/goerli.ts index ff5eac0c..e023f942 100644 --- a/packages/chains/src/goerli.ts +++ b/packages/chains/src/goerli.ts @@ -36,8 +36,8 @@ export const goerli = { address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', }, ensUniversalResolver: { - address: '0x687c30Cc44bFA39A1449e86E172BF002E7b3f0b0', - blockCreated: 7725078, + address: '0xA292E2E58d4ddEb29C33c63173d0E8B7a2A4c62e', + blockCreated: 8610406, }, multicall3: { address: '0xca11bde05977b3631167028862be2a173976ca11', diff --git a/packages/chains/src/mainnet.ts b/packages/chains/src/mainnet.ts index c80ea039..aa2a470b 100644 --- a/packages/chains/src/mainnet.ts +++ b/packages/chains/src/mainnet.ts @@ -36,8 +36,8 @@ export const mainnet = { address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', }, ensUniversalResolver: { - address: '0x74E20Bd2A1fE0cdbe45b9A1d89cb7e0a45b36376', - blockCreated: 16172161, + address: '0xE4Acdd618deED4e6d2f03b9bf62dc6118FC9A4da', + blockCreated: 16773775, }, multicall3: { address: '0xca11bde05977b3631167028862be2a173976ca11', From f9c1f959971a5120e02d882aaec3a51e44b0b1c6 Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 9 Mar 2023 20:49:53 -0500 Subject: [PATCH 4/7] Adding Klaytn, Dogechain, DFK, and Cronos (#149) * init * amend * Update .changeset/soft-beers-tickle.md --------- Co-authored-by: awkweb --- .changeset/soft-beers-tickle.md | 5 +++++ packages/chains/src/boba.ts | 4 ++-- packages/chains/src/cronos.ts | 26 ++++++++++++++++++++++++++ packages/chains/src/dfk.ts | 30 ++++++++++++++++++++++++++++++ packages/chains/src/dogechain.ts | 26 ++++++++++++++++++++++++++ packages/chains/src/index.ts | 4 ++++ packages/chains/src/klaytn.ts | 20 ++++++++++++++++++++ 7 files changed, 113 insertions(+), 2 deletions(-) create mode 100644 .changeset/soft-beers-tickle.md create mode 100644 packages/chains/src/cronos.ts create mode 100644 packages/chains/src/dfk.ts create mode 100644 packages/chains/src/dogechain.ts create mode 100644 packages/chains/src/klaytn.ts diff --git a/.changeset/soft-beers-tickle.md b/.changeset/soft-beers-tickle.md new file mode 100644 index 00000000..e41cadd9 --- /dev/null +++ b/.changeset/soft-beers-tickle.md @@ -0,0 +1,5 @@ +--- +'@wagmi/chains': patch +--- + +Added Klaytn, Dogechain, DFK, and Cronos Chains. diff --git a/packages/chains/src/boba.ts b/packages/chains/src/boba.ts index ed7e0abc..964db29e 100644 --- a/packages/chains/src/boba.ts +++ b/packages/chains/src/boba.ts @@ -6,8 +6,8 @@ export const boba = { network: 'boba', nativeCurrency: { decimals: 18, - name: 'BOBA', - symbol: 'ETH', + name: 'Boba', + symbol: 'BOBA', }, rpcUrls: { default: { http: ['https://mainnet.boba.network'] }, diff --git a/packages/chains/src/cronos.ts b/packages/chains/src/cronos.ts new file mode 100644 index 00000000..1b09b0be --- /dev/null +++ b/packages/chains/src/cronos.ts @@ -0,0 +1,26 @@ +import { Chain } from './types' + +export const cronos = { + id: 25, + name: 'Cronos', + network: 'cronos', + nativeCurrency: { + decimals: 18, + name: 'Cronos', + symbol: 'CRO', + }, + rpcUrls: { + default: { http: ['https://node.croswap.com/rpc'] }, + public: { http: ['https://node.croswap.com/rpc'] }, + }, + blockExplorers: { + etherscan: { name: 'CronosScan', url: 'https://cronoscan.com' }, + default: { name: 'CronosScan', url: 'https://cronoscan.com' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 1963112, + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/dfk.ts b/packages/chains/src/dfk.ts new file mode 100644 index 00000000..c0db938f --- /dev/null +++ b/packages/chains/src/dfk.ts @@ -0,0 +1,30 @@ +import { Chain } from './types' + +export const dfk = { + id: 53_935, + name: 'DFK Chain', + network: 'dfk', + nativeCurrency: { + decimals: 18, + name: 'Jewel', + symbol: 'JEWEL', + }, + rpcUrls: { + default: { + http: ['https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc'], + }, + public: { + http: ['https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc'], + }, + }, + blockExplorers: { + etherscan: { + name: 'DFKSubnetScan', + url: 'https://subnets.avax.network/defi-kingdoms', + }, + default: { + name: 'DFKSubnetScan', + url: 'https://subnets.avax.network/defi-kingdoms', + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/dogechain.ts b/packages/chains/src/dogechain.ts new file mode 100644 index 00000000..d3f235d6 --- /dev/null +++ b/packages/chains/src/dogechain.ts @@ -0,0 +1,26 @@ +import { Chain } from './types' + +export const dogechain = { + id: 2_000, + name: 'Dogechain', + network: 'dogechain', + nativeCurrency: { + decimals: 18, + name: 'Dogechain', + symbol: 'DC', + }, + rpcUrls: { + default: { http: ['https://rpc.dogechain.dog'] }, + public: { http: ['https://rpc.dogechain.dog'] }, + }, + blockExplorers: { + etherscan: { + name: 'DogeChainExplorer', + url: 'https://explorer.dogechain.dog', + }, + default: { + name: 'DogeChainExplorer', + url: 'https://explorer.dogechain.dog', + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 2d3827e7..230e18b6 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -15,7 +15,10 @@ export { bscTestnet } from './bscTestnet' export { canto } from './canto' export { celo } from './celo' export { celoAlfajores } from './celoAlfajores' +export { cronos } from './cronos' export { crossbell } from './crossbell' +export { dfk } from './dfk' +export { dogechain } from './dogechain' export { evmos } from './evmos' export { evmosTestnet } from './evmosTestnet' export { fantom } from './fantom' @@ -33,6 +36,7 @@ export { gnosis } from './gnosis' export { gnosisChiado } from './gnosisChiado' export { hardhat } from './hardhat' export { harmonyOne } from './harmonyOne' +export { klaytn } from './klaytn' export { localhost } from './localhost' export { mainnet } from './mainnet' export { metis } from './metis' diff --git a/packages/chains/src/klaytn.ts b/packages/chains/src/klaytn.ts new file mode 100644 index 00000000..ef03ebc3 --- /dev/null +++ b/packages/chains/src/klaytn.ts @@ -0,0 +1,20 @@ +import { Chain } from './types' + +export const klaytn = { + id: 8_217, + name: 'Klaytn', + network: 'klaytn', + nativeCurrency: { + decimals: 18, + name: 'Klaytn', + symbol: 'KLAY', + }, + rpcUrls: { + default: { http: ['https://cypress.fautor.app/archive'] }, + public: { http: ['https://cypress.fautor.app/archive'] }, + }, + blockExplorers: { + etherscan: { name: 'KlaytnScope', url: 'https://scope.klaytn.com' }, + default: { name: 'KlaytnScope', url: 'https://scope.klaytn.com' }, + }, +} as const satisfies Chain From 3d276d02051ff6889b3679f8beb1669944292e64 Mon Sep 17 00:00:00 2001 From: Philippe Schommers Date: Mon, 13 Mar 2023 19:44:18 +0100 Subject: [PATCH 5/7] feat: add Status as injected connector name (#155) * feat: add Status as injected connector name * chore: add changeset * chore: alphabetize `isStatus` flag * test: add Status name test on injected connector * chore: alphabetize `isStatus` flag --- .changeset/young-bees-grin.md | 5 +++++ packages/connectors/src/types.ts | 1 + packages/connectors/src/utils/getInjectedName.test.ts | 1 + packages/connectors/src/utils/getInjectedName.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 .changeset/young-bees-grin.md diff --git a/.changeset/young-bees-grin.md b/.changeset/young-bees-grin.md new file mode 100644 index 00000000..da591183 --- /dev/null +++ b/.changeset/young-bees-grin.md @@ -0,0 +1,5 @@ +--- +'@wagmi/connectors': patch +--- + +Added Status as the name of the injected connector for the Status App diff --git a/packages/connectors/src/types.ts b/packages/connectors/src/types.ts index 0e1a1d2f..a9b09c70 100644 --- a/packages/connectors/src/types.ts +++ b/packages/connectors/src/types.ts @@ -64,6 +64,7 @@ type InjectedProviderFlags = { isPhantom?: true isPortal?: true isRainbow?: true + isStatus?: true isTally?: true isTokenPocket?: true isTokenary?: true diff --git a/packages/connectors/src/utils/getInjectedName.test.ts b/packages/connectors/src/utils/getInjectedName.test.ts index 2da69d20..c15e8972 100644 --- a/packages/connectors/src/utils/getInjectedName.test.ts +++ b/packages/connectors/src/utils/getInjectedName.test.ts @@ -42,6 +42,7 @@ describe.each([ { ethereum: { isPhantom: true, isMetaMask: true }, expected: 'Phantom' }, { ethereum: { isPortal: true }, expected: 'Ripio Portal' }, { ethereum: { isRainbow: true }, expected: 'Rainbow' }, + { ethereum: { isStatus: true }, expected: 'Status' }, { ethereum: { isTally: true }, expected: 'Tally' }, { ethereum: { isTokenPocket: true, isMetaMask: true }, diff --git a/packages/connectors/src/utils/getInjectedName.ts b/packages/connectors/src/utils/getInjectedName.ts index d388e58d..4d122423 100644 --- a/packages/connectors/src/utils/getInjectedName.ts +++ b/packages/connectors/src/utils/getInjectedName.ts @@ -22,6 +22,7 @@ export function getInjectedName(ethereum?: Ethereum) { if (provider.isPhantom) return 'Phantom' if (provider.isPortal) return 'Ripio Portal' if (provider.isRainbow) return 'Rainbow' + if (provider.isStatus) return 'Status' if (provider.isTally) return 'Tally' if (provider.isTokenPocket) return 'TokenPocket' if (provider.isTokenary) return 'Tokenary' From f24ce0c5a5d59b862600e8fe0105578829853a1b Mon Sep 17 00:00:00 2001 From: 0xAsimetriq <3154053+0xAsimetriq@users.noreply.github.com> Date: Tue, 14 Mar 2023 19:49:27 +0200 Subject: [PATCH 6/7] Update ethereum provider (#152) --- .changeset/friendly-turtles-press.md | 5 ++ packages/connectors/package.json | 2 +- pnpm-lock.yaml | 99 ++++++++++++++++++---------- 3 files changed, 70 insertions(+), 36 deletions(-) create mode 100644 .changeset/friendly-turtles-press.md diff --git a/.changeset/friendly-turtles-press.md b/.changeset/friendly-turtles-press.md new file mode 100644 index 00000000..637b0ce0 --- /dev/null +++ b/.changeset/friendly-turtles-press.md @@ -0,0 +1,5 @@ +--- +'@wagmi/connectors': patch +--- + +Updated @walletconnect/ethereum-provider to 2.4.8 diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 3e2e1a62..1e66e29e 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -23,7 +23,7 @@ "dependencies": { "@coinbase/wallet-sdk": "^3.5.4", "@ledgerhq/connect-kit-loader": "^1.0.1", - "@walletconnect/ethereum-provider": "^2.4.7", + "@walletconnect/ethereum-provider": "^2.4.8", "@walletconnect/legacy-provider": "^2.0.0", "@safe-global/safe-apps-provider": "^0.15.2", "@safe-global/safe-apps-sdk": "^7.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72423b08..801da714 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,7 +81,7 @@ importers: '@safe-global/safe-apps-provider': ^0.15.2 '@safe-global/safe-apps-sdk': ^7.9.0 '@wagmi/core': ^0.8.19 - '@walletconnect/ethereum-provider': ^2.4.7 + '@walletconnect/ethereum-provider': ^2.4.8 '@walletconnect/legacy-provider': ^2.0.0 abitype: ^0.3.0 ethers: ^5.7.2 @@ -91,12 +91,12 @@ importers: '@ledgerhq/connect-kit-loader': 1.0.1 '@safe-global/safe-apps-provider': 0.15.2 '@safe-global/safe-apps-sdk': 7.9.0 - '@walletconnect/ethereum-provider': 2.4.7 + '@walletconnect/ethereum-provider': 2.4.8 '@walletconnect/legacy-provider': 2.0.0 abitype: 0.3.0 eventemitter3: 4.0.7 devDependencies: - '@wagmi/core': 0.8.19_cpu725jl4zb3hrmzrkb7vvhtfu + '@wagmi/core': 0.8.19_5ygnv77uckkikin5qrzjrryeyi ethers: 5.7.2 packages: @@ -1438,7 +1438,7 @@ packages: dependencies: '@coinbase/wallet-sdk': 3.6.2 '@ledgerhq/connect-kit-loader': 1.0.1 - '@wagmi/core': 0.8.19_cpu725jl4zb3hrmzrkb7vvhtfu + '@wagmi/core': 0.8.19_5ygnv77uckkikin5qrzjrryeyi '@walletconnect/ethereum-provider': 1.8.0 '@walletconnect/universal-provider': 2.3.3 '@web3modal/standalone': 2.1.1 @@ -1461,7 +1461,7 @@ packages: - utf-8-validate dev: true - /@wagmi/core/0.8.19_cpu725jl4zb3hrmzrkb7vvhtfu: + /@wagmi/core/0.8.19_5ygnv77uckkikin5qrzjrryeyi: resolution: {integrity: sha512-B1iXB4MRjxgoybZATRmBI7YEfUhpIl3aZGUjo5GXPU1SNtlXIA4/3wePlmLD64XzICXVBp99kynrrdlvJxc4gw==} peerDependencies: '@coinbase/wallet-sdk': '>=3.6.0' @@ -1476,7 +1476,7 @@ packages: '@coinbase/wallet-sdk': 3.6.2 '@wagmi/chains': 0.1.14 '@wagmi/connectors': 0.1.10_mooqdejtc64te7v32kpdxu5uri - '@walletconnect/ethereum-provider': 2.4.7 + '@walletconnect/ethereum-provider': 2.4.8 abitype: 0.2.5 ethers: 5.7.2 eventemitter3: 4.0.7 @@ -1542,7 +1542,7 @@ packages: '@walletconnect/jsonrpc-ws-connection': 1.0.7 '@walletconnect/keyvaluestorage': 1.0.2 '@walletconnect/logger': 2.0.1 - '@walletconnect/relay-api': 1.0.7 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.1 '@walletconnect/time': 1.0.2 @@ -1563,8 +1563,8 @@ packages: - utf-8-validate dev: true - /@walletconnect/core/2.4.7: - resolution: {integrity: sha512-w92NrtziqrWs070HJICGh80Vp60PaXu06OjNvOnVZEorbTipCWx4xxgcC2NhsT4TCQ8r1FOut6ahLe1PILuRsg==} + /@walletconnect/core/2.4.8: + resolution: {integrity: sha512-OLyBNJyUfQNr1qlcCxqzu5bmNorOL6SqWOwA3LcxV+3+mbUk4fByFd8AJRzGFWf8kC3BRycLFivHh4QEeBNZ8Q==} dependencies: '@walletconnect/heartbeat': 1.2.0 '@walletconnect/jsonrpc-provider': 1.0.6 @@ -1576,8 +1576,8 @@ packages: '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.4.7 - '@walletconnect/utils': 2.4.7 + '@walletconnect/types': 2.4.8 + '@walletconnect/utils': 2.4.8 events: 3.3.0 lodash.isequal: 4.5.0 pino: 7.11.0 @@ -1633,18 +1633,18 @@ packages: - utf-8-validate dev: true - /@walletconnect/ethereum-provider/2.4.7: - resolution: {integrity: sha512-YLvVsUMYeRuMbAlLmH8NygpgR17aVH8P9/rvckGXQTMe+MWXOp75SgLTK+HNxl/8YHmmOFyDjWT2gS4+l8ew+Q==} + /@walletconnect/ethereum-provider/2.4.8: + resolution: {integrity: sha512-/opEQKEWDmZcaWlssR2QmIp80nwLLhZXxk2iJ/bFLNW4Uzn4IxvpNuFQ1mtzyhYMY0jgAM3QT8QpYXhWjV4xJg==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.4 '@walletconnect/jsonrpc-provider': 1.0.6 '@walletconnect/jsonrpc-types': 1.0.2 '@walletconnect/jsonrpc-utils': 1.0.4 - '@walletconnect/sign-client': 2.4.7 - '@walletconnect/types': 2.4.7 - '@walletconnect/universal-provider': 2.4.7 - '@walletconnect/utils': 2.4.7 - '@web3modal/standalone': 2.1.1 + '@walletconnect/sign-client': 2.4.8 + '@walletconnect/types': 2.4.8 + '@walletconnect/universal-provider': 2.4.8 + '@walletconnect/utils': 2.4.8 + '@web3modal/standalone': 2.2.0 events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1886,18 +1886,18 @@ packages: - utf-8-validate dev: true - /@walletconnect/sign-client/2.4.7: - resolution: {integrity: sha512-x5uxnHQkNSn0QNXUdPEfwy4o1Vyi2QIWkDGUh+pfSP4s2vN0+IJAcwqBqkPn+zJ1X7eKYLs+v0ih1eieciYMPA==} + /@walletconnect/sign-client/2.4.8: + resolution: {integrity: sha512-i10SjiqbU1bm4HAS2aboznYo+x7G4V5tbrFRFOQa0RZnSJ6SCWs14GlLa/m/lxQ4PEDZD+bUDlWhLBjiqdmIpA==} dependencies: - '@walletconnect/core': 2.4.7 + '@walletconnect/core': 2.4.8 '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.0 '@walletconnect/jsonrpc-provider': 1.0.6 '@walletconnect/jsonrpc-utils': 1.0.4 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.4.7 - '@walletconnect/utils': 2.4.7 + '@walletconnect/types': 2.4.8 + '@walletconnect/utils': 2.4.8 events: 3.3.0 pino: 7.11.0 transitivePeerDependencies: @@ -1963,8 +1963,8 @@ packages: - typescript dev: true - /@walletconnect/types/2.4.7: - resolution: {integrity: sha512-1VaPdPJrE+UrEjAhK5bdxq2+MTo3DvUMmQeNUsp3vUGhocQXB9hJQQ1rYBknYYSyDu2rTksGCQ4nv3ZOqfxvHw==} + /@walletconnect/types/2.4.8: + resolution: {integrity: sha512-NuL+c/BHExK7hwF+JoJVy/LnNB8sNtoxvlpIa2Er5qeB8MJsWtwbmEJMS/bP6CbOTSpO0kOpXGzb1ht0LD2rkw==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.0 @@ -2007,17 +2007,17 @@ packages: - utf-8-validate dev: true - /@walletconnect/universal-provider/2.4.7: - resolution: {integrity: sha512-xlefq2ahAsH3SpcsofWQQ5JT3Tz9NLAViA8FW07PHhfuf9p7OLp+Mu1wKxQEoBilyvfYRF4R5MTyTPy1wqJiRA==} + /@walletconnect/universal-provider/2.4.8: + resolution: {integrity: sha512-ZCISD6wMF2JDwyomc4ROpzGqe6mzRW7pWJ2fybqZWqKIWFaTC7HuE71cNQVmGB6/rlbyn0wvv6vXeEc1GewA8w==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.4 '@walletconnect/jsonrpc-provider': 1.0.6 '@walletconnect/jsonrpc-types': 1.0.2 '@walletconnect/jsonrpc-utils': 1.0.4 '@walletconnect/logger': 2.0.1 - '@walletconnect/sign-client': 2.4.7 - '@walletconnect/types': 2.4.7 - '@walletconnect/utils': 2.4.7 + '@walletconnect/sign-client': 2.4.8 + '@walletconnect/types': 2.4.8 + '@walletconnect/utils': 2.4.8 eip1193-provider: 1.0.1 events: 3.3.0 pino: 7.11.0 @@ -2072,8 +2072,8 @@ packages: - typescript dev: true - /@walletconnect/utils/2.4.7: - resolution: {integrity: sha512-t3kW0qLClnejTTKg3y/o/MmJb5ZDGfD13YT9Nw56Up3qq/pwVfTtWjt8vJOQWMIm0hZgjgESivcf6/wuu3/Oqw==} + /@walletconnect/utils/2.4.8: + resolution: {integrity: sha512-W/5Ly+p+6/RHsYzVUiuwxGK+J9BQEins0RRdPeO6tJjNPeR05SoJE564JSKRYxPkGf/9vB5wfOZ88IEzOIAYLw==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -2084,7 +2084,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.4.7 + '@walletconnect/types': 2.4.8 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -2126,6 +2126,15 @@ packages: valtio: 1.9.0 transitivePeerDependencies: - react + dev: true + + /@web3modal/core/2.2.0: + resolution: {integrity: sha512-Kafg/KtK6S9x0Ofcaq9hj7dRK5/541nM+LnayPmHxx4fSrDgcM9YYhL12fI4BG1xGOJwkeZjgFOtS0qf123Cjw==} + dependencies: + buffer: 6.0.3 + valtio: 1.9.0 + transitivePeerDependencies: + - react /@web3modal/standalone/2.1.1: resolution: {integrity: sha512-K06VkZqltLIBKpnLeM2oszRDSdLnwXJWCcItWEOkH4LDFQIiq8lSeLhcamuadRxRKF4ZyTSLHHJ5MFcMfZEHQQ==} @@ -2134,6 +2143,15 @@ packages: '@web3modal/ui': 2.1.1 transitivePeerDependencies: - react + dev: true + + /@web3modal/standalone/2.2.0: + resolution: {integrity: sha512-cLFW4VamSJ7L4sM5OGmr1SHK3FgyLUMEaacvHsCA3XSvUF0LxbMC+N4uBsONrW4c0JyIjTdeii1GqG4B3jwn7Q==} + dependencies: + '@web3modal/core': 2.2.0 + '@web3modal/ui': 2.2.0 + transitivePeerDependencies: + - react /@web3modal/ui/2.1.1: resolution: {integrity: sha512-0jRDxgPc/peaE5KgqnzzriXhdVu5xNyCMP5Enqdpd77VkknJIs7h16MYKidxgFexieyHpCOssWySsryWcP2sXA==} @@ -2144,6 +2162,17 @@ packages: qrcode: 1.5.1 transitivePeerDependencies: - react + dev: true + + /@web3modal/ui/2.2.0: + resolution: {integrity: sha512-jcV5C9AuMdsFdf6Ljsr0v2lInu8FJJyXcZPaMHkgYNIczzgMEpDE+UOA7hLnyCTUxM9R0AgRcgfTyMWb9H8Ssw==} + dependencies: + '@web3modal/core': 2.2.0 + lit: 2.6.1 + motion: 10.15.5 + qrcode: 1.5.1 + transitivePeerDependencies: + - react /@xmldom/xmldom/0.8.6: resolution: {integrity: sha512-uRjjusqpoqfmRkTaNuLJ2VohVr67Q5YwDATW3VU7PfzTj6IRaihGrYI7zckGZjxQPBIp63nfvJbM+Yu5ICh0Bg==} @@ -4556,7 +4585,7 @@ packages: is-extglob: 2.1.1 /is-hex-prefixed/1.0.0: - resolution: {integrity: sha1-fY035q135dEnFIkTxXPggtd39VQ=} + resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} engines: {node: '>=6.5.0', npm: '>=3'} /is-interactive/1.0.0: @@ -6382,7 +6411,7 @@ packages: dev: true /strip-hex-prefix/1.0.0: - resolution: {integrity: sha1-DF8VX+8RUTczd96du1iNoFUA428=} + resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} engines: {node: '>=6.5.0', npm: '>=3'} dependencies: is-hex-prefixed: 1.0.0 From 033486baa86dcbf83960b2819d522e73de9a200d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 13:55:06 -0400 Subject: [PATCH 7/7] chore: version packages (#146) Co-authored-by: github-actions[bot] --- .changeset/forty-bugs-arrive.md | 5 ----- .changeset/friendly-turtles-press.md | 5 ----- .changeset/gold-beans-destroy.md | 5 ----- .changeset/heavy-shoes-poke.md | 5 ----- .changeset/proud-trains-hang.md | 5 ----- .changeset/soft-beers-tickle.md | 5 ----- .changeset/young-bees-grin.md | 5 ----- packages/chains/CHANGELOG.md | 7 +++++++ packages/chains/package.json | 2 +- packages/connectors/CHANGELOG.md | 10 ++++++++++ packages/connectors/package.json | 2 +- 11 files changed, 19 insertions(+), 37 deletions(-) delete mode 100644 .changeset/forty-bugs-arrive.md delete mode 100644 .changeset/friendly-turtles-press.md delete mode 100644 .changeset/gold-beans-destroy.md delete mode 100644 .changeset/heavy-shoes-poke.md delete mode 100644 .changeset/proud-trains-hang.md delete mode 100644 .changeset/soft-beers-tickle.md delete mode 100644 .changeset/young-bees-grin.md diff --git a/.changeset/forty-bugs-arrive.md b/.changeset/forty-bugs-arrive.md deleted file mode 100644 index ba7f016a..00000000 --- a/.changeset/forty-bugs-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/chains': patch ---- - -Added Scroll Testnet Chain diff --git a/.changeset/friendly-turtles-press.md b/.changeset/friendly-turtles-press.md deleted file mode 100644 index 637b0ce0..00000000 --- a/.changeset/friendly-turtles-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/connectors': patch ---- - -Updated @walletconnect/ethereum-provider to 2.4.8 diff --git a/.changeset/gold-beans-destroy.md b/.changeset/gold-beans-destroy.md deleted file mode 100644 index 5395b437..00000000 --- a/.changeset/gold-beans-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/connectors': patch ---- - -Added "uniswap wallet" to the regex that determines wallets allowed to switch chains in the WalletConnect legacy connector diff --git a/.changeset/heavy-shoes-poke.md b/.changeset/heavy-shoes-poke.md deleted file mode 100644 index 120bde6a..00000000 --- a/.changeset/heavy-shoes-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/connectors': patch ---- - -Added name mapping for Bifrost Wallet diff --git a/.changeset/proud-trains-hang.md b/.changeset/proud-trains-hang.md deleted file mode 100644 index 8f36b4ec..00000000 --- a/.changeset/proud-trains-hang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/connectors': patch ---- - -Added name mapping for Phantom diff --git a/.changeset/soft-beers-tickle.md b/.changeset/soft-beers-tickle.md deleted file mode 100644 index e41cadd9..00000000 --- a/.changeset/soft-beers-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/chains': patch ---- - -Added Klaytn, Dogechain, DFK, and Cronos Chains. diff --git a/.changeset/young-bees-grin.md b/.changeset/young-bees-grin.md deleted file mode 100644 index da591183..00000000 --- a/.changeset/young-bees-grin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@wagmi/connectors': patch ---- - -Added Status as the name of the injected connector for the Status App diff --git a/packages/chains/CHANGELOG.md b/packages/chains/CHANGELOG.md index 100db3a2..748b7b7e 100644 --- a/packages/chains/CHANGELOG.md +++ b/packages/chains/CHANGELOG.md @@ -1,5 +1,12 @@ # @wagmi/chains +## 0.2.12 + +### Patch Changes + +- c6b2b3a: Added Scroll Testnet Chain +- f9c1f95: Added Klaytn, Dogechain, DFK, and Cronos Chains. + ## 0.2.11 ### Patch Changes diff --git a/packages/chains/package.json b/packages/chains/package.json index 57f5b45e..98ac2259 100644 --- a/packages/chains/package.json +++ b/packages/chains/package.json @@ -2,7 +2,7 @@ "name": "@wagmi/chains", "description": "A collection of chains for wagmi", "license": "MIT", - "version": "0.2.11", + "version": "0.2.12", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", diff --git a/packages/connectors/CHANGELOG.md b/packages/connectors/CHANGELOG.md index 19f5d70d..d7acc772 100644 --- a/packages/connectors/CHANGELOG.md +++ b/packages/connectors/CHANGELOG.md @@ -1,5 +1,15 @@ # @wagmi/connectors +## 0.3.3 + +### Patch Changes + +- f24ce0c: Updated @walletconnect/ethereum-provider to 2.4.8 +- e3a3fee: Added "uniswap wallet" to the regex that determines wallets allowed to switch chains in the WalletConnect legacy connector +- 641af48: Added name mapping for Bifrost Wallet +- 4d2c90a: Added name mapping for Phantom +- 3d276d0: Added Status as the name of the injected connector for the Status App + ## 0.3.2 ### Patch Changes diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 1e66e29e..f53c0edc 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -2,7 +2,7 @@ "name": "@wagmi/connectors", "description": "A collection of connectors for wagmi", "license": "MIT", - "version": "0.3.2", + "version": "0.3.3", "scripts": { "build": "tsup", "dev": "DEV=true tsup"