From 45d0e77765bbd409c5d8ada937c6b210cfaf26e1 Mon Sep 17 00:00:00 2001 From: Taylor Dawson Date: Tue, 12 Jul 2022 09:15:58 -0700 Subject: [PATCH 1/9] (develop) Release: 2.4.0 (#1132) * Update version for release branch * Update versions, remove alpha tag for publish * Update to latest SDK for bugfix, modify to new API * Update package versions * Update .github/ISSUE_TEMPLATE/BUG.yml Co-authored-by: Taylor Dawson * Bump monorepo version to minor instead of patch * Bump versions for release * Bumpm demo versions * bump mew version * Update naming * cleanup notify disabled logic * Prettier formatting * Release: 2.4.0 * Version bumps * Remove alpha tags * Add common modal z-index * version bump mew Co-authored-by: Adam Carpenter Co-authored-by: Aaron Barnard --- package.json | 2 +- packages/coinbase/package.json | 4 ++-- packages/common/package.json | 2 +- packages/common/src/elements/Modal.svelte | 2 +- packages/core/package.json | 4 ++-- packages/dcent/package.json | 4 ++-- packages/demo/package.json | 6 +++--- packages/fortmatic/package.json | 4 ++-- 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/walletlink/package.json | 4 ++-- packages/web3auth/package.json | 4 ++-- 23 files changed, 46 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 84ec4d848..0295e0de7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.3.0", + "version": "2.4.0", "private": true, "workspaces": [ "./packages/*" diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index d9c6967d0..9ae48717a 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.0.7", + "version": "2.0.8", "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", @@ -57,6 +57,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.0.5", - "@web3-onboard/common": "^2.1.4" + "@web3-onboard/common": "^2.1.5" } } diff --git a/packages/common/package.json b/packages/common/package.json index 9891ba423..d6e5dda7a 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.1.4", + "version": "2.1.5", "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/elements/Modal.svelte b/packages/common/src/elements/Modal.svelte index 97911b639..960f85d3b 100644 --- a/packages/common/src/elements/Modal.svelte +++ b/packages/common/src/elements/Modal.svelte @@ -21,7 +21,7 @@ width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.3); - z-index: 20; + z-index: var(--onboard-common-modal-index, 20); } @media screen and (max-width: 420px) { aside { diff --git a/packages/core/package.json b/packages/core/package.json index dd501cb46..3dac3a74e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.4.0-alpha.10", + "version": "2.4.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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "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 d22014398..00e7f96bf 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.0.4", + "version": "2.0.5", "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", @@ -54,7 +54,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "@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 6826b80b3..7ab497f64 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -22,9 +22,9 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/coinbase": "^2.0.7", - "@web3-onboard/core": "^2.4.0-alpha.8", - "@web3-onboard/dcent": "^2.0.4", + "@web3-onboard/coinbase": "^2.0.8", + "@web3-onboard/core": "^2.4.0", + "@web3-onboard/dcent": "^2.0.6", "@web3-onboard/fortmatic": "^2.0.6", "@web3-onboard/gnosis": "^2.0.5", "@web3-onboard/injected-wallets": "^2.0.12", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index f7222abb3..33295eb75 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.6", + "version": "2.0.7", "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", @@ -57,7 +57,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "fortmatic": "^2.2.1" } } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index ffcadb128..8ea157fa9 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.0.5", + "version": "2.0.6", "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.4" + "@web3-onboard/common": "^2.1.5" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index f74fa7fb8..a946d7858 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.0.13-alpha.2", + "version": "2.0.13", "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", @@ -61,7 +61,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index d75e1d96e..153430ddd 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.1.4", + "version": "2.1.5", "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.4", + "@web3-onboard/common": "^2.1.5", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index f2e80dbc4..8064fc6c5 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.1.5", + "version": "2.1.6", "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", @@ -57,6 +57,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.4" + "@web3-onboard/common": "^2.1.5" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 70cccd3e5..f1950f7ad 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.1.4", + "version": "2.1.5", "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", @@ -63,7 +63,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.4", + "@web3-onboard/common": "^2.1.5", "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" } diff --git a/packages/magic/package.json b/packages/magic/package.json index b70b199b7..5ebb84225 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.0.7", + "version": "2.0.8", "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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "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 cb946d067..b70a3447f 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.0.4", + "version": "2.0.5", "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.4", + "@web3-onboard/common": "^2.1.5", "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index 7a16f95ce..fca893316 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.0.4", + "version": "2.0.5", "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.4" + "@web3-onboard/common": "^2.1.5" } } diff --git a/packages/react/package.json b/packages/react/package.json index 256b99d78..13b7c88cc 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.2.3-alpha.7", + "version": "2.2.3", "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", @@ -59,8 +59,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.4.0-alpha.10", - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/core": "^2.4.0", + "@web3-onboard/common": "^2.1.5", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index 0d1aee517..b2f0280ea 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.0.5", + "version": "2.0.6", "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.4" + "@web3-onboard/common": "^2.1.5" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index c8e933c3b..cf89125a6 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.1.4", + "version": "2.1.5", "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", @@ -58,7 +58,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "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 93f8f7862..1bc40d00f 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.1.3-alpha.7", + "version": "2.1.3", "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", @@ -59,8 +59,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.1.4", - "@web3-onboard/core": "^2.4.0-alpha.10", + "@web3-onboard/common": "^2.1.5", + "@web3-onboard/core": "^2.4.0", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index a9cf5abdf..f4d5d2084 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.0.5", + "version": "2.0.6", "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", @@ -59,7 +59,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "rxjs": "^7.5.2" } } diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index bcd9e2e76..36bdad19f 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletlink", - "version": "2.0.4", + "version": "2.0.5", "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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.4", + "@web3-onboard/common": "^2.1.5", "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index 6db7df4ac..e79afc38c 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.0.3", + "version": "2.0.4", "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.4", + "@web3-onboard/common": "^2.1.5", "@web3auth/web3auth": "^1.0.0" } } From 1f8646ddf049de7908b6dfbce5f9b5eb126d3299 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 13 Jul 2022 09:41:20 -0600 Subject: [PATCH 2/9] [core-v2.4.1-alpha.1, react-v2.2.4-alpha.1, vue-v2.1.4-alpha.1] : Update - Preflight notification updates(react hook, positioning variables, cleanup) (#1144) * Add hook for preflight notifications, update types to break out txDetails, update transactionTypes to all preflight to hints per Gustavo * Add independent positioning for notifications and account center through CSS variables * return preflight errors to error notifications, remove network icon for them * Remove unused type * Add hook for PreFlight notifications * Update import type * Update docs * Case conforming --- packages/core/README.md | 13 ++- packages/core/package.json | 2 +- packages/core/src/index.ts | 3 +- packages/core/src/preflight-notifications.ts | 9 +- packages/core/src/types.ts | 12 ++- packages/core/src/views/Index.svelte | 37 +++++--- .../views/notify/NotificationContent.svelte | 2 +- packages/demo/package.json | 4 +- packages/react/README.md | 95 +++++++++++++++++-- packages/react/package.json | 4 +- packages/react/src/index.ts | 26 +++-- packages/vue/package.json | 4 +- yarn.lock | 9 -- 13 files changed, 165 insertions(+), 55 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index e02b9390d..fe658dee2 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -713,7 +713,7 @@ onboard.state.actions.updateAccountCenter({ ``` **`setPrimaryWallet`** -The primary wallet (first in the list of connected wallets) and primary account (first in the list of connected accounts for a wallet) can be set by using the `setPrimaryWallet` function. The wallet that is to be set needs to be passed in for the first parameter and if you would like to set the primary account, the address of that account also needs to be passed in: +The primary wallet (first in the list of connected wallets) and primary account (first in the list of connected accounts for a wallet) can be set by using the `setPrimaryWallet` function. The wallet that is set needs to be passed in for the first parameter and if you would like to set the primary account, the address of that account also needs to be passed in: ```typescript // set the second wallet in the wallets array as the primary @@ -792,6 +792,10 @@ The Onboard styles can customized via [CSS variables](https://developer.mozilla. /* CUSTOMIZE ACCOUNT CENTER*/ --account-center-z-index + --account-center-position-top + --account-center-position-bottom + --account-center-position-right + --account-center-position-left --account-center-minimized-background --account-center-maximized-upper-background --account-center-maximized-network-section @@ -925,7 +929,12 @@ The Onboard styles can customized via [CSS variables](https://developer.mozilla. --account-select-modal-margin-4: 1rem; --account-select-modal-margin-5: 0.5rem; - /* notify STYLES */ + /* NOTIFY STYLES */ + /* Notify Positioning variables only take effect if Notify is Positioned separate of Account Center */ + --notify-onboard-container-position-top + --notify-onboard-container-position-bottom + --notify-onboard-container-position-right + --notify-onboard-container-position-left --notify-onboard-font-family-normal --notify-onboard-font-size-5 --notify-onboard-gray-300 diff --git a/packages/core/package.json b/packages/core/package.json index 3dac3a74e..a54771d3c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.4.0", + "version": "2.4.1-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", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 902705f60..6fab2e472 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -61,7 +61,8 @@ export type { CustomNotification, Notification, Notify, - UpdateNotification + UpdateNotification, + PreflightNotificationsOptions } from './types' export type { EIP1193Provider } from '@web3-onboard/common' diff --git a/packages/core/src/preflight-notifications.ts b/packages/core/src/preflight-notifications.ts index 2e3ef041f..3fc6f59d6 100644 --- a/packages/core/src/preflight-notifications.ts +++ b/packages/core/src/preflight-notifications.ts @@ -63,8 +63,7 @@ export async function preflightNotifications( if (transactionCost.gt(new BigNumber(balance))) { const eventCode = 'nsfFail' - const newNotification = buildNotification(eventCode, id) - addNotification(newNotification) + addNotification(buildNotification(eventCode, id)) } } @@ -93,8 +92,7 @@ export async function preflightNotifications( }, reminderTimeout) const eventCode = 'txRequest' - const newNotification = buildNotification(eventCode, id) - addNotification(newNotification) + addNotification(buildNotification(eventCode, id)) // if not provided with sendTransaction function, // resolve with transaction hash(or void) so dev can initiate transaction @@ -112,8 +110,7 @@ export async function preflightNotifications( } const { eventCode, errorMsg } = extractMessageFromError(error as CatchError) - const newNotification = buildNotification(eventCode, id) - addNotification(newNotification) + addNotification(buildNotification(eventCode, id)) console.error(errorMsg) return } diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 313519286..59738ffab 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -213,14 +213,16 @@ export interface PreflightNotificationsOptions { estimateGas?: () => Promise gasPrice?: () => Promise balance?: string | number - txDetails?: { - value: string | number - to?: string - from?: string - } + txDetails?: TxDetails txApproveReminderTimeout?: number } +export interface TxDetails { + value: string | number + to?: string + from?: string +} + // ==== ACTIONS ==== // export type Action = | AddChainsAction diff --git a/packages/core/src/views/Index.svelte b/packages/core/src/views/Index.svelte index 709873e48..3baeaf9a9 100644 --- a/packages/core/src/views/Index.svelte +++ b/packages/core/src/views/Index.svelte @@ -24,11 +24,23 @@ .select('notifications') .pipe(startWith(state.get().notifications)) - const positioningDefaults = { - topLeft: 'top: 0; left: 0;', - topRight: 'top: 0; right: 0;', - bottomRight: 'bottom: 0; right: 0;', - bottomLeft: 'bottom: 0; left: 0;' + const accountCenterPositioning = 'account-center' + const notifyPositioning = 'notify-onboard-container' + const setPositioningDefaults = (targetComponentVariable: string) => { + return { + topLeft: ` + top: var(--${targetComponentVariable}-position-top, 0); + left: var(--${targetComponentVariable}-position-left, 0);`, + topRight: ` + top: var(--${targetComponentVariable}-position-top, 0); + right: var(--${targetComponentVariable}-position-right, 0);`, + bottomRight: ` + bottom: var(--${targetComponentVariable}-position-bottom, 0); + right: var(--${targetComponentVariable}-position-right, 0);`, + bottomLeft: ` + bottom: var(--${targetComponentVariable}-position-bottom, 0); + left: var(--${targetComponentVariable}-position-left, 0);` + } } $: sharedContainer = @@ -334,8 +346,9 @@ {#if displayAccountCenterNotifySameContainer}
- {#if notification.id && (!notification.id.includes('customNotification') && !notification.id.includes('preflight') )} + {#if notification.id && !notification.id.includes('customNotification') && !notification.id.includes('preflight')} {#if notification.link} Promise, (wallet: DisconnectOptions) => Promise, (addresses?: string[]) => Promise, - (wallets: WalletInit[]) => void + (wallets: WalletInit[]) => void, + (wallet: WalletState, address?: string) => void ] type ConnectOptions = { @@ -110,8 +111,25 @@ const [ connect, // function to call to initiate user to connect wallet disconnect, // function to call with wallet to disconnect wallet updateBalances, // function to be called with an optional array of wallet addresses connected through Onboard to update balance or empty/no params to update all connected wallets - setWalletModules // function to be called with an array of wallet modules to conditionally allow connection of wallet types i.e. setWalletModules([ledger, trezor, injected]) + setWalletModules, // function to be called with an array of wallet modules to conditionally allow connection of wallet types i.e. setWalletModules([ledger, trezor, injected]) + setPrimaryWallet // function that can set the primary wallet and/or primary account within that wallet. The wallet that is set needs to be passed in for the first parameter and if you would like to set the primary account, the address of that account also needs to be passed in ] = useConnectWallet() + + +``` +**`setPrimaryWallet`** +The primary wallet (first in the list of connected wallets) and primary account (first in the list of connected accounts for a wallet) can be set by using the `setPrimaryWallet` function. The wallet that is set needs to be passed in for the first parameter and if you would like to set the primary account, the address of that account also needs to be passed in: + +```typescript +// set the second wallet in the wallets array as the primary +setPrimaryWallet(wallets[1]) + +// set the second wallet in the wallets array as the primary wallet +// as well as setting the third account in that wallet as the primary account +setPrimaryWallet( + wallets[1], + wallets[1].accounts[2].address +) ``` ## `useSetChain` @@ -152,17 +170,17 @@ const [ This hook allows the dev to access all notifications if enabled, send custom notifications and update notify **note** requires an API key be added to the initialization, enabled by default if API key exists +For full Notification documentation please see [Notify section within the `@web3-onboard/core` docs](../core/README.md#options) ```typescript -import { useNotifications } from '@web3-onboard/react' - type UseNotifications = (): [ Notification[], (updatedNotification: CustomNotification) => { dismiss: () => void update: UpdateNotification }, - (update: Partial) => void + (update: Partial) => void, + (options: PreflightNotificationsOptions) => Promise ] type Notification = { @@ -209,11 +227,37 @@ type Notify = { transactionHandler: ( event: EthereumTransactionData ) => TransactionHandlerReturn + /** + * Position of notifications that defaults to the same position as the + * Account Center (if enabled) of the top right if AC is disabled + * and notifications are enabled (enabled by default with API key) + */ + position?: NotificationPosition +} + +type PreflightNotificationsOptions = { + sendTransaction?: () => Promise + estimateGas?: () => Promise + gasPrice?: () => Promise + balance?: string | number + txDetails?: TxDetails + txApproveReminderTimeout?: number +} +type TxDetails = { + value: string | number + to?: string + from?: string +} +``` + +```typescript +import { useNotifications } from '@web3-onboard/react' const [ notifications, // the list of all notifications that update when notifications are added, updated or removed customNotification, // a function that takes a customNotification object and allows custom notifications to be shown to the user, returns an update and dismiss callback - updateNotify // a function that takes a Notify object to allow updating of the properties + updateNotify, // a function that takes a Notify object to allow updating of the properties + preflightNotifications // a function that takes a PreflightNotificationsOption to create preflight notifications ] = useNotifications() // View notifications as they come in if you would like to handle them independent of the notification display @@ -221,6 +265,37 @@ useEffect(() => { console.log(notifications) }, [notifications]) +const sendTransactionWithPreFlightNotifications = async () => { + const balanceValue = Object.values(wallet.accounts[0].balance)[0] + + const signer = provider.getUncheckedSigner() + + const txDetails = { + to: toAddress, + value: 1000000000000000 + } + + const sendTransaction = () => { + return signer.sendTransaction(txDetails).then(tx => tx.hash) + } + + const gasPrice = () => provider.getGasPrice().then(res => res.toString()) + + const estimateGas = () => { + return provider.estimateGas(txDetails).then(res => res.toString()) + } + + const transactionHash = + await preflightNotifications({ + sendTransaction, + gasPrice, + estimateGas, + balance: balanceValue, + txDetails: txDetails + }) + console.log(transactionHash) +} + // Custom notification example + ``` ## `useWallets` diff --git a/packages/react/package.json b/packages/react/package.json index 13b7c88cc..c09cc4e2f 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.2.3", + "version": "2.2.4-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", @@ -59,7 +59,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.4.0", + "@web3-onboard/core": "^2.4.1-alpha.1", "@web3-onboard/common": "^2.1.5", "use-sync-external-store": "1.0.0" }, diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 8de00de28..6f68c4e22 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -14,7 +14,8 @@ import type { CustomNotification, Notification, Notify, - UpdateNotification + UpdateNotification, + PreflightNotificationsOptions } from '@web3-onboard/core' import type { Chain, WalletInit } from '@web3-onboard/common' @@ -51,8 +52,8 @@ const useAppState: { return stateKey ? snapshot[stateKey] : snapshot }, [stateKey]) - const getServerSnapshot = () => get() || getSnapshot; - return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot); + const getServerSnapshot = () => get() || getSnapshot + return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) } export const useConnectWallet = (): [ @@ -60,7 +61,8 @@ export const useConnectWallet = (): [ (options?: ConnectOptions) => Promise, (wallet: DisconnectOptions) => Promise, (addresses?: string[]) => Promise, - (wallets: WalletInit[]) => void + (wallets: WalletInit[]) => void, + (wallet: WalletState, address?: string) => void ] => { if (!web3Onboard) throw new Error(HOOK_ERROR_MESSAGE) @@ -89,13 +91,15 @@ export const useConnectWallet = (): [ const updateBalances = web3Onboard.state.actions.updateBalances const setWalletModules = web3Onboard.state.actions.setWalletModules + const setPrimaryWallet = web3Onboard.state.actions.setPrimaryWallet return [ { wallet, connecting }, connect, disconnect, updateBalances, - setWalletModules + setWalletModules, + setPrimaryWallet ] } @@ -156,14 +160,22 @@ export const useNotifications = (): [ dismiss: () => void update: UpdateNotification }, - (update: Partial) => void + (update: Partial) => void, + (options: PreflightNotificationsOptions) => Promise ] => { if (!web3Onboard) throw new Error(HOOK_ERROR_MESSAGE) const customNotification = web3Onboard.state.actions.customNotification const updateNotify = web3Onboard.state.actions.updateNotify + const preflightNotifications = + web3Onboard.state.actions.preflightNotifications - return [useAppState('notifications'), customNotification, updateNotify] + return [ + useAppState('notifications'), + customNotification, + updateNotify, + preflightNotifications + ] } export const useSetLocale = (): ((locale: string) => void) => { diff --git a/packages/vue/package.json b/packages/vue/package.json index 1bc40d00f..dfa70c344 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.1.3", + "version": "2.1.4-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", @@ -60,7 +60,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.1.5", - "@web3-onboard/core": "^2.4.0", + "@web3-onboard/core": "^2.4.1-alpha.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 5bf6f3a00..b5be41b09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2455,15 +2455,6 @@ dependencies: "@walletconnect/window-getters" "^1.0.0" -"@web3-onboard/injected-wallets@^2.0.12": - version "2.0.12" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.0.12.tgz#593cf6ec0fe1e2f57233e10795136cfd681c9bd5" - integrity sha512-viZebgwenIKRN/1q0A6Yq0euYxGmP7sPCPwjKQoTFQPcwKuR+kPkfLw1MnPkntxpC7Cyc5dS4/LsOqeEfSPFbQ== - dependencies: - "@web3-onboard/common" "^2.1.4" - joi "^17.4.2" - lodash.uniqby "^4.7.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 1f563bb0a2e906e04dc76b2d53c9836682e25580 Mon Sep 17 00:00:00 2001 From: Aaron Barnard Date: Thu, 14 Jul 2022 12:39:30 +1000 Subject: [PATCH 3/9] [core: 2.5.0-alpha.1] - [enhancement] - Delayed Wallet Init (#1145) * Init wallets upon connect call * Remove log * Remove log * Increase wait to be safe * Fix autoselect wait check * Add gamestop and autoselect for testing * Revert "Add gamestop and autoselect for testing" This reverts commit 0526972409f4ec6affc93e4df2ac731bfc862e72. * Increment version * Remove unused import --- packages/core/package.json | 2 +- packages/core/src/configuration.ts | 3 ++- packages/core/src/connect.ts | 13 +++++++++++++ packages/core/src/index.ts | 17 +++++++++-------- packages/core/src/store/actions.ts | 1 - packages/core/src/types.ts | 1 + packages/core/src/utils.ts | 7 +++++-- 7 files changed, 31 insertions(+), 13 deletions(-) diff --git a/packages/core/package.json b/packages/core/package.json index a54771d3c..1c8b825b6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.4.1-alpha.1", + "version": "2.5.0-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", diff --git a/packages/core/src/configuration.ts b/packages/core/src/configuration.ts index b9a065755..1bb47bdbe 100644 --- a/packages/core/src/configuration.ts +++ b/packages/core/src/configuration.ts @@ -5,7 +5,8 @@ export let configuration: Configuration = { svelteInstance: null, appMetadata: null, apiKey: null, - device: getDevice() + device: getDevice(), + initialWalletInit: [] } export function updateConfiguration(update: Partial): void { diff --git a/packages/core/src/connect.ts b/packages/core/src/connect.ts index 7446d40df..af870690b 100644 --- a/packages/core/src/connect.ts +++ b/packages/core/src/connect.ts @@ -1,8 +1,11 @@ import { firstValueFrom } from 'rxjs' import { filter, withLatestFrom, pluck } from 'rxjs/operators' +import { configuration } from './configuration' import { state } from './store' +import { setWalletModules } from './store/actions' import { connectWallet$, wallets$ } from './streams' import type { ConnectOptions, ConnectOptionsString, WalletState } from './types' +import { wait } from './utils' import { validateConnectOptions } from './validation' async function connect( @@ -28,6 +31,16 @@ async function connect( autoSelect: { label: '', disableModals: false } } + // if auto selecting, wait until next event loop + if (autoSelect && (typeof autoSelect === 'string' || autoSelect.label)) { + await wait(50) + } + + // first time calling connect, so initialize and set wallet modules + if (!state.get().walletModules.length) { + setWalletModules(configuration.initialWalletInit) + } + connectWallet$.next({ autoSelect: typeof autoSelect === 'string' diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 6fab2e472..58cc463e0 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -17,12 +17,12 @@ import { configuration, updateConfiguration } from './configuration' import { addChains, - setWalletModules, updateAccountCenter, updateNotify, customNotification, setLocale, - setPrimaryWallet + setPrimaryWallet, + setWalletModules } from './store/actions' import updateBalances from './update-balances' @@ -168,7 +168,6 @@ function init(options: InitOptions): OnboardAPI { if (!apiKey || !notifyUpdate.enabled) { notifyUpdate.enabled = false } - console.log(notifyUpdate) updateNotify(notifyUpdate) } } else { @@ -191,11 +190,10 @@ function init(options: InitOptions): OnboardAPI { updateConfiguration({ appMetadata, svelteInstance: app, - apiKey + apiKey, + initialWalletInit: wallets }) - setWalletModules(wallets) - return API } @@ -317,10 +315,13 @@ function mountApp() { ` - const containerElementQuery = state.get().accountCenter.containerElement || 'body' + const containerElementQuery = + state.get().accountCenter.containerElement || 'body' const containerElement = document.querySelector(containerElementQuery) if (!containerElement) { - throw new Error(`Element with query ${state.get().accountCenter} does not exist.`) + throw new Error( + `Element with query ${state.get().accountCenter} does not exist.` + ) } containerElement.appendChild(onboard) diff --git a/packages/core/src/store/actions.ts b/packages/core/src/store/actions.ts index 729454b49..91f5c8f07 100644 --- a/packages/core/src/store/actions.ts +++ b/packages/core/src/store/actions.ts @@ -123,7 +123,6 @@ export function removeWallet(id: string): void { } export function setPrimaryWallet(wallet: WalletState, address?: string): void { - console.log({ address }) const error = validateWallet(wallet) || (address && validateString(address, 'address')) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 59738ffab..d23557b8e 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -119,6 +119,7 @@ export type Configuration = { appMetadata: AppMetadata | null device: Device | DeviceNotBrowser apiKey: string + initialWalletInit: WalletInit[] } export type Locale = string diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index c7a96c457..4c59e3ea5 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -85,8 +85,8 @@ export function shortenEns(ens: string): string { export async function copyWalletAddress(text: string): Promise { try { - const copy = await navigator.clipboard.writeText(text); - return copy + const copy = await navigator.clipboard.writeText(text) + return copy } catch (err) { console.error('Failed to copy: ', err) } @@ -242,3 +242,6 @@ export const defaultNotifyEventStyles: Record = { eventIcon: info } } + +export const wait = (time: number) => + new Promise(resolve => setTimeout(resolve, time)) From d31ee6ec8b8e03440da3cde5ce7cd1d287336e58 Mon Sep 17 00:00:00 2001 From: tylermanserGS <106347764+tylermanserGS@users.noreply.github.com> Date: Thu, 14 Jul 2022 15:48:38 -0600 Subject: [PATCH 4/9] feature: Integrating GameStop Wallet into onboard (#1073) * Integrating GameStop Wallet into onboard * updating semantic version and adding "GameStop" keyword --- package.json | 3 ++- packages/injected/package.json | 5 +++-- packages/injected/src/icons/gamestop.ts | 7 +++++++ packages/injected/src/types.ts | 8 ++++++-- packages/injected/src/wallets.ts | 15 ++++++++++++++- 5 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 packages/injected/src/icons/gamestop.ts diff --git a/package.json b/package.json index 0295e0de7..278f89937 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "GameStop" ], "repository": { "type": "git", diff --git a/packages/injected/package.json b/packages/injected/package.json index a946d7858..a8616db01 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.0.13", + "version": "2.0.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", @@ -29,7 +29,8 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "GameStop" ], "repository": { "type": "git", diff --git a/packages/injected/src/icons/gamestop.ts b/packages/injected/src/icons/gamestop.ts new file mode 100644 index 000000000..e59687a0b --- /dev/null +++ b/packages/injected/src/icons/gamestop.ts @@ -0,0 +1,7 @@ +export default ` + + + + + +` \ No newline at end of file diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index 30db52e76..d075e6125 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -42,7 +42,8 @@ export enum ProviderIdentityFlag { Tally = 'isTally', BraveWallet = 'isBraveWallet', Rabby = 'isRabby', - MathWallet = 'isMathWallet' + MathWallet = 'isMathWallet', + GameStop = 'isGamestop' } export enum ProviderLabel { @@ -77,6 +78,7 @@ export enum ProviderLabel { Tally = 'Tally Wallet', Rabby = 'Rabby', MathWallet = 'MathWallet', + GameStop = 'GameStop Wallet' } export interface MeetOneProvider extends ExternalProvider { @@ -95,7 +97,8 @@ export enum InjectedNameSpace { Tally = 'tally', Web3 = 'web3', Arbitrum = 'arbitrum', - XFI = 'xfi' + XFI = 'xfi', + GameStop = 'gamestop' } export interface CustomWindow extends Window { @@ -107,6 +110,7 @@ export interface CustomWindow extends Window { xfi: { ethereum: InjectedProvider } + gamestop: InjectedProvider } export type InjectedProvider = ExternalProvider & diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index 6e09882de..7be24561a 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -500,6 +500,18 @@ const mathwallet: InjectedWalletModule = { platforms: ['all'] } +const gamestop: InjectedWalletModule = { + label: ProviderLabel.GameStop, + injectedNamespace: InjectedNameSpace.GameStop, + checkProviderIdentity: ({ provider }) => + !!provider && !!provider[ProviderIdentityFlag.GameStop], + getIcon: async () => (await import('./icons/gamestop.js')).default, + getInterface: async () => ({ + provider: createEIP1193Provider(window.gamestop) + }), + platforms: ['desktop'] +} + const wallets = [ exodus, metamask, @@ -529,7 +541,8 @@ const wallets = [ tokenary, tally, rabby, - mathwallet + mathwallet, + gamestop ] export default wallets From 59729e10f20d7ec616f43798d50d8b067eaaff7e Mon Sep 17 00:00:00 2001 From: Aaron Barnard Date: Sat, 16 Jul 2022 00:20:12 +1000 Subject: [PATCH 5/9] [common:2.1.6-alpha.1] [keepkey:2.1.6-alpha.1] - Better Error Messages (#1146) * Format KeepKey Pin Entry error * Modify account select modal error styles * Format network detect error message * Increment common package version * Increment keepkey package version * Bump versions that use common to pull in changes to SelectAccount Co-authored-by: Adam Carpenter --- packages/coinbase/package.json | 4 +- packages/common/package.json | 2 +- .../common/src/elements/TableHeader.svelte | 8 +-- .../common/src/views/AccountSelect.svelte | 17 ++++-- packages/core/package.json | 4 +- packages/dcent/package.json | 4 +- packages/fortmatic/package.json | 4 +- packages/gnosis/package.json | 4 +- packages/injected/package.json | 4 +- packages/keepkey/package.json | 4 +- packages/keepkey/src/index.ts | 60 ++++++++++--------- 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/walletlink/package.json | 4 +- packages/web3auth/package.json | 4 +- 23 files changed, 90 insertions(+), 77 deletions(-) diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 9ae48717a..4a5e4f53b 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.0.8", + "version": "2.0.9-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", @@ -57,6 +57,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.0.5", - "@web3-onboard/common": "^2.1.5" + "@web3-onboard/common": "^2.1.6-alpha.1" } } diff --git a/packages/common/package.json b/packages/common/package.json index d6e5dda7a..251eb2db1 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.1.5", + "version": "2.1.6-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/elements/TableHeader.svelte b/packages/common/src/elements/TableHeader.svelte index 7abd0e9c8..5cc436ba3 100644 --- a/packages/common/src/elements/TableHeader.svelte +++ b/packages/common/src/elements/TableHeader.svelte @@ -80,10 +80,7 @@ input[type='checkbox'] { -webkit-appearance: none; width: auto; - background: var( - --account-select-white, - var(--onboard-white, var(--white)) - ); + background: var(--account-select-white, var(--onboard-white, var(--white))); border: 1px solid var(--account-select-gray-300, var(--onboard-gray-300, var(--gray-300))); padding: 0.5em; @@ -144,6 +141,9 @@ --account-select-font-family-light, var(--font-family-light) ); + font-size: var(--account-select-font-size-7, var(--font-size-7)); + max-width: 15rem; + line-height: 1; } .table-controls { diff --git a/packages/common/src/views/AccountSelect.svelte b/packages/common/src/views/AccountSelect.svelte index 2cbf071bb..f0e70e15d 100644 --- a/packages/common/src/views/AccountSelect.svelte +++ b/packages/common/src/views/AccountSelect.svelte @@ -67,7 +67,17 @@ loadingAccounts = false } catch (err) { const { message } = err as { message: string } - errorFromScan = message || 'There was an error scanning for accounts' + + if ( + typeof message === 'string' && + message.includes('could not detect network') + ) { + errorFromScan = + 'There was an error detecting connected network from RPC endpoint' + } else { + errorFromScan = message || 'There was an error scanning for accounts' + } + loadingAccounts = false } } @@ -397,10 +407,7 @@ right: 0.2rem; width: 2.5rem; height: 2.5rem; - background: var( - --account-select-white, - var(--onboard-white, var(--white)) - ); + background: var(--account-select-white, var(--onboard-white, var(--white))); border-radius: 1rem; } diff --git a/packages/core/package.json b/packages/core/package.json index 1c8b825b6..98dc0306d 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.5.0-alpha.1", + "version": "2.5.0-alpha.2", "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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "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 00e7f96bf..da7a9ed61 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.0.5", + "version": "2.0.6-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", @@ -54,7 +54,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "@ethereumjs/common": "^2.6.1", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index 33295eb75..674584ffa 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.7", + "version": "2.0.8-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", @@ -57,7 +57,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "fortmatic": "^2.2.1" } } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index 8ea157fa9..5060eb96e 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.0.6", + "version": "2.0.7-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", @@ -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.5" + "@web3-onboard/common": "^2.1.6-alpha.1" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index a8616db01..3e2c33a36 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.0.14-alpha.1", + "version": "2.0.14-alpha.2", "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.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index 153430ddd..ae530e452 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.1.5", + "version": "2.1.6-alpha.1", "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.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keepkey/src/index.ts b/packages/keepkey/src/index.ts index 3101e8a96..0554e44bd 100644 --- a/packages/keepkey/src/index.ts +++ b/packages/keepkey/src/index.ts @@ -167,37 +167,43 @@ function keepkey(): WalletInit { asset: Asset provider: StaticJsonRpcProvider }) => { - let index = getAccountIdx(derivationPath) - let zeroBalanceAccounts = 0 - const accounts = [] - - // Iterates until a 0 balance account is found - // Then adds 4 more 0 balance accounts to the array - while (zeroBalanceAccounts < 5) { - const acc = await getAccount({ - accountIdx: index, - provider, - asset - }) + try { + let index = getAccountIdx(derivationPath) + let zeroBalanceAccounts = 0 + const accounts = [] + + // Iterates until a 0 balance account is found + // Then adds 4 more 0 balance accounts to the array + while (zeroBalanceAccounts < 5) { + const acc = await getAccount({ + accountIdx: index, + provider, + asset + }) + + if ( + acc && + acc.balance && + acc.balance.value && + acc.balance.value.isZero() + ) { + zeroBalanceAccounts++ + accounts.push(acc) + } else { + accounts.push(acc) + // Reset the number of 0 balance accounts + zeroBalanceAccounts = 0 + } - if ( - acc && - acc.balance && - acc.balance.value && - acc.balance.value.isZero() - ) { - zeroBalanceAccounts++ - accounts.push(acc) - } else { - accounts.push(acc) - // Reset the number of 0 balance accounts - zeroBalanceAccounts = 0 + index++ } - index++ + return accounts + } catch (error) { + throw new Error( + (error as { message: { message: string } }).message.message + ) } - - return accounts } let ethersProvider: StaticJsonRpcProvider const scanAccounts = async ({ diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 8064fc6c5..1fa316ef6 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.1.6", + "version": "2.1.7-alpha.1", "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", @@ -57,6 +57,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.5" + "@web3-onboard/common": "^2.1.6-alpha.1" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index f1950f7ad..d77fb16af 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.1.5", + "version": "2.1.6-alpha.1", "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", @@ -63,7 +63,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.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" } diff --git a/packages/magic/package.json b/packages/magic/package.json index 5ebb84225..d0581d7ea 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.0.8", + "version": "2.0.9-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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-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 b70a3447f..8f5f63d58 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.0.5", + "version": "2.0.6-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", @@ -59,7 +59,7 @@ "@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index fca893316..eeffbd687 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.0.5", + "version": "2.0.6-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", @@ -57,6 +57,6 @@ }, "dependencies": { "@portis/web3": "^4.0.6", - "@web3-onboard/common": "^2.1.5" + "@web3-onboard/common": "^2.1.6-alpha.1" } } diff --git a/packages/react/package.json b/packages/react/package.json index c09cc4e2f..4fa44b392 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.2.4-alpha.1", + "version": "2.2.4-alpha.2", "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", @@ -59,8 +59,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.4.1-alpha.1", - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/core": "^2.4.1-alpha.2", + "@web3-onboard/common": "^2.1.6-alpha.1", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index b2f0280ea..f23b8a616 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.0.6", + "version": "2.0.7-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", @@ -57,6 +57,6 @@ }, "dependencies": { "@toruslabs/torus-embed": "^1.18.3", - "@web3-onboard/common": "^2.1.5" + "@web3-onboard/common": "^2.1.6-alpha.1" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index cf89125a6..a2a5b4143 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.1.5", + "version": "2.1.6-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", @@ -58,7 +58,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.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 dfa70c344..89d04381a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.1.4-alpha.1", + "version": "2.1.4-alpha.2", "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", @@ -59,8 +59,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.1.5", - "@web3-onboard/core": "^2.4.1-alpha.1", + "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/core": "^2.4.1-alpha.2", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index f4d5d2084..6f44c3c49 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.0.6", + "version": "2.0.7-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", @@ -59,7 +59,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "rxjs": "^7.5.2" } } diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index 36bdad19f..babd921d2 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletlink", - "version": "2.0.5", + "version": "2.0.6-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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index e79afc38c..5cb0c25e4 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.0.4", + "version": "2.0.5-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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.5", + "@web3-onboard/common": "^2.1.6-alpha.1", "@web3auth/web3auth": "^1.0.0" } } From 5b8da81bbf3f3a52d52c9674383a857200b91cd6 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 15 Jul 2022 09:44:13 -0500 Subject: [PATCH 6/9] Update version for release --- package.json | 2 +- packages/coinbase/package.json | 4 ++-- packages/common/package.json | 2 +- packages/core/package.json | 4 ++-- packages/dcent/package.json | 4 ++-- packages/fortmatic/package.json | 4 ++-- 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/walletlink/package.json | 4 ++-- packages/web3auth/package.json | 4 ++-- 21 files changed, 42 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 278f89937..1cbc6a45d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.4.0", + "version": "2.5.0", "private": true, "workspaces": [ "./packages/*" diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 4a5e4f53b..2f3e993b0 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.0.9-alpha.1", + "version": "2.0.9", "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", @@ -57,6 +57,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.0.5", - "@web3-onboard/common": "^2.1.6-alpha.1" + "@web3-onboard/common": "^2.1.6" } } diff --git a/packages/common/package.json b/packages/common/package.json index 251eb2db1..81fcd8269 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.1.6-alpha.1", + "version": "2.1.6", "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 98dc0306d..7e36fa7b4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.5.0-alpha.2", + "version": "2.5.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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "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 da7a9ed61..b125ebfd7 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.0.6-alpha.1", + "version": "2.0.6", "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", @@ -54,7 +54,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "@ethereumjs/common": "^2.6.1", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index 674584ffa..163699042 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.8-alpha.1", + "version": "2.0.8", "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", @@ -57,7 +57,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "fortmatic": "^2.2.1" } } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index 5060eb96e..63985b21d 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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.6-alpha.1" + "@web3-onboard/common": "^2.1.6" } } diff --git a/packages/injected/package.json b/packages/injected/package.json index 3e2c33a36..f3eea5496 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.0.14-alpha.2", + "version": "2.0.14", "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.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index ae530e452..af108c770 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.1.6-alpha.1", + "version": "2.1.6", "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.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 1fa316ef6..13e728245 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.1.7-alpha.1", + "version": "2.1.7", "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", @@ -57,6 +57,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.6-alpha.1" + "@web3-onboard/common": "^2.1.6" } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index d77fb16af..58a853139 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.1.6-alpha.1", + "version": "2.1.6", "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", @@ -63,7 +63,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.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" } diff --git a/packages/magic/package.json b/packages/magic/package.json index d0581d7ea..acb34b3eb 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.0.9-alpha.1", + "version": "2.0.9", "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", @@ -78,7 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "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 8f5f63d58..c9aca7f3a 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.0.6-alpha.1", + "version": "2.0.6", "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.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index eeffbd687..8460b2c40 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.0.6-alpha.1", + "version": "2.0.6", "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.6-alpha.1" + "@web3-onboard/common": "^2.1.6" } } diff --git a/packages/react/package.json b/packages/react/package.json index 4fa44b392..7ac645928 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.2.4-alpha.2", + "version": "2.2.4", "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", @@ -59,8 +59,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.4.1-alpha.2", - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/core": "^2.4.1", + "@web3-onboard/common": "^2.1.6", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index f23b8a616..b266e7ed8 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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.6-alpha.1" + "@web3-onboard/common": "^2.1.6" } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index a2a5b4143..cd2eedf40 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.1.6-alpha.1", + "version": "2.1.6", "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", @@ -58,7 +58,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "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 89d04381a..3eec9aac1 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.1.4-alpha.2", + "version": "2.1.4", "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", @@ -59,8 +59,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.1.6-alpha.1", - "@web3-onboard/core": "^2.4.1-alpha.2", + "@web3-onboard/common": "^2.1.6", + "@web3-onboard/core": "^2.4.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 6f44c3c49..0ba8b31ef 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.0.7-alpha.1", + "version": "2.0.7", "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", @@ -59,7 +59,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "rxjs": "^7.5.2" } } diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index babd921d2..8d0209c68 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletlink", - "version": "2.0.6-alpha.1", + "version": "2.0.6", "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", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.1.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index 5cb0c25e4..975813955 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.0.5-alpha.1", + "version": "2.0.5", "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.6-alpha.1", + "@web3-onboard/common": "^2.1.6", "@web3auth/web3auth": "^1.0.0" } } From 0d01f6475cc1a93a9d393d0f0bc2638e60d12910 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 15 Jul 2022 09:13:22 -0600 Subject: [PATCH 7/9] Update React & Vue core versions (#1148) --- packages/react/package.json | 2 +- packages/vue/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/package.json b/packages/react/package.json index 4fa44b392..f4bccc1a7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -59,7 +59,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.4.1-alpha.2", + "@web3-onboard/core": "^2.5.0-alpha.2", "@web3-onboard/common": "^2.1.6-alpha.1", "use-sync-external-store": "1.0.0" }, diff --git a/packages/vue/package.json b/packages/vue/package.json index 89d04381a..0b5c0a62a 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -60,7 +60,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.1.6-alpha.1", - "@web3-onboard/core": "^2.4.1-alpha.2", + "@web3-onboard/core": "^2.5.0-alpha.2", "vue-demi": "^0.12.4" }, "peerDependencies": { From dd267cbe5c1025209600ad30288a0f26a8cefa90 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 15 Jul 2022 10:54:24 -0500 Subject: [PATCH 8/9] Handle merge conflicts --- packages/dcent/package.json | 8 -------- packages/demo/package.json | 5 ----- packages/fortmatic/package.json | 8 -------- packages/gnosis/package.json | 8 -------- packages/injected/package.json | 8 -------- packages/keepkey/package.json | 8 -------- packages/keystone/package.json | 8 -------- packages/ledger/package.json | 8 -------- packages/magic/package.json | 8 -------- packages/mew/package.json | 8 -------- packages/portis/package.json | 8 -------- packages/react/package.json | 9 --------- packages/torus/package.json | 8 -------- packages/trezor/package.json | 8 -------- packages/vue/package.json | 9 --------- packages/walletconnect/package.json | 8 -------- packages/walletlink/package.json | 8 -------- packages/web3auth/package.json | 8 -------- 18 files changed, 143 deletions(-) diff --git a/packages/dcent/package.json b/packages/dcent/package.json index e4fa6e6e0..b125ebfd7 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/dcent", -<<<<<<< HEAD "version": "2.0.6", -======= - "version": "2.0.5", ->>>>>>> v2-web3-onboard "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", @@ -58,11 +54,7 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "@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 47edee7bd..f93258f6d 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -23,13 +23,8 @@ }, "dependencies": { "@web3-onboard/coinbase": "^2.0.8", -<<<<<<< HEAD "@web3-onboard/core": "^2.4.1-alpha.1", "@web3-onboard/dcent": "^2.0.5", -======= - "@web3-onboard/core": "^2.4.0", - "@web3-onboard/dcent": "^2.0.6", ->>>>>>> v2-web3-onboard "@web3-onboard/fortmatic": "^2.0.6", "@web3-onboard/gnosis": "^2.0.5", "@web3-onboard/injected-wallets": "^2.0.12", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index 4e3e5bb7b..163699042 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/fortmatic", -<<<<<<< HEAD "version": "2.0.8", -======= - "version": "2.0.7", ->>>>>>> v2-web3-onboard "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", @@ -61,11 +57,7 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "fortmatic": "^2.2.1" } } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index 5691a76f6..63985b21d 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/gnosis", -<<<<<<< HEAD "version": "2.0.7", -======= - "version": "2.0.6", ->>>>>>> v2-web3-onboard "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", @@ -63,10 +59,6 @@ "dependencies": { "@gnosis.pm/safe-apps-provider": "^0.9.2", "@gnosis.pm/safe-apps-sdk": "^6.1.1", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6" -======= - "@web3-onboard/common": "^2.1.5" ->>>>>>> v2-web3-onboard } } diff --git a/packages/injected/package.json b/packages/injected/package.json index d7a1c2055..f3eea5496 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/injected-wallets", -<<<<<<< HEAD "version": "2.0.14", -======= - "version": "2.0.13", ->>>>>>> v2-web3-onboard "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", @@ -66,11 +62,7 @@ "window": "^4.2.7" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "joi": "^17.4.2", "lodash.uniqby": "^4.7.0" } diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index ee12447a9..af108c770 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/keepkey", -<<<<<<< HEAD "version": "2.1.6", -======= - "version": "2.1.5", ->>>>>>> v2-web3-onboard "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", @@ -67,11 +63,7 @@ "@ethersproject/providers": "^5.5.0", "@shapeshiftoss/hdwallet-core": "^1.15.2", "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 682168f32..13e728245 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/keystone", -<<<<<<< HEAD "version": "2.1.7", -======= - "version": "2.1.6", ->>>>>>> v2-web3-onboard "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", @@ -61,10 +57,6 @@ "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "@keystonehq/eth-keyring": "^0.14.0-alpha.10.3", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6" -======= - "@web3-onboard/common": "^2.1.5" ->>>>>>> v2-web3-onboard } } diff --git a/packages/ledger/package.json b/packages/ledger/package.json index d46ec1da8..58a853139 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/ledger", -<<<<<<< HEAD "version": "2.1.6", -======= - "version": "2.1.5", ->>>>>>> v2-web3-onboard "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", @@ -67,11 +63,7 @@ "@ledgerhq/hw-transport-u2f": "^5.36.0-deprecated", "@ledgerhq/hw-transport-webusb": "^6.19.0", "@metamask/eth-sig-util": "^4.0.0", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "buffer": "^6.0.3", "ethereumjs-util": "^7.1.3" } diff --git a/packages/magic/package.json b/packages/magic/package.json index b696899eb..acb34b3eb 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/magic", -<<<<<<< HEAD "version": "2.0.9", -======= - "version": "2.0.8", ->>>>>>> v2-web3-onboard "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", @@ -82,11 +78,7 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "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 260a51bfc..c9aca7f3a 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/mew", -<<<<<<< HEAD "version": "2.0.6", -======= - "version": "2.0.5", ->>>>>>> v2-web3-onboard "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", @@ -63,11 +59,7 @@ "@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "rxjs": "^7.5.2" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index c7dd01dcf..8460b2c40 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/portis", -<<<<<<< HEAD "version": "2.0.6", -======= - "version": "2.0.5", ->>>>>>> v2-web3-onboard "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", @@ -61,10 +57,6 @@ }, "dependencies": { "@portis/web3": "^4.0.6", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6" -======= - "@web3-onboard/common": "^2.1.5" ->>>>>>> v2-web3-onboard } } diff --git a/packages/react/package.json b/packages/react/package.json index 1552977d2..7ac645928 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/react", -<<<<<<< HEAD "version": "2.2.4", -======= - "version": "2.2.3", ->>>>>>> v2-web3-onboard "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", @@ -63,13 +59,8 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/core": "^2.4.1", "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/core": "^2.4.0", - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/torus/package.json b/packages/torus/package.json index 8a39a6571..b266e7ed8 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/torus", -<<<<<<< HEAD "version": "2.0.7", -======= - "version": "2.0.6", ->>>>>>> v2-web3-onboard "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", @@ -61,10 +57,6 @@ }, "dependencies": { "@toruslabs/torus-embed": "^1.18.3", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6" -======= - "@web3-onboard/common": "^2.1.5" ->>>>>>> v2-web3-onboard } } diff --git a/packages/trezor/package.json b/packages/trezor/package.json index f9e7e0190..cd2eedf40 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/trezor", -<<<<<<< HEAD "version": "2.1.6", -======= - "version": "2.1.5", ->>>>>>> v2-web3-onboard "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", @@ -62,11 +58,7 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "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 3170a5fd3..3eec9aac1 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/vue", -<<<<<<< HEAD "version": "2.1.4", -======= - "version": "2.1.3", ->>>>>>> v2-web3-onboard "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", @@ -63,13 +59,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", "@web3-onboard/core": "^2.4.1", -======= - "@web3-onboard/common": "^2.1.5", - "@web3-onboard/core": "^2.4.0", ->>>>>>> v2-web3-onboard "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 6f1898c4e..0ba8b31ef 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/walletconnect", -<<<<<<< HEAD "version": "2.0.7", -======= - "version": "2.0.6", ->>>>>>> v2-web3-onboard "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", @@ -63,11 +59,7 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "rxjs": "^7.5.2" } } diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index 089794043..8d0209c68 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/walletlink", -<<<<<<< HEAD "version": "2.0.6", -======= - "version": "2.0.5", ->>>>>>> v2-web3-onboard "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", @@ -60,11 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index 952f93bd1..975813955 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,10 +1,6 @@ { "name": "@web3-onboard/web3auth", -<<<<<<< HEAD "version": "2.0.5", -======= - "version": "2.0.4", ->>>>>>> v2-web3-onboard "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", @@ -60,11 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { -<<<<<<< HEAD "@web3-onboard/common": "^2.1.6", -======= - "@web3-onboard/common": "^2.1.5", ->>>>>>> v2-web3-onboard "@web3auth/web3auth": "^1.0.0" } } From 5a5de75c0e4fc19158c36fc54185f10ad4085127 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 15 Jul 2022 11:33:53 -0500 Subject: [PATCH 9/9] Add extra keywords that were added to top level package.json --- package.json | 4 +++- packages/coinbase/package.json | 4 +++- packages/common/package.json | 4 +++- packages/core/package.json | 5 ++++- packages/dcent/package.json | 4 +++- packages/fortmatic/package.json | 4 +++- packages/ledger/package.json | 4 +++- packages/magic/package.json | 4 +++- packages/react/package.json | 5 ++++- packages/trezor/package.json | 4 +++- packages/vue/package.json | 5 ++++- packages/walletconnect/package.json | 4 +++- packages/walletlink/package.json | 4 +++- 13 files changed, 42 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 1cbc6a45d..7690d46d7 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,9 @@ "pending", "confirmed", "Injected Wallet", - "GameStop" + "GameStop", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 2f3e993b0..9f84cb034 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/common/package.json b/packages/common/package.json index 81fcd8269..0878ce05c 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/core/package.json b/packages/core/package.json index 7e36fa7b4..983eee850 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -29,7 +29,10 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "GameStop", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/dcent/package.json b/packages/dcent/package.json index b125ebfd7..61728fc7e 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index 163699042..02d1cf87f 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 58a853139..019f1c6d8 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/magic/package.json b/packages/magic/package.json index acb34b3eb..7bf00f7e9 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/react/package.json b/packages/react/package.json index 9ad685a0d..6a3e1f839 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -29,7 +29,10 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "GameStop", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/trezor/package.json b/packages/trezor/package.json index cd2eedf40..8680bad9d 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/vue/package.json b/packages/vue/package.json index ec54686b7..280194da7 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -29,7 +29,10 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "GameStop", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 0ba8b31ef..71aa64cdc 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git", diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index 8d0209c68..4094cc1d1 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -29,7 +29,9 @@ "Mempool", "pending", "confirmed", - "Injected Wallet" + "Injected Wallet", + "Crypto", + "Crypto Wallet" ], "repository": { "type": "git",