From 5f8c0852fd16fd35f6cddd56b31c1c64e623daad Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 27 Jul 2022 13:13:19 -0600 Subject: [PATCH 1/4] Updated versions for release --- package.json | 2 +- packages/coinbase/package.json | 4 +- packages/common/package.json | 2 +- packages/core/package.json | 6 +- packages/dcent/package.json | 4 +- packages/demo/package.json | 30 +++--- packages/fortmatic/package.json | 4 +- packages/gas/package.json | 2 +- packages/gnosis/package.json | 4 +- packages/injected/package.json | 4 +- packages/keepkey/package.json | 4 +- packages/keystone/package.json | 4 +- packages/ledger/package.json | 4 +- packages/magic/package.json | 4 +- packages/mew/package.json | 4 +- packages/portis/package.json | 4 +- packages/react/package.json | 6 +- packages/torus/package.json | 4 +- packages/trezor/package.json | 4 +- packages/vue/package.json | 6 +- packages/walletconnect/package.json | 4 +- packages/web3auth/package.json | 4 +- yarn.lock | 152 ---------------------------- 23 files changed, 57 insertions(+), 209 deletions(-) diff --git a/package.json b/package.json index 7690d46d7..9cb7ca1a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.5.0", + "version": "2.6.0", "private": true, "workspaces": [ "./packages/*" diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 9f84cb034..12425e1f5 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.0.9", + "version": "2.0.10", "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", @@ -59,6 +59,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.0.5", - "@web3-onboard/common": "^2.1.6" + "@web3-onboard/common": "^2.1.7" } } diff --git a/packages/common/package.json b/packages/common/package.json index b82ce3384..7c082aa44 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.1.7-alpha.3", + "version": "2.1.7", "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/core/package.json b/packages/core/package.json index fcf530769..921961c23 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.6.0-alpha.6", + "version": "2.6.0", "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", @@ -68,7 +68,7 @@ "@types/lodash.partition": "^4.6.6", "@typescript-eslint/eslint-plugin": "^4.31.1", "@typescript-eslint/parser": "^4.31.1", - "@web3-onboard/gas": "^2.0.0-alpha.1", + "@web3-onboard/gas": "^2.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-svelte3": "^3.2.1", @@ -83,7 +83,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.3", + "@web3-onboard/common": "^2.1.7", "bignumber.js": "^9.0.0", "bnc-sdk": "^4.4.1", "bowser": "^2.11.0", diff --git a/packages/dcent/package.json b/packages/dcent/package.json index ac312e793..abcdcbbad 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "@ethereumjs/common": "^2.6.1", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", diff --git a/packages/demo/package.json b/packages/demo/package.json index 6b61e9c83..20894bbe4 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -22,21 +22,21 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/coinbase": "^2.0.8", - "@web3-onboard/core": "^2.6.0-alpha.5", - "@web3-onboard/dcent": "^2.0.5", - "@web3-onboard/fortmatic": "^2.0.6", - "@web3-onboard/gnosis": "^2.0.5", - "@web3-onboard/injected-wallets": "^2.0.12", - "@web3-onboard/keepkey": "^2.1.4", - "@web3-onboard/keystone": "^2.1.5", - "@web3-onboard/ledger": "^2.1.4", - "@web3-onboard/magic": "^2.0.7", - "@web3-onboard/portis": "^2.0.4", - "@web3-onboard/torus": "^2.0.5", - "@web3-onboard/trezor": "^2.1.4", - "@web3-onboard/walletconnect": "^2.0.5", - "@web3-onboard/web3auth": "^2.0.3", + "@web3-onboard/coinbase": "^2.0.10", + "@web3-onboard/core": "^2.6.0", + "@web3-onboard/dcent": "^2.0.7", + "@web3-onboard/fortmatic": "^2.0.9", + "@web3-onboard/gnosis": "^2.0.8", + "@web3-onboard/injected-wallets": "^2.0.15", + "@web3-onboard/keepkey": "^2.1.7", + "@web3-onboard/keystone": "^2.1.8", + "@web3-onboard/ledger": "^2.1.7", + "@web3-onboard/magic": "^2.0.10", + "@web3-onboard/portis": "^2.0.7", + "@web3-onboard/torus": "^2.0.8", + "@web3-onboard/trezor": "^2.1.7", + "@web3-onboard/walletconnect": "^2.0.8", + "@web3-onboard/web3auth": "^2.0.6", "vconsole": "^3.9.5" }, "license": "MIT", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index d6970fef9..e2be3a36b 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.9-alpha.1", + "version": "2.0.9", "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", @@ -59,7 +59,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "fortmatic": "^2.2.1" } } diff --git a/packages/gas/package.json b/packages/gas/package.json index 71fe34606..3c22b3635 100644 --- a/packages/gas/package.json +++ b/packages/gas/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gas", - "version": "2.0.0-alpha.1", + "version": "2.0.0", "description": "Gas", "keywords": [ "gas" diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index db9ca5306..63daf760d 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.0.8-alpha.1", + "version": "2.0.8", "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", @@ -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.1.7-alpha.1" + "@web3-onboard/common": "^2.1.7" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index daa31f24c..ad37d9540 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.0.15-alpha.1", + "version": "2.0.15", "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", @@ -62,7 +62,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index 2ca82f13d..73c17fd5e 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.1.7-alpha.1", + "version": "2.1.7", "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", @@ -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.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index c22b88436..df1ed2d86 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.1.8-alpha.2", + "version": "2.1.8", "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", @@ -58,6 +58,6 @@ "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "@keystonehq/eth-keyring": "^0.14.0-alpha.10.3", - "@web3-onboard/common": "^2.1.7-alpha.1" + "@web3-onboard/common": "^2.1.7" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 0a94bc162..6d272da07 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.1.7-alpha.1", + "version": "2.1.7", "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", @@ -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.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" } diff --git a/packages/magic/package.json b/packages/magic/package.json index 40cd46ea7..023d40a67 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.0.10-alpha.1", + "version": "2.0.10", "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", @@ -80,7 +80,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "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 929201120..ab316c05f 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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", @@ -59,7 +59,7 @@ "@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index 6ccdeb901..1d3ed4b2b 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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", @@ -57,6 +57,6 @@ }, "dependencies": { "@portis/web3": "^4.0.6", - "@web3-onboard/common": "^2.1.7-alpha.1" + "@web3-onboard/common": "^2.1.7" } } diff --git a/packages/react/package.json b/packages/react/package.json index 86eebd244..2443841c3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.2.5-alpha.5", + "version": "2.2.5", "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,8 +62,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.6.0-alpha.6", - "@web3-onboard/common": "^2.1.7-alpha.3", + "@web3-onboard/core": "^2.6.0", + "@web3-onboard/common": "^2.1.7", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index 8d904c56b..db7c5501f 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.0.8-alpha.1", + "version": "2.0.8", "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", @@ -57,6 +57,6 @@ }, "dependencies": { "@toruslabs/torus-embed": "^1.18.3", - "@web3-onboard/common": "^2.1.7-alpha.1" + "@web3-onboard/common": "^2.1.7" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index f032d7f5b..f34636f4b 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.1.7-alpha.2", + "version": "2.1.7", "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", @@ -60,7 +60,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "buffer": "^6.0.3", "eth-crypto": "^2.1.0", "ethereumjs-util": "^7.1.3", diff --git a/packages/vue/package.json b/packages/vue/package.json index 2869eb1ab..1c8cbed57 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.1.5-alpha.5", + "version": "2.1.5", "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", @@ -62,8 +62,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.1.7-alpha.3", - "@web3-onboard/core": "^2.6.0-alpha.6", + "@web3-onboard/common": "^2.1.7", + "@web3-onboard/core": "^2.6.0", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 7bbc134e2..1e38d2b98 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.0.8-alpha.1", + "version": "2.0.8", "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", @@ -61,7 +61,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "rxjs": "^7.5.2" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index a318395f5..eb060a300 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.0.6-alpha.1", + "version": "2.0.6", "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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.7-alpha.1", + "@web3-onboard/common": "^2.1.7", "@web3auth/web3auth": "^1.0.0" } } diff --git a/yarn.lock b/yarn.lock index 953b7bbb0..109165e31 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2516,158 +2516,6 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" -"@web3-onboard/common@^2.1.5": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.1.5.tgz#0bcd562853559a551eaa810ba709fb61a8fd7f09" - integrity sha512-bY5GYwO1f0lV8i1h//dn4Q0Ol3/vnbFcFCKZ/71GSKtvu859xJi6rBGM4+qgU05Wnrel3qyuUF9e9cEgTAwwWA== - dependencies: - "@ethereumjs/common" "2.6.2" - ethers "5.5.4" - joi "^17.4.2" - rxjs "^7.5.2" - -"@web3-onboard/common@^2.1.6": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.1.6.tgz#29d1a4a98b24a08af9f532707225ad5054e25bb6" - integrity sha512-mVmkjM/hI4WeK9uN3TNt/+v7VtNdwoTbAzTRAOcUSIZRK3q1ptWQoL0tydRimXCTfvv+EUJxlJHb+1+QqmRVPw== - dependencies: - "@ethereumjs/common" "2.6.2" - ethers "5.5.4" - joi "^17.4.2" - rxjs "^7.5.2" - -"@web3-onboard/dcent@^2.0.5": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/dcent/-/dcent-2.0.5.tgz#395af9a3bbe993f2386d650dc8a9caedb54479e2" - integrity sha512-hOkfkV5iWlcXoFb9twlxMemqYLgvo3z+R03OyHE67DWH5gAUBqR3xlF9lNUk/lpPR3gIuMeYwAy7Wnvi5fiUWg== - dependencies: - "@ethereumjs/common" "^2.6.1" - "@ethereumjs/tx" "^3.4.0" - "@ethersproject/providers" "^5.5.0" - "@web3-onboard/common" "^2.1.5" - eth-dcent-keyring "^0.2.2" - -"@web3-onboard/fortmatic@^2.0.6": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@web3-onboard/fortmatic/-/fortmatic-2.0.7.tgz#d5a5c89c4dc2a92bdbf848a97dbe00c2f085a098" - integrity sha512-hh/HzLVuHLq/QYV8fyPyRBY2crhCQVmeGvxOminRpo3SdfKp/dos6q3oP8aot/3BIsFB/7Ta+kynMBjg+ZcQ7w== - dependencies: - "@web3-onboard/common" "^2.1.5" - fortmatic "^2.2.1" - -"@web3-onboard/gnosis@^2.0.5": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.0.6.tgz#565ec23ebfeef9069def9cf2a129e493fd45e5a9" - integrity sha512-hrl98mpyyNkPGXvPLHky+BCmLMXbZtMHFxKjBmaBynovJyJX/hYK/0/n8/w0miAtWP+5fIWSO7VK+oBVbY7b2Q== - dependencies: - "@gnosis.pm/safe-apps-provider" "^0.9.2" - "@gnosis.pm/safe-apps-sdk" "^6.1.1" - "@web3-onboard/common" "^2.1.5" - -"@web3-onboard/injected-wallets@^2.0.12": - version "2.0.13" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.0.13.tgz#dc7d67e3b9efd4f7bd09f075d6ef6399322d5146" - integrity sha512-UtPA26+yn02+lLmiwI404DKMIzLM/fhClQTyR9cc4ZcM+YHwGW3kb/NKtxxhKWNtQbXCp8nPTPfHgKW2Y9mggA== - dependencies: - "@web3-onboard/common" "^2.1.5" - joi "^17.4.2" - lodash.uniqby "^4.7.0" - -"@web3-onboard/keepkey@^2.1.4": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/keepkey/-/keepkey-2.1.5.tgz#7903f1824dca0af981fd771e63495cda85d9ee0a" - integrity sha512-nLmPNtGNG70gVMGogQD19Nitwbg8B1zxp8c9/GosdtLHGQ5JwscR6bMsH2PQT7pftMyUesILpWijBsRWk8vztQ== - dependencies: - "@ethersproject/providers" "^5.5.0" - "@shapeshiftoss/hdwallet-core" "^1.15.2" - "@shapeshiftoss/hdwallet-keepkey-webusb" "^1.15.2" - "@web3-onboard/common" "^2.1.5" - ethereumjs-util "^7.1.3" - -"@web3-onboard/keystone@^2.1.5": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/keystone/-/keystone-2.1.6.tgz#4f8b635133994b5eb9719f35b069384fe4835729" - integrity sha512-Ivfdei6yxzRnaYh4ycsOKY3xYz1MTD2CxuboMZZ8iAjKIYMBUDGBYOXKy+1q7nU750D+dKMVnGVQonEcBQj++Q== - dependencies: - "@ethereumjs/tx" "^3.4.0" - "@ethersproject/providers" "^5.5.0" - "@keystonehq/eth-keyring" "^0.14.0-alpha.10.3" - "@web3-onboard/common" "^2.1.5" - -"@web3-onboard/ledger@^2.1.4": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.1.5.tgz#53dbf4f820e7e18eccfa18dc45e70ca0d07942e9" - integrity sha512-/pQNI8x8KnrQ7drAEhaVF7ZBXSaL/E9+il7VnX1vPreWd94gnHopnA1pxRJsE0ufnj0gl7p59XaYL6KIWbnMOw== - dependencies: - "@ethereumjs/tx" "^3.4.0" - "@ethersproject/providers" "^5.5.0" - "@ledgerhq/hw-app-eth" "^6.19.0" - "@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.1.5" - buffer "^6.0.3" - ethereumjs-util "^7.1.3" - -"@web3-onboard/magic@^2.0.7": - version "2.0.8" - resolved "https://registry.yarnpkg.com/@web3-onboard/magic/-/magic-2.0.8.tgz#5f1fa68d999eb7389b59c8106265ec92eb6db3a9" - integrity sha512-N4M054oMD6byH40zCNgFCCRtzsscXiJHve1JBdZOQ2QJ/bxVWfA0KUEMdtWAx296neWK4QhwQfIi41wApuM9EA== - dependencies: - "@web3-onboard/common" "^2.1.5" - joi "^17.4.2" - magic-sdk "^8.1.0" - rxjs "^7.5.2" - -"@web3-onboard/portis@^2.0.4": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/portis/-/portis-2.0.5.tgz#9ac791b078863d964047e15d8a5010876ad62dee" - integrity sha512-dbd9CJl0Bor5GNf0wfhamJF9Gvygqc+FXWwYOydfJPGpd/adZ2eEJ2mT3RVN3NLW9C0MaXmfPJ4lHN5GpUPFIg== - dependencies: - "@portis/web3" "^4.0.6" - "@web3-onboard/common" "^2.1.5" - -"@web3-onboard/torus@^2.0.5": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/torus/-/torus-2.0.6.tgz#7734d7bcc629c13a14e4d0cd0be696a264fefa73" - integrity sha512-sjDNG+wInP/TVO+Lp+lCWb0sHo074VyTtbCwGHKtQhoY87MiKr4NYo49ZwIiNn0rh9+VAQxyWOa7be/fijCyqA== - dependencies: - "@toruslabs/torus-embed" "^1.18.3" - "@web3-onboard/common" "^2.1.5" - -"@web3-onboard/trezor@^2.1.4": - version "2.1.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/trezor/-/trezor-2.1.5.tgz#fb9658267d3cb1e7cc3894112fdd737c1005abb5" - integrity sha512-693G426u92+NcdecLtA1PAH1G31ZszXVIEV6Fc2w3FNbw73K0wSNOTSegSxQk+Bo+7jZRU5DjCyAR1dmJiyTyg== - dependencies: - "@ethereumjs/tx" "^3.4.0" - "@ethersproject/providers" "^5.5.0" - "@web3-onboard/common" "^2.1.5" - buffer "^6.0.3" - eth-crypto "^2.1.0" - ethereumjs-util "^7.1.3" - hdkey "^2.0.1" - trezor-connect "^8.2.6" - -"@web3-onboard/walletconnect@^2.0.5": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.0.6.tgz#dcf6bd74ad4e7f81749a52231a8a2e5b9fbce250" - integrity sha512-eEKGU3gf+Arhp1DyshSmFjbI7VJ9Stcc2nJw30ciHCIKXDhd70eOBL6jqpco8NOKObCulQI6b6Mc/LA5618aaQ== - dependencies: - "@ethersproject/providers" "^5.5.0" - "@walletconnect/client" "^1.7.1" - "@walletconnect/qrcode-modal" "^1.7.1" - "@web3-onboard/common" "^2.1.5" - rxjs "^7.5.2" - -"@web3-onboard/web3auth@^2.0.3": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@web3-onboard/web3auth/-/web3auth-2.0.4.tgz#5da6e25d22f4e5d3f6d772650954dcce5ff30d5f" - integrity sha512-hANa7kx+r8jr9OpZEJU4nOySDV25C1kZJmYmCNMI7NNvSM0vZoeuJjVyg6Vm7/ppCjk0QIjb7WWjov67XS7vjQ== - dependencies: - "@web3-onboard/common" "^2.1.5" - "@web3auth/web3auth" "^1.0.0" - "@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 7b1eb11799663711d3594217b85e49fcbabdb8dd Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 28 Jul 2022 13:17:42 -0600 Subject: [PATCH 2/4] Fix validation for HD wallets ID --- packages/common/src/validation.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/common/src/validation.ts b/packages/common/src/validation.ts index 6294d7b51..904ffb3d4 100644 --- a/packages/common/src/validation.ts +++ b/packages/common/src/validation.ts @@ -9,9 +9,9 @@ const basePaths = Joi.array().items(basePath) const chain = Joi.object({ namespace: Joi.string(), - id: Joi.alternatives() - .try(Joi.string().pattern(/^0x[0-9a-fA-F]+$/), - Joi.number().positive()).required, + id: Joi.string() + .pattern(/^0x[0-9a-fA-F]+$/) + .required(), rpcUrl: Joi.string().required(), label: Joi.string().required(), token: Joi.string().required(), From c7fed22509f112e1c861059f050c733dfd473527 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Mon, 1 Aug 2022 11:15:15 -0600 Subject: [PATCH 3/4] Remove force ID to string as it will always be string/hex internally --- packages/trezor/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trezor/src/index.ts b/packages/trezor/src/index.ts index 64100833a..ba290cfbc 100644 --- a/packages/trezor/src/index.ts +++ b/packages/trezor/src/index.ts @@ -486,7 +486,7 @@ function trezor(options: TrezorOptions): WalletInit { ? [accounts[0].address] : [], eth_chainId: async () => - currentChain.hasOwnProperty('id') ? String(currentChain.id) : '', + currentChain.hasOwnProperty('id') ? currentChain.id : '', eth_signTransaction: async ({ params: [transactionObject] }) => signTransaction(transactionObject), eth_sendTransaction: async ({ baseRequest, params }) => { From 3a199e6923941a9142e24fb3c155c0c8345d1b56 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Mon, 1 Aug 2022 15:31:47 -0600 Subject: [PATCH 4/4] Remove unneeded log --- packages/ledger/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ledger/src/index.ts b/packages/ledger/src/index.ts index 04dbe9481..31620eadf 100644 --- a/packages/ledger/src/index.ts +++ b/packages/ledger/src/index.ts @@ -176,7 +176,6 @@ function ledger({ return getAddresses(derivationPath, asset, ethersProvider, eth) } catch (error) { - console.log('err', error) const { statusText } = error as { statusText: string } throw new Error( statusText === 'UNKNOWN_ERROR'