From e120fc3cf098879a22085992afc5469f73dc80ab Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 1 Sep 2022 14:49:37 -0600 Subject: [PATCH 1/3] Add support for unrecognized chain Id error support when adding a new chain --- packages/coinbase/package.json | 2 +- packages/common/package.json | 2 +- packages/common/src/types.ts | 3 ++- packages/core/package.json | 4 ++-- packages/core/src/chain.ts | 5 ++++- packages/dcent/package.json | 2 +- packages/demo/package.json | 2 +- packages/fortmatic/package.json | 2 +- packages/gas/package.json | 2 +- packages/gnosis/package.json | 2 +- packages/hw-common/package.json | 2 +- packages/injected/package.json | 2 +- packages/keepkey/package.json | 2 +- packages/keystone/package.json | 2 +- packages/ledger/package.json | 2 +- packages/magic/package.json | 2 +- packages/mew/package.json | 2 +- packages/portis/package.json | 2 +- packages/react/package.json | 4 ++-- packages/torus/package.json | 2 +- packages/trezor/package.json | 2 +- packages/vue/package.json | 4 ++-- packages/walletconnect/package.json | 2 +- packages/walletlink/package.json | 2 +- packages/web3auth/package.json | 2 +- 25 files changed, 32 insertions(+), 28 deletions(-) diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 8bcb316a7..a9ac3171d 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -59,6 +59,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.0.5", - "@web3-onboard/common": "^2.2.1" + "@web3-onboard/common": "^2.2.2-alpha.1" } } diff --git a/packages/common/package.json b/packages/common/package.json index a4a78d98d..cf843d45f 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.2.1", + "version": "2.2.2-alpha.1", "description": "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/common/src/types.ts b/packages/common/src/types.ts index 10d46bfd3..95889241b 100644 --- a/packages/common/src/types.ts +++ b/packages/common/src/types.ts @@ -372,7 +372,8 @@ export enum ProviderRpcErrorCode { DISCONNECTED = 4900, CHAIN_DISCONNECTED = 4901, CHAIN_NOT_ADDED = 4902, - DOES_NOT_EXIST = -32601 + DOES_NOT_EXIST = -32601, + UNRECOGNIZED_CHAIN_ID = -32603 } export interface Chain { diff --git a/packages/core/package.json b/packages/core/package.json index 799d1fb92..8bcb2ec07 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.8.1", + "version": "2.8.2-alpha.1", "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", @@ -82,7 +82,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "bignumber.js": "^9.0.0", "bnc-sdk": "^4.4.1", "bowser": "^2.11.0", diff --git a/packages/core/src/chain.ts b/packages/core/src/chain.ts index da26b849d..7fbb0d52a 100644 --- a/packages/core/src/chain.ts +++ b/packages/core/src/chain.ts @@ -67,7 +67,10 @@ async function setChain(options: { map(() => false) ) - if (code === ProviderRpcErrorCode.CHAIN_NOT_ADDED) { + if ( + code === ProviderRpcErrorCode.CHAIN_NOT_ADDED || + code === ProviderRpcErrorCode.UNRECOGNIZED_CHAIN_ID + ) { // chain has not been added to wallet try { await addNewChain(wallet.provider, chain) diff --git a/packages/dcent/package.json b/packages/dcent/package.json index e0ef98fad..fdc593770 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3-onboard/hw-common": "^2.0.1", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", diff --git a/packages/demo/package.json b/packages/demo/package.json index 3e2cf1200..130181ce5 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "@web3-onboard/coinbase": "^2.1.1", - "@web3-onboard/core": "^2.8.1", + "@web3-onboard/core": "^2.8.2-alpha.1", "@web3-onboard/dcent": "^2.1.1", "@web3-onboard/fortmatic": "^2.0.12", "@web3-onboard/gas": "^2.1.1", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index d0859456a..3991f1823 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -58,7 +58,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "fortmatic": "^2.2.1" } } diff --git a/packages/gas/package.json b/packages/gas/package.json index 455eef5f9..0f08897ae 100644 --- a/packages/gas/package.json +++ b/packages/gas/package.json @@ -30,7 +30,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "rxjs": "^7.5.2", "joi": "^17.4.2" } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index 51dd2ad71..d41b27ce3 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -59,6 +59,6 @@ "dependencies": { "@gnosis.pm/safe-apps-provider": "^0.9.2", "@gnosis.pm/safe-apps-sdk": "^6.1.1", - "@web3-onboard/common": "^2.2.1" + "@web3-onboard/common": "^2.2.2-alpha.1" } } diff --git a/packages/hw-common/package.json b/packages/hw-common/package.json index db16e1f53..fbbd6b42e 100644 --- a/packages/hw-common/package.json +++ b/packages/hw-common/package.json @@ -81,7 +81,7 @@ }, "dependencies": { "@ethereumjs/common": "2.6.2", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "ethers": "5.5.4", "joi": "^17.4.2", "rxjs": "^7.5.2" diff --git a/packages/injected/package.json b/packages/injected/package.json index 585f8d9cb..a421cb06c 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -62,7 +62,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index 6cc404744..1a4840e9f 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -63,7 +63,7 @@ "@ethersproject/providers": "^5.5.0", "@shapeshiftoss/hdwallet-core": "^1.15.2", "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3-onboard/hw-common": "^2.0.1", "ethereumjs-util": "^7.1.3" } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 8eb9d1fa9..81cdca278 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -58,7 +58,7 @@ "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "@keystonehq/eth-keyring": "^0.14.0-alpha.10.3", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3-onboard/hw-common": "^2.0.1" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index dddf15fcb..a48b4d465 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -65,7 +65,7 @@ "@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated", "@ledgerhq/hw-transport-webusb": "^6.19.0", "@metamask/eth-sig-util": "^4.0.0", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3-onboard/hw-common": "^2.0.1", "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" diff --git a/packages/magic/package.json b/packages/magic/package.json index 06ee8b08d..ed2fee403 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -80,7 +80,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "joi": "^17.4.2", "magic-sdk": "^8.1.0", "rxjs": "^7.5.2" diff --git a/packages/mew/package.json b/packages/mew/package.json index a80b38838..3adfbaf81 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -59,7 +59,7 @@ "@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index 85c6fbf44..d5c42b8e8 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -57,6 +57,6 @@ }, "dependencies": { "@portis/web3": "^4.0.6", - "@web3-onboard/common": "^2.2.1" + "@web3-onboard/common": "^2.2.2-alpha.1" } } diff --git a/packages/react/package.json b/packages/react/package.json index e1b5ab183..d598b3967 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -62,8 +62,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.8.1", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/core": "^2.8.2-alpha.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index 53c1440a7..fa63d36db 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -57,6 +57,6 @@ }, "dependencies": { "@toruslabs/torus-embed": "^1.18.3", - "@web3-onboard/common": "^2.2.1" + "@web3-onboard/common": "^2.2.2-alpha.1" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index ebe29fa93..4c171ebad 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -60,7 +60,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3-onboard/hw-common": "^2.0.1", "buffer": "^6.0.3", "eth-crypto": "^2.1.0", diff --git a/packages/vue/package.json b/packages/vue/package.json index cd97ff2b1..dedc4abe3 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -62,8 +62,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.2.1", - "@web3-onboard/core": "^2.8.1", + "@web3-onboard/common": "^2.2.2-alpha.1", + "@web3-onboard/core": "^2.8.2-alpha.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index fc8e778f6..d4718e101 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -61,7 +61,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "rxjs": "^7.5.2" } } diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index ebeeafe13..49e582639 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -58,7 +58,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index 274ad7109..41ca49518 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.2.1", + "@web3-onboard/common": "^2.2.2-alpha.1", "@web3auth/web3auth": "^1.0.0" } } From 9a2055ebae831b0f10274f1169a55c5d55ccdf64 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 1 Sep 2022 15:07:21 -0600 Subject: [PATCH 2/3] Yarn it --- yarn.lock | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/yarn.lock b/yarn.lock index d5ffcf361..c875acc3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2974,6 +2974,15 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" +"@web3-onboard/common@^2.1.7": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.2.1.tgz#1143e2237d44c80df2d4e34d5959197ed29c0153" + integrity sha512-714kgZoTiZ7I1vWE8Ah6jzpd3nVqOitioHvYy/gLoOECSFNzOqcHQMystOn1sLpl05j/uOkPRgUwWHYmPI60Og== + dependencies: + bignumber.js "^9.1.0" + ethers "5.5.4" + joi "^17.4.2" + "@web3auth/base-plugin@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@web3auth/base-plugin/-/base-plugin-1.0.1.tgz#1e2a87acf745299fdff6f92e6c46ee9bc38aa670" From 335f10e936a76a7915eb44d0340cd4152011f7fb Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 2 Sep 2022 10:27:49 -0600 Subject: [PATCH 3/3] Bump versions --- packages/coinbase/package.json | 2 +- packages/dcent/package.json | 2 +- packages/demo/package.json | 32 ++++++++++---------- packages/fortmatic/package.json | 2 +- packages/gas/package.json | 2 +- packages/gnosis/package.json | 2 +- packages/hw-common/package.json | 2 +- packages/injected/package.json | 2 +- packages/keepkey/package.json | 2 +- packages/keystone/package.json | 2 +- packages/ledger/package.json | 2 +- packages/magic/package.json | 2 +- packages/mew/package.json | 2 +- packages/portis/package.json | 2 +- packages/react/package.json | 2 +- packages/sequence/package.json | 4 +-- packages/torus/package.json | 2 +- packages/trezor/package.json | 2 +- packages/vue/package.json | 2 +- packages/walletconnect/package.json | 2 +- packages/walletlink/package.json | 2 +- packages/web3auth/package.json | 2 +- yarn.lock | 46 ++++++++++++++++++++++++++++- 23 files changed, 83 insertions(+), 39 deletions(-) diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index a9ac3171d..ac407d8b7 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Coinbase 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/dcent/package.json b/packages/dcent/package.json index 806aec19d..c37b121c3 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.2.0-alpha.1", + "version": "2.2.0-alpha.2", "description": "D'CENT 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/demo/package.json b/packages/demo/package.json index 540694dcb..8286b1926 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -22,23 +22,23 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/coinbase": "^2.1.1", + "@web3-onboard/coinbase": "^2.1.2-alpha.1", "@web3-onboard/core": "^2.8.2-alpha.1", - "@web3-onboard/dcent": "^2.2.0-alpha.1", - "@web3-onboard/fortmatic": "^2.0.12", - "@web3-onboard/gas": "^2.1.1", - "@web3-onboard/gnosis": "^2.1.1", - "@web3-onboard/injected-wallets": "^2.2.0", - "@web3-onboard/keepkey": "^2.3.0-alpha.1", - "@web3-onboard/keystone": "^2.3.0-alpha.1", - "@web3-onboard/ledger": "^2.3.0-alpha.1", - "@web3-onboard/magic": "^2.1.1", - "@web3-onboard/portis": "^2.1.1", - "@web3-onboard/sequence": "^2.0.0", - "@web3-onboard/torus": "^2.1.1", - "@web3-onboard/trezor": "^2.3.0-alpha.1", - "@web3-onboard/walletconnect": "^2.1.1", - "@web3-onboard/web3auth": "^2.1.1", + "@web3-onboard/dcent": "^2.2.0-alpha.2", + "@web3-onboard/fortmatic": "^2.0.13-alpha.1", + "@web3-onboard/gas": "^2.1.2-alpha.1", + "@web3-onboard/gnosis": "^2.1.2-alpha.1", + "@web3-onboard/injected-wallets": "^2.2.1-alpha.1", + "@web3-onboard/keepkey": "^2.3.0-alpha.2", + "@web3-onboard/keystone": "^2.3.0-alpha.2", + "@web3-onboard/ledger": "^2.3.0-alpha.2", + "@web3-onboard/magic": "^2.1.2-alpha.1", + "@web3-onboard/portis": "^2.1.2-alpha.1", + "@web3-onboard/sequence": "^2.0.1-alpha.1", + "@web3-onboard/torus": "^2.1.2-alpha.1", + "@web3-onboard/trezor": "^2.3.0-alpha.2", + "@web3-onboard/walletconnect": "^2.1.2-alpha.1", + "@web3-onboard/web3auth": "^2.1.2-alpha.1", "vconsole": "^3.9.5" }, "license": "MIT", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index 3991f1823..c91417fd5 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.12", + "version": "2.0.13-alpha.1", "description": "Fortmatic 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/gas/package.json b/packages/gas/package.json index 0f08897ae..fbecca127 100644 --- a/packages/gas/package.json +++ b/packages/gas/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gas", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Estimate the gas prices needed to get a transaction in to the next block for Ethereum Mainnet and Polygon Matic Mainnet.", "keywords": [ "gas", diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index d41b27ce3..faad4a613 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Gnosis 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", diff --git a/packages/hw-common/package.json b/packages/hw-common/package.json index fbbd6b42e..c54691232 100644 --- a/packages/hw-common/package.json +++ b/packages/hw-common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/hw-common", - "version": "2.0.1", + "version": "2.0.2-alpha.1", "description": "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/injected/package.json b/packages/injected/package.json index a421cb06c..837fa9409 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.2.0", + "version": "2.2.1-alpha.1", "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", diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index 7cec8f04b..5581b8329 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "description": "KeepKey hardware 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/keystone/package.json b/packages/keystone/package.json index a064b6900..3ef0d3a42 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "description": "Keystone hardware 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/ledger/package.json b/packages/ledger/package.json index 567b56fd9..0695f762e 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.3.0-alpha.1", + "version": "2.3.0-alpha.2", "description": "Ledger hardare 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/magic/package.json b/packages/magic/package.json index ed2fee403..2dc1a0087 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Magic 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/mew/package.json b/packages/mew/package.json index 3adfbaf81..fb1e1122b 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "MEW (My Ether Wallet) 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/portis/package.json b/packages/portis/package.json index d5c42b8e8..78bbc8b8c 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Portis 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/react/package.json b/packages/react/package.json index d598b3967..23e29cfed 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.3.1", + "version": "2.3.2-alpha.1", "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", diff --git a/packages/sequence/package.json b/packages/sequence/package.json index 45e3f2628..f36588841 100644 --- a/packages/sequence/package.json +++ b/packages/sequence/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/sequence", - "version": "2.0.0", + "version": "2.0.1-alpha.1", "description": "Sequence is the smartest Web3 wallet. Easy, fun and secure.", "keywords": [ "Ethereum", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7", + "@web3-onboard/common": "^2.2.2-alpha.1", "0xsequence": "^0.40.5" } } diff --git a/packages/torus/package.json b/packages/torus/package.json index fa63d36db..67110a42f 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Torus 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/trezor/package.json b/packages/trezor/package.json index 4c171ebad..97c9dcba4 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.2.1", + "version": "2.2.2-alpha.1", "description": "Trezor hardware 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/vue/package.json b/packages/vue/package.json index dedc4abe3..8887a7f2c 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.2.1", + "version": "2.2.2-alpha.1", "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 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", diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index d4718e101..55b24e3fe 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "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", diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index 49e582639..136e5450e 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletlink", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "(DEPRECATED. Use @web3-onboard/coinbase instead) WalletLink 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/web3auth/package.json b/packages/web3auth/package.json index 41ca49518..375181503 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.1.1", + "version": "2.1.2-alpha.1", "description": "Web3Auth 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/yarn.lock b/yarn.lock index c875acc3f..e98323abb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2974,7 +2974,7 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" -"@web3-onboard/common@^2.1.7": +"@web3-onboard/common@^2.2.1": version "2.2.1" resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.2.1.tgz#1143e2237d44c80df2d4e34d5959197ed29c0153" integrity sha512-714kgZoTiZ7I1vWE8Ah6jzpd3nVqOitioHvYy/gLoOECSFNzOqcHQMystOn1sLpl05j/uOkPRgUwWHYmPI60Og== @@ -2983,6 +2983,41 @@ ethers "5.5.4" joi "^17.4.2" +"@web3-onboard/gas@^2.0.0": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/gas/-/gas-2.1.1.tgz#a94c9cdb2a3d8650fcb64d15633c85353ac2ec7d" + integrity sha512-DdxRpV6+DGKyaIpBSW+Btt+N+bYpPWo5RkJGXxzMgXfCnXDL+YytOhsNxQCrucfzjIZWvWzCsklgOfSEhFtyKw== + dependencies: + "@web3-onboard/common" "^2.2.1" + joi "^17.4.2" + rxjs "^7.5.2" + +"@web3-onboard/hw-common@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/hw-common/-/hw-common-2.0.1.tgz#23bb18c73b34ae64b7c591314ff1ace95c297b09" + integrity sha512-+ZR5m5pJLt+gnSvpe2m8DoNzJWw0ccxoDThdX1o363GwIHkttiCID2gCrejUxjJjabneluChx/cdR7iuGh756A== + dependencies: + "@ethereumjs/common" "2.6.2" + "@web3-onboard/common" "^2.2.1" + ethers "5.5.4" + joi "^17.4.2" + rxjs "^7.5.2" + +"@web3-onboard/trezor@^2.3.0-alpha.2": + version "2.3.0-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/trezor/-/trezor-2.3.0-alpha.2.tgz#70deea9a9dbe4ed5f9ba386298349260222d209e" + integrity sha512-O+ijJ49QKDrjWhGbTY1gVjk/pORvy3E4KTMd/KyCsoN3Ea+GXbLVhxDQtB2HI97DxZ/UVfAlagXdofKOkjU9yw== + dependencies: + "@ethereumjs/tx" "^3.4.0" + "@ethersproject/providers" "^5.5.0" + "@web3-onboard/common" "^2.2.1" + "@web3-onboard/hw-common" "^2.0.1" + buffer "^6.0.3" + eth-crypto "^2.1.0" + ethereumjs-util "^7.1.3" + hdkey "^2.0.1" + trezor-connect "^8.2.11" + "@web3auth/base-plugin@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@web3auth/base-plugin/-/base-plugin-1.0.1.tgz#1e2a87acf745299fdff6f92e6c46ee9bc38aa670" @@ -10284,6 +10319,15 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= +trezor-connect@^8.2.11: + version "8.2.11" + resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.2.11.tgz#6484a52f1e492748939f01a891ab9b2df28950c1" + integrity sha512-08yQrFJjZ/PjB4ZaHSnEwahG7cnc4FDndDxIen6kQ3hlpHmnu+J2V/ldUs5FOlZx22XDg5bhTKuIqytZrj9B0w== + dependencies: + "@babel/runtime" "^7.15.4" + cross-fetch "^3.1.5" + events "^3.3.0" + trezor-connect@^8.2.6: version "8.2.6" resolved "https://registry.yarnpkg.com/trezor-connect/-/trezor-connect-8.2.6.tgz#2731f9af2837116307672aeba747cf29c02b6229"