From 61efba9a2543b89bcbaa63b773b3aac25c4984a7 Mon Sep 17 00:00:00 2001 From: Daniel Dimitrov Date: Thu, 12 Dec 2024 11:38:51 +0100 Subject: [PATCH 1/3] fix: keystone dep breaks yarn 4 installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If you try to use web3-onboard with yarn v4 (although I think the problem will be there with yarn v2 and v3) it fails with: YN0001: │ Error: @keystonehq/eth-keyring@^0.14.00.3 isn't supported by any available resolver First install is ok, but if you run the install again you’ll get the above. 0.14.00.3 is apparently not a valid range and the only way to get this fixed is to fix the dependency. Yarn v1 resolves 0.14.00.3 to 0.14.4 and that is the version I’ve set here. --- packages/keystone/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 9b37c7ff5..9988ceac2 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -57,7 +57,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@keystonehq/eth-keyring": "^0.14.00.3", + "@keystonehq/eth-keyring": "^0.14.4", "@web3-onboard/common": "^2.4.1", "@web3-onboard/hw-common": "^2.3.2" } From c20c2b49afda50f087234722a8b05aec85778c02 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Fri, 21 Feb 2025 07:55:22 +1300 Subject: [PATCH 2/3] update keystone package --- packages/keystone/package.json | 122 ++++++++++++++++----------------- 1 file changed, 60 insertions(+), 62 deletions(-) diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 9988ceac2..680754ca1 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,64 +1,62 @@ { - "name": "@web3-onboard/keystone", - "version": "2.3.10", - "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", - "Web3", - "EVM", - "dapp", - "Multichain", - "Wallet", - "Transaction", - "Provider", - "Hardware Wallet", - "Notifications", - "React", - "Svelte", - "Vue", - "Next", - "Nuxt", - "MetaMask", - "Coinbase", - "WalletConnect", - "Ledger", - "Trezor", - "Connect Wallet", - "Ethereum Hooks", - "Blocknative", - "Mempool", - "pending", - "confirmed", - "Injected Wallet" - ], - "repository": { - "type": "git", - "url": "https://github.com/blocknative/web3-onboard.git", - "directory": "packages/keystone" - }, - "homepage": "https://onboard.blocknative.com", - "bugs": "https://github.com/blocknative/web3-onboard/issues", - "module": "dist/index.js", - "main": "dist/index.js", - "typings": "dist/index.d.ts", - "files": [ - "dist" - ], - "type": "module", - "scripts": { - "build": "tsc", - "dev": "tsc -w", - "type-check": "tsc --noEmit" - }, - "license": "MIT", - "devDependencies": { - "typescript": "^5.4.5" - }, - "dependencies": { - "@ethereumjs/tx": "^3.4.0", - "@ethersproject/providers": "^5.5.0", - "@keystonehq/eth-keyring": "^0.14.4", - "@web3-onboard/common": "^2.4.1", - "@web3-onboard/hw-common": "^2.3.2" - } + "name": "@web3-onboard/keystone", + "version": "2.3.11", + "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", + "Web3", + "EVM", + "dapp", + "Multichain", + "Wallet", + "Transaction", + "Provider", + "Hardware Wallet", + "Notifications", + "React", + "Svelte", + "Vue", + "Next", + "Nuxt", + "MetaMask", + "Coinbase", + "WalletConnect", + "Ledger", + "Trezor", + "Connect Wallet", + "Ethereum Hooks", + "Blocknative", + "Mempool", + "pending", + "confirmed", + "Injected Wallet" + ], + "repository": { + "type": "git", + "url": "https://github.com/blocknative/web3-onboard.git", + "directory": "packages/keystone" + }, + "homepage": "https://onboard.blocknative.com", + "bugs": "https://github.com/blocknative/web3-onboard/issues", + "module": "dist/index.js", + "main": "dist/index.js", + "typings": "dist/index.d.ts", + "files": ["dist"], + "type": "module", + "scripts": { + "build": "tsc", + "dev": "tsc -w", + "type-check": "tsc --noEmit" + }, + "license": "MIT", + "devDependencies": { + "typescript": "^5.4.5" + }, + "dependencies": { + "@ethereumjs/tx": "^3.4.0", + "@ethersproject/providers": "^5.5.0", + "@keystonehq/eth-keyring": "^0.14.4", + "@web3-onboard/common": "^2.4.1", + "@web3-onboard/hw-common": "^2.3.2" + } } From 947033a4726f4b684685ea2e4e0367ea9d2530ad Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Fri, 21 Feb 2025 08:13:28 +1300 Subject: [PATCH 3/3] lock --- yarn.lock | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index c9255449b..3efb1a158 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2200,7 +2200,7 @@ base58check "^2.0.0" tslib "^2.3.0" -"@keystonehq/eth-keyring@^0.14.00.3": +"@keystonehq/eth-keyring@^0.14.4": version "0.14.4" resolved "https://registry.yarnpkg.com/@keystonehq/eth-keyring/-/eth-keyring-0.14.4.tgz#08dbfb5cdd9648b89ae27c17dca06e221dae26ec" integrity sha512-aWEKlPGtmGhZRbkRdj26ilUKs2dG+7ov78gz4F1EqU5ES+ZQud2iIlIFKElNQw3qIDZmcObMwNfL/KcyfPKUYQ== @@ -5946,6 +5946,24 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" +"@web3-onboard/core@2.23.1": + version "2.23.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.23.1.tgz#47d4f086af0e743d9227b42cf70c23c0ad32d2c4" + integrity sha512-a3dseMpoe7jBfWzyvTNsIhpOh5MncaOLps/83zsUi32oXhYOPz5vUlJuUOAUx8O6LHGZh3RkRQWAwBTf96qsFA== + dependencies: + "@web3-onboard/common" "^2.4.1" + bnc-sdk "^4.6.7" + bowser "^2.11.0" + eventemitter3 "^4.0.7" + joi "17.9.1" + lodash.merge "^4.6.2" + lodash.partition "^4.6.0" + nanoid "^4.0.0" + rxjs "^7.5.5" + svelte "^3.49.0" + svelte-i18n "^4.0.1" + viem "2.12.0" + "@web3-onboard/wagmi@2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@web3-onboard/wagmi/-/wagmi-2.0.0.tgz#9beda01b4539d399aa0420e7afaacc09fc25ed7d"