From 894d8861fdef2f465c711c134d3c5fbddec8e18c Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 12 Jul 2023 10:35:36 -0600 Subject: [PATCH 1/7] Fix file imports for validation within WC to handle ESM envs (#1833) --- packages/demo/package.json | 2 +- packages/walletconnect/package.json | 4 +-- packages/walletconnect/src/index.ts | 2 +- packages/walletconnect/src/validation.ts | 2 +- yarn.lock | 42 ++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 5 deletions(-) diff --git a/packages/demo/package.json b/packages/demo/package.json index bd04700b4..42ddc391e 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", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.2", + "@web3-onboard/walletconnect": "^2.4.3-alpha.1", "@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 e2d0f0904..3207f86df 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.4.2", + "version": "2.4.3-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", @@ -62,7 +62,7 @@ "@ethersproject/providers": "5.5.0", "@walletconnect/client": "^1.8.0", "@walletconnect/ethereum-provider": "2.9.0", - "@walletconnect/modal":"2.5.9", + "@walletconnect/modal":"2.6.0", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", diff --git a/packages/walletconnect/src/index.ts b/packages/walletconnect/src/index.ts index cbd1a23e8..b4691eebd 100644 --- a/packages/walletconnect/src/index.ts +++ b/packages/walletconnect/src/index.ts @@ -2,7 +2,7 @@ import type { WalletInit } from '@web3-onboard/common' import { EthereumProviderOptions } from '@walletconnect/ethereum-provider/dist/types/EthereumProvider' import v1 from './v1.js' import v2 from './v2.js' -import { validateWCInitOptions } from './validation' +import { validateWCInitOptions } from './validation.js' export type WalletConnectOptions = { /** diff --git a/packages/walletconnect/src/validation.ts b/packages/walletconnect/src/validation.ts index 769ab8d25..9395e2346 100644 --- a/packages/walletconnect/src/validation.ts +++ b/packages/walletconnect/src/validation.ts @@ -1,5 +1,5 @@ import Joi from 'joi' -import type { WalletConnectOptions } from './index' +import type { WalletConnectOptions } from './index.js' const wcOptions = Joi.object({ handleUri: Joi.func().optional(), diff --git a/yarn.lock b/yarn.lock index dbf9e5231..a4d73cbbe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3639,6 +3639,13 @@ buffer "6.0.3" valtio "1.10.6" +"@walletconnect/modal-core@2.6.0": + version "2.6.0" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-core/-/modal-core-2.6.0.tgz#5e77559b8a7718db355b6cad81412137ca5ce7a9" + integrity sha512-95315iaiVlz72W8IWd0gvBGHenS9cbLXwURjbN6wm12KSc6zbQA6u2RO0SRlcwc+dQcNzhwB/ce7TZYLQUVMfw== + dependencies: + valtio "1.10.7" + "@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" @@ -3649,6 +3656,16 @@ motion "10.16.2" qrcode "1.5.3" +"@walletconnect/modal-ui@2.6.0": + version "2.6.0" + resolved "https://registry.yarnpkg.com/@walletconnect/modal-ui/-/modal-ui-2.6.0.tgz#f62b2d3d29d2cf83851f5302e03ed02062eaf9e6" + integrity sha512-A9Eohricm+VYTiUELVfum7AjyhxquWqy8ZhyVWXfm2ucpHnG0lhiY2mdLrqoE9EEW/ql4tmfYltX2ZD9wzTu9A== + dependencies: + "@walletconnect/modal-core" "2.6.0" + lit "2.7.6" + motion "10.16.2" + qrcode "1.5.3" + "@walletconnect/modal@2.5.9": version "2.5.9" resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.5.9.tgz#28840f2a46bcd0a47c5fda60d18a5f1607a92a72" @@ -3657,6 +3674,14 @@ "@walletconnect/modal-core" "2.5.9" "@walletconnect/modal-ui" "2.5.9" +"@walletconnect/modal@2.6.0": + version "2.6.0" + resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.0.tgz#c29b5b6da93e0f5e699a9fd6bb385001a8e4aa4b" + integrity sha512-hV8pfWvUDjanxfXZ7DouyboM+LOcSsJBX3cMsDyNwe0f19W/yIZTUQz9k4DkuIGjEQSUO9zfEX+BAYAeP27uag== + dependencies: + "@walletconnect/modal-core" "2.6.0" + "@walletconnect/modal-ui" "2.6.0" + "@walletconnect/qrcode-modal@^1.8.0": version "1.8.0" resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz#ddd6f5c9b7ee52c16adf9aacec2a3eac4994caea" @@ -8814,6 +8839,15 @@ lit@2.7.5: lit-element "^3.3.0" lit-html "^2.7.0" +lit@2.7.6: + version "2.7.6" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.7.6.tgz#810007b876ed43e0c70124de91831921598b1665" + integrity sha512-1amFHA7t4VaaDe+vdQejSVBklwtH9svGoG6/dZi9JhxtJBBlqY5D1RV7iLUYY0trCqQc4NfhYYZilZiVHt7Hxg== + dependencies: + "@lit/reactive-element" "^1.6.0" + lit-element "^3.3.0" + lit-html "^2.7.0" + loader-runner@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.2.0.tgz#d7022380d66d14c5fb1d496b89864ebcfd478384" @@ -12218,6 +12252,14 @@ valtio@1.10.6: proxy-compare "2.5.1" use-sync-external-store "1.2.0" +valtio@1.10.7: + version "1.10.7" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.7.tgz#0843b8bc8382060b3e6a0d31be645c3ef9a7f7dc" + integrity sha512-XUwXJ9twXqwfVhXlcbYlCcRUUSOmp8RcJODVAxPrUZc2jh3com13B49MOL/cbgcTOX+5yf7wdMqbFGR7ba2sPg== + dependencies: + proxy-compare "2.5.1" + use-sync-external-store "1.2.0" + varint@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/varint/-/varint-5.0.0.tgz#d826b89f7490732fabc0c0ed693ed475dcb29ebf" From 2f3fd79ad58713cf408d9d47e68e023ea074371d Mon Sep 17 00:00:00 2001 From: clementjuventin <62065633+clementjuventin@users.noreply.github.com> Date: Thu, 13 Jul 2023 18:26:06 +0200 Subject: [PATCH 2/7] Cede store new implementation (#1804) * feat: cede store new implementation * fix: version fix and changing mocked chain to the existing one * feat: cede-store-provider-upgrade-1.0.3 * fix: remove yarn.lock files * Format and yarn it * Revert deletion of yarn.lock from demo --------- Co-authored-by: Mathieu Co-authored-by: Nikita TEREKHOV Co-authored-by: Adam Carpenter --- docs/package.json | 2 +- packages/cede-store/README.md | 26 ++++---- packages/cede-store/package.json | 4 +- packages/cede-store/src/index.ts | 22 ++++--- packages/cede-store/src/types.ts | 2 +- packages/demo/package.json | 2 +- yarn.lock | 109 ++++++++++++++++++++++++++++--- 7 files changed, 133 insertions(+), 34 deletions(-) diff --git a/docs/package.json b/docs/package.json index 8ee22f7e9..9e2305c84 100644 --- a/docs/package.json +++ b/docs/package.json @@ -50,7 +50,7 @@ "type": "module", "dependencies": { "@web3-onboard/blocto": "^2.0.0", - "@web3-onboard/cede-store": "^2.0.2", + "@web3-onboard/cede-store": "^2.1.0-alpha.1", "@web3-onboard/coinbase": "^2.2.5-alpha.1", "@web3-onboard/core": "^2.20.4", "@web3-onboard/dcent": "^2.2.7", diff --git a/packages/cede-store/README.md b/packages/cede-store/README.md index 9ec42a486..d72ded94e 100644 --- a/packages/cede-store/README.md +++ b/packages/cede-store/README.md @@ -31,14 +31,16 @@ console.log(connectedWallets) ## Vault management -Vaults allow creating bundles of CEX accounts. The extension connects with CEX through CEX API keys and everything is stored in the Local Storage of the browser, on a mobile or on a Ledger (more coming soon...). We can compare Vaults with the [Keyring concept](https://www.wispwisp.com/index.php/2020/12/25/how-metamask-stores-your-wallet-secret/) of Metamask. +Vaults allow creating bundles of CEX accounts. The extension connects with CEX through CEX API keys and everything is stored in the Local Storage of the browser. Mobile and Ledger storage are coming soon. +We can compare Vaults with the [Keyring concept](https://www.wispwisp.com/index.php/2020/12/25/how-metamask-stores-your-wallet-secret/) of +Metamask. -A user can have multiple vaults with different CEX accounts inside. -This system allows the user to give a dApp custom access to his accounts depending on the degree of trust he has in the dApp in question. +A user can have multiple vaults with different CEX accounts inside. This system allows the user to give a dApp custom +access to his accounts depending on the degree of trust he has in the dApp in question. -Let's say the user has three vaults: a main one with full access (track, trade, withdraw) to all his CEX, one just for tracking and one just for trading. -If the user does not know the reputation of the dApp he is using, the most logical solution would be to give access -only to the tracking vault so the dApp will not be able to initiate trade requests. +Let's say the user has three vaults: a main one with full access (track, trade, withdraw) to all his CEX, one just for +tracking and one just for trading. If the user does not know the reputation of the dApp he is using, the most logical +solution would be to give access only to the tracking vault so the dApp will not be able to initiate trade requests. ## CEX connection @@ -47,17 +49,19 @@ All requests are divided into two categories: - private requests - public requests -All public data, such as prices, volumes, historical data are collected from different exchanges and -provided with our API. +All public data, such as prices, volumes, historical data are collected from different exchanges and streamed in real +time through our API. -All private requests, such as user balances, trades, open positions are coming from cede.store (from the user's machine). +All private requests, such as user balances, trades, open positions are coming from cede.store (from the user's +machine). -You can access both public and private data through the extension's API. cede.store handles all exchanges requests, as well as API keys secure storage. +You can access both public and private data through the extension's API. Cede.store handles all exchanges requests, as +well as API keys secure storage. ## Example of a workflow (fetch user's balances and transactions) ```typescript -// get available vaults and accounts +// Get available vaults and accounts const { vaultPreview } = provider.getVaultPreviews() console.log(vaultPreview) diff --git a/packages/cede-store/package.json b/packages/cede-store/package.json index d58762991..de2869bc9 100644 --- a/packages/cede-store/package.json +++ b/packages/cede-store/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/cede-store", - "version": "2.0.2", + "version": "2.1.0-alpha.1", "description": "cede.store 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", @@ -69,7 +69,7 @@ "window": "^4.2.7" }, "dependencies": { - "@cedelabs/providers": "^0.0.7", + "@cedelabs/providers": "^1.1.0", "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/cede-store/src/index.ts b/packages/cede-store/src/index.ts index 27db6dc8e..9ff9e908c 100644 --- a/packages/cede-store/src/index.ts +++ b/packages/cede-store/src/index.ts @@ -1,8 +1,10 @@ -import { detectCedeProvider } from '@cedelabs/providers' +import { CedeProvider, detectCedeProvider } from '@cedelabs/providers' import type { WalletInit } from '@web3-onboard/common' import { createEIP1193Provider } from '@web3-onboard/common' -import { CustomWindow } from './types' -declare const window: CustomWindow + +type CustomWindow = typeof window & { + cede: CedeProvider +} function cedeStoreWallet(): WalletInit { if (typeof window === 'undefined') return () => null @@ -12,7 +14,7 @@ function cedeStoreWallet(): WalletInit { checkProviderIdentity: () => (window as CustomWindow).cede, getIcon: async () => (await import('./icon.js')).default, getInterface: async () => { - const provider: any = await detectCedeProvider() + const provider = await detectCedeProvider() if (!provider) { window.open('https://cede.store', '_blank') throw new Error('Please, install cede.store to use this wallet') @@ -24,11 +26,11 @@ function cedeStoreWallet(): WalletInit { }) return Promise.resolve({ - provider: createEIP1193Provider(window.cede, { - eth_requestAccounts: async ({ baseRequest }) => { - const accounts = (await baseRequest({ + provider: createEIP1193Provider(provider, { + eth_requestAccounts: async () => { + const accounts = await provider.request({ method: 'connect' - })) as any[] + }) if (!accounts.length) { return [] @@ -36,12 +38,12 @@ function cedeStoreWallet(): WalletInit { const activeVault = accounts.find(account => account.isActive) - return [activeVault?.name || accounts[0].name] as string[] + return [activeVault?.name || accounts[0].name] }, eth_chainId: () => Promise.resolve('0x1'), // cede.store doesn't support chains, but we have to provide a value to complete the connection wallet_switchEthereumChain: null, wallet_addEthereumChain: null, - eth_getBalance: null, + eth_getBalance: () => Promise.resolve('0x0'), eth_selectAccounts: null }) }) diff --git a/packages/cede-store/src/types.ts b/packages/cede-store/src/types.ts index d57e09951..a2ae92e43 100644 --- a/packages/cede-store/src/types.ts +++ b/packages/cede-store/src/types.ts @@ -1,4 +1,4 @@ import type { ExternalProvider } from '@ethersproject/providers' export interface CustomWindow extends Window { cede: ExternalProvider -} \ No newline at end of file +} diff --git a/packages/demo/package.json b/packages/demo/package.json index 42ddc391e..df9763582 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -24,7 +24,7 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/cede-store": "^2.0.2", + "@web3-onboard/cede-store": "^2.1.0-alpha.1", "@web3-onboard/blocto": "2.0.0", "@web3-onboard/coinbase": "^2.2.5", "@web3-onboard/core": "^2.20.4", diff --git a/yarn.lock b/yarn.lock index a4d73cbbe..368dffd6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -382,19 +382,23 @@ web3 "^1.3.1" "@blocto/sdk@^0.4.6": - version "0.4.6" - resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.4.6.tgz#7f18baa33fb9eb0ebc2ad3c00cf3a8d99ff20c9a" - integrity sha512-LekO1+ESAdUvQjOxEVyIhdr47/ZFWZCy9mVGFrIcEd8FsxbO5jScATl+rYpE7gZ0WlPbA03u8irg8eOLGp+gsA== + version "0.4.9" + resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.4.9.tgz#646cfea7737d8e5bb4c57885c0bb26d132185826" + integrity sha512-fscOaN4oux/7ySaNCQtltKLIefcZ7J85TpW/LKgAqfbEniBQ3z6SYxkG8ud6SPJs/camfljr+5hRdvcjTZCgGw== dependencies: bs58 "^5.0.0" buffer "^6.0.3" eip1193-provider "^1.0.1" js-sha3 "^0.8.0" -"@cedelabs/providers@^0.0.7": - version "0.0.7" - resolved "https://registry.yarnpkg.com/@cedelabs/providers/-/providers-0.0.7.tgz#859070c5cf0a86841ce98d32c1599cc8de9b7869" - integrity sha512-rjOcEff5dnuKif+dJmEygCC/mp05oztkFYAmGEcGa1HW9EcVP3id1PTjBEYZLieVBNwJdg4kcl8Jh1dboG8pCA== +"@cedelabs/providers@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@cedelabs/providers/-/providers-1.1.0.tgz#94bb25a7010454c7ca5a486dc9644cbaeb87fada" + integrity sha512-A7r7Y3Ful69yDc674SCA/TxsjzO0zq2+Qlhr01QNnorNSoZdqEpwIfuLKiZD5PUFOAMxC8osTd0swyh+1IkGSg== + dependencies: + "@metamask/providers" "^8.1.1" + "@metamask/safe-event-emitter" "^3.0.0" + json-rpc-engine "^6.1.0" "@chainsafe/as-sha256@^0.3.1": version "0.3.1" @@ -1618,6 +1622,15 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" +"@metamask/object-multiplex@^1.1.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@metamask/object-multiplex/-/object-multiplex-1.2.0.tgz#38fc15c142f61939391e1b9a8eed679696c7e4f4" + integrity sha512-hksV602d3NWE2Q30Mf2Np1WfVKaGqfJRy9vpHAmelbaD0OkDt06/0KQkRR6UVYdMbTbkuEu8xN5JDUU80inGwQ== + dependencies: + end-of-stream "^1.4.4" + once "^1.4.0" + readable-stream "^2.3.3" + "@metamask/obs-store@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@metamask/obs-store/-/obs-store-7.0.0.tgz#6cae5f28306bb3e83a381bc9ae22682316095bd3" @@ -1626,6 +1639,24 @@ "@metamask/safe-event-emitter" "^2.0.0" through2 "^2.0.3" +"@metamask/providers@^8.1.1": + version "8.1.1" + resolved "https://registry.yarnpkg.com/@metamask/providers/-/providers-8.1.1.tgz#7b0dbb54700c949aafba24c9b98e6f4e9d81f325" + integrity sha512-CG1sAuD6Mp4MZ5U90anf1FT0moDbStGXT+80TQFYXJbBeTQjhp321WgC/F2IgIJ3mFqOiByC3MQHLuunEVMQOA== + dependencies: + "@metamask/object-multiplex" "^1.1.0" + "@metamask/safe-event-emitter" "^2.0.0" + "@types/chrome" "^0.0.136" + detect-browser "^5.2.0" + eth-rpc-errors "^4.0.2" + extension-port-stream "^2.0.1" + fast-deep-equal "^2.0.1" + is-stream "^2.0.0" + json-rpc-engine "^6.1.0" + json-rpc-middleware-stream "^3.0.0" + pump "^3.0.0" + webextension-polyfill-ts "^0.25.0" + "@metamask/safe-event-emitter@2.0.0", "@metamask/safe-event-emitter@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" @@ -2801,6 +2832,14 @@ "@types/node" "*" "@types/responselike" "^1.0.0" +"@types/chrome@^0.0.136": + version "0.0.136" + resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.136.tgz#7c011b9f997b0156f25a140188a0c5689d3f368f" + integrity sha512-XDEiRhLkMd+SB7Iw3ZUIj/fov3wLd4HyTdLltVszkgl1dBfc3Rb7oPMVZ2Mz2TLqnF7Ow+StbR8E7r9lqpb4DA== + dependencies: + "@types/filesystem" "*" + "@types/har-format" "*" + "@types/connect-history-api-fallback@^1.3.5": version "1.3.5" resolved "https://registry.yarnpkg.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" @@ -2868,6 +2907,18 @@ "@types/qs" "*" "@types/serve-static" "*" +"@types/filesystem@*": + version "0.0.32" + resolved "https://registry.yarnpkg.com/@types/filesystem/-/filesystem-0.0.32.tgz#307df7cc084a2293c3c1a31151b178063e0a8edf" + integrity sha512-Yuf4jR5YYMR2DVgwuCiP11s0xuVRyPKmz8vo6HBY3CGdeMj8af93CFZX+T82+VD1+UqHOxTq31lO7MI7lepBtQ== + dependencies: + "@types/filewriter" "*" + +"@types/filewriter@*": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/filewriter/-/filewriter-0.0.29.tgz#a48795ecadf957f6c0d10e0c34af86c098fa5bee" + integrity sha512-BsPXH/irW0ht0Ji6iw/jJaK8Lj3FJemon2gvEqHKpCdDCeemHa+rI3WBGq5z7cDMZgoLjY40oninGxqk+8NzNQ== + "@types/glob-parent@^5.1.1": version "5.1.1" resolved "https://registry.yarnpkg.com/@types/glob-parent/-/glob-parent-5.1.1.tgz#eb83d64824374495437b450d45e24ec53a7ce844" @@ -2881,6 +2932,11 @@ "@types/minimatch" "*" "@types/node" "*" +"@types/har-format@*": + version "1.2.11" + resolved "https://registry.yarnpkg.com/@types/har-format/-/har-format-1.2.11.tgz#26aff34e9c782b2648cc45778abadcd930f7db43" + integrity sha512-T232/TneofqK30AD1LRrrf8KnjLvzrjWDp7eWST5KoiSzrBfRsLrWDPk4STQPW4NZG6v2MltnduBVmakbZOBIQ== + "@types/http-cache-semantics@*": version "4.0.1" resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" @@ -6018,7 +6074,7 @@ detect-browser@5.2.0: resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== -detect-browser@5.3.0: +detect-browser@5.3.0, detect-browser@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== @@ -7248,6 +7304,13 @@ extend@~3.0.2: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== +extension-port-stream@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/extension-port-stream/-/extension-port-stream-2.1.1.tgz#ec11f2a5ed95655d8c40805d7cb0c39939ee9ef4" + integrity sha512-qknp5o5rj2J9CRKfVB8KJr+uXQlrojNZzdESUPhKYLXf97TPcGf6qWWKmpsNNtUyOdzFhab1ON0jzouNxHHvow== + dependencies: + webextension-polyfill ">=0.10.0 <1.0" + extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" @@ -7270,6 +7333,11 @@ fake-merkle-patricia-tree@^1.0.1: dependencies: checkpoint-store "^1.1.0" +fast-deep-equal@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" + integrity sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -8582,6 +8650,14 @@ json-rpc-engine@^5.3.0: eth-rpc-errors "^3.0.0" safe-event-emitter "^1.0.1" +json-rpc-middleware-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-rpc-middleware-stream/-/json-rpc-middleware-stream-3.0.0.tgz#8540331d884f36b9e0ad31054cc68ac6b5a89b52" + integrity sha512-JmZmlehE0xF3swwORpLHny/GvW3MZxCsb2uFNBrn8TOqMqivzCfz232NSDLLOtIQlrPlgyEjiYpyzyOPFOzClw== + dependencies: + "@metamask/safe-event-emitter" "^2.0.0" + readable-stream "^2.3.3" + json-rpc-random-id@^1.0.0, json-rpc-random-id@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz#ba49d96aded1444dbb8da3d203748acbbcdec8c8" @@ -12974,6 +13050,13 @@ web3@^1.3.1: web3-shh "1.10.0" web3-utils "1.10.0" +webextension-polyfill-ts@^0.25.0: + version "0.25.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill-ts/-/webextension-polyfill-ts-0.25.0.tgz#fff041626365dbd0e29c40b197e989a55ec221ca" + integrity sha512-ikQhwwHYkpBu00pFaUzIKY26I6L87DeRI+Q6jBT1daZUNuu8dSrg5U9l/ZbqdaQ1M/TTSPKeAa3kolP5liuedw== + dependencies: + webextension-polyfill "^0.7.0" + webextension-polyfill-ts@^0.26.0: version "0.26.0" resolved "https://registry.yarnpkg.com/webextension-polyfill-ts/-/webextension-polyfill-ts-0.26.0.tgz#80b7063ddaf99abaa1ca73aad0cec09f306612d3" @@ -12981,6 +13064,16 @@ webextension-polyfill-ts@^0.26.0: dependencies: webextension-polyfill "^0.8.0" +"webextension-polyfill@>=0.10.0 <1.0": + version "0.10.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.10.0.tgz#ccb28101c910ba8cf955f7e6a263e662d744dbb8" + integrity sha512-c5s35LgVa5tFaHhrZDnr3FpQpjj1BB+RXhLTYUxGqBVN460HkbM8TBtEqdXWbpTKfzwCcjAZVF7zXCYSKtcp9g== + +webextension-polyfill@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.7.0.tgz#0df1120ff0266056319ce1a622b09ad8d4a56505" + integrity sha512-su48BkMLxqzTTvPSE1eWxKToPS2Tv5DLGxKexLEVpwFd6Po6N8hhSLIvG6acPAg7qERoEaDL+Y5HQJeJeml5Aw== + webextension-polyfill@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.8.0.tgz#f80e9f4b7f81820c420abd6ffbebfa838c60e041" From ddfb620c62202b24adfe41994037d9609a697e0d Mon Sep 17 00:00:00 2001 From: Rony Fragin <98841690+rony-arnac@users.noreply.github.com> Date: Fri, 14 Jul 2023 20:24:33 +0300 Subject: [PATCH 3/7] feat: add Fordefi wallet (#1820) * feat: add Fordefi wallet * fix: remove comma * Update packages/injected/src/types.ts --------- Co-authored-by: Adam Carpenter --- .../docs/[...4]wallets/[...10]injected/+page.md | 1 + packages/injected/package.json | 5 +++-- packages/injected/src/constants.ts | 3 ++- packages/injected/src/icons/fordefi.ts | 3 +++ packages/injected/src/types.ts | 6 ++++-- packages/injected/src/wallets.ts | 15 ++++++++++++++- 6 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 packages/injected/src/icons/fordefi.ts diff --git a/docs/src/routes/docs/[...4]wallets/[...10]injected/+page.md b/docs/src/routes/docs/[...4]wallets/[...10]injected/+page.md index 257a142f7..8442d711f 100644 --- a/docs/src/routes/docs/[...4]wallets/[...10]injected/+page.md +++ b/docs/src/routes/docs/[...4]wallets/[...10]injected/+page.md @@ -335,6 +335,7 @@ const injected = injectedModule({ - Safeheron - _Desktop_ - Talisman - _Desktop_ - OneKey - _Desktop & Mobile_ +- Fordefi - _Desktop_ ## Build Environments diff --git a/packages/injected/package.json b/packages/injected/package.json index 29e32cb6e..f58ca21e3 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.2", + "version": "2.10.3-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", @@ -32,7 +32,8 @@ "Injected Wallet", "GameStop", "Phantom", - "DeFi Wallet" + "DeFi Wallet", + "Fordefi" ], "repository": { "type": "git", diff --git a/packages/injected/src/constants.ts b/packages/injected/src/constants.ts index d757acbca..afbc05dfb 100644 --- a/packages/injected/src/constants.ts +++ b/packages/injected/src/constants.ts @@ -27,5 +27,6 @@ export const WALLET_NAMES: { [key: string]: string } = { defiwallet: 'DeFi Wallet', safeheron: 'Safeheron', talismanEth: 'Talisman', - onekey: 'OneKey' + onekey: 'OneKey', + fordefi: 'Fordefi' } diff --git a/packages/injected/src/icons/fordefi.ts b/packages/injected/src/icons/fordefi.ts new file mode 100644 index 000000000..755408097 --- /dev/null +++ b/packages/injected/src/icons/fordefi.ts @@ -0,0 +1,3 @@ +export default ` + +` diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index 8e1847610..46fe6e25e 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -63,7 +63,8 @@ export enum ProviderIdentityFlag { DeFiWallet = 'isDeficonnectProvider', Safeheron = 'isSafeheron', Talisman = 'isTalisman', - OneKey = 'isOneKey' + OneKey = 'isOneKey', + Fordefi = 'isFordefi' } @@ -138,7 +139,8 @@ export enum ProviderLabel { DeFiWallet = 'DeFi Wallet', Safeheron = 'Safeheron', Talisman = 'Talisman', - OneKey = 'OneKey' + OneKey = 'OneKey', + Fordefi = 'Fordefi', } export interface MeetOneProvider extends ExternalProvider { diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index 9899db2cc..110a0d9a9 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -801,6 +801,18 @@ const onekey: InjectedWalletModule = { externalUrl: ProviderExternalUrl.OneKey } +const fordefi: InjectedWalletModule = { + label: ProviderLabel.Fordefi, + injectedNamespace: InjectedNameSpace.Ethereum, + checkProviderIdentity: ({ provider }) => + !!provider && + !!provider[ProviderIdentityFlag.Fordefi] && + !otherProviderFlagsExist(ProviderIdentityFlag.Fordefi, provider), + getIcon: async () => (await import('./icons/fordefi.js')).default, + getInterface: getInjectedInterface(ProviderIdentityFlag.Fordefi, true), + platforms: ['desktop'] +} + const wallets = [ zeal, exodus, @@ -850,7 +862,8 @@ const wallets = [ infinitywallet, safeheron, talisman, - onekey + onekey, + fordefi ] export default wallets From 8a10e967b247aa0382fff9bcced373141417a93a Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Wed, 19 Jul 2023 16:06:50 -0600 Subject: [PATCH 4/7] Update: Return bn_protect protect btn to update the user's RPC (#1841) * Add back in btn protect btn that was accidentally removed during the AC redesign * Bump core version in docs * Cleanup onboard service in docs * Update frame icon * Bump frame version --- docs/package.json | 4 +- docs/src/lib/services/onboard.js | 1 + .../docs/[...3]modules/[...1]core/+page.md | 8 +- docs/yarn.lock | 397 +++++++++++------- packages/core/README.md | 8 +- packages/core/package.json | 2 +- packages/core/src/types.ts | 8 +- packages/core/src/validation.ts | 1 + .../account-center/AccountCenterPanel.svelte | 255 +++++++---- .../core/src/views/connect/Sidebar.svelte | 33 +- packages/demo/package.json | 4 +- packages/frame/package.json | 2 +- packages/frame/src/icon.ts | 2 +- packages/react/package.json | 4 +- packages/vue/package.json | 4 +- yarn.lock | 9 + 16 files changed, 464 insertions(+), 278 deletions(-) diff --git a/docs/package.json b/docs/package.json index 9e2305c84..724579674 100644 --- a/docs/package.json +++ b/docs/package.json @@ -52,11 +52,11 @@ "@web3-onboard/blocto": "^2.0.0", "@web3-onboard/cede-store": "^2.1.0-alpha.1", "@web3-onboard/coinbase": "^2.2.5-alpha.1", - "@web3-onboard/core": "^2.20.4", + "@web3-onboard/core": "^2.20.5-alpha.1", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.4", "@web3-onboard/fortmatic": "^2.0.19", - "@web3-onboard/frame": "^2.0.1", + "@web3-onboard/frame": "^2.0.2-alpha.1", "@web3-onboard/frontier": "^2.0.4", "@web3-onboard/gas": "^2.1.8", "@web3-onboard/gnosis": "^2.1.10", diff --git a/docs/src/lib/services/onboard.js b/docs/src/lib/services/onboard.js index 23ef95c4b..811c45ce3 100644 --- a/docs/src/lib/services/onboard.js +++ b/docs/src/lib/services/onboard.js @@ -115,6 +115,7 @@ const intiOnboard = async (theme) => { }) return Onboard({ + connect: { autoConnectAllPreviousWallet: true }, wallets: [ injected, walletConnect, diff --git a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md index 4bf355902..d1ed41801 100644 --- a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md @@ -282,9 +282,15 @@ type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Hide the where is my wallet link notice displayed in the connect modal + * Hide the "Where is my wallet?" link notice displayed in the connect modal + * at the bottom of the wallets list */ removeWhereIsMyWalletWarning?: boolean + /** + * Hide the "I don't have a wallet" link displayed + * on the left panel of the connect modal + */ + removeIDontHaveAWalletInfoLink?: boolean /** * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` * package has been added and passed into the web3-onboard initialization diff --git a/docs/yarn.lock b/docs/yarn.lock index 11e383d15..4ad309c66 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -1019,10 +1019,14 @@ eip1193-provider "^1.0.1" js-sha3 "^0.8.0" -"@cedelabs/providers@^0.0.7": - version "0.0.7" - resolved "https://registry.yarnpkg.com/@cedelabs/providers/-/providers-0.0.7.tgz#859070c5cf0a86841ce98d32c1599cc8de9b7869" - integrity sha512-rjOcEff5dnuKif+dJmEygCC/mp05oztkFYAmGEcGa1HW9EcVP3id1PTjBEYZLieVBNwJdg4kcl8Jh1dboG8pCA== +"@cedelabs/providers@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@cedelabs/providers/-/providers-1.1.0.tgz#94bb25a7010454c7ca5a486dc9644cbaeb87fada" + integrity sha512-A7r7Y3Ful69yDc674SCA/TxsjzO0zq2+Qlhr01QNnorNSoZdqEpwIfuLKiZD5PUFOAMxC8osTd0swyh+1IkGSg== + dependencies: + "@metamask/providers" "^8.1.1" + "@metamask/safe-event-emitter" "^3.0.0" + json-rpc-engine "^6.1.0" "@chainsafe/as-sha256@^0.4.1": version "0.4.1" @@ -1269,115 +1273,115 @@ "@docsearch/css" "3.3.4" algoliasearch "^4.0.0" -"@esbuild/android-arm64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz#fa6f0cc7105367cb79cc0a8bf32bf50cb1673e45" - integrity sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw== - -"@esbuild/android-arm@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.11.tgz#ae84a410696c9f549a15be94eaececb860bacacb" - integrity sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q== - -"@esbuild/android-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.11.tgz#0e58360bbc789ad0d68174d32ba20e678c2a16b6" - integrity sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw== - -"@esbuild/darwin-arm64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz#fcdcd2ef76ca656540208afdd84f284072f0d1f9" - integrity sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w== - -"@esbuild/darwin-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz#c5ac602ec0504a8ff81e876bc8a9811e94d69d37" - integrity sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw== - -"@esbuild/freebsd-arm64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz#7012fb06ee3e6e0d5560664a65f3fefbcc46db2e" - integrity sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A== - -"@esbuild/freebsd-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz#c5de1199f70e1f97d5c8fca51afa9bf9a2af5969" - integrity sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q== - -"@esbuild/linux-arm64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz#2a6d3a74e0b8b5f294e22b4515b29f76ebd42660" - integrity sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog== - -"@esbuild/linux-arm@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz#5175bd61b793b436e4aece6328aa0d9be07751e1" - integrity sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg== - -"@esbuild/linux-ia32@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz#20ee6cfd65a398875f321a485e7b2278e5f6f67b" - integrity sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw== - -"@esbuild/linux-loong64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz#8e7b251dede75083bf44508dab5edce3f49d052b" - integrity sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw== - -"@esbuild/linux-mips64el@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz#a3125eb48538ac4932a9d05089b157f94e443165" - integrity sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg== - -"@esbuild/linux-ppc64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz#842abadb7a0995bd539adee2be4d681b68279499" - integrity sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ== - -"@esbuild/linux-riscv64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz#7ce6e6cee1c72d5b4d2f4f8b6fcccf4a9bea0e28" - integrity sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w== - -"@esbuild/linux-s390x@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz#98fbc794363d02ded07d300df2e535650b297b96" - integrity sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg== - -"@esbuild/linux-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz#f8458ec8cf74c8274e4cacd00744d8446cac52eb" - integrity sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA== - -"@esbuild/netbsd-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz#a7b2f991b8293748a7be42eac1c4325faf0c7cca" - integrity sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q== - -"@esbuild/openbsd-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz#3e50923de84c54008f834221130fd23646072b2f" - integrity sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ== - -"@esbuild/sunos-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz#ae47a550b0cd395de03606ecfba03cc96c7c19e2" - integrity sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng== - -"@esbuild/win32-arm64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz#05d364582b7862d7fbf4698ef43644f7346dcfcc" - integrity sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg== - -"@esbuild/win32-ia32@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz#a3372095a4a1939da672156a3c104f8ce85ee616" - integrity sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg== - -"@esbuild/win32-x64@0.18.11": - version "0.18.11" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz#6526c7e1b40d5b9f0a222c6b767c22f6fb97aa57" - integrity sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA== +"@esbuild/android-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz#bafb75234a5d3d1b690e7c2956a599345e84a2fd" + integrity sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA== + +"@esbuild/android-arm@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.19.tgz#5898f7832c2298bc7d0ab53701c57beb74d78b4d" + integrity sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A== + +"@esbuild/android-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.19.tgz#658368ef92067866d95fb268719f98f363d13ae1" + integrity sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww== + +"@esbuild/darwin-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz#584c34c5991b95d4d48d333300b1a4e2ff7be276" + integrity sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg== + +"@esbuild/darwin-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz#7751d236dfe6ce136cce343dce69f52d76b7f6cb" + integrity sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw== + +"@esbuild/freebsd-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz#cacd171665dd1d500f45c167d50c6b7e539d5fd2" + integrity sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ== + +"@esbuild/freebsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz#0769456eee2a08b8d925d7c00b79e861cb3162e4" + integrity sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ== + +"@esbuild/linux-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz#38e162ecb723862c6be1c27d6389f48960b68edb" + integrity sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg== + +"@esbuild/linux-arm@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz#1a2cd399c50040184a805174a6d89097d9d1559a" + integrity sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA== + +"@esbuild/linux-ia32@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz#e28c25266b036ce1cabca3c30155222841dc035a" + integrity sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ== + +"@esbuild/linux-loong64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz#0f887b8bb3f90658d1a0117283e55dbd4c9dcf72" + integrity sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ== + +"@esbuild/linux-mips64el@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz#f5d2a0b8047ea9a5d9f592a178ea054053a70289" + integrity sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A== + +"@esbuild/linux-ppc64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz#876590e3acbd9fa7f57a2c7d86f83717dbbac8c7" + integrity sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg== + +"@esbuild/linux-riscv64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz#7f49373df463cd9f41dc34f9b2262d771688bf09" + integrity sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA== + +"@esbuild/linux-s390x@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz#e2afd1afcaf63afe2c7d9ceacd28ec57c77f8829" + integrity sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q== + +"@esbuild/linux-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz#8a0e9738b1635f0c53389e515ae83826dec22aa4" + integrity sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw== + +"@esbuild/netbsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz#c29fb2453c6b7ddef9a35e2c18b37bda1ae5c462" + integrity sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q== + +"@esbuild/openbsd-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz#95e75a391403cb10297280d524d66ce04c920691" + integrity sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g== + +"@esbuild/sunos-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz#722eaf057b83c2575937d3ffe5aeb16540da7273" + integrity sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg== + +"@esbuild/win32-arm64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz#9aa9dc074399288bdcdd283443e9aeb6b9552b6f" + integrity sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag== + +"@esbuild/win32-ia32@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz#95ad43c62ad62485e210f6299c7b2571e48d2b03" + integrity sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw== + +"@esbuild/win32-x64@0.17.19": + version "0.17.19" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz#8cfaf2ff603e9aabb910e9c0558c26cf32744061" + integrity sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA== "@ethereumjs/common@2.6.2": version "2.6.2" @@ -2632,6 +2636,15 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" +"@metamask/object-multiplex@^1.1.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@metamask/object-multiplex/-/object-multiplex-1.2.0.tgz#38fc15c142f61939391e1b9a8eed679696c7e4f4" + integrity sha512-hksV602d3NWE2Q30Mf2Np1WfVKaGqfJRy9vpHAmelbaD0OkDt06/0KQkRR6UVYdMbTbkuEu8xN5JDUU80inGwQ== + dependencies: + end-of-stream "^1.4.4" + once "^1.4.0" + readable-stream "^2.3.3" + "@metamask/obs-store@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@metamask/obs-store/-/obs-store-7.0.0.tgz#6cae5f28306bb3e83a381bc9ae22682316095bd3" @@ -2640,6 +2653,24 @@ "@metamask/safe-event-emitter" "^2.0.0" through2 "^2.0.3" +"@metamask/providers@^8.1.1": + version "8.1.1" + resolved "https://registry.yarnpkg.com/@metamask/providers/-/providers-8.1.1.tgz#7b0dbb54700c949aafba24c9b98e6f4e9d81f325" + integrity sha512-CG1sAuD6Mp4MZ5U90anf1FT0moDbStGXT+80TQFYXJbBeTQjhp321WgC/F2IgIJ3mFqOiByC3MQHLuunEVMQOA== + dependencies: + "@metamask/object-multiplex" "^1.1.0" + "@metamask/safe-event-emitter" "^2.0.0" + "@types/chrome" "^0.0.136" + detect-browser "^5.2.0" + eth-rpc-errors "^4.0.2" + extension-port-stream "^2.0.1" + fast-deep-equal "^2.0.1" + is-stream "^2.0.0" + json-rpc-engine "^6.1.0" + json-rpc-middleware-stream "^3.0.0" + pump "^3.0.0" + webextension-polyfill-ts "^0.25.0" + "@metamask/safe-event-emitter@2.0.0", "@metamask/safe-event-emitter@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@metamask/safe-event-emitter/-/safe-event-emitter-2.0.0.tgz#af577b477c683fad17c619a78208cede06f9605c" @@ -3773,6 +3804,14 @@ dependencies: "@types/node" "*" +"@types/chrome@^0.0.136": + version "0.0.136" + resolved "https://registry.yarnpkg.com/@types/chrome/-/chrome-0.0.136.tgz#7c011b9f997b0156f25a140188a0c5689d3f368f" + integrity sha512-XDEiRhLkMd+SB7Iw3ZUIj/fov3wLd4HyTdLltVszkgl1dBfc3Rb7oPMVZ2Mz2TLqnF7Ow+StbR8E7r9lqpb4DA== + dependencies: + "@types/filesystem" "*" + "@types/har-format" "*" + "@types/connect@^3.4.33": version "3.4.35" resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" @@ -3797,6 +3836,23 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== +"@types/filesystem@*": + version "0.0.32" + resolved "https://registry.yarnpkg.com/@types/filesystem/-/filesystem-0.0.32.tgz#307df7cc084a2293c3c1a31151b178063e0a8edf" + integrity sha512-Yuf4jR5YYMR2DVgwuCiP11s0xuVRyPKmz8vo6HBY3CGdeMj8af93CFZX+T82+VD1+UqHOxTq31lO7MI7lepBtQ== + dependencies: + "@types/filewriter" "*" + +"@types/filewriter@*": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/filewriter/-/filewriter-0.0.29.tgz#a48795ecadf957f6c0d10e0c34af86c098fa5bee" + integrity sha512-BsPXH/irW0ht0Ji6iw/jJaK8Lj3FJemon2gvEqHKpCdDCeemHa+rI3WBGq5z7cDMZgoLjY40oninGxqk+8NzNQ== + +"@types/har-format@*": + version "1.2.11" + resolved "https://registry.yarnpkg.com/@types/har-format/-/har-format-1.2.11.tgz#26aff34e9c782b2648cc45778abadcd930f7db43" + integrity sha512-T232/TneofqK30AD1LRrrf8KnjLvzrjWDp7eWST5KoiSzrBfRsLrWDPk4STQPW4NZG6v2MltnduBVmakbZOBIQ== + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" @@ -4462,12 +4518,12 @@ "@blocto/sdk" "^0.4.6" "@web3-onboard/common" "^2.3.1" -"@web3-onboard/cede-store@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/cede-store/-/cede-store-2.0.2.tgz#6f8c9a62afbbb5a51affaa8076594125206f0c9e" - integrity sha512-qgIH/3pGt7a+CT9Zec8/RvBg3Gt7Qkd003n0mA+XHwOTMY5og8rxnAcK41DaJVrYsbeA/ZdvPzrjy9sWj/WHDw== +"@web3-onboard/cede-store@^2.1.0-alpha.1": + version "2.1.0-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/cede-store/-/cede-store-2.1.0-alpha.1.tgz#9e7a865f3004787d590c464c886e691e2582a183" + integrity sha512-4uEKVhWvSBhuVefgo4XXfWjCwuYUu/ANtSMfV/5cjsmCnr00PyYmVwrOUVHuo4OXQMa8RgRQ4hWCEY4+hEZJNQ== dependencies: - "@cedelabs/providers" "^0.0.7" + "@cedelabs/providers" "^1.1.0" "@web3-onboard/common" "^2.3.3" "@web3-onboard/coinbase@^2.2.5-alpha.1": @@ -6634,7 +6690,7 @@ detect-browser@5.2.0: resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== -detect-browser@5.3.0: +detect-browser@5.3.0, detect-browser@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== @@ -6908,33 +6964,33 @@ es6-weak-map@^2.0.3: es6-iterator "^2.0.3" es6-symbol "^3.1.1" -esbuild@^0.18.10: - version "0.18.11" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.18.11.tgz#cbf94dc3359d57f600a0dbf281df9b1d1b4a156e" - integrity sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA== +esbuild@^0.17.5: + version "0.17.19" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.17.19.tgz#087a727e98299f0462a3d0bcdd9cd7ff100bd955" + integrity sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw== optionalDependencies: - "@esbuild/android-arm" "0.18.11" - "@esbuild/android-arm64" "0.18.11" - "@esbuild/android-x64" "0.18.11" - "@esbuild/darwin-arm64" "0.18.11" - "@esbuild/darwin-x64" "0.18.11" - "@esbuild/freebsd-arm64" "0.18.11" - "@esbuild/freebsd-x64" "0.18.11" - "@esbuild/linux-arm" "0.18.11" - "@esbuild/linux-arm64" "0.18.11" - "@esbuild/linux-ia32" "0.18.11" - "@esbuild/linux-loong64" "0.18.11" - "@esbuild/linux-mips64el" "0.18.11" - "@esbuild/linux-ppc64" "0.18.11" - "@esbuild/linux-riscv64" "0.18.11" - "@esbuild/linux-s390x" "0.18.11" - "@esbuild/linux-x64" "0.18.11" - "@esbuild/netbsd-x64" "0.18.11" - "@esbuild/openbsd-x64" "0.18.11" - "@esbuild/sunos-x64" "0.18.11" - "@esbuild/win32-arm64" "0.18.11" - "@esbuild/win32-ia32" "0.18.11" - "@esbuild/win32-x64" "0.18.11" + "@esbuild/android-arm" "0.17.19" + "@esbuild/android-arm64" "0.17.19" + "@esbuild/android-x64" "0.17.19" + "@esbuild/darwin-arm64" "0.17.19" + "@esbuild/darwin-x64" "0.17.19" + "@esbuild/freebsd-arm64" "0.17.19" + "@esbuild/freebsd-x64" "0.17.19" + "@esbuild/linux-arm" "0.17.19" + "@esbuild/linux-arm64" "0.17.19" + "@esbuild/linux-ia32" "0.17.19" + "@esbuild/linux-loong64" "0.17.19" + "@esbuild/linux-mips64el" "0.17.19" + "@esbuild/linux-ppc64" "0.17.19" + "@esbuild/linux-riscv64" "0.17.19" + "@esbuild/linux-s390x" "0.17.19" + "@esbuild/linux-x64" "0.17.19" + "@esbuild/netbsd-x64" "0.17.19" + "@esbuild/openbsd-x64" "0.17.19" + "@esbuild/sunos-x64" "0.17.19" + "@esbuild/win32-arm64" "0.17.19" + "@esbuild/win32-ia32" "0.17.19" + "@esbuild/win32-x64" "0.17.19" escalade@^3.1.1: version "3.1.1" @@ -7605,6 +7661,13 @@ extend@~3.0.2: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== +extension-port-stream@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/extension-port-stream/-/extension-port-stream-2.1.1.tgz#ec11f2a5ed95655d8c40805d7cb0c39939ee9ef4" + integrity sha512-qknp5o5rj2J9CRKfVB8KJr+uXQlrojNZzdESUPhKYLXf97TPcGf6qWWKmpsNNtUyOdzFhab1ON0jzouNxHHvow== + dependencies: + webextension-polyfill ">=0.10.0 <1.0" + extglob@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -7641,6 +7704,11 @@ fake-merkle-patricia-tree@^1.0.1: dependencies: checkpoint-store "^1.1.0" +fast-deep-equal@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" + integrity sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w== + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -8836,6 +8904,14 @@ json-rpc-engine@^5.3.0: eth-rpc-errors "^3.0.0" safe-event-emitter "^1.0.1" +json-rpc-middleware-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-rpc-middleware-stream/-/json-rpc-middleware-stream-3.0.0.tgz#8540331d884f36b9e0ad31054cc68ac6b5a89b52" + integrity sha512-JmZmlehE0xF3swwORpLHny/GvW3MZxCsb2uFNBrn8TOqMqivzCfz232NSDLLOtIQlrPlgyEjiYpyzyOPFOzClw== + dependencies: + "@metamask/safe-event-emitter" "^2.0.0" + readable-stream "^2.3.3" + json-rpc-random-id@^1.0.0, json-rpc-random-id@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz#ba49d96aded1444dbb8da3d203748acbbcdec8c8" @@ -10476,15 +10552,6 @@ postcss@^8.4.23: picocolors "^1.0.0" source-map-js "^1.0.2" -postcss@^8.4.25: - version "8.4.25" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.25.tgz#4a133f5e379eda7f61e906c3b1aaa9b81292726f" - integrity sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw== - dependencies: - nanoid "^3.3.6" - picocolors "^1.0.0" - source-map-js "^1.0.2" - preact@10.4.1: version "10.4.1" resolved "https://registry.yarnpkg.com/preact/-/preact-10.4.1.tgz#9b3ba020547673a231c6cf16f0fbaef0e8863431" @@ -11284,10 +11351,10 @@ rollup-plugin-polyfill-node@^0.12.0: dependencies: "@rollup/plugin-inject" "^5.0.1" -rollup@^3.25.2: - version "3.26.2" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.26.2.tgz#2e76a37606cb523fc9fef43e6f59c93f86d95e7c" - integrity sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA== +rollup@^3.21.0: + version "3.26.3" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.26.3.tgz#bbc8818cadd0aebca348dbb3d68d296d220967b8" + integrity sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ== optionalDependencies: fsevents "~2.3.2" @@ -12890,11 +12957,23 @@ web3-utils@1.5.2: randombytes "^2.1.0" utf8 "3.0.0" -webextension-polyfill@^0.10.0: +webextension-polyfill-ts@^0.25.0: + version "0.25.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill-ts/-/webextension-polyfill-ts-0.25.0.tgz#fff041626365dbd0e29c40b197e989a55ec221ca" + integrity sha512-ikQhwwHYkpBu00pFaUzIKY26I6L87DeRI+Q6jBT1daZUNuu8dSrg5U9l/ZbqdaQ1M/TTSPKeAa3kolP5liuedw== + dependencies: + webextension-polyfill "^0.7.0" + +"webextension-polyfill@>=0.10.0 <1.0", webextension-polyfill@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.10.0.tgz#ccb28101c910ba8cf955f7e6a263e662d744dbb8" integrity sha512-c5s35LgVa5tFaHhrZDnr3FpQpjj1BB+RXhLTYUxGqBVN460HkbM8TBtEqdXWbpTKfzwCcjAZVF7zXCYSKtcp9g== +webextension-polyfill@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/webextension-polyfill/-/webextension-polyfill-0.7.0.tgz#0df1120ff0266056319ce1a622b09ad8d4a56505" + integrity sha512-su48BkMLxqzTTvPSE1eWxKToPS2Tv5DLGxKexLEVpwFd6Po6N8hhSLIvG6acPAg7qERoEaDL+Y5HQJeJeml5Aw== + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" diff --git a/packages/core/README.md b/packages/core/README.md index c0e971720..33c862f99 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -248,9 +248,15 @@ type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Hide the where is my wallet link notice displayed in the connect modal + * Hide the "Where is my wallet?" link notice displayed in the connect modal + * at the bottom of the wallets list */ removeWhereIsMyWalletWarning?: boolean + /** + * Hide the "I don't have a wallet" link displayed + * on the left panel of the connect modal + */ + removeIDontHaveAWalletInfoLink?: boolean /** * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` * package has been added and passed into the web3-onboard initialization diff --git a/packages/core/package.json b/packages/core/package.json index 104dc73d6..83587fb81 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.20.4", + "version": "2.20.5-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/types.ts b/packages/core/src/types.ts index fb7d1518f..533d6ad5a 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -244,9 +244,15 @@ export type ConnectModalOptions = { */ wheresMyWalletLink?: string /** - * Hide the where is my wallet link notice displayed in the connect modal + * Hide the "Where is my wallet?" link notice displayed in the connect modal + * at the bottom of the wallets list */ removeWhereIsMyWalletWarning?: boolean + /** + * Hide the "I don't have a wallet" link displayed + * on the left panel of the connect modal + */ + removeIDontHaveAWalletInfoLink?: boolean /** * @deprecated Has no effect unless `@web3-onboard/unstoppable-resolution` * package has been added and passed into the web3-onboard initialization diff --git a/packages/core/src/validation.ts b/packages/core/src/validation.ts index e540d0510..f60456501 100644 --- a/packages/core/src/validation.ts +++ b/packages/core/src/validation.ts @@ -203,6 +203,7 @@ const connectModalOptions = Joi.object({ iDontHaveAWalletLink: Joi.string(), wheresMyWalletLink: Joi.string(), removeWhereIsMyWalletWarning: Joi.boolean(), + removeIDontHaveAWalletInfoLink: Joi.boolean(), disableUDResolution: Joi.boolean() }) diff --git a/packages/core/src/views/account-center/AccountCenterPanel.svelte b/packages/core/src/views/account-center/AccountCenterPanel.svelte index 94d778ebd..1d60454ed 100644 --- a/packages/core/src/views/account-center/AccountCenterPanel.svelte +++ b/packages/core/src/views/account-center/AccountCenterPanel.svelte @@ -19,14 +19,22 @@ import caretLightIcon from '../../icons/caret-light.js' import warningIcon from '../../icons/warning.js' import questionIcon from '../../icons/question.js' + import shieldIcon from '../../icons/shield-icon.js' import { poweredByBlocknative } from '../../icons/index.js' import DisconnectAllConfirm from './DisconnectAllConfirm.svelte' + import EnableTransactionProtection from './EnableTransactionProtection.svelte' import { configuration } from '../../configuration.js' import SecondaryTokenTable from './SecondaryTokenTable.svelte' import { shareReplay, startWith } from 'rxjs' + import { updateChainRPC } from '../../provider.js' + import { BN_PROTECT_RPC_URL } from '../../constants.js' export let expanded: boolean + const accountCenter$ = state + .select('accountCenter') + .pipe(startWith(state.get().accountCenter), shareReplay(1)) + function disconnectAllWallets() { $wallets$.forEach(({ label }) => disconnect({ label })) } @@ -34,6 +42,7 @@ const { chains: appChains } = state.get() let disconnectConfirmModal = false let hideWalletRowMenu: () => void + let enableTransactionProtection = false $: [primaryWallet] = $wallets$ $: [connectedChain] = primaryWallet ? primaryWallet.chains : [] @@ -52,12 +61,28 @@ connectedChain && connectedChain.id ) + $: primaryWalletOnMainnet = connectedChain && connectedChain.id === '0x1' + const appMetadata$ = state .select('appMetadata') .pipe(startWith(state.get().appMetadata), shareReplay(1)) const { position } = state.get().accountCenter const { device } = configuration + + const enableProtectionRPC = async () => { + try { + await updateChainRPC( + primaryWallet.provider, + validAppChain, + BN_PROTECT_RPC_URL + ) + enableTransactionProtection = false + } catch (error) { + const { code } = error as { code: number } + console.log(error, code) + } + } @@ -207,16 +207,19 @@ default: paragraph })} - {$_('connect.selectingWallet.sidebar.IDontHaveAWallet', { - default: en.connect.selectingWallet.sidebar.IDontHaveAWallet - })}
{@html infoIcon}
+ {#if !connect.removeIDontHaveAWalletInfoLink} + {$_('connect.selectingWallet.sidebar.IDontHaveAWallet', { + default: en.connect.selectingWallet.sidebar.IDontHaveAWallet + })} +
{@html infoIcon}
+ {/if} {#if windowWidth < MOBILE_WINDOW_WIDTH}
@@ -258,9 +261,7 @@ class:active={step !== 'selectingWallet'} class="join relative" style={`right: 2px; ${ - step !== 'selectingWallet' - ? 'width: 78px;' - : 'width: 82px;' + step !== 'selectingWallet' ? 'width: 78px;' : 'width: 82px;' }`} />
+ ` diff --git a/packages/react/package.json b/packages/react/package.json index 80ff87459..498c5a565 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.9", + "version": "2.8.10-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", @@ -63,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.20.4", + "@web3-onboard/core": "^2.20.5-alpha.1", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/vue/package.json b/packages/vue/package.json index e52f3ba4a..2c3a6fb00 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.8", + "version": "2.7.9-alpha.1", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.20.4", + "@web3-onboard/core": "^2.20.5-alpha.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 368dffd6f..f5a1ec047 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3966,6 +3966,15 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" +"@web3-onboard/injected-wallets@^2.10.2": + version "2.10.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.2.tgz#e84eabebdb888dcec4a7a48f02fafa788735e791" + integrity sha512-LFQ/bBfhvSfzB5Y9gB37mtyKmUz76tdZIfUvBhhnmmxLCuD1T4eFsjMo67cRdC6wcXRTMbCaPbldGqz/10b0ug== + dependencies: + "@web3-onboard/common" "^2.3.3" + joi "17.9.1" + lodash.uniqby "^4.7.0" + "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6" From abe53eec804e79a8ab1cb21274aa3950f5686fde Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 20 Jul 2023 09:23:30 -0600 Subject: [PATCH 5/7] Update global version --- package.json | 2 +- packages/walletconnect/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 970267083..70f843b83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.24.4", + "version": "2.24.5", "private": true, "workspaces": { "packages": [ diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 3207f86df..852a0ff58 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -62,7 +62,7 @@ "@ethersproject/providers": "5.5.0", "@walletconnect/client": "^1.8.0", "@walletconnect/ethereum-provider": "2.9.0", - "@walletconnect/modal":"2.6.0", + "@walletconnect/modal": "2.6.0", "@walletconnect/qrcode-modal": "^1.8.0", "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", From f7823803c27fd418546920232b4eb87686b26053 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 20 Jul 2023 09:34:39 -0600 Subject: [PATCH 6/7] Remove alpha flags --- packages/cede-store/package.json | 2 +- packages/core/package.json | 2 +- packages/demo/package.json | 8 ++++---- packages/frame/package.json | 2 +- packages/injected/package.json | 2 +- packages/react/package.json | 4 ++-- packages/vue/package.json | 4 ++-- packages/walletconnect/package.json | 2 +- yarn.lock | 9 --------- 9 files changed, 13 insertions(+), 22 deletions(-) diff --git a/packages/cede-store/package.json b/packages/cede-store/package.json index de2869bc9..b681684e9 100644 --- a/packages/cede-store/package.json +++ b/packages/cede-store/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/cede-store", - "version": "2.1.0-alpha.1", + "version": "2.1.0", "description": "cede.store SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/core/package.json b/packages/core/package.json index 83587fb81..4b5336b32 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.20.5-alpha.1", + "version": "2.20.5", "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/demo/package.json b/packages/demo/package.json index 2217a25c2..1eb4d5df1 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -24,14 +24,14 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/cede-store": "^2.1.0-alpha.1", + "@web3-onboard/cede-store": "^2.1.0", "@web3-onboard/blocto": "2.0.0", "@web3-onboard/coinbase": "^2.2.5", - "@web3-onboard/core": "^2.20.5-alpha.1", + "@web3-onboard/core": "^2.20.5", "@web3-onboard/dcent": "^2.2.7", "@web3-onboard/enkrypt": "^2.0.3", "@web3-onboard/fortmatic": "^2.0.18", - "@web3-onboard/frame": "^2.0.2-alpha.1", + "@web3-onboard/frame": "^2.0.2", "@web3-onboard/frontier": "^2.0.3", "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.1.9", @@ -52,7 +52,7 @@ "@web3-onboard/trust": "^2.0.3", "@web3-onboard/uauth": "^2.1.1", "@web3-onboard/venly": "^2.0.0", - "@web3-onboard/walletconnect": "^2.4.3-alpha.1", + "@web3-onboard/walletconnect": "^2.4.3", "@web3-onboard/web3auth": "^2.2.2", "@web3-onboard/xdefi": "^2.0.3", "@web3-onboard/zeal": "^2.0.3", diff --git a/packages/frame/package.json b/packages/frame/package.json index d4a7a7ea7..52845a4e9 100644 --- a/packages/frame/package.json +++ b/packages/frame/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/frame", - "version": "2.0.2-alpha.1", + "version": "2.0.2", "description": "Frame wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/injected/package.json b/packages/injected/package.json index f58ca21e3..e60bd04fc 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.10.3-alpha.1", + "version": "2.10.3", "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/react/package.json b/packages/react/package.json index 498c5a565..1908440c1 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.10-alpha.1", + "version": "2.8.10", "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,7 +63,7 @@ }, "dependencies": { "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.20.5-alpha.1", + "@web3-onboard/core": "^2.20.5", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/vue/package.json b/packages/vue/package.json index 2c3a6fb00..261fe05f9 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.9-alpha.1", + "version": "2.7.9", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,7 +63,7 @@ "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", "@web3-onboard/common": "^2.3.3", - "@web3-onboard/core": "^2.20.5-alpha.1", + "@web3-onboard/core": "^2.20.5", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 852a0ff58..a4d5ac7f0 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.4.3-alpha.1", + "version": "2.4.3", "description": "WalletConnect SDK module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/yarn.lock b/yarn.lock index f5a1ec047..368dffd6f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3966,15 +3966,6 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3-onboard/injected-wallets@^2.10.2": - version "2.10.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.10.2.tgz#e84eabebdb888dcec4a7a48f02fafa788735e791" - integrity sha512-LFQ/bBfhvSfzB5Y9gB37mtyKmUz76tdZIfUvBhhnmmxLCuD1T4eFsjMo67cRdC6wcXRTMbCaPbldGqz/10b0ug== - dependencies: - "@web3-onboard/common" "^2.3.3" - joi "17.9.1" - lodash.uniqby "^4.7.0" - "@web3-react/abstract-connector@^6.0.7": version "6.0.7" resolved "https://registry.yarnpkg.com/@web3-react/abstract-connector/-/abstract-connector-6.0.7.tgz#401b3c045f1e0fab04256311be49d5144e9badc6" From 346b6d6e06354caecd7fa0c3b13a5bf220ff5f98 Mon Sep 17 00:00:00 2001 From: Adam Carpenter Date: Thu, 20 Jul 2023 09:47:38 -0600 Subject: [PATCH 7/7] yarn docs --- docs/yarn.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/yarn.lock b/docs/yarn.lock index 4ad309c66..94e317b1e 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -4543,10 +4543,10 @@ ethers "5.5.4" joi "17.9.1" -"@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== +"@web3-onboard/core@^2.20.5-alpha.1": + version "2.20.5-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.20.5-alpha.1.tgz#823799c7dc0127bec1f38c3781acb2aa1d303da5" + integrity sha512-BcjPvkgY+Ybql9DCjkyfRSIGFd32AHQTdAqyrBbii+ljT1tZdnhjaXOJm3uncuCvWCdTo8rvqZDoIfIDR5AmuA== dependencies: "@web3-onboard/common" "^2.3.3" bignumber.js "^9.0.0" @@ -4588,10 +4588,10 @@ "@web3-onboard/common" "^2.3.3" fortmatic "^2.2.1" -"@web3-onboard/frame@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/frame/-/frame-2.0.1.tgz#10cb9ff190b69789c523d5a3a6a4df1b8428f9c8" - integrity sha512-oWhhNjS2vIg3l3HC7rS6bcQ9F8nief3atZwPDnT4FDkRZHCht9pNr4tAD428LEahJa3NWZQD63MdtVzIV/8C3g== +"@web3-onboard/frame@^2.0.2-alpha.1": + version "2.0.2-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/frame/-/frame-2.0.2-alpha.1.tgz#952ebdf460b7f8ed0043e2265089588f5f6760ad" + integrity sha512-rgUVateHp9kGE1RPb/e641tTSHq4I0Cc3h/T9388QxsUDAwV2xsZbnokAPOJYv0rbIxC8XIkWFGF5wTdNTatew== dependencies: "@web3-onboard/common" "^2.3.3" eth-provider "^0.13.6"