From 9dd3a56febf164a0a28b910be2076883bcbabb92 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 20 Mar 2024 15:30:16 -0600 Subject: [PATCH 1/7] Bump versions for release and Remove console.log --- docs/package.json | 14 +++++++------- packages/blocto/package.json | 2 +- packages/coinbase/package.json | 2 +- packages/common/package.json | 2 +- packages/core/package.json | 4 ++-- packages/demo/package.json | 22 +++++++++++----------- packages/hw-common/package.json | 4 ++-- packages/injected/package.json | 2 +- packages/injected/src/index.ts | 1 - packages/keepkey/package.json | 6 +++--- packages/keystone/package.json | 6 +++--- packages/ledger/package.json | 2 +- packages/metamask/package.json | 2 +- packages/particle-network/package.json | 2 +- packages/react/package.json | 4 ++-- packages/solid/package.json | 4 ++-- packages/trezor/package.json | 6 +++--- packages/vue/package.json | 6 +++--- packages/walletconnect/package.json | 2 +- yarn.lock | 13 +------------ 20 files changed, 47 insertions(+), 59 deletions(-) diff --git a/docs/package.json b/docs/package.json index be734ccf9..ced73ff9b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -57,8 +57,8 @@ "@web3-onboard/blocto": "^2.0.0", "@web3-onboard/capsule": "^2.0.1", "@web3-onboard/cede-store": "^2.2.0", - "@web3-onboard/coinbase": "^2.2.5", - "@web3-onboard/core": "^2.21.2", + "@web3-onboard/coinbase": "^2.2.7", + "@web3-onboard/core": "^2.21.3", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.4", "@web3-onboard/fortmatic": "^2.0.19", @@ -67,12 +67,12 @@ "@web3-onboard/gas": "^2.1.8", "@web3-onboard/gnosis": "^2.1.10", "@web3-onboard/infinity-wallet": "^2.0.4", - "@web3-onboard/injected-wallets": "^2.10.12.alpha.2", + "@web3-onboard/injected-wallets": "^2.10.12", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.1", + "@web3-onboard/ledger": "^2.6.0", "@web3-onboard/magic": "^2.1.7", - "@web3-onboard/metamask": "^2.0.2", + "@web3-onboard/metamask": "^2.0.3", "@web3-onboard/mew-wallet": "^2.0.4", "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.7", @@ -84,11 +84,11 @@ "@web3-onboard/trust": "^2.0.4", "@web3-onboard/uauth": "^2.1.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.5.2", + "@web3-onboard/walletconnect": "^2.5.4", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.4", "@web3-onboard/zeal": "^2.0.4", - "@web3-onboard/particle-network": "^2.0.0-alpha.1", + "@web3-onboard/particle-network": "^2.0.0", "animejs": "^3.2.1", "bnc-sdk": "^4.6.6", "ethers": "^5.7.0", diff --git a/packages/blocto/package.json b/packages/blocto/package.json index bf789fc1b..17d2fdeb0 100644 --- a/packages/blocto/package.json +++ b/packages/blocto/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/blocto", - "version": "2.0.1-alpha.1", + "version": "2.0.1", "description": "Blocto 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/coinbase/package.json b/packages/coinbase/package.json index 81bd84257..6e9854042 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.2.7-alpha.1", + "version": "2.2.7", "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/common/package.json b/packages/common/package.json index 0d4fe22e8..66212267f 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.3.4-alpha.1", + "version": "2.3.4", "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 a74a63b07..884656f55 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.21.3-alpha.3", + "version": "2.21.3", "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", @@ -86,7 +86,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.4-alpha.1", + "@web3-onboard/common": "^2.3.4", "bignumber.js": "^9.0.0", "bnc-sdk": "^4.6.7", "bowser": "^2.11.0", diff --git a/packages/demo/package.json b/packages/demo/package.json index 49da6d80d..e6f80e336 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -29,11 +29,11 @@ "@safe-global/safe-apps-sdk": "^8.1.0", "@web3-onboard/arcana-auth": "^2.0.0", "@web3-onboard/bitget": "2.0.1", - "@web3-onboard/blocto": "^2.0.1-alpha.1", + "@web3-onboard/blocto": "^2.0.1", "@web3-onboard/capsule": "2.0.1", "@web3-onboard/cede-store": "^2.2.0", - "@web3-onboard/core": "^2.21.3-alpha.3", - "@web3-onboard/coinbase": "^2.2.7-alpha.1", + "@web3-onboard/core": "^2.21.3", + "@web3-onboard/coinbase": "^2.2.7", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.3", "@web3-onboard/fortmatic": "^2.0.18", @@ -42,12 +42,12 @@ "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.2.1", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.10.12-alpha.3", - "@web3-onboard/keepkey": "^2.3.8-alpha.1", - "@web3-onboard/keystone": "^2.3.8-alpha.1", - "@web3-onboard/ledger": "^2.6.0-alpha.1", + "@web3-onboard/injected-wallets": "^2.10.12", + "@web3-onboard/keepkey": "^2.3.8", + "@web3-onboard/keystone": "^2.3.8", + "@web3-onboard/ledger": "^2.6.0", "@web3-onboard/magic": "^2.1.6", - "@web3-onboard/metamask": "^2.0.3-alpha.1", + "@web3-onboard/metamask": "^2.0.3", "@web3-onboard/mew-wallet": "^2.0.3", "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.6", @@ -55,15 +55,15 @@ "@web3-onboard/taho": "^2.0.5", "@web3-onboard/torus": "^2.2.6", "@web3-onboard/transaction-preview": "^2.0.7", - "@web3-onboard/trezor": "^2.4.4-alpha.1", + "@web3-onboard/trezor": "^2.4.4", "@web3-onboard/trust": "^2.0.3", "@web3-onboard/uauth": "^2.1.2", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.5.4-alpha.1", + "@web3-onboard/walletconnect": "^2.5.4", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.5", "@web3-onboard/zeal": "^2.0.3", - "@web3-onboard/particle-network": "^2.0.0-alpha.1", + "@web3-onboard/particle-network": "^2.0.0", "vconsole": "^3.15.1" }, "license": "MIT", diff --git a/packages/hw-common/package.json b/packages/hw-common/package.json index eafc596f5..6dc095dde 100644 --- a/packages/hw-common/package.json +++ b/packages/hw-common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/hw-common", - "version": "2.3.1-alpha.1", + "version": "2.3.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", @@ -81,7 +81,7 @@ }, "dependencies": { "@ethereumjs/common": "2.6.2", - "@web3-onboard/common": "^2.3.4-alpha.1", + "@web3-onboard/common": "^2.3.4", "ethers": "5.5.4", "joi": "17.9.1", "rxjs": "^7.5.2" diff --git a/packages/injected/package.json b/packages/injected/package.json index 65b6d6670..b7dcb2916 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.12-alpha.3", + "version": "2.10.12", "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/injected/src/index.ts b/packages/injected/src/index.ts index fa06e2688..eb802fa6f 100644 --- a/packages/injected/src/index.ts +++ b/packages/injected/src/index.ts @@ -27,7 +27,6 @@ export { ProviderIdentityFlag, ProviderLabel } from './types.js' const providers6963: InjectedWalletModule[] = [] function checkFor6963Providers() { // Add event listener for 'eip6963:announceProvider' event - console.log('even listener added') window.addEventListener('eip6963:announceProvider', (event: Event) => { const eipEvent = event as EIP6963AnnounceProviderEvent const { detail } = eipEvent diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index a5494f8ad..6710d44c7 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.3.8-alpha.1", + "version": "2.3.8", "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,8 +63,8 @@ "@ethersproject/providers": "^5.5.0", "@shapeshiftoss/hdwallet-core": "^1.15.2", "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2", - "@web3-onboard/common": "^2.3.4-alpha.1", - "@web3-onboard/hw-common": "^2.3.1-alpha.1", + "@web3-onboard/common": "^2.3.4", + "@web3-onboard/hw-common": "^2.3.1", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index dffa68492..f94057494 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.3.8-alpha.1", + "version": "2.3.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,7 +58,7 @@ "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "@keystonehq/eth-keyring": "^0.14.00.3", - "@web3-onboard/common": "^2.3.4-alpha.1", - "@web3-onboard/hw-common": "^2.3.1-alpha.1" + "@web3-onboard/common": "^2.3.4", + "@web3-onboard/hw-common": "^2.3.1" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 80d80b97b..ebd075642 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.6.0-alpha.1", + "version": "2.6.0", "description": "Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/metamask/package.json b/packages/metamask/package.json index 264ec4ad8..bc09bafd6 100644 --- a/packages/metamask/package.json +++ b/packages/metamask/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/metamask", - "version": "2.0.3-alpha.1", + "version": "2.0.3", "description": "MetaMask SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/particle-network/package.json b/packages/particle-network/package.json index d7c482000..2308d75e5 100644 --- a/packages/particle-network/package.json +++ b/packages/particle-network/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/particle-network", - "version": "2.0.0-alpha.1", + "version": "2.0.0", "description": "Particle Network SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/react/package.json b/packages/react/package.json index d1345a168..cb9b25596 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.14-alpha.3", + "version": "2.8.14", "description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.3-alpha.3", + "@web3-onboard/core": "^2.21.3", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/solid/package.json b/packages/solid/package.json index 2ba04ce75..dd9dfd56b 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/solid", - "version": "2.0.1-alpha.3", + "version": "2.0.1", "description": "A collection of solid Composables for integrating Web3-Onboard in to a Solid project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.3-alpha.3", + "@web3-onboard/core": "^2.21.3", "solid-js": "^1.8.1" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index e0af1e92e..23f66376d 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.4.4-alpha.1", + "version": "2.4.4", "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,8 +60,8 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.3.4-alpha.1", - "@web3-onboard/hw-common": "^2.3.1-alpha.1", + "@web3-onboard/common": "^2.3.4", + "@web3-onboard/hw-common": "^2.3.1", "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 0fe58d91d..5294a41bb 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.13-alpha.3", + "version": "2.7.13", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -61,8 +61,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.3-alpha.3", + "@web3-onboard/common": "^2.3.4", + "@web3-onboard/core": "^2.21.3", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 440afd62b..aeb1d0885 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.5.4-alpha.1", + "version": "2.5.4", "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/yarn.lock b/yarn.lock index ef63ee76d..89a2c6428 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6284,7 +6284,7 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3-onboard/common@2.3.3", "@web3-onboard/common@^2.3.1", "@web3-onboard/common@^2.3.3": +"@web3-onboard/common@2.3.3": version "2.3.3" resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.3.3.tgz#02096e967dbed272c0637cda955902b96a0fce06" integrity sha512-Ytppszqe77VY8WglRdr/Lfx+HmcZ2hXQEkBA23JaVYmzKvP/mC6j+sjGUD8CgXDpRRxyKoiRj6nz95GRABie6Q== @@ -6293,17 +6293,6 @@ ethers "5.5.4" joi "17.9.1" -"@web3-onboard/hw-common@^2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/hw-common/-/hw-common-2.3.0.tgz#715d35c4039515e3f8ec839643e6d4c49097891f" - integrity sha512-ai5gwaXHxMOgov+TKuy2yUtBf7b2Vq8c28L9tSx4Hl8Q2IM6boGZQEqfW6Hw0GHu/Ez+MxRR5+M6nfwFBf8JRw== - dependencies: - "@ethereumjs/common" "2.6.2" - "@web3-onboard/common" "^2.3.3" - ethers "5.5.4" - joi "17.9.1" - rxjs "^7.5.2" - "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6" From c6488b5417bf25206ffb5a5c926076ba63ab6f58 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 3 Apr 2024 16:08:56 -0600 Subject: [PATCH 2/7] Update celo icon and add celo support to demo examples --- docs/package.json | 2 +- examples/with-nextjs-13/web3-onboard.ts | 6 +++ examples/with-nextjs/pages/_app.js | 14 ++++-- .../src/providers/onboard-provider/options.ts | 6 +++ .../with-sveltekit/src/lib/web3-onboard.ts | 6 +++ examples/with-vanilla-js/src/onboard.js | 6 +++ examples/with-vite-react/src/web3-onboard.ts | 20 +++++--- .../src/components/HelloWorld.vue | 50 +++++++++++-------- examples/with-vuejs/src/App.vue | 6 +++ packages/core/package.json | 2 +- packages/core/src/icons/celo.ts | 14 ++++-- packages/demo/package.json | 2 +- packages/demo/src/App.svelte | 6 +++ packages/injected/package.json | 2 +- packages/injected/src/index.ts | 6 +-- packages/react/package.json | 4 +- packages/solid/package.json | 4 +- packages/vue/package.json | 4 +- yarn.lock | 28 +++++++++++ 19 files changed, 138 insertions(+), 50 deletions(-) diff --git a/docs/package.json b/docs/package.json index b61a629ca..149202881 100644 --- a/docs/package.json +++ b/docs/package.json @@ -58,7 +58,7 @@ "@web3-onboard/capsule": "^2.0.1", "@web3-onboard/cede-store": "^2.2.0", "@web3-onboard/coinbase": "^2.2.7", - "@web3-onboard/core": "^2.21.3", + "@web3-onboard/core": "^2.21.4-alpha.1", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.4", "@web3-onboard/fortmatic": "^2.0.19", diff --git a/examples/with-nextjs-13/web3-onboard.ts b/examples/with-nextjs-13/web3-onboard.ts index 9ade5bb75..16fb7059d 100644 --- a/examples/with-nextjs-13/web3-onboard.ts +++ b/examples/with-nextjs-13/web3-onboard.ts @@ -123,6 +123,12 @@ export default init({ token: 'MATIC', label: 'Matic Mainnet', rpcUrl: 'https://matic-mainnet.chainstacklabs.com' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ], appMetadata: { diff --git a/examples/with-nextjs/pages/_app.js b/examples/with-nextjs/pages/_app.js index 6f1824185..579c90489 100644 --- a/examples/with-nextjs/pages/_app.js +++ b/examples/with-nextjs/pages/_app.js @@ -23,17 +23,23 @@ const baseMainnet = { label: 'Base', rpcUrl: 'https://mainnet.base.org' } +const celoMainnet = { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' +} -const chains = [ethereumRopsten, polygonMainnet, baseMainnet] +const chains = [ethereumRopsten, polygonMainnet, baseMainnet,celoMainnet] const wallets = [injectedModule()] const web3Onboard = init({ wallets, chains, appMetadata: { - name: "Web3-Onboard Demo", + name: 'Web3-Onboard Demo', icon: 'My App Icon', - description: "A demo of Web3-Onboard." + description: 'A demo of Web3-Onboard.' } }) @@ -45,4 +51,4 @@ function MyApp({ Component, pageProps }) { ) } -export default MyApp \ No newline at end of file +export default MyApp diff --git a/examples/with-solidjs/src/providers/onboard-provider/options.ts b/examples/with-solidjs/src/providers/onboard-provider/options.ts index aa0ffef8a..f151e80a7 100644 --- a/examples/with-solidjs/src/providers/onboard-provider/options.ts +++ b/examples/with-solidjs/src/providers/onboard-provider/options.ts @@ -28,6 +28,12 @@ export const chains = [ token: 'ETH', label: 'Base', rpcUrl: 'https://mainnet.base.org' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ]; diff --git a/examples/with-sveltekit/src/lib/web3-onboard.ts b/examples/with-sveltekit/src/lib/web3-onboard.ts index 5ce8d77bf..02ec180c7 100644 --- a/examples/with-sveltekit/src/lib/web3-onboard.ts +++ b/examples/with-sveltekit/src/lib/web3-onboard.ts @@ -33,6 +33,12 @@ const chains = [ token: 'ETH', label: 'Base', rpcUrl: 'https://mainnet.base.org' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ] diff --git a/examples/with-vanilla-js/src/onboard.js b/examples/with-vanilla-js/src/onboard.js index 7f799e3be..1b2773aab 100644 --- a/examples/with-vanilla-js/src/onboard.js +++ b/examples/with-vanilla-js/src/onboard.js @@ -29,6 +29,12 @@ const chains = [ token: 'ETH', label: 'Base', rpcUrl: 'https://mainnet.base.org' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ] diff --git a/examples/with-vite-react/src/web3-onboard.ts b/examples/with-vite-react/src/web3-onboard.ts index cacb6b1a2..7c7f9c7c9 100644 --- a/examples/with-vite-react/src/web3-onboard.ts +++ b/examples/with-vite-react/src/web3-onboard.ts @@ -33,14 +33,12 @@ const injected = injectedModule({ const walletLink = coinbaseModule() -const walletConnect = walletConnectModule( - { - version: 2, - // Replace with your apiKey - projectId: '4a49c32131502e8c12d54295295e2012', - dappUrl: 'https://onboard.blocknative.com/' - } -) +const walletConnect = walletConnectModule({ + version: 2, + // Replace with your apiKey + projectId: '4a49c32131502e8c12d54295295e2012', + dappUrl: 'https://onboard.blocknative.com/' +}) const portis = portisModule({ // Replace with your apiKey apiKey: 'b2b7586f-2b1e-4c30-a7fb-c2d1533b153b' @@ -137,6 +135,12 @@ export default init({ token: 'ETH', label: 'Base', rpcUrl: 'https://mainnet.base.org' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ], appMetadata: { diff --git a/examples/with-vuejs-v2/src/components/HelloWorld.vue b/examples/with-vuejs-v2/src/components/HelloWorld.vue index 2b876a0c1..381652e33 100644 --- a/examples/with-vuejs-v2/src/components/HelloWorld.vue +++ b/examples/with-vuejs-v2/src/components/HelloWorld.vue @@ -22,17 +22,17 @@ + + + ` diff --git a/packages/demo/package.json b/packages/demo/package.json index c84465bf5..80bb6e7ab 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -32,7 +32,7 @@ "@web3-onboard/blocto": "^2.0.1", "@web3-onboard/capsule": "2.0.1", "@web3-onboard/cede-store": "^2.2.0", - "@web3-onboard/core": "^2.21.3", + "@web3-onboard/core": "^2.21.4-alpha.1", "@web3-onboard/coinbase": "^2.2.7", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.3", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 8b45b67f5..00f14b8d1 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -315,6 +315,12 @@ label: 'Base', rpcUrl: 'https://mainnet.base.org' }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' + }, { id: '0x38', token: 'BNB', diff --git a/packages/injected/package.json b/packages/injected/package.json index 22779a268..df9b36a91 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.13", + "version": "2.10.14-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/injected/src/index.ts b/packages/injected/src/index.ts index e39ce8b33..628c969f0 100644 --- a/packages/injected/src/index.ts +++ b/packages/injected/src/index.ts @@ -1,5 +1,5 @@ import uniqBy from 'lodash.uniqby' -import { createEIP1193Provider, type WalletInit } from '@web3-onboard/common' +import type { WalletInit } from '@web3-onboard/common' import { ProviderLabel } from './types.js' import standardWallets from './wallets.js' import { @@ -53,10 +53,10 @@ function checkFor6963Providers() { label: name, getIcon: async () => icon, getInterface: async () => ({ - provider: createEIP1193Provider(provider) + provider }), platforms: ['all'], - eip6963Provider: createEIP1193Provider(provider) as InjectedProvider, + eip6963Provider: provider as InjectedProvider, checkProviderIdentity: ({ provider }) => !!provider }) }) diff --git a/packages/react/package.json b/packages/react/package.json index cb9b25596..4e0c8efe9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.14", + "version": "2.8.15-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", @@ -62,7 +62,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.3", + "@web3-onboard/core": "^2.21.4-alpha.1", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/solid/package.json b/packages/solid/package.json index dd9dfd56b..ab11afb25 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/solid", - "version": "2.0.1", + "version": "2.0.2-alpha.1", "description": "A collection of solid Composables for integrating Web3-Onboard in to a Solid project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.21.3", + "@web3-onboard/core": "^2.21.4-alpha.1", "solid-js": "^1.8.1" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 5294a41bb..484a9ccc8 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.13", + "version": "2.7.14-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 standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.4", - "@web3-onboard/core": "^2.21.3", + "@web3-onboard/core": "^2.21.4-alpha.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 89a2c6428..1ba2da2eb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6293,6 +6293,34 @@ ethers "5.5.4" joi "17.9.1" +"@web3-onboard/core@^2.21.3": + version "2.21.3" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.3.tgz#12f1561da218bae9d9d4c48cd132fa6ebaf4beca" + integrity sha512-PVQtsk5eLHNIxrLqjEtbF+w8yDxovTmgIQobrJj0D4m3wZE0Cr7AQay1q5u+bC1FKmTvQ7ZVzEXMFdquPxjA2A== + dependencies: + "@web3-onboard/common" "^2.3.4" + bignumber.js "^9.0.0" + bnc-sdk "^4.6.7" + bowser "^2.11.0" + ethers "5.5.3" + 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 "^3.3.13" + +"@web3-onboard/injected-wallets@^2.10.13": + version "2.10.13" + resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.13.tgz#e82c5275db22f7711cce02c607e9e6e9ab144658" + integrity sha512-YnuwqbtlbAa6QyqJ/1YIkNLX92f8CkcFCt7HePjlZhYhaG9Gron/JzbAv2o7TcKQyySjahhwvvntvgXlABx8Ag== + dependencies: + "@web3-onboard/common" "^2.3.3" + joi "17.9.1" + lodash.uniqby "^4.7.0" + "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6" From 16a657da665ecead927d685b382ff10275613e87 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Apr 2024 08:36:54 -0600 Subject: [PATCH 3/7] Update more docs --- .../docs/[...1]overview/[...1]introduction/+page.md | 4 ++-- docs/src/routes/docs/[...3]modules/[...1]core/+page.md | 10 ++++++++++ .../routes/docs/[...4]wallets/[...14]injected/+page.md | 6 +++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md index 91b7302c5..fe047311e 100644 --- a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md @@ -32,9 +32,9 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain - **Notify:** Real-time transaction notifications for all transaction states for the connected wallet address(es). In-notification speedups & cancels for hardware wallet connections. -### Supported Networks +### EVM Natively Supported Networks -web3-onboard supports all EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization). +web3-onboard supports ALL EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization). - Ethereum - Arbitrum One diff --git a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md index 6bb769ac4..010cfb1aa 100644 --- a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md @@ -671,6 +671,12 @@ const onboard = Onboard({ token: 'OETH', label: 'Optimism', rpcUrl: 'https://mainnet.optimism.io' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ], appMetadata: { @@ -755,6 +761,10 @@ const onboard = Onboard({ To initiate a user to select and connect a wallet you can call the `connectWallet` function on an initialized Onboard instance. It will return a `Promise` that will resolve when the user either successfully connects a wallet, or when they dismiss the UI. The resolved value from the promise will be the latest state of the `wallets` array. The order of the wallets array is last to first, so the most recently selected wallet will be the first item in the array and can be thought of as the "primary wallet". If no wallet was selected, then the `wallets` array will have the same state as it had before calling `connectWallet`. +### Wallet Provider + +Wallets connected through web3-onboard are all passed to the dapp following the EIP-1193 standard. This allows for the same interaction between all wallets connected through web3-onboard and abstracts away the challenges of working with different wallet providers. + ### Example ```javascript diff --git a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md index 8f317b0d8..cc84d188b 100644 --- a/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md +++ b/docs/src/routes/docs/[...4]wallets/[...14]injected/+page.md @@ -4,10 +4,14 @@ title: Injected Wallets # {$frontmatter.title} -This module lets web3-onboard automatically detect Browser Injected Wallets such as Metamask or Coinbase Wallet. We recommend you install this module to get the most out of your w3o implementation. This module supports [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) and [recognizes many injected wallets natively](#injected-wallets-supported-natively) as well as supports [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) and recognizes any wallet that has implemented 6963 support. +This module lets web3-onboard automatically detect Browser Injected Wallets such as Metamask or Coinbase Wallet. We recommend you install this module to get the most out of your w3o implementation. This module supports [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) and [recognizes many injected wallets natively](#injected-wallets-supported-natively) as well as supports all [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) compatible wallets. Note: Make sure to install the core module before installing other modules to w3o. +### Support all EIP-6963 Wallets out of the box + +Web3-Onboard supports all [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) compatible wallets out of the box and will automatically recognizes any wallet which has integrated 6963 support. + ## Install From be4eea6888e7ee54c1a3aba07588e084a90d3967 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Apr 2024 08:47:45 -0600 Subject: [PATCH 4/7] Interact with w3o providers --- .../[...1]overview/[...1]introduction/+page.md | 6 ++++++ .../docs/[...3]modules/[...1]core/+page.md | 4 ++++ .../examples/[...1]connect-wallet/+page.md | 17 ++++++++++++++++- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md index fe047311e..3c959c81e 100644 --- a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md @@ -126,6 +126,12 @@ const onboard = Onboard({ token: 'ETH', label: 'Base', rpcUrl: 'https://mainnet.base.org' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ] }) diff --git a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md index 010cfb1aa..087a32e68 100644 --- a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md @@ -776,6 +776,10 @@ async function connectWallet() { connectWallet() ``` +### Interacting with the providers - Transfer, Send, Sign using ethers.js + +For examples of interacting with the wallet providers please see our demo project [here](https://github.com/blocknative/web3-onboard/blob/9b871a1b3117e92a7c87285677fa5b35c544a8e0/packages/demo/src/App.svelte#L447) + ### Auto Selecting a Wallet A common UX pattern is to remember the last wallet that a user has previously connected by storing it in localStorage and then automatically selecting them for the user next time they visit your app. diff --git a/docs/src/routes/examples/[...1]connect-wallet/+page.md b/docs/src/routes/examples/[...1]connect-wallet/+page.md index 4185ad0b8..f65283af4 100644 --- a/docs/src/routes/examples/[...1]connect-wallet/+page.md +++ b/docs/src/routes/examples/[...1]connect-wallet/+page.md @@ -38,7 +38,6 @@ npm install @web3-onboard/react @web3-onboard/injected-wallets @web3-onboard/inf - ## Step 2: Import + Configure Import the libraries and any wallets you would like to use. For this example, we are going to use the injected wallets module. You can easily add more wallet support to your dapp via our other wallet modules. Additionally, we'll setup web3-onboard to support 2 chains: Ethereum mainnet and Polygon mainnet. @@ -156,6 +155,12 @@ const chains = [ token: 'ARB-ETH', label: 'Arbitrum', rpcUrl: 'https://rpc.ankr.com/arbitrum' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ] @@ -412,6 +417,12 @@ const chains = [ token: 'ARB-ETH', label: 'Arbitrum', rpcUrl: 'https://rpc.ankr.com/arbitrum' + }, + { + id: '0xa4ec', + token: 'ETH', + label: 'Celo', + rpcUrl: 'https://1rpc.io/celo' } ] @@ -497,3 +508,7 @@ Now that we have our wallet connected, let's display some basic information, suc + +## Interacting with the providers - Transfer, Send, Sign using ethers.js + +For examples of interacting with the wallet providers please see our demo project [here](https://github.com/blocknative/web3-onboard/blob/9b871a1b3117e92a7c87285677fa5b35c544a8e0/packages/demo/src/App.svelte#L447) \ No newline at end of file From 76ddebdc68a2d8b9cbab7a60cc4b862aa87ac6d7 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Apr 2024 10:31:47 -0600 Subject: [PATCH 5/7] Use different celo icon --- packages/core/src/icons/celo.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/src/icons/celo.ts b/packages/core/src/icons/celo.ts index 6b9d28d6c..1308f8cc6 100644 --- a/packages/core/src/icons/celo.ts +++ b/packages/core/src/icons/celo.ts @@ -4,10 +4,9 @@ export default ` - ` From a293fd543c6611001d6a5f9784e052aecf1fa873 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Apr 2024 10:48:48 -0600 Subject: [PATCH 6/7] Update docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md --- docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md index 3c959c81e..4707e3355 100644 --- a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md @@ -32,7 +32,7 @@ Web3-Onboard is the quickest and easiest way to add multi-wallet and multi-chain - **Notify:** Real-time transaction notifications for all transaction states for the connected wallet address(es). In-notification speedups & cancels for hardware wallet connections. -### EVM Natively Supported Networks +### Natively Supported EVM Chains web3-onboard supports ALL EVM networks. Supporting a new network is simply a matter of adding its details in the Chains section upon initialization. For more information see [initialization options](../../modules/core.md#initialization). From fb45b093bcb873d90aaa9b7035be213a7a569e6b Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 4 Apr 2024 10:51:46 -0600 Subject: [PATCH 7/7] Update versions --- packages/dcent/package.json | 6 +++--- yarn.lock | 26 +++++++++----------------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/packages/dcent/package.json b/packages/dcent/package.json index cdf1f6437..f955f4398 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.2.7", + "version": "2.2.8-alpha.1", "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,8 +56,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.3", - "@web3-onboard/hw-common": "^2.3.0", + "@web3-onboard/common": "^2.3.4", + "@web3-onboard/hw-common": "^2.3.1", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "eth-dcent-keyring": "^0.2.2" diff --git a/yarn.lock b/yarn.lock index 1ba2da2eb..5c3de1975 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6293,24 +6293,16 @@ ethers "5.5.4" joi "17.9.1" -"@web3-onboard/core@^2.21.3": - version "2.21.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.21.3.tgz#12f1561da218bae9d9d4c48cd132fa6ebaf4beca" - integrity sha512-PVQtsk5eLHNIxrLqjEtbF+w8yDxovTmgIQobrJj0D4m3wZE0Cr7AQay1q5u+bC1FKmTvQ7ZVzEXMFdquPxjA2A== +"@web3-onboard/dcent@^2.2.7": + version "2.2.7" + resolved "https://registry.yarnpkg.com/@web3-onboard/dcent/-/dcent-2.2.7.tgz#f7de77d85fde96158321635eab4baad911a0b9dd" + integrity sha512-ajGtg0OJh+QN0d4SZJaTOgbtPmbMT+VYqxRMIapNa8L+07cVoukwM4RaksqOc69AjosKuPK0TFQa2m5NPu4hpQ== dependencies: - "@web3-onboard/common" "^2.3.4" - bignumber.js "^9.0.0" - bnc-sdk "^4.6.7" - bowser "^2.11.0" - ethers "5.5.3" - 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 "^3.3.13" + "@ethereumjs/tx" "^3.4.0" + "@ethersproject/providers" "^5.5.0" + "@web3-onboard/common" "^2.3.3" + "@web3-onboard/hw-common" "^2.3.0" + eth-dcent-keyring "^0.2.2" "@web3-onboard/injected-wallets@^2.10.13": version "2.10.13"