From eb5ff818cadcafa544b7cb9533f458dbd31b018c Mon Sep 17 00:00:00 2001 From: nheingit <60185486+nheingit@users.noreply.github.com> Date: Fri, 30 Jun 2023 08:30:43 -0500 Subject: [PATCH 1/7] Update: Phantom icon (#1801) * Update Phantom icon for new rebrand * Update package.json for semver * Update packages/phantom/package.json * Update Phantom version in Demo package.json --------- Co-authored-by: Adam Carpenter --- packages/demo/package.json | 2 +- packages/phantom/package.json | 2 +- packages/phantom/src/icon.ts | 36 ++++------------------------------- 3 files changed, 6 insertions(+), 34 deletions(-) diff --git a/packages/demo/package.json b/packages/demo/package.json index 9241b3ba4..af89525f9 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -42,7 +42,7 @@ "@web3-onboard/ledger": "^2.5.0", "@web3-onboard/magic": "^2.1.6", "@web3-onboard/mew-wallet": "^2.0.3", - "@web3-onboard/phantom": "^2.0.1", + "@web3-onboard/phantom": "^2.0.3-alpha.1", "@web3-onboard/portis": "^2.1.6", "@web3-onboard/sequence": "^2.0.7", "@web3-onboard/taho": "^2.0.5", diff --git a/packages/phantom/package.json b/packages/phantom/package.json index 215a7397e..bb9dcc681 100644 --- a/packages/phantom/package.json +++ b/packages/phantom/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/phantom", - "version": "2.0.2", + "version": "2.0.3-alpha.1", "description": "Phantom wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/phantom/src/icon.ts b/packages/phantom/src/icon.ts index 48a6946bb..dc55e4ff2 100644 --- a/packages/phantom/src/icon.ts +++ b/packages/phantom/src/icon.ts @@ -1,32 +1,4 @@ -export default ` - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -` +export default ` + + +` From ce95569998488519a987d7fa2fe49ce3e025b011 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 5 Jul 2023 10:48:47 -0600 Subject: [PATCH 2/7] Bump packages with WC deps to latest (Ledger, Uauth, WC) (#1807) --- docs/package.json | 12 +-- docs/src/app.html | 13 ++- docs/src/lib/services/onboard.js | 6 +- docs/vite.config.js | 3 + docs/yarn.lock | 42 ++++----- packages/demo/package.json | 6 +- packages/demo/src/App.svelte | 1 - packages/ledger/package.json | 7 +- packages/ledger/src/index.ts | 4 +- packages/ledger/src/v2.ts | 35 ++++---- packages/uauth/package.json | 6 +- packages/walletconnect/package.json | 8 +- packages/walletconnect/src/v1.ts | 19 +++- yarn.lock | 130 +++++++++++----------------- 14 files changed, 140 insertions(+), 152 deletions(-) diff --git a/docs/package.json b/docs/package.json index 99fbff2a5..f4e7a1dce 100644 --- a/docs/package.json +++ b/docs/package.json @@ -49,10 +49,10 @@ }, "type": "module", "dependencies": { - "@web3-onboard/blocto": "^2.0.0-alpha.1", + "@web3-onboard/blocto": "^2.0.0", "@web3-onboard/cede-store": "^2.0.2", "@web3-onboard/coinbase": "^2.2.4", - "@web3-onboard/core": "^2.20.4-alpha.1", + "@web3-onboard/core": "^2.20.4", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.4", "@web3-onboard/fortmatic": "^2.0.19", @@ -64,20 +64,20 @@ "@web3-onboard/injected-wallets": "^2.10.1", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.0-alpha.1", + "@web3-onboard/ledger": "^2.5.1-alpha.1", "@web3-onboard/magic": "^2.1.7", "@web3-onboard/mew-wallet": "^2.0.4", "@web3-onboard/phantom": "^2.0.2", "@web3-onboard/portis": "^2.1.7", "@web3-onboard/sequence": "^2.0.8", - "@web3-onboard/taho": "^2.0.5-alpha.1", + "@web3-onboard/taho": "^2.0.5", "@web3-onboard/torus": "^2.2.5", "@web3-onboard/transaction-preview": "^2.0.8", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.4", - "@web3-onboard/uauth": "^2.1.0-alpha.1", + "@web3-onboard/uauth": "^2.1.1-alpha.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.0-alpha.2", + "@web3-onboard/walletconnect": "^2.4.1-alpha.1", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.4", "@web3-onboard/zeal": "^2.0.4", diff --git a/docs/src/app.html b/docs/src/app.html index 187f76c57..b36ead42e 100644 --- a/docs/src/app.html +++ b/docs/src/app.html @@ -21,10 +21,15 @@ + diff --git a/docs/src/lib/services/onboard.js b/docs/src/lib/services/onboard.js index 36d0d3435..5add06148 100644 --- a/docs/src/lib/services/onboard.js +++ b/docs/src/lib/services/onboard.js @@ -62,12 +62,8 @@ const intiOnboard = async (theme) => { const coinbase = coinbaseModule() const dcent = dcentModule() const walletConnect = walletConnectModule({ - connectFirstChainId: true, version: 2, - projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5', - qrcodeModalOptions: { - mobileLinks: ['rainbow', 'metamask', 'argent', 'trust', 'imtoken', 'pillar'] - } + projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5' }) const ledger = ledgerModule({ projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5' }) const keystone = keystoneModule() diff --git a/docs/vite.config.js b/docs/vite.config.js index ddc372c62..98998564f 100644 --- a/docs/vite.config.js +++ b/docs/vite.config.js @@ -32,6 +32,9 @@ const config = { include: [ '@web3-onboard/core', '@web3-onboard/gas', + '@web3-onboard/ledger', + '@web3-onboard/uauth', + '@web3-onboard/walletconnect', '@web3-onboard/sequence', 'js-sha3', '@ethersproject/bignumber' diff --git a/docs/yarn.lock b/docs/yarn.lock index 9f2c4393d..3a980dbcf 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4480,7 +4480,7 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3-onboard/blocto@^2.0.0-alpha.1": +"@web3-onboard/blocto@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@web3-onboard/blocto/-/blocto-2.0.0.tgz#eb631e911b7c13ad11089bb3574e97b673f14463" integrity sha512-99/YzRuE9VBXWVLI6tAKxwFvCXq7WV24a3rM76yY5yVEEeNfewh8PWQ/2Yfz71Vfi6YWVPKzGo3LHspz4caTzA== @@ -4513,10 +4513,10 @@ ethers "5.5.4" joi "17.9.1" -"@web3-onboard/core@^2.20.4-alpha.1": - version "2.20.4-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.20.4-alpha.1.tgz#fb28c5fb68af989a9ef96fa05376de58e7c03af8" - integrity sha512-B4NPf2zSIry+wKTBDlN+gKfaAFSqQ8jYJ7V9un7llGXwllc6Zf91GiIUYecluk8UaanogYGRrTMR0njTPIsN0w== +"@web3-onboard/core@^2.20.4": + version "2.20.4" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.20.4.tgz#ccc9ff509e56720e526b4ceae5459a1f2a435d22" + integrity sha512-IFI3DVq5QgFj5w1TyL61gHmeOlkX8AJiBAARO3cd4zW8I3h9K2+7HeE7LbsfwefZYLILzXCfF0gMB3qRN/GWYQ== dependencies: "@web3-onboard/common" "^2.3.3" bignumber.js "^9.0.0" @@ -4641,10 +4641,10 @@ "@web3-onboard/common" "^2.3.3" "@web3-onboard/hw-common" "^2.3.0" -"@web3-onboard/ledger@^2.5.0-alpha.1": - version "2.5.0-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.0-alpha.1.tgz#3552a580f15bcb9c037f27e88b70a9d60a83faec" - integrity sha512-l53egi5Ncy0hFG1Nij+toLm/3OjL+PTyyuigHdnHcey8R8fVBdaYIRKSpilMyuN0/luSk/ttSGL+5lBK8rurlw== +"@web3-onboard/ledger@^2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.0.tgz#0ed29ece757706caa88a352ef33e63f9b2a0fedb" + integrity sha512-hMgQk/mX+/Ed6T18eEBPy3i8QgN9JYr2brplWRssRLX+pTGtic57CchkxvLRpgm4Qpz5YQyX3IuyoIILwfUjzA== dependencies: "@ledgerhq/connect-kit-loader" "^1.1.0" "@walletconnect/client" "^1.8.0" @@ -4694,10 +4694,10 @@ "0xsequence" "^0.43.1" "@web3-onboard/common" "^2.3.3" -"@web3-onboard/taho@^2.0.5-alpha.1": - version "2.0.5-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/taho/-/taho-2.0.5-alpha.1.tgz#ae0306a17a0426253fe706e7d0df393e40959f03" - integrity sha512-6ErW3+d7H1LD3rlABHYCReBhM84a33+axNWkPZONYcdd3zgfyTlmPKMi1JWYpX89hbK1y09f+yAX73bTP3/UAA== +"@web3-onboard/taho@^2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@web3-onboard/taho/-/taho-2.0.5.tgz#899d147c234d61e1fb81045fc7339182c230c632" + integrity sha512-Z5n2UMumLNppOlDgYM9MhrM+YGyz8Emouaf7htH8l4B2r/meV4F3Wkgol2xYuwwu5SJyPaJH2GxNeh/EAfyBxg== dependencies: "@web3-onboard/common" "^2.3.3" tallyho-detect-provider "^1.0.0" @@ -4746,10 +4746,10 @@ dependencies: "@web3-onboard/common" "^2.3.3" -"@web3-onboard/uauth@^2.1.0-alpha.1": - version "2.1.0-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.0-alpha.1.tgz#1c666c4e0537ab36c90f0fc442b10ed0fe6d7109" - integrity sha512-q0FuDPaRNKI/G3yLFVBgWwnqkhjr0a2pRBAd0p97RMbk/pJ3fAKUZaYTWN3UQ1eTDMQcnOaGtw3MOGX5GNpyhg== +"@web3-onboard/uauth@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.0.tgz#f17dcad227e5ee57e12c539873ce3c7680968e9e" + integrity sha512-havy9Kj3sJs/q1EYSKRujaXr0StWQF3zYM9nBkynOVycQyOCcb12w//hceVnBNEf9GjVNXO9j5ssz8fSzMmSHw== dependencies: "@ethersproject/providers" "^5.5.0" "@uauth/js" "^2.4.0" @@ -4769,10 +4769,10 @@ "@venly/web3-provider" "^3.1.1" "@web3-onboard/common" "^2.3.1" -"@web3-onboard/walletconnect@^2.4.0-alpha.2": - version "2.4.0-alpha.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.0-alpha.2.tgz#8c959c51194b8703bb174075feb5874e115cea6d" - integrity sha512-qyDZT4iw7EQrk7HLi+G9LMON13Z//w+ipQFH0NHZPuLVaQ/w6oS7HD+bFQHYsC9Xn7XMrE/sGRCw8wEX3de4ZA== +"@web3-onboard/walletconnect@^2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.0.tgz#fe446706cde736ca629c56c190bc9b314eaa70b3" + integrity sha512-Qu3uHWsumOedHDzwqOoUrA40rNO0C6Sgw62XeIxSC+JsIB2K4Y5rXhTbMeYtO0lmWmHA8DYXxk8czYkdMZh19Q== dependencies: "@ethersproject/providers" "5.5.0" "@walletconnect/client" "^1.8.0" diff --git a/packages/demo/package.json b/packages/demo/package.json index af89525f9..06da2128f 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -39,7 +39,7 @@ "@web3-onboard/injected-wallets": "^2.10.1", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.0", + "@web3-onboard/ledger": "^2.5.1-alpha.1", "@web3-onboard/magic": "^2.1.6", "@web3-onboard/mew-wallet": "^2.0.3", "@web3-onboard/phantom": "^2.0.3-alpha.1", @@ -50,9 +50,9 @@ "@web3-onboard/transaction-preview": "^2.0.7", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.3", - "@web3-onboard/uauth": "^2.1.0", + "@web3-onboard/uauth": "^2.1.1-alpha.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.0", + "@web3-onboard/walletconnect": "^2.4.1-alpha.1", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.3", "@web3-onboard/zeal": "^2.0.3", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 2dd7d6a70..c94491fe8 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -117,7 +117,6 @@ const walletConnect = walletConnectModule({ handleUri: uri => console.log(uri), projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5', - requiredChains:[1, 56] }) const portis = portisModule({ apiKey: 'b2b7586f-2b1e-4c30-a7fb-c2d1533b153b' diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 3fec1b88e..0049424bf 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.5.0", + "version": "2.5.1-alpha.1", "description": "Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -59,10 +59,11 @@ "typescript": "^4.5.5" }, "dependencies": { + "@ethersproject/providers": "5.5.0", "@ledgerhq/connect-kit-loader": "^1.1.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.4", - "@walletconnect/modal":"2.5.4", + "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/modal": "2.5.9", "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2" } diff --git a/packages/ledger/src/index.ts b/packages/ledger/src/index.ts index d95136363..0381f7053 100644 --- a/packages/ledger/src/index.ts +++ b/packages/ledger/src/index.ts @@ -1,6 +1,6 @@ import type { WalletInit } from '@web3-onboard/common' -import v1 from './v1' -import v2 from './v2' +import v1 from './v1.js' +import v2 from './v2.js' export type LedgerOptionsWCv1 = { /** diff --git a/packages/ledger/src/v2.ts b/packages/ledger/src/v2.ts index ebfd2748c..eefaf4554 100644 --- a/packages/ledger/src/v2.ts +++ b/packages/ledger/src/v2.ts @@ -2,12 +2,9 @@ import { Chain, WalletInit, EIP1193Provider, - ProviderAccounts, - createEIP1193Provider + ProviderAccounts } from '@web3-onboard/common' -import type { - EthereumProvider as LedgerEthereumProvider -} from '@ledgerhq/connect-kit-loader' +import type { EthereumProvider as LedgerEthereumProvider } from '@ledgerhq/connect-kit-loader' import { isHexString, LedgerOptionsWCv2 } from './index.js' import type { JQueryStyleEventEmitter } from 'rxjs/internal/observable/fromEvent' @@ -45,17 +42,16 @@ function ledger(options?: LedgerOptionsWCv2): WalletInit { } // accept both hex and decimal chain ids - const requiredChains = options?.requiredChains?.map((id) => ( - (typeof id === 'string' && isHexString(id)) + const requiredChains = options?.requiredChains?.map(id => + typeof id === 'string' && isHexString(id) ? parseInt(id, 16) - : id as number - )) - - const optionalMethods = - options.optionalMethods && Array.isArray(options.optionalMethods) - ? [...options.optionalMethods, ...defaultOptionalMethods] - : defaultOptionalMethods + : (id as number) + ) + const optionalMethods = + options.optionalMethods && Array.isArray(options.optionalMethods) + ? [...options.optionalMethods, ...defaultOptionalMethods] + : defaultOptionalMethods const checkSupportResult = connectKit.checkSupport({ providerType: SupportedProviders.Ethereum, @@ -72,17 +68,18 @@ function ledger(options?: LedgerOptionsWCv2): WalletInit { .reduce((rpcMap: Record, { id, rpcUrl }) => { rpcMap[parseInt(id, 16)] = rpcUrl || '' return rpcMap - }, {}), + }, {}) }) // get the provider instance, it can be either the Ledger Extension // or WalletConnect - const instance = (await connectKit.getProvider()) as LedgerEthereumProvider + const instance = + (await connectKit.getProvider()) as LedgerEthereumProvider // return the Ledger Extension provider if ( checkSupportResult.providerImplementation === - SupportedProviderImplementations.LedgerConnect + SupportedProviderImplementations.LedgerConnect ) { return { provider: instance @@ -98,7 +95,9 @@ function ledger(options?: LedgerOptionsWCv2): WalletInit { const { Subject, fromEvent } = await import('rxjs') const { takeUntil, take } = await import('rxjs/operators') - const connector = instance as unknown as InstanceType + const connector = instance as unknown as InstanceType< + typeof EthereumProvider + > const emitter = new EventEmitter() class EthProvider { diff --git a/packages/uauth/package.json b/packages/uauth/package.json index 71b236008..0ba8ea6f5 100644 --- a/packages/uauth/package.json +++ b/packages/uauth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/uauth", - "version": "2.1.0", + "version": "2.1.1-alpha.1", "description": "Unstoppable Domains module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -65,8 +65,8 @@ "@uauth/js": "^2.4.0", "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.4", - "@walletconnect/modal": "2.5.5", + "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/modal": "2.5.9", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 65798ed07..d24e9ac0d 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.4.0", + "version": "2.4.1-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", @@ -56,13 +56,13 @@ "license": "MIT", "devDependencies": { "typescript": "^4.5.5", - "@walletconnect/types": "^2.7.0" + "@walletconnect/types": "^2.8.6" }, "dependencies": { "@ethersproject/providers": "5.5.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.4", - "@walletconnect/modal":"2.5.5", + "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/modal":"2.5.9", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2" diff --git a/packages/walletconnect/src/v1.ts b/packages/walletconnect/src/v1.ts index dd31651e3..49598fac1 100644 --- a/packages/walletconnect/src/v1.ts +++ b/packages/walletconnect/src/v1.ts @@ -11,7 +11,8 @@ import type { WalletConnectOptions } from './index.js' import { isHexString } from './index.js' function walletConnect(options: WalletConnectOptions): WalletInit { - if (options.version !== 1) throw `WalletConnect version must be set to 1 to initialize - note version 1 has been deprecated by the WalletConnect team` + if (options.version !== 1) + throw `WalletConnect version must be set to 1 to initialize - note version 1 has been deprecated by the WalletConnect team` const { bridge, qrcodeModalOptions, connectFirstChainId, handleUri } = options || {} @@ -58,6 +59,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { if (handleUri) { try { + // @ts-ignore await handleUri(connector.uri || '') } catch (error) { throw `An error occurred when handling the URI. Error: ${error}` @@ -140,14 +142,17 @@ function walletConnect(options: WalletConnectOptions): WalletInit { }, error: console.warn }) - + // @ts-ignore this.disconnect = () => this.connector.killSession() this.request = async ({ method, params }) => { if (method === 'eth_chainId') { + // @ts-ignore return isHexString(this.connector.chainId) - ? this.connector.chainId - : `0x${this.connector.chainId.toString(16)}` + ? // @ts-ignore + this.connector.chainId + : // @ts-ignore + `0x${this.connector.chainId.toString(16)}` } if (method === 'eth_requestAccounts') { @@ -181,9 +186,11 @@ function walletConnect(options: WalletConnectOptions): WalletInit { }) // Check if connection is already established + // @ts-ignore if (!this.connector.connected) { // create new session this.connector + // @ts-ignore .createSession( connectFirstChainId ? { chainId: parseInt(chains[0].id, 16) } @@ -191,6 +198,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { ) .then(() => { QRCodeModal.open( + // @ts-ignore this.connector.uri, () => reject( @@ -203,6 +211,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { ) }) } else { + // @ts-ignore const { accounts, chainId } = this.connector.session const hexChainId = isHexString(chainId) ? chainId @@ -243,6 +252,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { message: `The Provider requires a chainId to be passed in as an argument` }) } + // @ts-ignore return this.connector.sendCustomRequest({ method: 'wallet_switchEthereumChain', params: [ @@ -284,6 +294,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { } if (method === 'eth_accounts') { + // @ts-ignore return this.connector.sendCustomRequest({ id: 1337, jsonrpc: '2.0', diff --git a/yarn.lock b/yarn.lock index cd7534b8a..30920426d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3413,10 +3413,10 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.4.tgz#fc207c8fa35a53e30012b0c85b6ca933cec7d955" - integrity sha512-3CQHud4As0kPRvlW1w/wSWS2F3yXlAo5kSEJyRWLRPqXG+aSCVWM8cVM8ch5yoeyNIfOHhEINdsYMuJG1+yIJQ== +"@walletconnect/core@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.6.tgz#1db6acae36437dbe7357be7767f1faeda5d4ca6c" + integrity sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" @@ -3429,8 +3429,8 @@ "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -3475,19 +3475,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.4.tgz#c627c237b479194efc542b8475596bae12fde52d" - integrity sha512-z7Yz4w8t3eEFv8vQ8DLCgDWPah2aIIyC0iQdwhXgJenQTVuz7JJZRrJUUntzudipHK/owA394c1qTPF0rsMSeQ== +"@walletconnect/ethereum-provider@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.6.tgz#c9321aa89ce0a5fdc6bacb562c63bb33de88f412" + integrity sha512-wUvJEsXTLmMihrOhQxAs1k9hrWEOT03QBn54P9r9GpJbJ1zEfIjQaXFfi8uup6gldhH+vN38PsbOiLyv/6d3qQ== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/sign-client" "2.8.4" - "@walletconnect/types" "2.8.4" - "@walletconnect/universal-provider" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/sign-client" "2.8.6" + "@walletconnect/types" "2.8.6" + "@walletconnect/universal-provider" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -3626,57 +3626,31 @@ resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== -"@walletconnect/modal-core@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.4.tgz#7d739a90a9cf103067eea46507ea649e8dada436" - integrity sha512-ISe4LqmEDFU7b6rLgonqaEtMXzG6ko13HA7S8Ty3d7GgfAEe29LM1dq3zo8ehEOghhofhj1PiiNfvaogZKzT1g== +"@walletconnect/modal-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.9.tgz#45e0c25320d42855aaac39e6ba256a84f972b871" + integrity sha512-isIebwF9hOknGouhS/Ob4YJ9Sa/tqNYG2v6Ua9EkCqIoLimepkG5eC53tslUWW29SLSfQ9qqBNG2+iE7yQXqgw== dependencies: buffer "6.0.3" valtio "1.10.6" -"@walletconnect/modal-core@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.5.tgz#dc2ee96b1dd7cd9a1dc5e276c46068ee6349616a" - integrity sha512-M2BKcI5aqnGfMAz+MgTsvnTRzD25uz9YJ3/xuzy+ovgFCl2VCGH2Vdrf6Ptu+UR6UMuPdssG1TXXe1rd907Dxw== +"@walletconnect/modal-ui@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.9.tgz#4d07f1697147ec9f75d85d93f564cadae05a5e59" + integrity sha512-nfBaAT9Ls7RZTBBgAq+Nt/3AoUcinIJ9bcq5UHXTV3lOPu/qCKmUC/0HY3GvUK8ykabUAsjr0OAGmcqkB91qug== dependencies: - buffer "6.0.3" - valtio "1.10.6" - -"@walletconnect/modal-ui@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.4.tgz#0433fb0226dd47e17fede620c5a5ff332baed155" - integrity sha512-5qLLjwbE3YC4AsCVhf8J87otklkApcQ5DCMykOcS0APPv8lKQ46JxpQhfWwRYaUkuIiHonI9h1YxFARDkoaI9g== - dependencies: - "@walletconnect/modal-core" "2.5.4" + "@walletconnect/modal-core" "2.5.9" lit "2.7.5" motion "10.16.2" qrcode "1.5.3" -"@walletconnect/modal-ui@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.5.tgz#f2ab96ab72f0f1325252224560ec610b73d1684c" - integrity sha512-g0LJ/gRhZ5E30gk4GnMpDlQzLFWyRjsJp57s9rZmlVkry5mfhCZ3Oh0mfgv2/ILVxdB4fUo1BjatKyOpSogOmg== - dependencies: - "@walletconnect/modal-core" "2.5.5" - lit "2.7.5" - motion "10.16.2" - qrcode "1.5.3" - -"@walletconnect/modal@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.4.tgz#66659051f9c0f35c151d3a8d940f8c64d42fab74" - integrity sha512-JAKMcCd4JQvSEr7pNitg3OBke4DN1JyaQ7bdi3x4T7oLgOr9Y88qdkeOXko/0aJonDHJsM88hZ10POQWmKfEMA== - dependencies: - "@walletconnect/modal-core" "2.5.4" - "@walletconnect/modal-ui" "2.5.4" - -"@walletconnect/modal@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.5.tgz#703eb076af4442dcd14a3b0b87863f17283f6514" - integrity sha512-y1PH1xXzFDtVZErfQErPPJzPU9DKLp4M0IEaza8LfegqHfTFaGa0s3AL+i5+7FIk9+5OHSv0Wv+e5tmSZt96yA== +"@walletconnect/modal@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.9.tgz#28840f2a46bcd0a47c5fda60d18a5f1607a92a72" + integrity sha512-Zs2RvPwbBNRdBhb50FuJCxi3FJltt1KSpI7odjU/x9GTpTOcSOkmR66PBCy2JvNA0+ztnS1Xs0LVEr3lu7/Jzw== dependencies: - "@walletconnect/modal-core" "2.5.5" - "@walletconnect/modal-ui" "2.5.5" + "@walletconnect/modal-core" "2.5.9" + "@walletconnect/modal-ui" "2.5.9" "@walletconnect/qrcode-modal@^1.8.0": version "1.8.0" @@ -3738,19 +3712,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.4.tgz#35e7cfe9442c65d7f667a7c20f1a5ee7e2a6e576" - integrity sha512-eRvWtKBAgzo/rbIkw+rkKco2ulSW8Wor/58UsOBsl9DKr1rIazZd4ZcUdaTjg9q8AT1476IQakCAIuv+1FvJwQ== +"@walletconnect/sign-client@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.6.tgz#7c83fa769d0403efd05172c72bd6b5f678e67a69" + integrity sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ== dependencies: - "@walletconnect/core" "2.8.4" + "@walletconnect/core" "2.8.6" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" "@walletconnect/socket-transport@^1.8.0": @@ -3781,10 +3755,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.4.tgz#23fad8593b094c7564d72f179e33b1cac9324a88" - integrity sha512-Fgqe87R7rjMOGSvx28YPLTtXM6jj+oUOorx8cE+jEw2PfpWp5myF21aCdaMBR39h0QHij5H1Z0/W9e7gm4oC1Q== +"@walletconnect/types@2.8.6", "@walletconnect/types@^2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.6.tgz#71426144db3fa693170a95f89f5d6e594ab2d901" + integrity sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -3810,25 +3784,25 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/universal-provider@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.4.tgz#7b62a76a7d99ea41c67374da54aaa4f1b4bc1d03" - integrity sha512-JRpOXKIciRMzd03zZxM1WDsYHo/ZS86zZrZ1aCHW1d45ZLP7SbGPRHzZgBY3xrST26yTvWIlRfTUEYn50fzB1g== +"@walletconnect/universal-provider@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.6.tgz#f23640147f184c9a794a595db2d4f7b782ffdbfa" + integrity sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.8.4" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/sign-client" "2.8.6" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" -"@walletconnect/utils@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.4.tgz#8dbd3beaef39388be2398145a5f9a061a0317518" - integrity sha512-NGw6BINYNeT9JrQrnxldAPheO2ymRrwGrgfExZMyrkb1MShnIX4nzo4KirKInM4LtrY6AA/v0Lu3ooUdfO+xIg== +"@walletconnect/utils@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.6.tgz#8a4f6b19525e33822f8da1aa94c4eef21482eeda" + integrity sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -3838,7 +3812,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" + "@walletconnect/types" "2.8.6" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" From 5f762dc5ebd358f6cbce5c659d5e2596f823a127 Mon Sep 17 00:00:00 2001 From: lewejahlil Date: Wed, 5 Jul 2023 17:07:07 -0500 Subject: [PATCH 3/7] Update issue-to-notion.yml Adds "Github" to Flag property on new issue creation --- .github/workflows/issue-to-notion.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-to-notion.yml b/.github/workflows/issue-to-notion.yml index a1ada2c06..0b8fe3a17 100644 --- a/.github/workflows/issue-to-notion.yml +++ b/.github/workflows/issue-to-notion.yml @@ -21,7 +21,7 @@ jobs: STATE: ${{ github.event.issue.state }} ISSUE_URL: ${{ github.event.issue.html_url }} TITLE: ${{ github.event.issue.title }} - FLAG: Next Sprint + FLAG: Next Sprint,Github DATABASE_NAME: Product STATUS: Backlog # Product Work Board From 51921a06cc495de039b2cec93b508f9567faae3a Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 7 Jul 2023 08:36:34 -0600 Subject: [PATCH 4/7] Update : latest WC packages - ethereum-provider: 2.9.0 (walletconnect, Ledger, UAuth), Add BitKeep external URL, Fix Frame Icon (#1810) * Update to latest WC packages - ethereum-provider: 2.9.0 * Add Bitkeep external URL and fix Frame icon with height * Update WC deps --- docs/package.json | 6 +- docs/src/lib/services/onboard.js | 6 +- docs/yarn.lock | 167 ++++++++++++--------------- packages/demo/package.json | 6 +- packages/injected/package.json | 2 +- packages/injected/src/icons/frame.ts | 2 +- packages/injected/src/types.ts | 1 + packages/injected/src/wallets.ts | 3 +- packages/ledger/package.json | 4 +- packages/uauth/package.json | 4 +- packages/uauth/src/index.ts | 3 +- packages/walletconnect/package.json | 4 +- packages/walletconnect/src/v2.ts | 4 +- yarn.lock | 84 +++++++------- 14 files changed, 139 insertions(+), 157 deletions(-) diff --git a/docs/package.json b/docs/package.json index f4e7a1dce..fde96340d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -64,7 +64,7 @@ "@web3-onboard/injected-wallets": "^2.10.1", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.1-alpha.1", + "@web3-onboard/ledger": "^2.5.1-alpha.2", "@web3-onboard/magic": "^2.1.7", "@web3-onboard/mew-wallet": "^2.0.4", "@web3-onboard/phantom": "^2.0.2", @@ -75,9 +75,9 @@ "@web3-onboard/transaction-preview": "^2.0.8", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.4", - "@web3-onboard/uauth": "^2.1.1-alpha.1", + "@web3-onboard/uauth": "^2.1.1-alpha.2", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.1-alpha.1", + "@web3-onboard/walletconnect": "^2.4.1-alpha.2", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.4", "@web3-onboard/zeal": "^2.0.4", diff --git a/docs/src/lib/services/onboard.js b/docs/src/lib/services/onboard.js index 5add06148..0dce4bf38 100644 --- a/docs/src/lib/services/onboard.js +++ b/docs/src/lib/services/onboard.js @@ -62,10 +62,12 @@ const intiOnboard = async (theme) => { const coinbase = coinbaseModule() const dcent = dcentModule() const walletConnect = walletConnectModule({ - version: 2, projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5' }) - const ledger = ledgerModule({ projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5' }) + const ledger = ledgerModule({ + walletConnectVersion: 2, + projectId: 'f6bd6e2911b56f5ac3bc8b2d0e2d7ad5' + }) const keystone = keystoneModule() const keepkey = keepkeyModule() const gnosis = gnosisModule() diff --git a/docs/yarn.lock b/docs/yarn.lock index 3a980dbcf..c193b411a 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4026,10 +4026,10 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.4.tgz#fc207c8fa35a53e30012b0c85b6ca933cec7d955" - integrity sha512-3CQHud4As0kPRvlW1w/wSWS2F3yXlAo5kSEJyRWLRPqXG+aSCVWM8cVM8ch5yoeyNIfOHhEINdsYMuJG1+yIJQ== +"@walletconnect/core@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.6.tgz#1db6acae36437dbe7357be7767f1faeda5d4ca6c" + integrity sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" @@ -4042,8 +4042,8 @@ "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -4085,19 +4085,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.4.tgz#c627c237b479194efc542b8475596bae12fde52d" - integrity sha512-z7Yz4w8t3eEFv8vQ8DLCgDWPah2aIIyC0iQdwhXgJenQTVuz7JJZRrJUUntzudipHK/owA394c1qTPF0rsMSeQ== +"@walletconnect/ethereum-provider@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.6.tgz#c9321aa89ce0a5fdc6bacb562c63bb33de88f412" + integrity sha512-wUvJEsXTLmMihrOhQxAs1k9hrWEOT03QBn54P9r9GpJbJ1zEfIjQaXFfi8uup6gldhH+vN38PsbOiLyv/6d3qQ== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/sign-client" "2.8.4" - "@walletconnect/types" "2.8.4" - "@walletconnect/universal-provider" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/sign-client" "2.8.6" + "@walletconnect/types" "2.8.6" + "@walletconnect/universal-provider" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -4218,57 +4218,31 @@ resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== -"@walletconnect/modal-core@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.4.tgz#7d739a90a9cf103067eea46507ea649e8dada436" - integrity sha512-ISe4LqmEDFU7b6rLgonqaEtMXzG6ko13HA7S8Ty3d7GgfAEe29LM1dq3zo8ehEOghhofhj1PiiNfvaogZKzT1g== +"@walletconnect/modal-core@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.9.tgz#45e0c25320d42855aaac39e6ba256a84f972b871" + integrity sha512-isIebwF9hOknGouhS/Ob4YJ9Sa/tqNYG2v6Ua9EkCqIoLimepkG5eC53tslUWW29SLSfQ9qqBNG2+iE7yQXqgw== dependencies: buffer "6.0.3" valtio "1.10.6" -"@walletconnect/modal-core@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.5.5.tgz#dc2ee96b1dd7cd9a1dc5e276c46068ee6349616a" - integrity sha512-M2BKcI5aqnGfMAz+MgTsvnTRzD25uz9YJ3/xuzy+ovgFCl2VCGH2Vdrf6Ptu+UR6UMuPdssG1TXXe1rd907Dxw== +"@walletconnect/modal-ui@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.9.tgz#4d07f1697147ec9f75d85d93f564cadae05a5e59" + integrity sha512-nfBaAT9Ls7RZTBBgAq+Nt/3AoUcinIJ9bcq5UHXTV3lOPu/qCKmUC/0HY3GvUK8ykabUAsjr0OAGmcqkB91qug== dependencies: - buffer "6.0.3" - valtio "1.10.6" - -"@walletconnect/modal-ui@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.4.tgz#0433fb0226dd47e17fede620c5a5ff332baed155" - integrity sha512-5qLLjwbE3YC4AsCVhf8J87otklkApcQ5DCMykOcS0APPv8lKQ46JxpQhfWwRYaUkuIiHonI9h1YxFARDkoaI9g== - dependencies: - "@walletconnect/modal-core" "2.5.4" + "@walletconnect/modal-core" "2.5.9" lit "2.7.5" motion "10.16.2" qrcode "1.5.3" -"@walletconnect/modal-ui@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.5.5.tgz#f2ab96ab72f0f1325252224560ec610b73d1684c" - integrity sha512-g0LJ/gRhZ5E30gk4GnMpDlQzLFWyRjsJp57s9rZmlVkry5mfhCZ3Oh0mfgv2/ILVxdB4fUo1BjatKyOpSogOmg== +"@walletconnect/modal@2.5.9": + version "2.5.9" + resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.9.tgz#28840f2a46bcd0a47c5fda60d18a5f1607a92a72" + integrity sha512-Zs2RvPwbBNRdBhb50FuJCxi3FJltt1KSpI7odjU/x9GTpTOcSOkmR66PBCy2JvNA0+ztnS1Xs0LVEr3lu7/Jzw== dependencies: - "@walletconnect/modal-core" "2.5.5" - lit "2.7.5" - motion "10.16.2" - qrcode "1.5.3" - -"@walletconnect/modal@2.5.4": - version "2.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.4.tgz#66659051f9c0f35c151d3a8d940f8c64d42fab74" - integrity sha512-JAKMcCd4JQvSEr7pNitg3OBke4DN1JyaQ7bdi3x4T7oLgOr9Y88qdkeOXko/0aJonDHJsM88hZ10POQWmKfEMA== - dependencies: - "@walletconnect/modal-core" "2.5.4" - "@walletconnect/modal-ui" "2.5.4" - -"@walletconnect/modal@2.5.5": - version "2.5.5" - resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.5.tgz#703eb076af4442dcd14a3b0b87863f17283f6514" - integrity sha512-y1PH1xXzFDtVZErfQErPPJzPU9DKLp4M0IEaza8LfegqHfTFaGa0s3AL+i5+7FIk9+5OHSv0Wv+e5tmSZt96yA== - dependencies: - "@walletconnect/modal-core" "2.5.5" - "@walletconnect/modal-ui" "2.5.5" + "@walletconnect/modal-core" "2.5.9" + "@walletconnect/modal-ui" "2.5.9" "@walletconnect/qrcode-modal@^1.8.0": version "1.8.0" @@ -4324,19 +4298,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.4.tgz#35e7cfe9442c65d7f667a7c20f1a5ee7e2a6e576" - integrity sha512-eRvWtKBAgzo/rbIkw+rkKco2ulSW8Wor/58UsOBsl9DKr1rIazZd4ZcUdaTjg9q8AT1476IQakCAIuv+1FvJwQ== +"@walletconnect/sign-client@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.6.tgz#7c83fa769d0403efd05172c72bd6b5f678e67a69" + integrity sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ== dependencies: - "@walletconnect/core" "2.8.4" + "@walletconnect/core" "2.8.6" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" "@walletconnect/socket-transport@^1.8.0": @@ -4367,10 +4341,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.4.tgz#23fad8593b094c7564d72f179e33b1cac9324a88" - integrity sha512-Fgqe87R7rjMOGSvx28YPLTtXM6jj+oUOorx8cE+jEw2PfpWp5myF21aCdaMBR39h0QHij5H1Z0/W9e7gm4oC1Q== +"@walletconnect/types@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.6.tgz#71426144db3fa693170a95f89f5d6e594ab2d901" + integrity sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -4384,25 +4358,25 @@ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== -"@walletconnect/universal-provider@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.4.tgz#7b62a76a7d99ea41c67374da54aaa4f1b4bc1d03" - integrity sha512-JRpOXKIciRMzd03zZxM1WDsYHo/ZS86zZrZ1aCHW1d45ZLP7SbGPRHzZgBY3xrST26yTvWIlRfTUEYn50fzB1g== +"@walletconnect/universal-provider@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.6.tgz#f23640147f184c9a794a595db2d4f7b782ffdbfa" + integrity sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.8.4" - "@walletconnect/types" "2.8.4" - "@walletconnect/utils" "2.8.4" + "@walletconnect/sign-client" "2.8.6" + "@walletconnect/types" "2.8.6" + "@walletconnect/utils" "2.8.6" events "^3.3.0" -"@walletconnect/utils@2.8.4": - version "2.8.4" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.4.tgz#8dbd3beaef39388be2398145a5f9a061a0317518" - integrity sha512-NGw6BINYNeT9JrQrnxldAPheO2ymRrwGrgfExZMyrkb1MShnIX4nzo4KirKInM4LtrY6AA/v0Lu3ooUdfO+xIg== +"@walletconnect/utils@2.8.6": + version "2.8.6" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.6.tgz#8a4f6b19525e33822f8da1aa94c4eef21482eeda" + integrity sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -4412,7 +4386,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.4" + "@walletconnect/types" "2.8.6" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" @@ -4641,15 +4615,16 @@ "@web3-onboard/common" "^2.3.3" "@web3-onboard/hw-common" "^2.3.0" -"@web3-onboard/ledger@^2.5.0": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.0.tgz#0ed29ece757706caa88a352ef33e63f9b2a0fedb" - integrity sha512-hMgQk/mX+/Ed6T18eEBPy3i8QgN9JYr2brplWRssRLX+pTGtic57CchkxvLRpgm4Qpz5YQyX3IuyoIILwfUjzA== +"@web3-onboard/ledger@^2.5.1-alpha.1": + version "2.5.1-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.1-alpha.1.tgz#d3bf0b9d594bf3167d6d5912e79b707dac2a7cbe" + integrity sha512-f9XOOe0wWW6UNm0Keejb4oEQcghF7c4xWHDEbKzY55PonHZwy6R7XW4obDEjCPAVX7pf6lVRzKDryFH8kZ5FdA== dependencies: + "@ethersproject/providers" "5.5.0" "@ledgerhq/connect-kit-loader" "^1.1.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.4" - "@walletconnect/modal" "2.5.4" + "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/modal" "2.5.9" "@web3-onboard/common" "^2.3.3" rxjs "^7.5.2" @@ -4746,16 +4721,16 @@ dependencies: "@web3-onboard/common" "^2.3.3" -"@web3-onboard/uauth@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.0.tgz#f17dcad227e5ee57e12c539873ce3c7680968e9e" - integrity sha512-havy9Kj3sJs/q1EYSKRujaXr0StWQF3zYM9nBkynOVycQyOCcb12w//hceVnBNEf9GjVNXO9j5ssz8fSzMmSHw== +"@web3-onboard/uauth@^2.1.1-alpha.1": + version "2.1.1-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.1-alpha.1.tgz#38c00688f5604e23c8158ba2f74c07be618c58f3" + integrity sha512-K5sNDLpjSUZXJLQBKVbxPRQIlQYpUBrG4iaZzozvxws055pcqLu2h/sS/xSwcSAwnM77VUvWMflnGTnbjPFXHg== dependencies: "@ethersproject/providers" "^5.5.0" "@uauth/js" "^2.4.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.4" - "@walletconnect/modal" "2.5.5" + "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/modal" "2.5.9" "@walletconnect/qrcode-modal" "^1.8.0" "@web3-onboard/common" "^2.3.3" joi "17.9.1" @@ -4769,15 +4744,15 @@ "@venly/web3-provider" "^3.1.1" "@web3-onboard/common" "^2.3.1" -"@web3-onboard/walletconnect@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.0.tgz#fe446706cde736ca629c56c190bc9b314eaa70b3" - integrity sha512-Qu3uHWsumOedHDzwqOoUrA40rNO0C6Sgw62XeIxSC+JsIB2K4Y5rXhTbMeYtO0lmWmHA8DYXxk8czYkdMZh19Q== +"@web3-onboard/walletconnect@^2.4.1-alpha.1": + version "2.4.1-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.1-alpha.1.tgz#175adb9f2ac4e5c2b1f8eef6138241f5a38e5d08" + integrity sha512-fiK+6hSQJWwPUFw6Jl/SsX8ncyf3sU4j/O4h400CzJm2IqSflrcEh2VVhcgJ/12wxfudj14tXTElhulM3dAIHw== dependencies: "@ethersproject/providers" "5.5.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.4" - "@walletconnect/modal" "2.5.5" + "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/modal" "2.5.9" "@walletconnect/qrcode-modal" "^1.8.0" "@web3-onboard/common" "^2.3.3" rxjs "^7.5.2" diff --git a/packages/demo/package.json b/packages/demo/package.json index 06da2128f..3a49d6397 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -36,10 +36,10 @@ "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.1.9", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.10.1", + "@web3-onboard/injected-wallets": "^2.10.2-alpha.1", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.1-alpha.1", + "@web3-onboard/ledger": "^2.5.1-alpha.2", "@web3-onboard/magic": "^2.1.6", "@web3-onboard/mew-wallet": "^2.0.3", "@web3-onboard/phantom": "^2.0.3-alpha.1", @@ -50,7 +50,7 @@ "@web3-onboard/transaction-preview": "^2.0.7", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.3", - "@web3-onboard/uauth": "^2.1.1-alpha.1", + "@web3-onboard/uauth": "^2.1.1-alpha.2", "@web3-onboard/venly": "^2.0.0", "@web3-onboard/walletconnect": "^2.4.1-alpha.1", "@web3-onboard/web3auth": "^2.2.2", diff --git a/packages/injected/package.json b/packages/injected/package.json index 2e191f3bf..06a3337f4 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.1", + "version": "2.10.2-alpha.1", "description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/injected/src/icons/frame.ts b/packages/injected/src/icons/frame.ts index aa34759eb..903100944 100644 --- a/packages/injected/src/icons/frame.ts +++ b/packages/injected/src/icons/frame.ts @@ -1,4 +1,4 @@ export default ` - + ` diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index b38bb30e7..8e1847610 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -77,6 +77,7 @@ export enum ProviderIdentityFlag { */ export enum ProviderExternalUrl { Binance = 'https://www.bnbchain.org/ru/blog/binance-extension-wallet/', + BitKeep = 'https://bitkeep.com/en/download?type=0', Coinbase = 'https://www.coinbase.com/wallet/downloads', MetaMask = 'https://metamask.io/download/', OKXWallet = 'https://okx.com/download', diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index 568819c40..9899db2cc 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -607,7 +607,8 @@ const bitkeep: InjectedWalletModule = { getInterface: async () => ({ provider: window.bitkeep && window.bitkeep.ethereum }), - platforms: ['all'] + platforms: ['all'], + externalUrl: ProviderExternalUrl.BitKeep } const sequence: InjectedWalletModule = { diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 0049424bf..328f765db 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.5.1-alpha.1", + "version": "2.5.1-alpha.2", "description": "Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,7 +62,7 @@ "@ethersproject/providers": "5.5.0", "@ledgerhq/connect-kit-loader": "^1.1.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/ethereum-provider": "2.9.0", "@walletconnect/modal": "2.5.9", "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2" diff --git a/packages/uauth/package.json b/packages/uauth/package.json index 0ba8ea6f5..a915ab45e 100644 --- a/packages/uauth/package.json +++ b/packages/uauth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/uauth", - "version": "2.1.1-alpha.1", + "version": "2.1.1-alpha.2", "description": "Unstoppable Domains module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -65,7 +65,7 @@ "@uauth/js": "^2.4.0", "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/ethereum-provider": "2.9.0", "@walletconnect/modal": "2.5.9", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", diff --git a/packages/uauth/src/index.ts b/packages/uauth/src/index.ts index 3ddc8b2b9..4e53e0b7f 100644 --- a/packages/uauth/src/index.ts +++ b/packages/uauth/src/index.ts @@ -3,6 +3,7 @@ import type { UserInfo } from '@uauth/js' import type { UauthInitOptions } from './types.js' import type { CoreTypes } from '@walletconnect/types' import type { EthereumProvider } from '@walletconnect/ethereum-provider' +import type { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider' import type { JQueryStyleEventEmitter } from 'rxjs/internal/observable/fromEvent' import type { Chain, @@ -182,7 +183,7 @@ function uauth(options: UauthInitOptions): WalletInit { return rpcMap }, {}), metadata: getMetaData() - }) + } as EthereumProviderOptions) const emitter = new EventEmitter() class EthProvider { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index d24e9ac0d..9ea1cb2cd 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -56,12 +56,12 @@ "license": "MIT", "devDependencies": { "typescript": "^4.5.5", - "@walletconnect/types": "^2.8.6" + "@walletconnect/types": "^2.9.0" }, "dependencies": { "@ethersproject/providers": "5.5.0", "@walletconnect/client": "^1.8.0", - "@walletconnect/ethereum-provider": "2.8.6", + "@walletconnect/ethereum-provider": "2.9.0", "@walletconnect/modal":"2.5.9", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", diff --git a/packages/walletconnect/src/v2.ts b/packages/walletconnect/src/v2.ts index 29bb38d3e..f31397753 100644 --- a/packages/walletconnect/src/v2.ts +++ b/packages/walletconnect/src/v2.ts @@ -1,5 +1,7 @@ import type { CoreTypes } from '@walletconnect/types' import type { EthereumProvider } from '@walletconnect/ethereum-provider' +import type { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider' + import type { Chain, ProviderAccounts, @@ -111,7 +113,7 @@ function walletConnect(options: WalletConnectOptions): WalletInit { }, {}), metadata: getMetaData(), qrModalOptions: qrModalOptions - }) + } as EthereumProviderOptions) const emitter = new EventEmitter() class EthProvider { diff --git a/yarn.lock b/yarn.lock index 30920426d..10d08a1f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3413,24 +3413,24 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.6.tgz#1db6acae36437dbe7357be7767f1faeda5d4ca6c" - integrity sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg== +"@walletconnect/core@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.9.0.tgz#7837a5d015a22b48d35b987bcde2aa9ccdf300d8" + integrity sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "1.0.3" "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/jsonrpc-ws-connection" "^1.0.11" + "@walletconnect/jsonrpc-ws-connection" "1.0.12" "@walletconnect/keyvaluestorage" "^1.0.2" "@walletconnect/logger" "^2.0.1" "@walletconnect/relay-api" "^1.0.9" "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -3475,19 +3475,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.6.tgz#c9321aa89ce0a5fdc6bacb562c63bb33de88f412" - integrity sha512-wUvJEsXTLmMihrOhQxAs1k9hrWEOT03QBn54P9r9GpJbJ1zEfIjQaXFfi8uup6gldhH+vN38PsbOiLyv/6d3qQ== +"@walletconnect/ethereum-provider@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.9.0.tgz#aa6e9e441678c824af8f744c50dafd604f19d69e" + integrity sha512-rSXkC0SXMigJRdIi/M2RMuEuATY1AwtlTWQBnqyxoht7xbO2bQNPCXn0XL4s/GRNrSUtoKSY4aPMHXV4W4yLBA== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/sign-client" "2.8.6" - "@walletconnect/types" "2.8.6" - "@walletconnect/universal-provider" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/sign-client" "2.9.0" + "@walletconnect/types" "2.9.0" + "@walletconnect/universal-provider" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -3587,10 +3587,10 @@ "@walletconnect/jsonrpc-types" "^1.0.2" tslib "1.14.1" -"@walletconnect/jsonrpc-ws-connection@^1.0.11": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.11.tgz#1ce59d86f273d576ca73385961303ebd44dd923f" - integrity sha512-TiFJ6saasKXD+PwGkm5ZGSw0837nc6EeFmurSPgIT/NofnOV4Tv7CVJqGQN0rQYoJUSYu21cwHNYaFkzNpUN+w== +"@walletconnect/jsonrpc-ws-connection@1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8" + integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.2" @@ -3712,19 +3712,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.6.tgz#7c83fa769d0403efd05172c72bd6b5f678e67a69" - integrity sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ== +"@walletconnect/sign-client@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.9.0.tgz#fd3b0acb68bc8d56350f01ed70f8c6326e6e89fa" + integrity sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA== dependencies: - "@walletconnect/core" "2.8.6" + "@walletconnect/core" "2.9.0" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" "@walletconnect/socket-transport@^1.8.0": @@ -3755,10 +3755,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.8.6", "@walletconnect/types@^2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.6.tgz#71426144db3fa693170a95f89f5d6e594ab2d901" - integrity sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw== +"@walletconnect/types@2.9.0", "@walletconnect/types@^2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.9.0.tgz#6e5dfdc7212c1ec4ab49a1ec409c743e16093f72" + integrity sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -3784,25 +3784,25 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/universal-provider@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.6.tgz#f23640147f184c9a794a595db2d4f7b782ffdbfa" - integrity sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w== +"@walletconnect/universal-provider@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.9.0.tgz#a6b4a1f099262536e17b5c25bf7b3c89db9945a8" + integrity sha512-k3nkSBkF69sJJVoe17IVoPtnhp/sgaa2t+x7BvA/BKeMxE0DGdtRJdEXotTc8DBmI7o2tkq6l8+HyFBGjQ/CjQ== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.8.6" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/sign-client" "2.9.0" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" -"@walletconnect/utils@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.6.tgz#8a4f6b19525e33822f8da1aa94c4eef21482eeda" - integrity sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg== +"@walletconnect/utils@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.9.0.tgz#c73925edb9fefe79021bcf028e957028f986b728" + integrity sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -3812,7 +3812,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" + "@walletconnect/types" "2.9.0" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" From f43319d790c62f610a1aa3b318b517ce8b1421d6 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 7 Jul 2023 08:43:54 -0600 Subject: [PATCH 5/7] Bump missing wc version (#1811) --- packages/demo/package.json | 2 +- packages/walletconnect/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/demo/package.json b/packages/demo/package.json index 3a49d6397..5bd25f397 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -52,7 +52,7 @@ "@web3-onboard/trust": "^2.0.3", "@web3-onboard/uauth": "^2.1.1-alpha.2", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.1-alpha.1", + "@web3-onboard/walletconnect": "^2.4.1-alpha.2", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.3", "@web3-onboard/zeal": "^2.0.3", diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 9ea1cb2cd..6caf580b9 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.4.1-alpha.1", + "version": "2.4.1-alpha.2", "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", From ce6cc59fb1d73a24fc021adb99fcdb653f4d2e10 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 7 Jul 2023 08:48:27 -0600 Subject: [PATCH 6/7] Remove alpha flags for release --- docs/yarn.lock | 114 ++++++++++++++-------------- package.json | 2 +- packages/injected/package.json | 2 +- packages/ledger/package.json | 2 +- packages/phantom/package.json | 2 +- packages/uauth/package.json | 2 +- packages/walletconnect/package.json | 2 +- 7 files changed, 63 insertions(+), 63 deletions(-) diff --git a/docs/yarn.lock b/docs/yarn.lock index c193b411a..afb84f877 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4026,24 +4026,24 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.6.tgz#1db6acae36437dbe7357be7767f1faeda5d4ca6c" - integrity sha512-rnSqm1KJLcww/v6+UH8JeibQkJ3EKgyUDPfEK0stSEkrIUIcXaFlq3Et8S+vgV8bPhI0MVUhAhFL5OJZ3t2ryg== +"@walletconnect/core@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.9.0.tgz#7837a5d015a22b48d35b987bcde2aa9ccdf300d8" + integrity sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "1.0.3" "@walletconnect/jsonrpc-utils" "1.0.8" - "@walletconnect/jsonrpc-ws-connection" "^1.0.11" + "@walletconnect/jsonrpc-ws-connection" "1.0.12" "@walletconnect/keyvaluestorage" "^1.0.2" "@walletconnect/logger" "^2.0.1" "@walletconnect/relay-api" "^1.0.9" "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -4085,19 +4085,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.6.tgz#c9321aa89ce0a5fdc6bacb562c63bb33de88f412" - integrity sha512-wUvJEsXTLmMihrOhQxAs1k9hrWEOT03QBn54P9r9GpJbJ1zEfIjQaXFfi8uup6gldhH+vN38PsbOiLyv/6d3qQ== +"@walletconnect/ethereum-provider@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.9.0.tgz#aa6e9e441678c824af8f744c50dafd604f19d69e" + integrity sha512-rSXkC0SXMigJRdIi/M2RMuEuATY1AwtlTWQBnqyxoht7xbO2bQNPCXn0XL4s/GRNrSUtoKSY4aPMHXV4W4yLBA== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/sign-client" "2.8.6" - "@walletconnect/types" "2.8.6" - "@walletconnect/universal-provider" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/sign-client" "2.9.0" + "@walletconnect/types" "2.9.0" + "@walletconnect/universal-provider" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -4179,10 +4179,10 @@ "@walletconnect/jsonrpc-types" "^1.0.2" tslib "1.14.1" -"@walletconnect/jsonrpc-ws-connection@^1.0.11": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.11.tgz#1ce59d86f273d576ca73385961303ebd44dd923f" - integrity sha512-TiFJ6saasKXD+PwGkm5ZGSw0837nc6EeFmurSPgIT/NofnOV4Tv7CVJqGQN0rQYoJUSYu21cwHNYaFkzNpUN+w== +"@walletconnect/jsonrpc-ws-connection@1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8" + integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.6" "@walletconnect/safe-json" "^1.0.2" @@ -4298,19 +4298,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.6.tgz#7c83fa769d0403efd05172c72bd6b5f678e67a69" - integrity sha512-rOFTKTHP7oJfXgYHX7+SdB8VbcsEE3ZFG/bMdmZboWaBim1mrY3vUyDdKrNr0VgI3AwBiEQezQDfKxBX0pMSQQ== +"@walletconnect/sign-client@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.9.0.tgz#fd3b0acb68bc8d56350f01ed70f8c6326e6e89fa" + integrity sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA== dependencies: - "@walletconnect/core" "2.8.6" + "@walletconnect/core" "2.9.0" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" "@walletconnect/socket-transport@^1.8.0": @@ -4341,10 +4341,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.6.tgz#71426144db3fa693170a95f89f5d6e594ab2d901" - integrity sha512-Z/PFa3W1XdxeTcCtdR6lUsFgZfU/69wWJBPyclPwn7cu1+eriuCr6XZXQpJjib3flU+HnwHiXeUuqZaheehPxw== +"@walletconnect/types@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.9.0.tgz#6e5dfdc7212c1ec4ab49a1ec409c743e16093f72" + integrity sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -4358,25 +4358,25 @@ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== -"@walletconnect/universal-provider@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.6.tgz#f23640147f184c9a794a595db2d4f7b782ffdbfa" - integrity sha512-ln1RVv8+oHu9enOJ/oVkjiarneB+4vJCk16znOklIN2JtDHwB8iObDHlQH3UE6ynNTw1iRvaGuPR4g+YdIfB6w== +"@walletconnect/universal-provider@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.9.0.tgz#a6b4a1f099262536e17b5c25bf7b3c89db9945a8" + integrity sha512-k3nkSBkF69sJJVoe17IVoPtnhp/sgaa2t+x7BvA/BKeMxE0DGdtRJdEXotTc8DBmI7o2tkq6l8+HyFBGjQ/CjQ== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.8.6" - "@walletconnect/types" "2.8.6" - "@walletconnect/utils" "2.8.6" + "@walletconnect/sign-client" "2.9.0" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" events "^3.3.0" -"@walletconnect/utils@2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.6.tgz#8a4f6b19525e33822f8da1aa94c4eef21482eeda" - integrity sha512-wcy6e5+COYo7tfNnW8YqidnATdJDIW6vDiWWE7A1F78Sl/VflkaevB9cIgyn8eLdxC1SxXgGoeC2oLP90nnHJg== +"@walletconnect/utils@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.9.0.tgz#c73925edb9fefe79021bcf028e957028f986b728" + integrity sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -4386,7 +4386,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.8.6" + "@walletconnect/types" "2.9.0" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" @@ -4615,15 +4615,15 @@ "@web3-onboard/common" "^2.3.3" "@web3-onboard/hw-common" "^2.3.0" -"@web3-onboard/ledger@^2.5.1-alpha.1": - version "2.5.1-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.1-alpha.1.tgz#d3bf0b9d594bf3167d6d5912e79b707dac2a7cbe" - integrity sha512-f9XOOe0wWW6UNm0Keejb4oEQcghF7c4xWHDEbKzY55PonHZwy6R7XW4obDEjCPAVX7pf6lVRzKDryFH8kZ5FdA== +"@web3-onboard/ledger@^2.5.1-alpha.2": + version "2.5.1-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.5.1-alpha.2.tgz#a32acb5ee955eedf3775ea49d52dd9fe639290cb" + integrity sha512-HPcT4Ik18bLwIyb4CVtO2A1AffCKTo+0U3QGZMBzuFGFhJOttxKasiNcVHT5nonY5XkhXnuDVCI2GQwsDX6h9A== dependencies: "@ethersproject/providers" "5.5.0" "@ledgerhq/connect-kit-loader" "^1.1.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/ethereum-provider" "2.9.0" "@walletconnect/modal" "2.5.9" "@web3-onboard/common" "^2.3.3" rxjs "^7.5.2" @@ -4721,15 +4721,15 @@ dependencies: "@web3-onboard/common" "^2.3.3" -"@web3-onboard/uauth@^2.1.1-alpha.1": - version "2.1.1-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.1-alpha.1.tgz#38c00688f5604e23c8158ba2f74c07be618c58f3" - integrity sha512-K5sNDLpjSUZXJLQBKVbxPRQIlQYpUBrG4iaZzozvxws055pcqLu2h/sS/xSwcSAwnM77VUvWMflnGTnbjPFXHg== +"@web3-onboard/uauth@^2.1.1-alpha.2": + version "2.1.1-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.1-alpha.2.tgz#531323f82032390aa504c11e448391af97baaec2" + integrity sha512-7VOyeHNw6b+QLhDjjIi69NFOFcj5hAi+VlvEf9S1ZQYwOYEXDEAx/ELHpEd5dxorzotPw7MdqCP84qI5Qx09uQ== dependencies: "@ethersproject/providers" "^5.5.0" "@uauth/js" "^2.4.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/ethereum-provider" "2.9.0" "@walletconnect/modal" "2.5.9" "@walletconnect/qrcode-modal" "^1.8.0" "@web3-onboard/common" "^2.3.3" @@ -4744,14 +4744,14 @@ "@venly/web3-provider" "^3.1.1" "@web3-onboard/common" "^2.3.1" -"@web3-onboard/walletconnect@^2.4.1-alpha.1": - version "2.4.1-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.1-alpha.1.tgz#175adb9f2ac4e5c2b1f8eef6138241f5a38e5d08" - integrity sha512-fiK+6hSQJWwPUFw6Jl/SsX8ncyf3sU4j/O4h400CzJm2IqSflrcEh2VVhcgJ/12wxfudj14tXTElhulM3dAIHw== +"@web3-onboard/walletconnect@^2.4.1-alpha.2": + version "2.4.1-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.4.1-alpha.2.tgz#45550464de96c5933bcdf3bcb2d9460b4567904b" + integrity sha512-K90QpQHSgEPSx3gCrzos1FIOWOum5IdkYfCLBPWmG9Cmr8/vx2bbEqw3BnJGfkNf5oew5lSLUss0zRlwTLeRpg== dependencies: "@ethersproject/providers" "5.5.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.8.6" + "@walletconnect/ethereum-provider" "2.9.0" "@walletconnect/modal" "2.5.9" "@walletconnect/qrcode-modal" "^1.8.0" "@web3-onboard/common" "^2.3.3" diff --git a/package.json b/package.json index 1a7906b79..0c37ad30a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.24.2", + "version": "2.24.3", "private": true, "workspaces": { "packages": [ diff --git a/packages/injected/package.json b/packages/injected/package.json index 06a3337f4..29e32cb6e 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.2-alpha.1", + "version": "2.10.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", diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 328f765db..6f3ec6956 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.5.1-alpha.2", + "version": "2.5.1", "description": "Ledger hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/phantom/package.json b/packages/phantom/package.json index bb9dcc681..812c2e16c 100644 --- a/packages/phantom/package.json +++ b/packages/phantom/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/phantom", - "version": "2.0.3-alpha.1", + "version": "2.0.3", "description": "Phantom wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/uauth/package.json b/packages/uauth/package.json index a915ab45e..fa31fb7ff 100644 --- a/packages/uauth/package.json +++ b/packages/uauth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/uauth", - "version": "2.1.1-alpha.2", + "version": "2.1.1", "description": "Unstoppable Domains module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 6caf580b9..8e94fa1a1 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.4.1-alpha.2", + "version": "2.4.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", From 83fe1f6e3d02fa051bfefdf381474b2325c39367 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Fri, 7 Jul 2023 08:52:23 -0600 Subject: [PATCH 7/7] Remove alpha flags from docs and demo --- docs/package.json | 10 +++++----- packages/demo/package.json | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/package.json b/docs/package.json index fde96340d..07ad307c3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -61,13 +61,13 @@ "@web3-onboard/gas": "^2.1.8", "@web3-onboard/gnosis": "^2.1.10", "@web3-onboard/infinity-wallet": "^2.0.4", - "@web3-onboard/injected-wallets": "^2.10.1", + "@web3-onboard/injected-wallets": "^2.10.2", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.1-alpha.2", + "@web3-onboard/ledger": "^2.5.1", "@web3-onboard/magic": "^2.1.7", "@web3-onboard/mew-wallet": "^2.0.4", - "@web3-onboard/phantom": "^2.0.2", + "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.7", "@web3-onboard/sequence": "^2.0.8", "@web3-onboard/taho": "^2.0.5", @@ -75,9 +75,9 @@ "@web3-onboard/transaction-preview": "^2.0.8", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.4", - "@web3-onboard/uauth": "^2.1.1-alpha.2", + "@web3-onboard/uauth": "^2.1.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.1-alpha.2", + "@web3-onboard/walletconnect": "^2.4.1", "@web3-onboard/web3auth": "^2.2.3", "@web3-onboard/xdefi": "^2.0.4", "@web3-onboard/zeal": "^2.0.4", diff --git a/packages/demo/package.json b/packages/demo/package.json index 5bd25f397..dce000ed5 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -36,13 +36,13 @@ "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.1.9", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.10.2-alpha.1", + "@web3-onboard/injected-wallets": "^2.10.2", "@web3-onboard/keepkey": "^2.3.7", "@web3-onboard/keystone": "^2.3.7", - "@web3-onboard/ledger": "^2.5.1-alpha.2", + "@web3-onboard/ledger": "^2.5.1", "@web3-onboard/magic": "^2.1.6", "@web3-onboard/mew-wallet": "^2.0.3", - "@web3-onboard/phantom": "^2.0.3-alpha.1", + "@web3-onboard/phantom": "^2.0.3", "@web3-onboard/portis": "^2.1.6", "@web3-onboard/sequence": "^2.0.7", "@web3-onboard/taho": "^2.0.5", @@ -50,9 +50,9 @@ "@web3-onboard/transaction-preview": "^2.0.7", "@web3-onboard/trezor": "^2.4.2", "@web3-onboard/trust": "^2.0.3", - "@web3-onboard/uauth": "^2.1.1-alpha.2", + "@web3-onboard/uauth": "^2.1.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.1-alpha.2", + "@web3-onboard/walletconnect": "^2.4.1", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.3", "@web3-onboard/zeal": "^2.0.3",