diff --git a/docs/package.json b/docs/package.json index 3cbd75db1..1cdd31238 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,8 +12,8 @@ "format": "prettier --plugin-search-dir . --write .", "prepare": "svelte-kit sync", "test": "playwright test", - "w3o-latest-prod": "yarn add '@web3-onboard/coinbase' '@web3-onboard/core' '@web3-onboard/dcent' '@web3-onboard/enkrypt' '@web3-onboard/fortmatic' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/magic' '@web3-onboard/mew-wallet' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/taho' '@web3-onboard/torus' '@web3-onboard/transaction-preview' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/uauth' '@web3-onboard/walletconnect' '@web3-onboard/web3auth' '@web3-onboard/xdefi' '@web3-onboard/frame'", - "w3o-latest-alpha": "yarn add '@web3-onboard/coinbase@next' '@web3-onboard/core@next' '@web3-onboard/dcent@next' '@web3-onboard/enkrypt@next' '@web3-onboard/fortmatic@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/magic@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/taho@next' '@web3-onboard/torus@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/uauth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/web3auth@next' '@web3-onboard/xdefi@next' '@web3-onboard/frame'" + "w3o-latest-prod": "yarn add '@web3-onboard/core' '@web3-onboard/coinbase' '@web3-onboard/transaction-preview' '@web3-onboard/dcent' '@web3-onboard/frontier' '@web3-onboard/fortmatic' '@web3-onboard/frame' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/magic' '@web3-onboard/phantom' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/torus' '@web3-onboard/taho' '@web3-onboard/web3auth' '@web3-onboard/walletconnect' '@web3-onboard/enkrypt' '@web3-onboard/mew-wallet' '@web3-onboard/xdefi' '@web3-onboard/uauth' '@web3-onboard/zeal' '@web3-onboard/cede-store'", + "w3o-latest-alpha": "yarn add '@web3-onboard/core@next' '@web3-onboard/coinbase@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/dcent@next' '@web3-onboard/frontier@next' '@web3-onboard/fortmatic@next' '@web3-onboard/frame@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/magic@next' '@web3-onboard/phantom@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/torus@next' '@web3-onboard/taho@next' '@web3-onboard/web3auth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/enkrypt@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/xdefi@next' '@web3-onboard/uauth@next' '@web3-onboard/zeal@next' '@web3-onboard/cede-store@next'" }, "devDependencies": { "@algolia/client-search": "^4.17.0", @@ -47,33 +47,36 @@ }, "type": "module", "dependencies": { - "@web3-onboard/cede-store": "^2.0.1", - "@web3-onboard/coinbase": "^2.2.3", - "@web3-onboard/core": "^2.18.0", - "@web3-onboard/dcent": "^2.2.6", - "@web3-onboard/enkrypt": "^2.0.3", - "@web3-onboard/fortmatic": "^2.0.18", - "@web3-onboard/frame": "^2.0.0", - "@web3-onboard/gas": "^2.1.7", - "@web3-onboard/gnosis": "^2.1.9", - "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.8.6", - "@web3-onboard/keepkey": "^2.3.6", - "@web3-onboard/keystone": "^2.3.6", - "@web3-onboard/ledger": "^2.4.5", - "@web3-onboard/magic": "^2.1.6", - "@web3-onboard/mew-wallet": "^2.0.3", - "@web3-onboard/portis": "^2.1.6", - "@web3-onboard/sequence": "^2.0.7", - "@web3-onboard/taho": "^2.0.3", - "@web3-onboard/torus": "^2.2.4", - "@web3-onboard/transaction-preview": "^2.0.7", - "@web3-onboard/trezor": "^2.4.1", - "@web3-onboard/trust": "^2.0.3", - "@web3-onboard/uauth": "^2.0.4", - "@web3-onboard/walletconnect": "^2.3.7", - "@web3-onboard/web3auth": "^2.2.1", - "@web3-onboard/xdefi": "^2.0.3", + "@web3-onboard/cede-store": "^2.0.2-alpha.2", + "@web3-onboard/coinbase": "^2.2.4-alpha.1", + "@web3-onboard/core": "^2.19.1-alpha.1", + "@web3-onboard/dcent": "^2.2.7-alpha.2", + "@web3-onboard/enkrypt": "^2.0.4-alpha.1", + "@web3-onboard/fortmatic": "^2.0.19-alpha.1", + "@web3-onboard/frame": "^2.0.1-alpha.1", + "@web3-onboard/frontier": "^2.0.4-alpha.1", + "@web3-onboard/gas": "^2.1.8-alpha.1", + "@web3-onboard/gnosis": "^2.1.10-alpha.1", + "@web3-onboard/infinity-wallet": "^2.0.4-alpha.1", + "@web3-onboard/injected-wallets": "^2.9.0-alpha.2", + "@web3-onboard/keepkey": "^2.3.7-alpha.2", + "@web3-onboard/keystone": "^2.3.7-alpha.2", + "@web3-onboard/ledger": "^2.4.6-alpha.1", + "@web3-onboard/magic": "^2.1.7-alpha.1", + "@web3-onboard/mew-wallet": "^2.0.4-alpha.1", + "@web3-onboard/phantom": "^2.0.2-alpha.1", + "@web3-onboard/portis": "^2.1.7-alpha.1", + "@web3-onboard/sequence": "^2.0.8-alpha.1", + "@web3-onboard/taho": "^2.0.4-alpha.1", + "@web3-onboard/torus": "^2.2.5-alpha.1", + "@web3-onboard/transaction-preview": "^2.0.8-alpha.1", + "@web3-onboard/trezor": "^2.4.2-alpha.3", + "@web3-onboard/trust": "^2.0.4-alpha.1", + "@web3-onboard/uauth": "^2.0.5-alpha.1", + "@web3-onboard/walletconnect": "^2.3.8-alpha.2", + "@web3-onboard/web3auth": "^2.2.3-alpha.1", + "@web3-onboard/xdefi": "^2.0.4-alpha.1", + "@web3-onboard/zeal": "^2.0.4-alpha.1", "animejs": "^3.2.1", "bnc-sdk": "^4.6.6", "ethers": "^5.7.0", diff --git a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md index bc0499cfd..9d054eaec 100644 --- a/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...1]introduction/+page.md @@ -51,7 +51,7 @@ web3-onboard supports all EVM networks. Supporting a new network is simply a mat - Moonriver - All other EVM network -### [Optional] Use an API key to fetch real time transaction data, balances & gas +### Optional - Use an API key to fetch real time transaction data, balances & gas Using a Blocknative API key with web3-onboard on the free plan will allow you to gain the benefits of Blocknative balance & transaction services. Blocknative has a free forever plan you can always use. diff --git a/docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md b/docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md index e95b2f374..c2988ccff 100644 --- a/docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md +++ b/docs/src/routes/docs/[...1]overview/[...2]contribution-guide/+page.md @@ -19,7 +19,7 @@ If an issue does not already exist, follow the template instructions to create a Once an issue is created, a Web3 Onboard maintainer will review and respond typically within a few days to share next steps. -## [Pull Requests 🗂️] +## Pull Requests 🗂️ To create a new feature or change in Web3 Onboard, fork the repo and make a pull request on the [develop branch](https://github.com/blocknative/web3-onboard/tree/develop) to have your changes merged in and released as part of the official packages. @@ -39,7 +39,7 @@ Example : Adding a new injected wallet to the `injected` package - Example 2 : Bug fix within the `core` package - [Core package.json](https://github.com/blocknative/web3-onboard/blob/8531a73d69365f7d584320f1c4b97a5d90f1c34e/packages/core/package.json#L3) changes: `"version": "2.9.1-alpha.1",` --> `"version": "2.9.1-alpha.2",` -## [How can I add a new wallet? 💳] +## How can I add a new wallet? 💳 To add a new wallet to the official Web3 Onboard packages and repo, create a [pull request](#pull-requests-🗂️). Web3 Onboard does not require a wallet to be a part of the main code, so a separate wallet module can be created without any changes to the Web3Onboard codebase. Your PR must include a detailed README for the package, keeping in mind that this README is the the first point of contact for dapp devs looking to implement your wallet. @@ -57,7 +57,7 @@ Otherwise, if the wallet you are adding requires dependencies and initialization If you cannot write the code yourself to add a new wallet, create a new feature request issue to be considered by the maintainers and other contributors in the community. -## [Documentation Contributions 📄] +## Documentation Contributions 📄 If you contribute to the code, you should definitely document appropriately. @@ -71,11 +71,11 @@ PRs for adding/updating a wallet should include a README (new or updated) for th We highly encourage the community to help us improve the web3-onboard docs! If you have any questions don't hesitate to reach out. -## [Feedback 💬] +## Feedback 💬 Did you have trouble integrating? Could the docs be improved? Have a new Feature request? Jump in our [Discord](https://discord.com/invite/KZaBVME) and share your feedback. -## [Support 🤓] +## Support 🤓 For general questions about how to use Web3 Onboard please first check out our [docs](../../overview/introduction.md#features), then head to our [Discord](https://discord.com/invite/KZaBVME) for support from the Blocknative team. 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 969705a8c..708bb8c4d 100644 --- a/docs/src/routes/docs/[...3]modules/[...1]core/+page.md +++ b/docs/src/routes/docs/[...3]modules/[...1]core/+page.md @@ -368,7 +368,13 @@ type AccountCenter = { position?: AccountCenterPosition // default: 'bottomRight' expanded?: boolean // default: true minimal?: boolean // enabled by default for mobile - + /** + * false by default - This allows removal of the + * Enable Transaction Protection' button within the Account Center + * expanded when set to true + * Can be set as a global for Account Center or per interface (desktop/mobile) + */ + hideTransactionProtectionBtn?: boolean /** * @deprecated Use top level containerElements property * with the accountCenter prop set to the desired container El. See documentation below @@ -379,6 +385,13 @@ type AccountCenter = { type AccountCenterOptions = { desktop: Omit mobile: Omit + /** + * false by default - This allows removal of the + * Enable Transaction Protection' button within the Account Center + * expanded when set to true + * Can be set as a global for Account Center or per interface (desktop/mobile) + */ + hideTransactionProtectionBtn?: boolean } type AccountCenterPosition = 'topRight' | 'bottomRight' | 'bottomLeft' | 'topLeft' diff --git a/docs/src/routes/docs/[...4]wallets/[...9]injected/+page.md b/docs/src/routes/docs/[...4]wallets/[...9]injected/+page.md index f7588a3ad..e7bc88f4d 100644 --- a/docs/src/routes/docs/[...4]wallets/[...9]injected/+page.md +++ b/docs/src/routes/docs/[...4]wallets/[...9]injected/+page.md @@ -318,6 +318,7 @@ const injected = injectedModule({ - ApexWallet - _Desktop_ - BifrostWallet - _Desktop & Mobile_ - Safeheron - _Desktop_ +- Talisman - _Desktop_ ## Build Environments diff --git a/docs/yarn.lock b/docs/yarn.lock index 75c234a53..7c5bfa4f0 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -3955,10 +3955,10 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.7.0.tgz#26f19710958648e401968ab2fd427d6b07fb3b37" - integrity sha512-xUeFPpElybgn1a+lknqtHleei4VyuV/4qWgB1nP8qQUAO6a5pNsioODrnB2VAPdUHJYBdx2dCt2maRk6g53IPQ== +"@walletconnect/core@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.7.4.tgz#1471215ca8cc08ae4719ca1bb6d45dd1b49dea3a" + integrity sha512-nDJJZALZJI8l8JvjwZE4UmUzDzQBnTTJlQa/rc5MoGYtir0hfsQEl3sPkPcXbkkW5q+cHiynXsDcgM4740fmNQ== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "^1.0.12" @@ -3970,8 +3970,8 @@ "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -4013,19 +4013,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.7.0.tgz#5aaf10ce8de9269904b7714428554f1a64b7932d" - integrity sha512-6TwQ05zi6DP1TP1XNgSvLbmCmLf/sz7kLTfMaVk45YYHNgYTTBlXqkyjUpQZI9lpq+uXLBbHn/jx2OGhOPUP0Q== +"@walletconnect/ethereum-provider@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.7.4.tgz#777ad9a6229f88f766a986bb5cffaa3ff1575c0b" + integrity sha512-R5hcByY9zIsvyTHFUS+3xqtzs2REezED4tZFyXk0snJjWlnlL2EdeHaCjr5n+SIZDin4CMj1EAFC0ZrM4KoA4Q== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.4" "@walletconnect/jsonrpc-provider" "^1.0.11" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" - "@walletconnect/sign-client" "2.7.0" - "@walletconnect/types" "2.7.0" - "@walletconnect/universal-provider" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/sign-client" "2.7.4" + "@walletconnect/types" "2.7.4" + "@walletconnect/universal-provider" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -4183,19 +4183,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.7.0.tgz#c08c90a1fc95340d5d40d2cfd88f59d4d385a676" - integrity sha512-K99xa6GSFS04U+140yrIEi/VJJJ0Q1ov4jCaiqa9euILDKxlBsM7m5GR+9sq6oYyj18SluJY4CJTdeOXUJlarA== +"@walletconnect/sign-client@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.7.4.tgz#e07db5856f9e45945080a169bbd9cb6849576bac" + integrity sha512-hZoCB51GB4u32yxzYnxp8dpzXgo6E7ZWUVOgnihmoMPjgJahPtvB/Ip9jYxI3fuV+ZPQYNlxQgEvR9X+2fLz+g== dependencies: - "@walletconnect/core" "2.7.0" + "@walletconnect/core" "2.7.4" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" "@walletconnect/socket-transport@^1.8.0": @@ -4214,10 +4214,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.0.tgz#af639c463d0d80d0fd03da80f2fc593c73a93ae9" - integrity sha512-aMUDUtO79WSBtC/bDetE6aFwdgwJr0tJ8nC8gnAl5ELsrjygEKCn6M8Q+v6nP9svG9yf5Rds4cImxCT6BWwTyw== +"@walletconnect/types@2.7.3", "@walletconnect/types@^2.5.2": + version "2.7.3" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.3.tgz#cbc894b025383ec1137023caefce55f9824909c9" + integrity sha512-01U/GwrtokgBfBzLwZQQogkYh/+HBvClO4Oet3bClnyzHZ//Jv3Xf3X9LluNrHaulzPqdc9g7wnFkpjkVqKicQ== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -4226,10 +4226,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.7.3", "@walletconnect/types@^2.5.2": - version "2.7.3" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.3.tgz#cbc894b025383ec1137023caefce55f9824909c9" - integrity sha512-01U/GwrtokgBfBzLwZQQogkYh/+HBvClO4Oet3bClnyzHZ//Jv3Xf3X9LluNrHaulzPqdc9g7wnFkpjkVqKicQ== +"@walletconnect/types@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.4.tgz#958864e7ef497206a24db0ca629a478ca8e1cc08" + integrity sha512-Nagfz8DqLxf0UlVd7xopgBX60EJp1xUEq7J30ALlTbWqEhCHuLK/qPk5vGdJ9Q6+ZDpTW9ShLq1DNf+5nVpVDQ== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -4243,26 +4243,26 @@ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== -"@walletconnect/universal-provider@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.7.0.tgz#4bb36b353d2c2d7c466e89e2d8c576727c4388d0" - integrity sha512-aAIudO3ZlKD16X36VnXChpxBB6/JLK1SCJBfidk7E0GE2S4xr1xW5jXGSGS4Z+wIkNZXK0n7ULSK3PZ7mPBdog== +"@walletconnect/universal-provider@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.7.4.tgz#f21dcaf89c102bda79f13e92c45833f8f1196775" + integrity sha512-suH3o5LpTX7hlx5lU98oLdEM0Ws5ZysjQ4Zr6EWIK1DVT8EDdWbw49ggJSW9IYRLQ2xG22jDvmTIdFAexYOgng== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.4" "@walletconnect/jsonrpc-provider" "^1.0.11" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.7.0" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/sign-client" "2.7.4" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" eip1193-provider "1.0.1" events "^3.3.0" -"@walletconnect/utils@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.7.0.tgz#18482834b8a27e0515ef160a1ff7e4632c9d77f5" - integrity sha512-k32jrQeyJsNZPdmtmg85Y3QgaS5YfzYSPrAxRC2uUD1ts7rrI6P5GG2iXNs3AvWKOuCgsp/PqU8s7AC7CRUscw== +"@walletconnect/utils@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.7.4.tgz#314a164aabb7551dae4ac58e63312c9ae6369e1e" + integrity sha512-2WEeKB9h/FQvyNmIBYwLtjdLm3Oo55EwtJoxkC00SA7xjf8jYxZ8q2y4P/CJP8oO5ruxBK5Ft0smKvPHXsE58Q== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -4273,11 +4273,11 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" + "@walletconnect/types" "2.7.4" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" - query-string "7.1.1" + query-string "7.1.3" uint8arrays "^3.1.0" "@walletconnect/utils@^1.8.0": @@ -4341,37 +4341,37 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3-onboard/cede-store@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/cede-store/-/cede-store-2.0.1.tgz#0dec82e6f511e5b89885586c3229732c824f1fc0" - integrity sha512-ZgC/cgGdci+TuFJ2Yt2NK7BH84kCvSTj/Ko+VxWaAfiAw8m249SIsJeqmW7hEGM0ZJhJW0rmQHvDpSv0w4wF5g== +"@web3-onboard/cede-store@^2.0.2-alpha.2": + version "2.0.2-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/cede-store/-/cede-store-2.0.2-alpha.2.tgz#fb5773fbea93cbb1318065671b0a2eabdf5b9306" + integrity sha512-3kkMhyQFVNpDTKekaT/x8ZXYlo6Zuz4aNgeFLLu5Qo6d30BiEVV6YvL+vwCxK5qqzAYnP+Pfg4xPCPhzk6MV9w== dependencies: "@cedelabs/providers" "^0.0.7" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/coinbase@^2.2.3": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/coinbase/-/coinbase-2.2.3.tgz#db731735096a9fabec66517bc8a913650d3212d3" - integrity sha512-x1DcunvCfG17jKqa+IFqnxxcXwe30+hTxU+qRwVN/r699GGg6YsRQfIGZvRWcdl0dv6xkOifP3a4F38P4d4C8Q== +"@web3-onboard/coinbase@^2.2.4-alpha.1": + version "2.2.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/coinbase/-/coinbase-2.2.4-alpha.1.tgz#7a5de131cfe8df97beacfd10c0762a48ad369b77" + integrity sha512-s/fNnNo+RcnOlJ19Pl8J3CjNOR2f7k/RUekZfily8MGXVfJjINjjTRPYOnOzuhdbSX4Eq5gLs4n+Ny1n61RMaQ== dependencies: "@coinbase/wallet-sdk" "^3.6.0" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/common@^2.3.1", "@web3-onboard/common@^2.3.2": - version "2.3.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.3.2.tgz#bf2868e3a093a20a1390eea596e82922c2af8cd8" - integrity sha512-BmMc7MhqrpWD3RxJ2IWppF7AKRRFdaUrcIUvUa3/MNV6IrwFoHcg9eTsFPlF0cUqJip+oQz0XGCqdlVgcSLAcQ== +"@web3-onboard/common@^2.3.3-alpha.1": + version "2.3.3-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.3.3-alpha.1.tgz#e018d37e541dcd71fc5230edc076f334d6c59765" + integrity sha512-g0zFTWe7UGvyOxXO/VkRXQmk6wcbD54dW0HhPmAI4EqQ2Eu9s41J4Es1n6GYD8Rl8YKvYnZKz4Qk9lFNEEFMMg== dependencies: bignumber.js "^9.1.0" ethers "5.5.4" joi "17.9.1" -"@web3-onboard/core@^2.18.0": - version "2.18.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.18.0.tgz#2da396cadd977c4ec4ac3903e587a114be8778d7" - integrity sha512-IbKCsf9Ks9a30UzNgF+EQ2slbZ50li464ySmYLEQqIZKSjItfpwuDa/CBTs12YB+AD4HwElMkEB2/S418nMIAw== +"@web3-onboard/core@^2.19.1-alpha.1": + version "2.19.1-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/core/-/core-2.19.1-alpha.1.tgz#7d199012ea0fd3d27bc110b3055b0858daee532b" + integrity sha512-cqQgJCNMouT/eiPNyO4Ub+pYXx0ibYa6AbTQAcnVlxSOKtIZV/PO8IW68dJ3RbKw93/9RmL436do6HRWDq4vmw== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" bignumber.js "^9.0.0" bnc-sdk "^4.6.7" bowser "^2.11.0" @@ -4385,176 +4385,190 @@ svelte "^3.49.0" svelte-i18n "^3.3.13" -"@web3-onboard/dcent@^2.2.6": - version "2.2.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/dcent/-/dcent-2.2.6.tgz#5dc43bb83eca569c6b1f622b956c48107f84bae5" - integrity sha512-RjOeXhsNQTkf+eqop6bIHPMuNnjr4IBF1/+kpD6JjsatxI+La+zJv16gSFq0aPfq7TZgb4vuaSmgoCxnO1UEGA== +"@web3-onboard/dcent@^2.2.7-alpha.2": + version "2.2.7-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/dcent/-/dcent-2.2.7-alpha.2.tgz#c963e5a23dddb0c32bdced983e09766ce562b628" + integrity sha512-dRDzRdw4aVnGTV6w0fwamJv/9dYtnnFwwaDlNXlNiIoz516cn/EXLB/XKsTJrPwgF1Dg39sIU3oWS1FOUl7DnA== dependencies: "@ethereumjs/tx" "^3.4.0" "@ethersproject/providers" "^5.5.0" - "@web3-onboard/common" "^2.3.2" - "@web3-onboard/hw-common" "^2.2.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/hw-common" "^2.3.0-alpha.2" eth-dcent-keyring "^0.2.2" -"@web3-onboard/enkrypt@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/enkrypt/-/enkrypt-2.0.3.tgz#86c25b7acb57178918084c3e86ffbeb8b82622eb" - integrity sha512-2ONcOJiiKPIKj0B8YZMUht292zcnRQtyNExQoro8n8mpFNhQ4Ig2zQi1IzHcSOGRk8I+RoGO8rvCZ/WAsa65zw== +"@web3-onboard/enkrypt@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/enkrypt/-/enkrypt-2.0.4-alpha.1.tgz#4cfc5c1e3c73125ca9cb9dd77bb3221faf85edcd" + integrity sha512-rCu9w5n5vsAc5vA5htE7VdIgssC5VycDVCaCScJhBrnqDaw/c5Y3cU7AOQtle96TqpwRQUZ5/c7DWOnIj4Ykqw== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/fortmatic@^2.0.18": - version "2.0.18" - resolved "https://registry.yarnpkg.com/@web3-onboard/fortmatic/-/fortmatic-2.0.18.tgz#2df966c2fda49161cd96f8e28cbbb414e63aa7cf" - integrity sha512-WAgxwFPtRXwqElPdirKonCPANQ/KWsWrA6WGcUNzDTdUvS5UJLGGQMoKxM5yN4TgiCp5vvb33cRhEZ08b9tJdQ== +"@web3-onboard/fortmatic@^2.0.19-alpha.1": + version "2.0.19-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/fortmatic/-/fortmatic-2.0.19-alpha.1.tgz#8415db5ba65385d7d5c20b195b0ecaf1a5bcd431" + integrity sha512-sTzj+KAmhECmsXpP74/6gUT+Fv734L0mxmxudWvGZglcmquUbv7n0Juu25cyh48hwTez6u9fvXHf6rMm7uW/wQ== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" fortmatic "^2.2.1" -"@web3-onboard/frame@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@web3-onboard/frame/-/frame-2.0.0.tgz#b2840fc3ebb1c303b6f305f25e847512d8065810" - integrity sha512-FBbc9JCEVMX502wA5wqWpRBF2qAxnPvflCmCMK2bm2gVcS/HuT99eXV497yb6KJy9ryXxS/t7d8hVZtuRDwOYg== +"@web3-onboard/frame@^2.0.1-alpha.1": + version "2.0.1-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/frame/-/frame-2.0.1-alpha.1.tgz#8658fe80fbfc6b5376147f858b9431bb1dd92b10" + integrity sha512-hGw1RfJquEhGv7TcOzXSvaTMDH3BbBcvqhpXv0Ow1gqVceAG3Y0zx5altb3ZbivRAQPwKHry3BnFMArz00vJQA== dependencies: - "@web3-onboard/common" "^2.3.1" + "@web3-onboard/common" "^2.3.3-alpha.1" eth-provider "^0.13.6" -"@web3-onboard/gas@^2.1.7": - version "2.1.7" - resolved "https://registry.yarnpkg.com/@web3-onboard/gas/-/gas-2.1.7.tgz#caef19baac5b6ae8a48ce433473d7d45ce40e6a8" - integrity sha512-OVb73b6irHYkqZO45lB3bMe7BLc4Lr4mVdqSrv/YiFjCgq1iosb6AO/MHgQAzG3X9zwbFs4Jls9gkaUgW5jluw== +"@web3-onboard/frontier@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/frontier/-/frontier-2.0.4-alpha.1.tgz#b672ffe34a4cf733337519f93a73c57574bba5b0" + integrity sha512-iPIUvFus6cSS2pqpjSGDkH+eRzKqerbn9fdHgZu7gZ8uPrIM0fnxIODYKpXiQ1aPWFN1h87oq+B/itu/VjSxrQ== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + +"@web3-onboard/gas@^2.1.8-alpha.1": + version "2.1.8-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/gas/-/gas-2.1.8-alpha.1.tgz#2d846d4d148ab9f0ea0eb86f728c2648fc9d484f" + integrity sha512-3Y5SNMvX1LgsHvQkRjIU/eLMyRNtzFGDFh1h6+ahNbNm3dMLG0Kgjyq6uhSWDlCk1QxtMqzGOWsYooz2jh/hEA== + dependencies: + "@web3-onboard/common" "^2.3.3-alpha.1" joi "17.8.1" rxjs "^7.5.2" -"@web3-onboard/gnosis@^2.1.9": - version "2.1.9" - resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.1.9.tgz#1b228513f361bef88bd1fdb9310a5c267ed54f54" - integrity sha512-nBBK8rtLMiS4yhlKh75f0CW86HEp9qQfOf2wI1wyeNlcFDrYvnIdSvAXtH+mZQCNu0v5qSCF2lR5buUbu+i0tw== +"@web3-onboard/gnosis@^2.1.10-alpha.1": + version "2.1.10-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.1.10-alpha.1.tgz#6c94f893adbf06d1f3a6972c4015f69227d2ebaf" + integrity sha512-/j+ee+FXb5B07gO+l5tJHo1SO/4fBx217oLCdED8OWREMxD35VAUc+RHGEAeA+yU5S26HNYqyV20nKPQV3SS7w== dependencies: "@gnosis.pm/safe-apps-provider" "^0.9.2" "@gnosis.pm/safe-apps-sdk" "^6.1.1" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/hw-common@^2.2.0", "@web3-onboard/hw-common@^2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/hw-common/-/hw-common-2.2.2.tgz#02dad6afc4af3b5945272d1a1d24dbcebd837ad0" - integrity sha512-wOskCumVGUSNMnJQUGkSOMP0nZvocfHrK3/iqNtsUVXU6Szw3I9/oIwNPwcDwbttIwpayLyLZisGxvnn7gj3+g== +"@web3-onboard/hw-common@^2.3.0-alpha.2": + version "2.3.0-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/hw-common/-/hw-common-2.3.0-alpha.2.tgz#1e0a7125ef26d2ffd3866ae9f8673344059e6704" + integrity sha512-3ay5vmzopmfV1c26W2XFxewCQQQPOTd9BsTUFHCw05320ewomR7d4QiZjtsLZLexYu7s3l1sIhMTBZexQyjFMg== dependencies: "@ethereumjs/common" "2.6.2" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" ethers "5.5.4" joi "17.9.1" rxjs "^7.5.2" -"@web3-onboard/infinity-wallet@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/infinity-wallet/-/infinity-wallet-2.0.3.tgz#c7c98e407bfaccf41fdbd48df983d5abf951ae6d" - integrity sha512-orXgx+hohaU1B8OTw9rvzl6/Zp/ouf5At90kPl/qgW5P7AqJp6X6i84dxTrxUWiiUOmnienvO/xQxBaTA+NQyQ== +"@web3-onboard/infinity-wallet@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/infinity-wallet/-/infinity-wallet-2.0.4-alpha.1.tgz#172bbc6c86b949a2c3486732b9037c1bf411059d" + integrity sha512-wjaezEEuEmbfm2ugnvY6iHkTx+6HmPplFtTAD2UJc9AehBwmlz7GuYHnl1Np2+Cc2oXfkR4fhZxyBBRE9rHLpg== dependencies: "@infinitywallet/infinity-connector" "^1.0.6" -"@web3-onboard/injected-wallets@^2.8.6": - version "2.8.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.8.6.tgz#946843a8595752b6bd80ee04cc7030c1717ba180" - integrity sha512-mdvhU7Zv3pD69oopjbmrT0yVzKboEGUQcE372HGT63xA7w0m0p9rDHjlSQuy4DyNop7Vx0k1cKrnvjFE7dyqZg== +"@web3-onboard/injected-wallets@^2.9.0-alpha.2": + version "2.9.0-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/injected-wallets/-/injected-wallets-2.9.0-alpha.2.tgz#74f11566c35303c86de7710ef37970525f299147" + integrity sha512-rgp3tot2l12rtv982qg/I7psyF5qaZTRRCgh+07zTH4PoA5/7EcN3v85tERpJucQ3t17auwnRn4fkTGNzuZ36w== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" joi "17.9.1" lodash.uniqby "^4.7.0" -"@web3-onboard/keepkey@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/keepkey/-/keepkey-2.3.6.tgz#f691a2a945913325b8b2eade75a999489bc7ebcf" - integrity sha512-QkXGCSZ3jq7m+GxVTAOHfJnggdPnqE72CG8Pbf/qzeRVC0KznfKmp6b2+w8g/IlGKcJkCzIcifLGue8W7beaQw== +"@web3-onboard/keepkey@^2.3.7-alpha.2": + version "2.3.7-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/keepkey/-/keepkey-2.3.7-alpha.2.tgz#ffdbc82d94f4caba91311ee848886f06987c7ab4" + integrity sha512-EnRFmO22racS8VdLgD9lwJZExXhU/zumx86B45j/wSOOeSM24NdkctcrRzO0nb9ZlfgzKXHUJYp4l31vfhg7XA== dependencies: "@ethersproject/providers" "^5.5.0" "@shapeshiftoss/hdwallet-core" "^1.15.2" "@shapeshiftoss/hdwallet-keepkey-webusb" "^1.15.2" - "@web3-onboard/common" "^2.3.2" - "@web3-onboard/hw-common" "^2.2.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/hw-common" "^2.3.0-alpha.2" ethereumjs-util "^7.1.3" -"@web3-onboard/keystone@^2.3.6": - version "2.3.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/keystone/-/keystone-2.3.6.tgz#ddeaa5feece8b6996a7a03fda50cacdfa076daaa" - integrity sha512-++TkxB2zNiFK1t9Hgp9oT1Tl0v4nEngX2OaqFUd0nRQ3669SaF+Wd0eemCHFGMCbiwqOvNfBKR67DuEOIPknrg== +"@web3-onboard/keystone@^2.3.7-alpha.2": + version "2.3.7-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/keystone/-/keystone-2.3.7-alpha.2.tgz#11229c44a2798ed2882ac260e15792ad33f45324" + integrity sha512-RBeLiYo4azDNdrDn5DfhKBOdsWzhU9/jP3D0cPennjrxKmWMEXmiXWVg1HOou/3KX1uiJrtLhp4q4rTLnGD7AA== dependencies: "@ethereumjs/tx" "^3.4.0" "@ethersproject/providers" "^5.5.0" "@keystonehq/eth-keyring" "^0.14.00.3" - "@web3-onboard/common" "^2.3.2" - "@web3-onboard/hw-common" "^2.2.0" + "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/hw-common" "^2.3.0-alpha.2" -"@web3-onboard/ledger@^2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.4.5.tgz#252c52ed2603254aa98d54cd5e177f255ccd51f2" - integrity sha512-uLZMygKz7AVPbnNndHsbEQEGI/bHEepNHzR9vAsw9Z4h+gD5z9OhRKXK8eArQRBSQJmBsLdWRfrS8g9r+USJPQ== +"@web3-onboard/ledger@^2.4.6-alpha.1": + version "2.4.6-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/ledger/-/ledger-2.4.6-alpha.1.tgz#4b3c008fca00125e1a9ba93dcad18351911a43e6" + integrity sha512-ixh/uHMZPvRPc/0KIji7JyJR772jBKyWpJYbkcJxCjzFfRJo0IQ9neMQUt/ENzid4BZPn6KoW9eDmggxxwWSHg== dependencies: "@ethersproject/providers" "^5.5.0" "@ledgerhq/connect-kit-loader" "^1.0.2" "@walletconnect/client" "^1.7.1" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" rxjs "^7.5.2" -"@web3-onboard/magic@^2.1.6": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/magic/-/magic-2.1.6.tgz#8b0eaa0ca02f9324065782df5cb2b0ea6fcf9d5f" - integrity sha512-53bke1UBnR6dCgcUcBnRPsvrJFPeaRwdaS4wQOgsHLYgKtmLxFitlSLxhL++eiI6JZH6edV8GCKP6lyuWVacTw== +"@web3-onboard/magic@^2.1.7-alpha.1": + version "2.1.7-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/magic/-/magic-2.1.7-alpha.1.tgz#684da74c05c5e1f2702f64576dd2f1f61978b155" + integrity sha512-eY2pf4M5LjOXVR6l7w3oPLdcsB808MFnbcVH2B8T5PveTvdwj4yiNK8Axb4JRGA+NB+6Xgsm9ZqCzGF/Ea3+eg== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" joi "17.9.1" magic-sdk "^8.1.0" rxjs "^7.5.2" -"@web3-onboard/mew-wallet@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/mew-wallet/-/mew-wallet-2.0.3.tgz#5b962c749bef9babb04cf0077cf89ac7b3e72b33" - integrity sha512-Hkg6zkhjNvO5bonXJg7du0pSKgktzqwDJxvLoFAd7sFyQxV/IDTQ1sYFKE2ItPakuQM4tKPeHCyZM6Nbqmjnqg== +"@web3-onboard/mew-wallet@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/mew-wallet/-/mew-wallet-2.0.4-alpha.1.tgz#ca6187820431d839f73b1e00787b844eeaf147ee" + integrity sha512-/ywDCQDs0Q2h2jtA3wllu3uQ5bOdQ+R6YhYxjtFXCl5iIZtIBVADuZAjYpoeEMmk1EIwqDQpJQYQF4Kf2L36rw== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" lodash.uniqby "^4.7.0" -"@web3-onboard/portis@^2.1.6": - version "2.1.6" - resolved "https://registry.yarnpkg.com/@web3-onboard/portis/-/portis-2.1.6.tgz#a774e12c450894a3c80cf73e248bd9eba6240714" - integrity sha512-cJxXgJ2gT+RkouIdr1unyvD+iETz5VfuZlJp3nvEE7JBF4ihoycE9jGlr0Zd9gSP3TpM8imsW7NlM2jSuSuf1A== +"@web3-onboard/phantom@^2.0.2-alpha.1": + version "2.0.2-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/phantom/-/phantom-2.0.2-alpha.1.tgz#1cf91dae0548c22f7e87e7d00b0be43235a03d15" + integrity sha512-Rs3oi07vRPSh5kJAC/C3fZ99gyJ8IZXAyQkVdl9Z81cMwnNgeThknfm+es8BTxCISgWT90VB0kVfi+2E+Lu49w== + dependencies: + "@web3-onboard/common" "^2.3.3-alpha.1" + +"@web3-onboard/portis@^2.1.7-alpha.1": + version "2.1.7-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/portis/-/portis-2.1.7-alpha.1.tgz#6254c7481c5492ff5765a8b6f22fc9821d333186" + integrity sha512-ujPahipLm3pL8Q8+lC8gxXPes84gqxr1UUSjkBkTIdKz5UPZjQYt+/DHlJWb7hoITM4rGoIhmJsvW4WMDjI18Q== dependencies: "@portis/web3" "^4.0.6" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/sequence@^2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@web3-onboard/sequence/-/sequence-2.0.7.tgz#e0a649cdf2e1bfc381b6cc52e1d31a3619694127" - integrity sha512-JJannpGsPn1mkkzN8a0CR71P/3F38lbhp2X14tE9SxwuGZs4a/sgmA/wMdP1L99cGpfnq2Inm2ay9LmjoU7mrw== +"@web3-onboard/sequence@^2.0.8-alpha.1": + version "2.0.8-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/sequence/-/sequence-2.0.8-alpha.1.tgz#68f040135cf0b5fff5eeb27fbd0923f1a6c45d7a" + integrity sha512-yM9xubrmKZup1gTnB6Xy+Hd2Ma5g6pOMeaAbkwQnafuxwgLhzn6KvW7mAT8E4nLLRF5uSTVxEzjLFgQgnw+tOQ== dependencies: "0xsequence" "^0.43.1" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/taho@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/taho/-/taho-2.0.3.tgz#7acac82e5251b38292a28a994f3e718e58c3a1d1" - integrity sha512-BUFbe4BuAMZRLlC/3F6gVQW94uGgyyYHs/MuK0+FdsRuoPHoaj0YBmZZJksZOACv/QzwDP/ZdOZAuesJwHq0tw== +"@web3-onboard/taho@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/taho/-/taho-2.0.4-alpha.1.tgz#1c86096070c62f251e924278e1a458596659106c" + integrity sha512-EwZXEjsxYWxAy4rHw7Yu0e88BqXRex3Wcx/j/bUc8+58dzWevDMmkHydNJzo5hG/BXGl2cUERu7ulSuaGK+zyw== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" tallyho-detect-provider "^1.0.0" tallyho-onboarding "^1.0.2" -"@web3-onboard/torus@^2.2.4": - version "2.2.4" - resolved "https://registry.yarnpkg.com/@web3-onboard/torus/-/torus-2.2.4.tgz#5c5fffcf18112886c140a32910e3843d7b78c48a" - integrity sha512-hv54bEaSznZif8jxnA2cYcYqx904jInKELkyUbqoUdnwU8nhviXhwE8oPeeFVuiuaWrnZPxJqY/Yqkq3E/5SFw== +"@web3-onboard/torus@^2.2.5-alpha.1": + version "2.2.5-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/torus/-/torus-2.2.5-alpha.1.tgz#465675cde8cfdf02cd1da9ebed0693baaefd1bc8" + integrity sha512-R04RgwIs9bxqpgzok4hxaD/UvYTFV7078T3nlO5jv1kGrhm/aFnugyiaSB1VktqdhgyREZHMZums40KNHnX+3Q== dependencies: "@toruslabs/torus-embed" "1.38.2" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/transaction-preview@^2.0.7": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@web3-onboard/transaction-preview/-/transaction-preview-2.0.7.tgz#6e607fdbd92a6087049780bf17f4111255ac1e8b" - integrity sha512-AylimOQNIG+SRVdt46+p30Tao0hR39njYvUGX3erURBavKgTnq2txFyefZuM0XI7Hg+/ROsLozTSs8hQqUI2Mw== +"@web3-onboard/transaction-preview@^2.0.8-alpha.1": + version "2.0.8-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/transaction-preview/-/transaction-preview-2.0.8-alpha.1.tgz#5a42902831b0dedac56f06720daf887eb1dac4af" + integrity sha512-/FiKM87bOTwsc34BrgFgMT7YCuJIGK6T5iunsAvvkjXErCDlh3arANNM2yynacRNwo51tCMZMLlE3o/T+yfjdg== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" bnc-sdk "^4.6.7" bowser "^2.11.0" joi "17.9.1" @@ -4562,71 +4576,78 @@ svelte "^3.49.0" svelte-i18n "^3.3.13" -"@web3-onboard/trezor@^2.4.1": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/trezor/-/trezor-2.4.1.tgz#c5159013d7424b1add70929df55ca254ac264e0e" - integrity sha512-ShgZLxAzPkgw9cbVnR8UrfdCgg2oxn9DFLpmKC8Thmi0sT3/IP6Evn1dGoebf9xOrhgOssahyFnpR2qtBOYIUg== +"@web3-onboard/trezor@^2.4.2-alpha.3": + version "2.4.2-alpha.3" + resolved "https://registry.yarnpkg.com/@web3-onboard/trezor/-/trezor-2.4.2-alpha.3.tgz#88ed3f9a17845bbd7a29fd28fb803321f7db9768" + integrity sha512-xb+260iInYbUki70LHI0QKbLQh69vLf6L7XRRIYkACcWjSxVOJa+C7HGjGAl+2Itb44Zz1EXHCzRg7v5UbNNaw== dependencies: "@ethereumjs/tx" "^3.4.0" "@ethersproject/providers" "^5.5.0" "@trezor/connect-web" "^9.0.8" - "@web3-onboard/common" "^2.3.2" - "@web3-onboard/hw-common" "^2.2.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/hw-common" "^2.3.0-alpha.2" buffer "^6.0.3" eth-crypto "^2.1.0" ethereumjs-util "^7.1.3" hdkey "^2.0.1" -"@web3-onboard/trust@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/trust/-/trust-2.0.3.tgz#573e84d7d89a815984b12f2fc409bc3a95d018de" - integrity sha512-eDw3FDTKGsqhSzaWBzYCSjEuKQDYZs6DbzAfnYcFb06tuZy9yQRW8U3sjPUKLNnIO6RtoBiO61f2O4IcOtj7bA== +"@web3-onboard/trust@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/trust/-/trust-2.0.4-alpha.1.tgz#b0a027ed4113e92f2da26aa1064820ab1240756f" + integrity sha512-a41/aJKxtieq21c7H9/dkpkKVztVtyp5gRv0lMTrsB1fWbVVNnPhqsoNouOzIK5KOiYsISeXYQx7JjVnMPV5cg== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" -"@web3-onboard/uauth@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.0.4.tgz#1c3c111cf2394e97266fa4e8b247eec3cd7e143e" - integrity sha512-TWsMCxpmcVTHa6bGqVHe7CKpoZO2GPQkYqk1Ow8VP8qh05KdXIGBDRXEpzKQGxsChQQoNza3y1ycQSnWhpIa+Q== +"@web3-onboard/uauth@^2.0.5-alpha.1": + version "2.0.5-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.0.5-alpha.1.tgz#edf9aa4310e635c1933638b8b3f310d122c8bf91" + integrity sha512-SV2BAPCgs0J7qYbJJOzeHC4awYKuvFpVZuNrdtkz7jjfFitKFGk666WFHf2BAOOQE3Z2RClqm2KisF5nleW4fw== dependencies: "@ethersproject/providers" "^5.5.0" "@uauth/js" "^2.4.0" "@walletconnect/client" "^1.7.1" "@walletconnect/qrcode-modal" "^1.7.1" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" joi "17.9.1" rxjs "^7.5.2" -"@web3-onboard/walletconnect@^2.3.7": - version "2.3.7" - resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.3.7.tgz#35c3b611a428097559907aeccfb64dee002f139a" - integrity sha512-9m8ZL03Gie1xZG0SFTNRw2Azn+zLev7bSbiAdgqhlSkvw0kazahWE0atHWTggI4TwLLe5jPrZriwm9vmbEM2ow== +"@web3-onboard/walletconnect@^2.3.8-alpha.2": + version "2.3.8-alpha.2" + resolved "https://registry.yarnpkg.com/@web3-onboard/walletconnect/-/walletconnect-2.3.8-alpha.2.tgz#d3ac1cc3b0eff7444c45beca8902e8a9f349a03f" + integrity sha512-d0p0ql05o6yx/c8Zrbvj03R9rzDfZvo5Nv4Z893tvsstJsE5XadyE/neDDp8l1NTwy2yojc3OU14bVe3UG+J1w== dependencies: "@ethersproject/providers" "5.5.0" "@walletconnect/client" "^1.8.0" - "@walletconnect/ethereum-provider" "2.7.0" + "@walletconnect/ethereum-provider" "2.7.4" "@walletconnect/qrcode-modal" "^1.8.0" - "@web3-onboard/common" "^2.3.2" - "@web3modal/standalone" "2.2.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3modal/standalone" "2.4.1" rxjs "^7.5.2" -"@web3-onboard/web3auth@^2.2.1": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3-onboard/web3auth/-/web3auth-2.2.2.tgz#e7ecb655f56a8ed263122e7191deec1763e7c8bc" - integrity sha512-Jv5xTdSBGYZJx+4uo1lB5VvTG2Xii0rbRwUFIUChpHlx+KZUVugtsaXXy2HCCLtL3F50P655ZbIqjc9LvqqIqA== +"@web3-onboard/web3auth@^2.2.3-alpha.1": + version "2.2.3-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/web3auth/-/web3auth-2.2.3-alpha.1.tgz#6ffc0da098080d7159b40e2d3664c100e6885d5b" + integrity sha512-E6B9k+fFPlsfBb5g6KKYzc2uDqnr3Rz8LMzaF4y/Q1+WURpqLq5S4hIu4skpf2XWccg9y1Aa+LLo66JGqVNteg== dependencies: "@solana/web3.js" "^1.73.0" - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" "@web3auth/base" "^5.0.1" "@web3auth/modal" "^5.0.1" react-dom "^18.2.0" -"@web3-onboard/xdefi@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/xdefi/-/xdefi-2.0.3.tgz#703b0a4afd04a9448d45002c4532111a236e2b59" - integrity sha512-nGxspI2xsuoh69wZBim6/eIiVSUhhTWnFIaqlP1ZXHk2om9qbIO7ttFUAzPk+8TpGdYJ5TNKBI+L43CrbTv+RA== +"@web3-onboard/xdefi@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/xdefi/-/xdefi-2.0.4-alpha.1.tgz#d4c604a4704294a22b019c3a93ff116b295f9cab" + integrity sha512-FHCYMK/006BTBHu5gK2v+Tp3n4WPhqFidBrBKaczURyvkD5YliAm/eqkutFfQN0lnrFr9sZgoFL73crxmupP6g== dependencies: - "@web3-onboard/common" "^2.3.2" + "@web3-onboard/common" "^2.3.3-alpha.1" + +"@web3-onboard/zeal@^2.0.4-alpha.1": + version "2.0.4-alpha.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/zeal/-/zeal-2.0.4-alpha.1.tgz#b019fb70daa1323ba6b42bc1cf55fce7b7d3108d" + integrity sha512-nsNNP2NLgWU8zNF7v/OAFR3fLL/nPmFcCg2Ke3LB1sKFgxt2CMdAcG8beotJfEySkMy6hsjnwnDb1dfsorEwtw== + dependencies: + "@web3-onboard/common" "^2.3.3-alpha.1" "@web3-react/abstract-connector@^6.0.7": version "6.0.7" @@ -4829,31 +4850,31 @@ "@web3auth/base-evm-adapter" "^5.2.0" "@web3auth/ethereum-provider" "^5.2.0" -"@web3modal/core@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-2.2.2.tgz#1e282dc45bddb11c04f1c93abce570bac1b9a620" - integrity sha512-RKbYNIEVP5Hwiva68PWXExbkTFLUTasneyRpcjoQSM4BIh78qXp1YMt0nyTvFdHmHQEGxXEMCuRG5qoE97uMHA== +"@web3modal/core@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-2.4.1.tgz#9b0a60aa88ef8518de7a30bab1278b2c9f046012" + integrity sha512-v6Y/eQJSI2YfUTv8rGqjFabqdk3ZPjx6Fe7j5Q8fw0ZWF1YRGM3mySG457qtKQ7D7E1kNKA3BHbaOZ3pgQoG6A== dependencies: buffer "6.0.3" - valtio "1.10.3" + valtio "1.10.5" -"@web3modal/standalone@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/standalone/-/standalone-2.2.2.tgz#2d5ce74bbb7f112b31da32049620afa75c4a4686" - integrity sha512-c05kkTFNGZqnjJ3n2C8uo+wWL6ut1jexGYAyTvbweDengdsOr8LDo0VpK5V3XSKCV2fFcPh5JE9H1aA4jpnZPg== +"@web3modal/standalone@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/standalone/-/standalone-2.4.1.tgz#e10330583ce7b550ba676e4c595ac8ea8715bcdb" + integrity sha512-ZrI5LwWeT9sd8A3FdIX/gBp3ZrzrX882Ln1vJN0LTCmeP2OUsYcW5bPxjv1PcJ1YUBY7Tg4aTgMUnAVTTuqb+w== dependencies: - "@web3modal/core" "2.2.2" - "@web3modal/ui" "2.2.2" + "@web3modal/core" "2.4.1" + "@web3modal/ui" "2.4.1" -"@web3modal/ui@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-2.2.2.tgz#f1c1ac908230d4214c35891a5d922c118353eaf2" - integrity sha512-PAuMOuk4sZ4UGjucGMZKzu6Qu56XtFsgLaqOn8ZgP2RkZmYEBGSG9mUQVzJd3XzfzAy1T91Wmqp/3TI3m0pXuQ== +"@web3modal/ui@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-2.4.1.tgz#c1c5a8bf4cd749febd15411ec710b22215e66e56" + integrity sha512-x1ceyd3mMJsIHs5UUTLvE+6qyCjhyjL6gB/wVmTDbwASHSQIVyshQJ+s7BwIEMP/pbAsYDg+/M8EiUuE+/E/kg== dependencies: - "@web3modal/core" "2.2.2" - lit "2.6.1" + "@web3modal/core" "2.4.1" + lit "2.7.4" motion "10.15.5" - qrcode "1.5.1" + qrcode "1.5.3" JSONStream@^1.3.5: version "1.3.5" @@ -8894,7 +8915,7 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -lit-element@^3.2.0: +lit-element@^3.3.0: version "3.3.2" resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.2.tgz#9913bf220b85065f0e5f1bb8878cc44f36b50cfa" integrity sha512-xXAeVWKGr4/njq0rGC9dethMnYCq5hpKYrgQZYTzawt9YQhMiXfD+T1RgrdY3NamOxwq2aXlb0vOI6e29CKgVQ== @@ -8903,21 +8924,21 @@ lit-element@^3.2.0: "@lit/reactive-element" "^1.3.0" lit-html "^2.7.0" -lit-html@^2.6.0, lit-html@^2.7.0: +lit-html@^2.7.0: version "2.7.4" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.7.4.tgz#6d75001977c206683685b9d76594a516afda2954" integrity sha512-/Jw+FBpeEN+z8X6PJva5n7+0MzCVAH2yypN99qHYYkq8bI+j7I39GH+68Z/MZD6rGKDK9RpzBw7CocfmHfq6+g== dependencies: "@types/trusted-types" "^2.0.2" -lit@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/lit/-/lit-2.6.1.tgz#5951a2098b9bde5b328c73b55c15fdc0eefd96d7" - integrity sha512-DT87LD64f8acR7uVp7kZfhLRrHkfC/N4BVzAtnw9Yg8087mbBJ//qedwdwX0kzDbxgPccWRW6mFwGbRQIxy0pw== +lit@2.7.4: + version "2.7.4" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.7.4.tgz#ca63d27fda178dbffae0faf2c882b9910e40842c" + integrity sha512-cgD7xrZoYr21mbrkZIuIrj98YTMw/snJPg52deWVV4A8icLyNHI3bF70xsJeAgwTuiq5Kkd+ZR8gybSJDCPB7g== dependencies: "@lit/reactive-element" "^1.6.0" - lit-element "^3.2.0" - lit-html "^2.6.0" + lit-element "^3.3.0" + lit-html "^2.7.0" local-pkg@^0.4.2, local-pkg@^0.4.3: version "0.4.3" @@ -10419,10 +10440,10 @@ protocol-buffers-schema@3.1.0: resolved "https://registry.yarnpkg.com/protocol-buffers-schema/-/protocol-buffers-schema-3.1.0.tgz#d8a819549ead3e6bd189ebe9e50e96636bbc5cc7" integrity sha512-1g9zFjLFhGN1Dc5UVO8D2loVslp6sVxk5sJqgD66CuWUITh2gOaTLRN/pIakGFfB6e0nNF6hImrYFDurEsA1UQ== -proxy-compare@2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.0.tgz#0387c5e4d283ba9b1c0353bb20def4449b06bbd2" - integrity sha512-f1us0OsVAJ3tdIMXGQx2lmseYS4YXe4W+sKF5g5ww/jV+5ogMadPt+sIZ+88Ga9kvMJsrRNWzCrKPpr6pMWYbA== +proxy-compare@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" + integrity sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA== prr@~1.0.1: version "1.0.1" @@ -10512,10 +10533,10 @@ qrcode@1.4.4: pngjs "^3.3.0" yargs "^13.2.4" -qrcode@1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.1.tgz#0103f97317409f7bc91772ef30793a54cd59f0cb" - integrity sha512-nS8NJ1Z3md8uTjKtP+SGGhfqmTCs5flU/xR623oI0JX+Wepz9R8UrRVCTBTJm3qGw3rH6jJ6MUHjkDx15cxSSg== +qrcode@1.5.3: + version "1.5.3" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" + integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== dependencies: dijkstrajs "^1.0.1" encode-utf8 "^1.0.3" @@ -10543,16 +10564,6 @@ query-string@6.13.5: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" -query-string@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1" - integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - query-string@7.1.3: version "7.1.3" resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" @@ -12461,12 +12472,12 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== -valtio@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.3.tgz#273eda9ba6459869798b4f58c84514e18fb80ed8" - integrity sha512-t3Ez/+baJ+Z5tIyeaI6nCAbW/hrmcq2jditwg/X++o5IvCdiGirQKTOv1kJq0glgUo13v5oABCVGcinggBfiKw== +valtio@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.5.tgz#7852125e3b774b522827d96bd9c76d285c518678" + integrity sha512-jTp0k63VXf4r5hPoaC6a6LCG4POkVSh629WLi1+d5PlajLsbynTMd7qAgEiOSPxzoX5iNvbN7iZ/k/g29wrNiQ== dependencies: - proxy-compare "2.5.0" + proxy-compare "2.5.1" use-sync-external-store "1.2.0" varint@5.0.0: diff --git a/package.json b/package.json index ce9421d10..103570062 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web3-onboard-monorepo", - "version": "2.22.0", + "version": "2.23.0", "private": true, "workspaces": { "packages": [ diff --git a/packages/cede-store/package.json b/packages/cede-store/package.json index 3ced5a3fa..d58762991 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.1", + "version": "2.0.2", "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", @@ -70,6 +70,6 @@ }, "dependencies": { "@cedelabs/providers": "^0.0.7", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/cede-store/src/index.ts b/packages/cede-store/src/index.ts index fd5cc99dc..27db6dc8e 100644 --- a/packages/cede-store/src/index.ts +++ b/packages/cede-store/src/index.ts @@ -26,14 +26,19 @@ function cedeStoreWallet(): WalletInit { return Promise.resolve({ provider: createEIP1193Provider(window.cede, { eth_requestAccounts: async ({ baseRequest }) => { - const vaults = (await baseRequest({ + const accounts = (await baseRequest({ method: 'connect' - })) as [] - return vaults.length > 0 - ? ['To access cede.store vaults and accounts, use cede provider'] - : [] + })) as any[] + + if (!accounts.length) { + return [] + } + + const activeVault = accounts.find(account => account.isActive) + + return [activeVault?.name || accounts[0].name] as string[] }, - eth_chainId: () => Promise.resolve('0x0'), // cede.store doesn't support chains, but we have to provide a value to complete the connection + 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, diff --git a/packages/coinbase/package.json b/packages/coinbase/package.json index 486b54a4d..136768e40 100644 --- a/packages/coinbase/package.json +++ b/packages/coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/coinbase", - "version": "2.2.3", + "version": "2.2.4", "description": "Coinbase SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -59,6 +59,6 @@ }, "dependencies": { "@coinbase/wallet-sdk": "^3.6.0", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/common/package.json b/packages/common/package.json index 6bdc56b62..e505620f5 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/common", - "version": "2.3.2", + "version": "2.3.3", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", diff --git a/packages/common/src/types.ts b/packages/common/src/types.ts index 95b746734..2579ab5ad 100644 --- a/packages/common/src/types.ts +++ b/packages/common/src/types.ts @@ -421,6 +421,11 @@ export interface Chain { providerConnectionInfo?: ConnectionInfo /* An optional public RPC used when adding a new chain config to the wallet */ publicRpcUrl?: string + /** An optional protected RPC URL - Defaults to Blocknative's private and + * protected RPC to allow users to update the chain RPC within their wallet, + * specifically for private RPCs that protect user transactions + */ + protectedRpcUrl?: string /* Also used when adding a new config to the wallet */ blockExplorerUrl?: string } diff --git a/packages/common/src/validation.ts b/packages/common/src/validation.ts index a3be7c208..809956a3e 100644 --- a/packages/common/src/validation.ts +++ b/packages/common/src/validation.ts @@ -49,6 +49,7 @@ export const chainValidation = Joi.object({ icon: Joi.string(), color: Joi.string(), publicRpcUrl: Joi.string(), + protectedRpcUrl: Joi.string(), blockExplorerUrl: Joi.string(), providerConnectionInfoValidation }) diff --git a/packages/core/README.md b/packages/core/README.md index c641a8431..279b3dc71 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -335,6 +335,13 @@ type AccountCenter = { type AccountCenterOptions = { desktop: Omit mobile: Omit + /** + * false by default - This allows removal of the + * Enable Transaction Protection' button within the Account Center + * expanded when set to true + * Can be set as a global for Account Center or per interface (desktop/mobile) + */ + hideTransactionProtectionBtn?: boolean } type AccountCenterPosition = diff --git a/packages/core/package.json b/packages/core/package.json index bb7a99bd5..6c1b78030 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/core", - "version": "2.18.0", + "version": "2.19.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", @@ -85,7 +85,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "bignumber.js": "^9.0.0", "bnc-sdk": "^4.6.7", "bowser": "^2.11.0", diff --git a/packages/core/src/constants.ts b/packages/core/src/constants.ts index 7fdc27265..c3bb7df64 100644 --- a/packages/core/src/constants.ts +++ b/packages/core/src/constants.ts @@ -36,3 +36,5 @@ export const STORAGE_KEYS = { } export const MOBILE_WINDOW_WIDTH = 768 + +export const BN_PROTECT_RPC_URL = 'https://rpc.blocknative.com/protect' diff --git a/packages/core/src/i18n/en.json b/packages/core/src/i18n/en.json index 2652484d0..a4698e470 100644 --- a/packages/core/src/i18n/en.json +++ b/packages/core/src/i18n/en.json @@ -56,12 +56,19 @@ "description": "Are you sure that you would like to disconnect all your wallets?", "confirm": "Confirm", "cancel": "Cancel" + }, + "confirmTransactionProtection": { + "heading": "Enable Transaction Protection", + "description": "Protect RPC Endpoints hide your transactions from front-running and sandwich bots to reduce unfavorable transaction settlement from slippage.", + "enable": "Enable", + "dismiss": "Dismiss" } }, "accountCenter": { "connectAnotherWallet": "Connect another Wallet", "disconnectAllWallets": "Disconnect all Wallets", "currentNetwork": "Current Network", + "enableTransactionProtection": "Enable Transaction Protection", "appInfo": "App Info", "learnMore": "Learn More", "gettingStartedGuide": "Getting Started Guide", diff --git a/packages/core/src/icons/shield-icon.ts b/packages/core/src/icons/shield-icon.ts new file mode 100644 index 000000000..18102aa0f --- /dev/null +++ b/packages/core/src/icons/shield-icon.ts @@ -0,0 +1,4 @@ +export default ` + + +` \ No newline at end of file diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index f81a72669..1d102b069 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -5,7 +5,12 @@ import { state } from './store/index.js' import { reset$, wallets$ } from './streams.js' import initI18N from './i18n/index.js' import App from './views/Index.svelte' -import type { ConnectModalOptions, InitOptions, Notify, Theme } from './types.js' +import type { + ConnectModalOptions, + InitOptions, + Notify, + Theme +} from './types.js' import { APP_INITIAL_STATE, STORAGE_KEYS } from './constants.js' import { configuration, updateConfiguration } from './configuration.js' import updateBalances from './update-balances.js' @@ -117,19 +122,21 @@ function init(options: InitOptions): OnboardAPI { if (typeof connect !== undefined) { updateConnectModal(connect) } - // update accountCenter if (typeof accountCenter !== 'undefined') { let accountCenterUpdate + const { hideTransactionProtectionBtn } = accountCenter if (device.type === 'mobile') { accountCenterUpdate = { ...APP_INITIAL_STATE.accountCenter, + hideTransactionProtectionBtn, ...(accountCenter.mobile ? accountCenter.mobile : {}) } } else if (accountCenter.desktop) { accountCenterUpdate = { ...APP_INITIAL_STATE.accountCenter, + hideTransactionProtectionBtn, ...accountCenter.desktop } } diff --git a/packages/core/src/provider.ts b/packages/core/src/provider.ts index 3f5e018f2..154c5f070 100644 --- a/packages/core/src/provider.ts +++ b/packages/core/src/provider.ts @@ -471,6 +471,31 @@ export function addNewChain( }) } +export function updateChainRPC( + provider: EIP1193Provider, + chain: Chain, + rpcUrl: string +): Promise { + return provider.request({ + method: 'wallet_addEthereumChain', + params: [ + { + chainId: chain.id, + chainName: chain.label, + nativeCurrency: { + name: chain.label, + symbol: chain.token, + decimals: 18 + }, + rpcUrls: [rpcUrl], + blockExplorerUrls: chain.blockExplorerUrl + ? [chain.blockExplorerUrl] + : undefined + } + ] + }) +} + export async function getPermissions( provider: EIP1193Provider ): Promise { diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 83bb99b54..2ec8dc5be 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -263,6 +263,13 @@ export type NotificationPosition = CommonPositions export type AccountCenter = { enabled: boolean + /** + * false by default - This allows removal of the + * Enable Transaction Protection' button within the Account Center + * expanded when set to true + * Can be set as a global for Account Center or per interface (desktop/mobile) + */ + hideTransactionProtectionBtn?: boolean position?: AccountCenterPosition expanded?: boolean minimal?: boolean @@ -276,6 +283,13 @@ export type AccountCenter = { export type AccountCenterOptions = { desktop: Omit mobile: Omit + /** + * false by default - This allows removal of the + * Enable Transaction Protection' button within the Account Center + * expanded when set to true + * Can be set as a global for Account Center or per interface (desktop/mobile) + */ + hideTransactionProtectionBtn?: boolean } export type ContainerElements = { diff --git a/packages/core/src/update-balances.ts b/packages/core/src/update-balances.ts index 8d65efa45..0766829da 100644 --- a/packages/core/src/update-balances.ts +++ b/packages/core/src/update-balances.ts @@ -43,6 +43,7 @@ export const updateSecondaryTokens = async ( account: AccountAddress, chain: Chain ): Promise => { + if (!chain) return const chainRPC = chain.rpcUrl if (!chain.secondaryTokens || !chain.secondaryTokens.length || !chainRPC) return diff --git a/packages/core/src/validation.ts b/packages/core/src/validation.ts index 3ec78a1ca..b9c092ed3 100644 --- a/packages/core/src/validation.ts +++ b/packages/core/src/validation.ts @@ -168,7 +168,8 @@ const accountCenterInitOptions = Joi.object({ enabled: Joi.boolean(), position: commonPositions, minimal: Joi.boolean(), - containerElement: Joi.string() + containerElement: Joi.string(), + hideTransactionProtectionBtn: Joi.boolean() }) const accountCenter = Joi.object({ @@ -176,6 +177,7 @@ const accountCenter = Joi.object({ position: commonPositions, expanded: Joi.boolean(), minimal: Joi.boolean(), + hideTransactionProtectionBtn: Joi.boolean(), containerElement: Joi.string() }) @@ -216,7 +218,8 @@ const initOptions = Joi.object({ apiKey: Joi.string(), accountCenter: Joi.object({ desktop: accountCenterInitOptions, - mobile: accountCenterInitOptions + mobile: accountCenterInitOptions, + hideTransactionProtectionBtn: Joi.boolean() }), notify: [notifyOptions, notify], gas: Joi.object({ @@ -263,6 +266,7 @@ const setChainOptions = Joi.object({ rpcUrl: Joi.string(), label: Joi.string(), token: Joi.string(), + protectedRpcUrl: Joi.string(), secondaryTokens: Joi.array().max(5).items(secondaryTokenValidation).optional() }) diff --git a/packages/core/src/views/account-center/EnableTransactionProtection.svelte b/packages/core/src/views/account-center/EnableTransactionProtection.svelte new file mode 100644 index 000000000..642beaa91 --- /dev/null +++ b/packages/core/src/views/account-center/EnableTransactionProtection.svelte @@ -0,0 +1,104 @@ + + + + + +
+
+ {@html shieldIcon} +
+ +
+
+ {$_('modals.confirmTransactionProtection.heading', { + default: en.modals.confirmTransactionProtection.heading + })} +
+
+ {$_('modals.confirmTransactionProtection.description')} +
+
+ +
+ + +
+
+
diff --git a/packages/core/src/views/account-center/Maximized.svelte b/packages/core/src/views/account-center/Maximized.svelte index f31a3823b..71f94f771 100644 --- a/packages/core/src/views/account-center/Maximized.svelte +++ b/packages/core/src/views/account-center/Maximized.svelte @@ -21,16 +21,41 @@ import questionIcon from '../../icons/question.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 shieldIcon from '../../icons/shield-icon.js' + import { BN_PROTECT_RPC_URL } from '../../constants.js' + import { updateChainRPC } from '../../provider.js' + import { shareReplay, startWith } from 'rxjs/operators' + const accountCenter$ = state + .select('accountCenter') + .pipe(startWith(state.get().accountCenter), shareReplay(1)) function disconnectAllWallets() { $wallets$.forEach(({ label }) => disconnect({ label })) } - const { chains: appChains } = state.get() + const enableProtectionRPC = async () => { + try { + await updateChainRPC( + primaryWallet.provider, + validAppChain, + BN_PROTECT_RPC_URL + ) + enableTransactionProtection = false + } catch (error) { + console.error( + `There was en error or the end user rejected updating the RPC in the wallet. Error: ${error}` + ) + enableTransactionProtection = false + } + } + + const { chains: appChains, accountCenter } = state.get() const { appMetadata } = configuration let disconnectConfirmModal = false + let enableTransactionProtection = false let hideWalletRowMenu: () => void $: [primaryWallet] = $wallets$ @@ -50,7 +75,7 @@ connectedChain && connectedChain.id ) - const { position } = state.get().accountCenter + const { position } = accountCenter const { device } = configuration @@ -146,28 +171,56 @@ } .network-container { - background: var(--backround-color); + background: var(--background-color); border-top: 1px solid var(--border-color); - + width: 100%; + display: flex; + flex-direction: column; + align-items: flex-start; + padding: 0.75rem; + gap: 0.5rem; border-radius: var( --account-center-border-radius, var(--onboard-border-radius-3, var(--border-radius-3)) ); - color: var( --account-center-maximized-network-text-color, var(--account-center-maximized-network-section, inherit) ); } - .p5-5 { - padding: 12px; + .network-section { + flex-direction: row; + align-items: flex-start; + padding: 0px; + gap: 16px; } .network-selector-container { - margin-left: 1rem; width: 100%; } + .protect { + flex-direction: row; + padding: 0.25rem 0.375rem 0; + gap: 0.375rem; + width: 100%; + } + .shield { + width: 20px; + height: 20px; + display: flex; + justify-content: center; + } + .protect-text { + font-size: var(--onboard-font-size-6, var(--font-size-6)); + color: var( + --account-center-maximized-upper-action-color, + var(--action-color) + ); + line-height: 1.75rem; + display: flex; + align-items: center; + } .network-selector-label { font-size: var(--onboard-font-size-7, var(--font-size-7)); @@ -184,7 +237,10 @@ ) ); border-top: 1px solid var(--border-color); - border-radius: var(--account-center-border-radius, inherit); + border-radius: var( + --account-center-border-radius, + var(--onboard-border-radius-3, var(--border-radius-3)) + ); display: flex; flex-direction: column; align-items: flex-start; @@ -263,6 +319,12 @@ onConfirm={disconnectAllWallets} /> {/if} +{#if enableTransactionProtection} + (enableTransactionProtection = false)} + onEnable={() => enableProtectionRPC()} + /> +{/if}
-
+
+ + {#if !$accountCenter$.hideTransactionProtectionBtn && connectedChain.id === '0x1'} +
(enableTransactionProtection = true)} + class="protect action-container flex items-center pointer" + > +
+ {@html shieldIcon} +
+ {$_('accountCenter.enableTransactionProtection', { + default: en.accountCenter.enableTransactionProtection + })} +
+ {/if} +
- -
- {#if appMetadata} -
- -
- -
- {(appMetadata && appMetadata.name) || 'App Name'} -
+ +
+ {#if appMetadata} +
+ +
+ +
+ {(appMetadata && appMetadata.name) || 'App Name'}
+
-
- {(appMetadata && appMetadata.description) || - 'This app has not added a description.'} -
+
+ {(appMetadata && appMetadata.description) || + 'This app has not added a description.'}
+
- - {#if appMetadata.gettingStartedGuide || appMetadata.explore} -
-
- {$_('accountCenter.appInfo', { - default: en.accountCenter.appInfo - })} -
+ + {#if appMetadata.gettingStartedGuide || appMetadata.explore} +
+
+ {$_('accountCenter.appInfo', { + default: en.accountCenter.appInfo + })} +
- {#if appMetadata.gettingStartedGuide} -
-
- {$_('accountCenter.learnMore', { - default: en.accountCenter.learnMore - })} -
- - {$_('accountCenter.gettingStartedGuide', { - default: en.accountCenter.gettingStartedGuide - })} - + {#if appMetadata.gettingStartedGuide} +
+
+ {$_('accountCenter.learnMore', { + default: en.accountCenter.learnMore + })}
- {/if} - - {#if appMetadata.explore} - + {/if} + + {#if appMetadata.explore} +
+
+ {$_('accountCenter.smartContracts', { + default: en.accountCenter.smartContracts + })}
- {/if} -
- {/if} - {/if} - {#if secondaryTokens && secondaryTokens.length} - + + {$_('accountCenter.explore', { + default: en.accountCenter.explore + })} + +
+ {/if} +
{/if} - + {/if} + {#if secondaryTokens && secondaryTokens.length} + + {/if} +
diff --git a/packages/core/src/views/account-center/Minimized.svelte b/packages/core/src/views/account-center/Minimized.svelte index 26ff1ea77..9dc81a725 100644 --- a/packages/core/src/views/account-center/Minimized.svelte +++ b/packages/core/src/views/account-center/Minimized.svelte @@ -61,10 +61,19 @@
-
+ - {@html validAppChain - ? validAppChain.icon || - (defaultChainStyles && defaultChainStyles.icon) || - unrecognizedChainStyle.icon - : warningIcon} + : `var(--onboard-warning-200, var(--warning-200))`} + border="transparent" + radius={25} + icon={validAppChain + ? validAppChain.icon || + (defaultChainStyles && defaultChainStyles.icon) || + unrecognizedChainStyle.icon + : warningIcon} + />
-
diff --git a/packages/core/src/views/connect/Index.svelte b/packages/core/src/views/connect/Index.svelte index c3d954775..31e776da9 100644 --- a/packages/core/src/views/connect/Index.svelte +++ b/packages/core/src/views/connect/Index.svelte @@ -341,6 +341,7 @@ }) } if ( + appChain && !secondaryTokens && Array.isArray(appChain.secondaryTokens) && appChain.secondaryTokens.length diff --git a/packages/dcent/package.json b/packages/dcent/package.json index 0b2b5207c..cdf1f6437 100644 --- a/packages/dcent/package.json +++ b/packages/dcent/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/dcent", - "version": "2.2.6", + "version": "2.2.7", "description": "D'CENT wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -56,8 +56,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", - "@web3-onboard/hw-common": "^2.2.2", + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/hw-common": "^2.3.0", "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "eth-dcent-keyring": "^0.2.2" diff --git a/packages/dcent/src/index.ts b/packages/dcent/src/index.ts index d6a35c241..e72120370 100644 --- a/packages/dcent/src/index.ts +++ b/packages/dcent/src/index.ts @@ -5,8 +5,6 @@ import type { Platform } from '@web3-onboard/common' -import type { providers } from 'ethers' - import type { CustomNetwork, Account, diff --git a/packages/demo/package.json b/packages/demo/package.json index 19abec5cc..e74c3f053 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -24,36 +24,36 @@ "webpack-dev-server": "4.7.4" }, "dependencies": { - "@web3-onboard/core": "^2.18.0", + "@web3-onboard/cede-store": "^2.0.2", "@web3-onboard/coinbase": "^2.2.3", - "@web3-onboard/transaction-preview": "^2.0.7", - "@web3-onboard/dcent": "^2.2.6", - "@web3-onboard/frontier": "^2.0.3", + "@web3-onboard/core": "^2.19.1", + "@web3-onboard/dcent": "^2.2.7", + "@web3-onboard/enkrypt": "^2.0.3", "@web3-onboard/fortmatic": "^2.0.18", - "@web3-onboard/frame": "2.0.0", + "@web3-onboard/frame": "^2.0.0", + "@web3-onboard/frontier": "^2.0.3", "@web3-onboard/gas": "^2.1.7", "@web3-onboard/gnosis": "^2.1.9", - "@web3-onboard/keepkey": "^2.3.6", - "@web3-onboard/keystone": "^2.3.6", - "@web3-onboard/ledger": "^2.4.5", "@web3-onboard/infinity-wallet": "^2.0.3", - "@web3-onboard/injected-wallets": "^2.8.5", + "@web3-onboard/injected-wallets": "^2.9.0", + "@web3-onboard/keepkey": "^2.3.7", + "@web3-onboard/keystone": "^2.3.7", + "@web3-onboard/ledger": "^2.4.5", "@web3-onboard/magic": "^2.1.6", + "@web3-onboard/mew-wallet": "^2.0.3", "@web3-onboard/phantom": "^2.0.1", "@web3-onboard/portis": "^2.1.6", "@web3-onboard/sequence": "^2.0.7", - "@web3-onboard/trezor": "^2.4.1", - "@web3-onboard/trust": "^2.0.3", - "@web3-onboard/torus": "^2.2.4", "@web3-onboard/taho": "^2.0.3", + "@web3-onboard/torus": "^2.2.4", + "@web3-onboard/transaction-preview": "^2.0.7", + "@web3-onboard/trezor": "^2.4.2", + "@web3-onboard/trust": "^2.0.3", + "@web3-onboard/uauth": "^2.0.4", + "@web3-onboard/walletconnect": "^2.3.8", "@web3-onboard/web3auth": "^2.2.2", - "@web3-onboard/walletconnect": "^2.3.7", - "@web3-onboard/enkrypt": "^2.0.3", - "@web3-onboard/mew-wallet": "^2.0.2", "@web3-onboard/xdefi": "^2.0.3", - "@web3-onboard/uauth": "^2.0.4", "@web3-onboard/zeal": "^2.0.3", - "@web3-onboard/cede-store": "^2.0.1", "vconsole": "^3.9.5" }, "license": "MIT", diff --git a/packages/demo/src/App.svelte b/packages/demo/src/App.svelte index 4036923ba..73f11cb76 100644 --- a/packages/demo/src/App.svelte +++ b/packages/demo/src/App.svelte @@ -150,7 +150,8 @@ const trezorOptions = { email: 'test@test.com', - appUrl: 'https://www.blocknative.com' + appUrl: 'https://www.blocknative.com', + consecutiveEmptyAccountThreshold: 10 // containerElement: '#sample-container-el' } const trezor = trezorModule(trezorOptions) @@ -182,31 +183,31 @@ const onboard = Onboard({ wallets: [ injected, - frameWallet, ledger, trezor, walletConnect, - infinityWallet, + coinbaseWallet, + phantom, + gnosis, trust, + tallyho, enkrypt, + infinityWallet, mewWallet, keepkey, keystone, - coinbaseWallet, magic, fortmatic, portis, torus, - gnosis, dcent, sequence, - tallyho, uauth, web3auth, zeal, frontier, - phantom, xdefi, + frameWallet, cedeStore ], transactionPreview, @@ -311,8 +312,9 @@ desktop: { position: 'topRight', enabled: true, - minimal: false - } + minimal: false, + }, + // hideTransactionProtectionBtn: true }, // example customizing copy i18n: { @@ -355,7 +357,7 @@ // }, // Sign up for your free api key at www.Blocknative.com apiKey, - theme: 'system' + theme: 'default' }) // Subscribe to wallet updates diff --git a/packages/demo/yarn.lock b/packages/demo/yarn.lock index c4501cbc8..31c786f4a 100644 --- a/packages/demo/yarn.lock +++ b/packages/demo/yarn.lock @@ -3004,7 +3004,7 @@ "@web3-onboard/common" "^2.2.3" lodash.uniqby "^4.7.0" -"@web3-onboard/phantom@^2.0.0-alpha.1": +"@web3-onboard/phantom@^2.0.0": version "2.0.0-alpha.1" resolved "https://registry.yarnpkg.com/@web3-onboard/phantom/-/phantom-2.0.0-alpha.1.tgz#a6f01ef849b04dde23bef2d1920a46956dc7abbc" integrity sha512-iTBDfbSqYPCy4Sed5ZY/tpWpYOAlKxPFsrrXVLWUWCIOVflu6y7TStgh5BwN69M9wsXLDVkXDf0joNUhme8OAA== diff --git a/packages/enkrypt/package.json b/packages/enkrypt/package.json index 4d7118805..4302ca65d 100644 --- a/packages/enkrypt/package.json +++ b/packages/enkrypt/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/enkrypt", - "version": "2.0.3", + "version": "2.0.4", "description": "Enkrypt SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,6 +63,6 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/fortmatic/package.json b/packages/fortmatic/package.json index de9634341..a7ebde2f4 100644 --- a/packages/fortmatic/package.json +++ b/packages/fortmatic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/fortmatic", - "version": "2.0.18", + "version": "2.0.19", "description": "Fortmatic wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -58,7 +58,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "fortmatic": "^2.2.1" } } diff --git a/packages/frame/package.json b/packages/frame/package.json index b78f69d27..45f6a655f 100644 --- a/packages/frame/package.json +++ b/packages/frame/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/frame", - "version": "2.0.0", + "version": "2.0.1", "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", @@ -59,7 +59,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.1", + "@web3-onboard/common": "^2.3.3", "eth-provider": "^0.13.6" } } diff --git a/packages/frontier/package.json b/packages/frontier/package.json index d6762c24e..ae0638f45 100644 --- a/packages/frontier/package.json +++ b/packages/frontier/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/frontier", - "version": "2.0.3", + "version": "2.0.4", "description": "Frontier Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features 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,6 +59,6 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/gas/package.json b/packages/gas/package.json index 038ea97bb..f0a1b7854 100644 --- a/packages/gas/package.json +++ b/packages/gas/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gas", - "version": "2.1.7", + "version": "2.1.8", "description": "Estimate the gas prices needed to get a transaction in to the next block for Ethereum Mainnet and Polygon Matic Mainnet.", "keywords": [ "gas", @@ -32,7 +32,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2", "joi": "17.8.1" } diff --git a/packages/gnosis/package.json b/packages/gnosis/package.json index 332b1c494..96e23a42c 100644 --- a/packages/gnosis/package.json +++ b/packages/gnosis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/gnosis", - "version": "2.1.9", + "version": "2.1.10", "description": "Gnosis Safe module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -59,6 +59,6 @@ "dependencies": { "@gnosis.pm/safe-apps-provider": "^0.9.2", "@gnosis.pm/safe-apps-sdk": "^6.1.1", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/hw-common/package.json b/packages/hw-common/package.json index a812d7762..eae991856 100644 --- a/packages/hw-common/package.json +++ b/packages/hw-common/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/hw-common", - "version": "2.2.2", + "version": "2.3.0", "description": "Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -81,7 +81,7 @@ }, "dependencies": { "@ethereumjs/common": "2.6.2", - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "ethers": "5.5.4", "joi": "17.9.1", "rxjs": "^7.5.2" diff --git a/packages/hw-common/src/types.ts b/packages/hw-common/src/types.ts index 9f9f75127..8c85de985 100644 --- a/packages/hw-common/src/types.ts +++ b/packages/hw-common/src/types.ts @@ -44,6 +44,11 @@ export type SelectAccountOptions = { scanAccounts: ScanAccounts supportsCustomPath?: boolean containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } export type BasePath = { diff --git a/packages/hw-common/src/validation.ts b/packages/hw-common/src/validation.ts index 2b202941d..242f10af3 100644 --- a/packages/hw-common/src/validation.ts +++ b/packages/hw-common/src/validation.ts @@ -29,6 +29,7 @@ const selectAccountOptions = Joi.object({ chains: chains, scanAccounts: Joi.function().arity(1).required(), supportsCustomPath: Joi.bool(), + consecutiveEmptyAccountThreshold: Joi.number(), containerElement: Joi.string() }) diff --git a/packages/infinity-wallet/package.json b/packages/infinity-wallet/package.json index 0fabdf07b..122257153 100644 --- a/packages/infinity-wallet/package.json +++ b/packages/infinity-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/infinity-wallet", - "version": "2.0.3", + "version": "2.0.4", "description": "Infinity Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features 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", @@ -60,7 +60,7 @@ "devDependencies": { "@types/node": "^17.0.21", "typescript": "^4.5.5", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" }, "dependencies": { "@infinitywallet/infinity-connector": "^1.0.6" diff --git a/packages/injected/README.md b/packages/injected/README.md index 269957b36..cbc593533 100644 --- a/packages/injected/README.md +++ b/packages/injected/README.md @@ -33,6 +33,7 @@ const connectedWallets = await onboard.connectWallet() console.log(connectedWallets) ``` + ### Injected Wallets Supported Natively - Metamask - _Desktop & Mobile_ @@ -82,6 +83,7 @@ console.log(connectedWallets) - ApexWallet - _Desktop_ - BifrostWallet - _Desktop & Mobile_ - Safeheron - _Desktop_ +- Talisman - _Desktop_ ## Filtering Wallets diff --git a/packages/injected/package.json b/packages/injected/package.json index a20938c09..fd994cb20 100644 --- a/packages/injected/package.json +++ b/packages/injected/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/injected-wallets", - "version": "2.8.6", + "version": "2.9.0", "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", @@ -64,7 +64,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", "lodash.uniqby": "^4.7.0" } diff --git a/packages/injected/src/constants.ts b/packages/injected/src/constants.ts index 28ed180cb..404ca8083 100644 --- a/packages/injected/src/constants.ts +++ b/packages/injected/src/constants.ts @@ -25,5 +25,6 @@ export const WALLET_NAMES: { [key: string]: string } = { zerion: 'Zerion', rainbow: 'Rainbow', defiwallet: 'DeFi Wallet', - safeheron: 'Safeheron' + safeheron: 'Safeheron', + talismanEth: 'Talisman' } diff --git a/packages/injected/src/icons/talisman.ts b/packages/injected/src/icons/talisman.ts new file mode 100644 index 000000000..58bc47124 --- /dev/null +++ b/packages/injected/src/icons/talisman.ts @@ -0,0 +1,13 @@ +export default ` + + + + + + + + + + + +` diff --git a/packages/injected/src/types.ts b/packages/injected/src/types.ts index 55523ef43..af5fdfa25 100644 --- a/packages/injected/src/types.ts +++ b/packages/injected/src/types.ts @@ -60,8 +60,9 @@ export enum ProviderIdentityFlag { Zerion = 'isZerion', Rainbow = 'isRainbow', SafePal = 'isSafePal', - DeFiWallet = 'isDeficonnectProvider', - Safeheron = 'isSafeheron' + DeFiWallet = 'isDeficonnectProvider', + Safeheron = 'isSafeheron', + Talisman = 'isTalisman' } export enum ProviderLabel { @@ -99,7 +100,7 @@ export enum ProviderLabel { OneInch = '1inch Wallet', Tokenary = 'Tokenary Wallet', Tally = 'Taho', - Rabby = 'Rabby', + Rabby = 'Rabby Wallet', MathWallet = 'MathWallet', GameStop = 'GameStop Wallet', BitKeep = 'BitKeep', @@ -113,7 +114,8 @@ export enum ProviderLabel { Rainbow = 'Rainbow', SafePal = 'SafePal', DeFiWallet = 'DeFi Wallet', - Safeheron = 'Safeheron' + Safeheron = 'Safeheron', + Talisman = 'Talisman' } export interface MeetOneProvider extends ExternalProvider { @@ -144,7 +146,8 @@ export enum InjectedNameSpace { Trust = 'trustwallet', Frontier = 'frontier', DeFiConnectProvider = 'deficonnectProvider', - Safeheron = 'safeheron' + Safeheron = 'safeheron', + Talisman = 'talismanEth' } export interface CustomWindow extends Window { @@ -180,6 +183,7 @@ export interface CustomWindow extends Window { trustwallet: InjectedProvider deficonnectProvider: InjectedProvider safeheron: InjectedProvider + talismanEth: InjectedProvider } export type InjectedProvider = ExternalProvider & diff --git a/packages/injected/src/wallets.ts b/packages/injected/src/wallets.ts index ce5dab6b7..008b8de1c 100644 --- a/packages/injected/src/wallets.ts +++ b/packages/injected/src/wallets.ts @@ -765,6 +765,18 @@ const safeheron: InjectedWalletModule = { platforms: ['desktop', 'Chrome', 'Chromium', 'Microsoft Edge'] } +const talisman: InjectedWalletModule = { + label: ProviderLabel.Talisman, + injectedNamespace: InjectedNameSpace.Talisman, + checkProviderIdentity: ({ provider }) => + !!provider && !!provider[ProviderIdentityFlag.Talisman], + getIcon: async () => (await import('./icons/talisman.js')).default, + getInterface: async () => ({ + provider: createEIP1193Provider(window.talismanEth) + }), + platforms: ['desktop'] +} + const wallets = [ zeal, exodus, @@ -812,7 +824,8 @@ const wallets = [ safepal, defiwallet, infinitywallet, - safeheron + safeheron, + talisman ] export default wallets diff --git a/packages/keepkey/README.md b/packages/keepkey/README.md index 1d4b1d8bc..933e881ed 100644 --- a/packages/keepkey/README.md +++ b/packages/keepkey/README.md @@ -49,17 +49,23 @@ console.log(connectedWallets) ``` Initialization options: + ```typescript type keepkeyInitOptions = { containerElement?: string filter?: Platform + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } ``` The following is a list of the platforms that can be filtered: ```typescript -type Platform = DeviceOSName | DeviceBrowserName | DeviceType | 'all'; +type Platform = DeviceOSName | DeviceBrowserName | DeviceType | 'all' type Platform = | 'Windows Phone' diff --git a/packages/keepkey/package.json b/packages/keepkey/package.json index 792bf11fa..4524d08b4 100644 --- a/packages/keepkey/package.json +++ b/packages/keepkey/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keepkey", - "version": "2.3.6", + "version": "2.3.7", "description": "KeepKey hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -63,8 +63,8 @@ "@ethersproject/providers": "^5.5.0", "@shapeshiftoss/hdwallet-core": "^1.15.2", "@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2", - "@web3-onboard/common": "^2.3.2", - "@web3-onboard/hw-common": "^2.2.2", + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/hw-common": "^2.3.0", "ethereumjs-util": "^7.1.3" } } diff --git a/packages/keepkey/src/index.ts b/packages/keepkey/src/index.ts index cfb06086e..bea3613f0 100644 --- a/packages/keepkey/src/index.ts +++ b/packages/keepkey/src/index.ts @@ -38,8 +38,17 @@ type ErrorCode = 'busy' | 'pairing' function keepkey({ filter, - containerElement -}: { filter?: Platform[]; containerElement?: string } = {}): WalletInit { + containerElement, + consecutiveEmptyAccountThreshold +}: { + filter?: Platform[] + containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number +} = {}): WalletInit { const getIcon = async () => (await import('./icon.js')).default return ({ device }) => { @@ -88,6 +97,7 @@ function keepkey({ const keyring = new Keyring() const keepKeyAdapter = WebUSBKeepKeyAdapter.useKeyring(keyring) const eventEmitter = new EventEmitter() + const consecutiveEmptyAccounts = consecutiveEmptyAccountThreshold || 5 let keepKeyWallet: KeepKeyHDWallet let currentChain: Chain = chains[0] @@ -184,7 +194,7 @@ function keepkey({ // Iterates until a 0 balance account is found // Then adds 4 more 0 balance accounts to the array - while (zeroBalanceAccounts < 5) { + while (zeroBalanceAccounts < consecutiveEmptyAccounts) { const acc = await getAccount({ accountIdx: index, provider, diff --git a/packages/keystone/README.md b/packages/keystone/README.md index 0cd87eb0f..e8a62424d 100644 --- a/packages/keystone/README.md +++ b/packages/keystone/README.md @@ -13,6 +13,11 @@ type KeystoneOptions = { customNetwork?: CustomNetwork filter?: Platform[] containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } interface CustomNetwork { diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 73a929d24..e8576381b 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/keystone", - "version": "2.3.6", + "version": "2.3.7", "description": "Keystone hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -58,7 +58,7 @@ "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", "@keystonehq/eth-keyring": "^0.14.00.3", - "@web3-onboard/common": "^2.3.2", - "@web3-onboard/hw-common": "^2.2.0" + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/hw-common": "^2.3.0" } } diff --git a/packages/keystone/src/index.ts b/packages/keystone/src/index.ts index 5cfe94427..c8a5147d8 100644 --- a/packages/keystone/src/index.ts +++ b/packages/keystone/src/index.ts @@ -42,13 +42,14 @@ const getAccount = async ( const generateAccounts = async ( keyring: any, - provider: StaticJsonRpcProvider + provider: StaticJsonRpcProvider, + consecutiveEmptyAccounts: number ): Promise => { const accounts = [] let zeroBalanceAccounts = 0, index = 0 - while (zeroBalanceAccounts < 5) { + while (zeroBalanceAccounts < consecutiveEmptyAccounts) { const account = await getAccount(keyring, provider, index) if (account.balance.value.isZero()) { zeroBalanceAccounts++ @@ -66,11 +67,17 @@ const generateAccounts = async ( function keystone({ customNetwork, filter, - containerElement + containerElement, + consecutiveEmptyAccountThreshold }: { customNetwork?: CustomNetwork filter?: Platform[] containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } = {}): WalletInit { const getIcon = async () => (await import('./icon.js')).default @@ -121,6 +128,7 @@ function keystone({ getHardwareWalletProvider } = await import('@web3-onboard/hw-common') + const consecutiveEmptyAccounts = consecutiveEmptyAccountThreshold || 5 const keyring = AirGappedKeyring.getEmptyKeyring() await keyring.readKeyring() @@ -136,7 +144,11 @@ function keystone({ chains.find(({ id }: Chain) => id === chainId) || currentChain ethersProvider = new StaticJsonRpcProvider(currentChain.rpcUrl) - return generateAccounts(keyring, ethersProvider) + return generateAccounts( + keyring, + ethersProvider, + consecutiveEmptyAccounts + ) } const getAccounts = async () => { diff --git a/packages/ledger/package.json b/packages/ledger/package.json index 610a6b45b..264c26ae8 100644 --- a/packages/ledger/package.json +++ b/packages/ledger/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/ledger", - "version": "2.4.5", + "version": "2.4.6", "description": "Ledger hardare wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -61,7 +61,7 @@ "@ethersproject/providers": "^5.5.0", "@ledgerhq/connect-kit-loader": "^1.0.2", "@walletconnect/client": "^1.7.1", - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2" } } diff --git a/packages/magic/package.json b/packages/magic/package.json index 54d6fe0c3..3e025a96b 100644 --- a/packages/magic/package.json +++ b/packages/magic/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/magic", - "version": "2.1.6", + "version": "2.1.7", "description": "Magic SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -80,7 +80,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", "magic-sdk": "^8.1.0", "rxjs": "^7.5.2" diff --git a/packages/mew-wallet/package.json b/packages/mew-wallet/package.json index 7a29ec5ca..dc93a7945 100644 --- a/packages/mew-wallet/package.json +++ b/packages/mew-wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew-wallet", - "version": "2.0.3", + "version": "2.0.4", "description": "MEW (MyEtherWallet) Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -64,7 +64,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "lodash.uniqby": "^4.7.0" } } diff --git a/packages/mew/package.json b/packages/mew/package.json index 23d390a8c..2af538179 100644 --- a/packages/mew/package.json +++ b/packages/mew/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/mew", - "version": "2.1.7", + "version": "2.1.8", "description": "(DEPRECATED. Use @web3-onboard/mew-wallet instead) MEW (My Ether Wallet) SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -59,7 +59,7 @@ "@myetherwallet/mewconnect-web-client": "^2.2.0-beta.14" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "rxjs": "^7.5.2" } } diff --git a/packages/phantom/package.json b/packages/phantom/package.json index 6fed66f26..215a7397e 100644 --- a/packages/phantom/package.json +++ b/packages/phantom/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/phantom", - "version": "2.0.1", + "version": "2.0.2", "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", @@ -59,6 +59,6 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/portis/package.json b/packages/portis/package.json index 0148c7b03..79c8ebe79 100644 --- a/packages/portis/package.json +++ b/packages/portis/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/portis", - "version": "2.1.6", + "version": "2.1.7", "description": "Portis SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -57,6 +57,6 @@ }, "dependencies": { "@portis/web3": "^4.0.6", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/react/package.json b/packages/react/package.json index e7cf5425b..3d23a6f3b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/react", - "version": "2.8.2", + "version": "2.8.3", "description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,8 +62,8 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/core": "^2.18.0", - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/core": "^2.19.1", "use-sync-external-store": "1.0.0" }, "peerDependencies": { diff --git a/packages/sequence/package.json b/packages/sequence/package.json index 0ad94640d..18defd38d 100644 --- a/packages/sequence/package.json +++ b/packages/sequence/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/sequence", - "version": "2.0.7", + "version": "2.0.8", "description": "Sequence is the smartest Web3 wallet. Easy, fun and secure.", "keywords": [ "Ethereum", @@ -56,7 +56,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "0xsequence": "^0.43.1" }, "peerDependencies": { diff --git a/packages/taho/package.json b/packages/taho/package.json index 8eb551749..79192c817 100644 --- a/packages/taho/package.json +++ b/packages/taho/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/taho", - "version": "2.0.3", + "version": "2.0.4", "description": "Taho 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", @@ -66,7 +66,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "tallyho-detect-provider": "^1.0.0", "tallyho-onboarding": "^1.0.2" } diff --git a/packages/tallyho/package.json b/packages/tallyho/package.json index 0c14e9822..3967e5d40 100644 --- a/packages/tallyho/package.json +++ b/packages/tallyho/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/tallyho", - "version": "2.0.5", + "version": "2.0.6", "description": "(DEPRECATED. Use @web3-onboard/taho instead) Tally Ho (now named Taho Wallet) SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -64,7 +64,7 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "tallyho-detect-provider": "^1.0.0", "tallyho-onboarding": "^1.0.2" } diff --git a/packages/torus/package.json b/packages/torus/package.json index c5c82d41a..b1d3cfb77 100644 --- a/packages/torus/package.json +++ b/packages/torus/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/torus", - "version": "2.2.4", + "version": "2.2.5", "description": "Torus SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features 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", @@ -58,6 +58,6 @@ }, "dependencies": { "@toruslabs/torus-embed": "1.38.2", - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/transaction-preview/package.json b/packages/transaction-preview/package.json index 859d3390e..3cce32a27 100644 --- a/packages/transaction-preview/package.json +++ b/packages/transaction-preview/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/transaction-preview", - "version": "2.0.7", + "version": "2.0.8", "description": "In app preview of Ethereum transactions", "keywords": [ "Ethereum", @@ -80,7 +80,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "bnc-sdk": "^4.6.7", "bowser": "^2.11.0", "joi": "17.9.1", diff --git a/packages/trezor/README.md b/packages/trezor/README.md index 65465a091..165c23951 100644 --- a/packages/trezor/README.md +++ b/packages/trezor/README.md @@ -15,6 +15,11 @@ type TrezorOptions = { customNetwork?: CustomNetwork filter?: Platform[] containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } interface CustomNetwork { @@ -49,7 +54,7 @@ interface BootstrapNode { comment: string } -type Platform = DeviceOSName | DeviceBrowserName | DeviceType | 'all'; +type Platform = DeviceOSName | DeviceBrowserName | DeviceType | 'all' ``` ### Usage diff --git a/packages/trezor/package.json b/packages/trezor/package.json index ad4e6ed00..830afbc36 100644 --- a/packages/trezor/package.json +++ b/packages/trezor/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trezor", - "version": "2.4.1", + "version": "2.4.2", "description": "Trezor hardware wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -60,8 +60,8 @@ "dependencies": { "@ethereumjs/tx": "^3.4.0", "@ethersproject/providers": "^5.5.0", - "@web3-onboard/common": "^2.3.2", - "@web3-onboard/hw-common": "^2.2.2", + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/hw-common": "^2.3.0", "buffer": "^6.0.3", "eth-crypto": "^2.1.0", "ethereumjs-util": "^7.1.3", diff --git a/packages/trezor/src/index.ts b/packages/trezor/src/index.ts index 4f1e80b19..e10b266f6 100644 --- a/packages/trezor/src/index.ts +++ b/packages/trezor/src/index.ts @@ -25,6 +25,11 @@ interface TrezorOptions { customNetwork?: CustomNetwork filter?: Platform[] containerElement?: string + /** + * A number that defines the amount of consecutive empty addresses displayed + * within the Account Select modal. Default is 5 + */ + consecutiveEmptyAccountThreshold?: number } const TREZOR_DEFAULT_PATH = "m/44'/60'/0'/0" @@ -85,15 +90,17 @@ const getAccount = async ( const getAddresses = async ( account: AccountData, asset: Asset, - provider: StaticJsonRpcProvider + provider: StaticJsonRpcProvider, + consecutiveEmptyAccounts: number ): Promise => { const accounts = [] let index = 0 let zeroBalanceAccounts = 0 // Iterates until a 0 balance account is found - // Then adds 4 more 0 balance accounts to the array - while (zeroBalanceAccounts < 5) { + // Then adds 4 (whatever consecutiveEmptyAccountThreshold is set to) more + // 0 balance accounts to the array + while (zeroBalanceAccounts < consecutiveEmptyAccounts) { const acc = await getAccount(account, asset, index, provider) if ( acc && @@ -118,14 +125,21 @@ function trezor(options: TrezorOptions): WalletInit { const getIcon = async () => (await import('./icon.js')).default return ({ device }) => { - const { email, appUrl, customNetwork, filter, containerElement } = - options || {} + const { + email, + appUrl, + customNetwork, + filter, + containerElement, + consecutiveEmptyAccountThreshold + } = options || {} if (!email || !appUrl) { throw new Error( 'Email and AppUrl required in Trezor options for Trezor Wallet Connection' ) } + const consecutiveEmptyAccounts = consecutiveEmptyAccountThreshold || 5 const filtered = Array.isArray(filter) && @@ -212,7 +226,8 @@ function trezor(options: TrezorOptions): WalletInit { path: derivationPath }, asset, - ethersProvider + ethersProvider, + consecutiveEmptyAccounts ) } diff --git a/packages/trust/package.json b/packages/trust/package.json index eefffbb92..4de6bffce 100644 --- a/packages/trust/package.json +++ b/packages/trust/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/trust", - "version": "2.0.3", + "version": "2.0.4", "description": "Trust Wallet SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features 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", @@ -61,6 +61,6 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/uauth/package.json b/packages/uauth/package.json index b1e2dfa48..fa11a6cd2 100644 --- a/packages/uauth/package.json +++ b/packages/uauth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/uauth", - "version": "2.0.4", + "version": "2.0.5", "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 @@ "@ethersproject/providers": "^5.5.0", "@walletconnect/client": "^1.7.1", "@walletconnect/qrcode-modal": "^1.7.1", - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "joi": "17.9.1", "rxjs": "^7.5.2" } diff --git a/packages/unstoppable-resolution/package.json b/packages/unstoppable-resolution/package.json index b31307482..581ceb87f 100644 --- a/packages/unstoppable-resolution/package.json +++ b/packages/unstoppable-resolution/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/unstoppable-resolution", - "version": "2.0.1", + "version": "2.0.2", "description": "Adds Unstoppable Domain resolution for a wallet address, similar to ENS resolution", "keywords": [ "Unstoppable Domain", @@ -29,7 +29,7 @@ }, "license": "MIT", "devDependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "typescript": "^4.5.5" }, "dependencies": { diff --git a/packages/vue/package.json b/packages/vue/package.json index 5832ba042..b1764f233 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/vue", - "version": "2.7.1", + "version": "2.7.2", "description": "A collection of Vue Composables for integrating Web3-Onboard in to a Vue or Nuxt project. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardized spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -62,8 +62,8 @@ "dependencies": { "@vueuse/core": "^8.4.2", "@vueuse/rxjs": "^8.2.0", - "@web3-onboard/common": "^2.3.2", - "@web3-onboard/core": "^2.18.0", + "@web3-onboard/common": "^2.3.3", + "@web3-onboard/core": "^2.19.1", "vue-demi": "^0.12.4" }, "peerDependencies": { diff --git a/packages/walletconnect/package.json b/packages/walletconnect/package.json index 588766777..2dd8d7651 100644 --- a/packages/walletconnect/package.json +++ b/packages/walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletconnect", - "version": "2.3.7", + "version": "2.3.8", "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", @@ -57,15 +57,15 @@ "devDependencies": { "typescript": "^4.5.5", "@walletconnect/types": "^2.7.0", - "@web3modal/standalone": "2.2.2" + "@web3modal/standalone": "2.4.1" }, "dependencies": { "@ethersproject/providers": "5.5.0", - "@walletconnect/ethereum-provider": "2.7.0", + "@walletconnect/ethereum-provider": "2.7.4", "@walletconnect/client": "^1.8.0", "@walletconnect/qrcode-modal": "^1.8.0", - "@web3modal/standalone":"2.2.2", - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", + "@web3modal/standalone":"2.4.1", "rxjs": "^7.5.2" } } diff --git a/packages/walletconnect/src/index.ts b/packages/walletconnect/src/index.ts index 78f724309..fd6b02718 100644 --- a/packages/walletconnect/src/index.ts +++ b/packages/walletconnect/src/index.ts @@ -39,7 +39,21 @@ export type WalletConnectOptions = { /** * `undefined` by default, see https://docs.walletconnect.com/2.0/web3modal/options */ - qrModalOptions?: Pick + qrModalOptions?: Pick< + Web3ModalConfig, + | 'themeMode' + | 'themeVariables' + | 'chainImages' + | 'desktopWallets' + | 'enableExplorer' + | 'explorerRecommendedWalletIds' + | 'explorerExcludedWalletIds' + | 'mobileWallets' + | 'privacyPolicyUrl' + | 'termsOfServiceUrl' + | 'tokenImages' + | 'walletImages' + > } ) diff --git a/packages/walletlink/package.json b/packages/walletlink/package.json index e8c0f0ace..78b01b2ee 100644 --- a/packages/walletlink/package.json +++ b/packages/walletlink/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/walletlink", - "version": "2.1.6", + "version": "2.1.7", "description": "(DEPRECATED. Use @web3-onboard/coinbase instead) WalletLink SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -58,7 +58,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "walletlink": "^2.5.0" } } diff --git a/packages/web3auth/package.json b/packages/web3auth/package.json index 304a25d0d..f1a38515f 100644 --- a/packages/web3auth/package.json +++ b/packages/web3auth/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/web3auth", - "version": "2.2.2", + "version": "2.2.3", "description": "Web3Auth SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.", "keywords": [ "Ethereum", @@ -57,7 +57,7 @@ "typescript": "^4.5.5" }, "dependencies": { - "@web3-onboard/common": "^2.3.2", + "@web3-onboard/common": "^2.3.3", "@solana/web3.js": "^1.73.0", "@web3auth/base": "^5.0.1", "@web3auth/modal": "^5.0.1", diff --git a/packages/xdefi/package.json b/packages/xdefi/package.json index 2941229c5..31b2cb120 100644 --- a/packages/xdefi/package.json +++ b/packages/xdefi/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/xdefi", - "version": "2.0.3", + "version": "2.0.4", "description": "XDEFI 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", @@ -64,6 +64,6 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/packages/zeal/package.json b/packages/zeal/package.json index a2979c75b..a3429a15d 100644 --- a/packages/zeal/package.json +++ b/packages/zeal/package.json @@ -1,6 +1,6 @@ { "name": "@web3-onboard/zeal", - "version": "2.0.3", + "version": "2.0.4", "description": "Zeal SDK wallet module for connecting to Web3-Onboard.", "keywords": [ "Ethereum", @@ -54,6 +54,6 @@ "window": "^4.2.7" }, "dependencies": { - "@web3-onboard/common": "^2.3.2" + "@web3-onboard/common": "^2.3.3" } } diff --git a/yarn.lock b/yarn.lock index 997e432f1..f0eb7f749 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3269,10 +3269,10 @@ "@walletconnect/types" "^1.8.0" "@walletconnect/utils" "^1.8.0" -"@walletconnect/core@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.7.0.tgz#26f19710958648e401968ab2fd427d6b07fb3b37" - integrity sha512-xUeFPpElybgn1a+lknqtHleei4VyuV/4qWgB1nP8qQUAO6a5pNsioODrnB2VAPdUHJYBdx2dCt2maRk6g53IPQ== +"@walletconnect/core@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.7.4.tgz#1471215ca8cc08ae4719ca1bb6d45dd1b49dea3a" + integrity sha512-nDJJZALZJI8l8JvjwZE4UmUzDzQBnTTJlQa/rc5MoGYtir0hfsQEl3sPkPcXbkkW5q+cHiynXsDcgM4740fmNQ== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "^1.0.12" @@ -3284,8 +3284,8 @@ "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -3358,19 +3358,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.7.0.tgz#5aaf10ce8de9269904b7714428554f1a64b7932d" - integrity sha512-6TwQ05zi6DP1TP1XNgSvLbmCmLf/sz7kLTfMaVk45YYHNgYTTBlXqkyjUpQZI9lpq+uXLBbHn/jx2OGhOPUP0Q== +"@walletconnect/ethereum-provider@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.7.4.tgz#777ad9a6229f88f766a986bb5cffaa3ff1575c0b" + integrity sha512-R5hcByY9zIsvyTHFUS+3xqtzs2REezED4tZFyXk0snJjWlnlL2EdeHaCjr5n+SIZDin4CMj1EAFC0ZrM4KoA4Q== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.4" "@walletconnect/jsonrpc-provider" "^1.0.11" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" - "@walletconnect/sign-client" "2.7.0" - "@walletconnect/types" "2.7.0" - "@walletconnect/universal-provider" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/sign-client" "2.7.4" + "@walletconnect/types" "2.7.4" + "@walletconnect/universal-provider" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -3597,19 +3597,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.7.0.tgz#c08c90a1fc95340d5d40d2cfd88f59d4d385a676" - integrity sha512-K99xa6GSFS04U+140yrIEi/VJJJ0Q1ov4jCaiqa9euILDKxlBsM7m5GR+9sq6oYyj18SluJY4CJTdeOXUJlarA== +"@walletconnect/sign-client@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.7.4.tgz#e07db5856f9e45945080a169bbd9cb6849576bac" + integrity sha512-hZoCB51GB4u32yxzYnxp8dpzXgo6E7ZWUVOgnihmoMPjgJahPtvB/Ip9jYxI3fuV+ZPQYNlxQgEvR9X+2fLz+g== dependencies: - "@walletconnect/core" "2.7.0" + "@walletconnect/core" "2.7.4" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" events "^3.3.0" "@walletconnect/socket-transport@^1.7.1": @@ -3637,10 +3637,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.7.0", "@walletconnect/types@^2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.0.tgz#af639c463d0d80d0fd03da80f2fc593c73a93ae9" - integrity sha512-aMUDUtO79WSBtC/bDetE6aFwdgwJr0tJ8nC8gnAl5ELsrjygEKCn6M8Q+v6nP9svG9yf5Rds4cImxCT6BWwTyw== +"@walletconnect/types@2.7.3", "@walletconnect/types@^2.5.2": + version "2.7.3" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.3.tgz#cbc894b025383ec1137023caefce55f9824909c9" + integrity sha512-01U/GwrtokgBfBzLwZQQogkYh/+HBvClO4Oet3bClnyzHZ//Jv3Xf3X9LluNrHaulzPqdc9g7wnFkpjkVqKicQ== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -3649,10 +3649,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.7.3", "@walletconnect/types@^2.5.2": - version "2.7.3" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.3.tgz#cbc894b025383ec1137023caefce55f9824909c9" - integrity sha512-01U/GwrtokgBfBzLwZQQogkYh/+HBvClO4Oet3bClnyzHZ//Jv3Xf3X9LluNrHaulzPqdc9g7wnFkpjkVqKicQ== +"@walletconnect/types@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.4.tgz#958864e7ef497206a24db0ca629a478ca8e1cc08" + integrity sha512-Nagfz8DqLxf0UlVd7xopgBX60EJp1xUEq7J30ALlTbWqEhCHuLK/qPk5vGdJ9Q6+ZDpTW9ShLq1DNf+5nVpVDQ== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -3671,26 +3671,38 @@ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== -"@walletconnect/universal-provider@2.7.0": +"@walletconnect/types@^2.7.0": version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.7.0.tgz#4bb36b353d2c2d7c466e89e2d8c576727c4388d0" - integrity sha512-aAIudO3ZlKD16X36VnXChpxBB6/JLK1SCJBfidk7E0GE2S4xr1xW5jXGSGS4Z+wIkNZXK0n7ULSK3PZ7mPBdog== + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.7.0.tgz#af639c463d0d80d0fd03da80f2fc593c73a93ae9" + integrity sha512-aMUDUtO79WSBtC/bDetE6aFwdgwJr0tJ8nC8gnAl5ELsrjygEKCn6M8Q+v6nP9svG9yf5Rds4cImxCT6BWwTyw== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-types" "^1.0.2" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + events "^3.3.0" + +"@walletconnect/universal-provider@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.7.4.tgz#f21dcaf89c102bda79f13e92c45833f8f1196775" + integrity sha512-suH3o5LpTX7hlx5lU98oLdEM0Ws5ZysjQ4Zr6EWIK1DVT8EDdWbw49ggJSW9IYRLQ2xG22jDvmTIdFAexYOgng== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.4" "@walletconnect/jsonrpc-provider" "^1.0.11" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.7.0" - "@walletconnect/types" "2.7.0" - "@walletconnect/utils" "2.7.0" + "@walletconnect/sign-client" "2.7.4" + "@walletconnect/types" "2.7.4" + "@walletconnect/utils" "2.7.4" eip1193-provider "1.0.1" events "^3.3.0" -"@walletconnect/utils@2.7.0": - version "2.7.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.7.0.tgz#18482834b8a27e0515ef160a1ff7e4632c9d77f5" - integrity sha512-k32jrQeyJsNZPdmtmg85Y3QgaS5YfzYSPrAxRC2uUD1ts7rrI6P5GG2iXNs3AvWKOuCgsp/PqU8s7AC7CRUscw== +"@walletconnect/utils@2.7.4": + version "2.7.4" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.7.4.tgz#314a164aabb7551dae4ac58e63312c9ae6369e1e" + integrity sha512-2WEeKB9h/FQvyNmIBYwLtjdLm3Oo55EwtJoxkC00SA7xjf8jYxZ8q2y4P/CJP8oO5ruxBK5Ft0smKvPHXsE58Q== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -3701,11 +3713,11 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.7.0" + "@walletconnect/types" "2.7.4" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" - query-string "7.1.1" + query-string "7.1.3" uint8arrays "^3.1.0" "@walletconnect/utils@^1.7.1": @@ -3995,31 +4007,31 @@ "@web3auth/base-evm-adapter" "^5.2.0" "@web3auth/ethereum-provider" "^5.2.0" -"@web3modal/core@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-2.2.2.tgz#1e282dc45bddb11c04f1c93abce570bac1b9a620" - integrity sha512-RKbYNIEVP5Hwiva68PWXExbkTFLUTasneyRpcjoQSM4BIh78qXp1YMt0nyTvFdHmHQEGxXEMCuRG5qoE97uMHA== +"@web3modal/core@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/core/-/core-2.4.1.tgz#9b0a60aa88ef8518de7a30bab1278b2c9f046012" + integrity sha512-v6Y/eQJSI2YfUTv8rGqjFabqdk3ZPjx6Fe7j5Q8fw0ZWF1YRGM3mySG457qtKQ7D7E1kNKA3BHbaOZ3pgQoG6A== dependencies: buffer "6.0.3" - valtio "1.10.3" + valtio "1.10.5" -"@web3modal/standalone@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/standalone/-/standalone-2.2.2.tgz#2d5ce74bbb7f112b31da32049620afa75c4a4686" - integrity sha512-c05kkTFNGZqnjJ3n2C8uo+wWL6ut1jexGYAyTvbweDengdsOr8LDo0VpK5V3XSKCV2fFcPh5JE9H1aA4jpnZPg== +"@web3modal/standalone@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/standalone/-/standalone-2.4.1.tgz#e10330583ce7b550ba676e4c595ac8ea8715bcdb" + integrity sha512-ZrI5LwWeT9sd8A3FdIX/gBp3ZrzrX882Ln1vJN0LTCmeP2OUsYcW5bPxjv1PcJ1YUBY7Tg4aTgMUnAVTTuqb+w== dependencies: - "@web3modal/core" "2.2.2" - "@web3modal/ui" "2.2.2" + "@web3modal/core" "2.4.1" + "@web3modal/ui" "2.4.1" -"@web3modal/ui@2.2.2": - version "2.2.2" - resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-2.2.2.tgz#f1c1ac908230d4214c35891a5d922c118353eaf2" - integrity sha512-PAuMOuk4sZ4UGjucGMZKzu6Qu56XtFsgLaqOn8ZgP2RkZmYEBGSG9mUQVzJd3XzfzAy1T91Wmqp/3TI3m0pXuQ== +"@web3modal/ui@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@web3modal/ui/-/ui-2.4.1.tgz#c1c5a8bf4cd749febd15411ec710b22215e66e56" + integrity sha512-x1ceyd3mMJsIHs5UUTLvE+6qyCjhyjL6gB/wVmTDbwASHSQIVyshQJ+s7BwIEMP/pbAsYDg+/M8EiUuE+/E/kg== dependencies: - "@web3modal/core" "2.2.2" - lit "2.6.1" + "@web3modal/core" "2.4.1" + lit "2.7.4" motion "10.15.5" - qrcode "1.5.1" + qrcode "1.5.3" "@webassemblyjs/ast@1.11.1": version "1.11.1" @@ -8622,22 +8634,15 @@ lie@3.1.1: dependencies: immediate "~3.0.5" -lit-element@^3.2.0: - version "3.3.1" - resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.1.tgz#9dcb950b1fadf156dacf3ded8d7d51a8cf16a966" - integrity sha512-Gl+2409uXWbf7n6cCl7Kzasm7zjT9xmdwi2BhLNi70sRKAgRkqueDu5mSIH3hPYMM0/vqBCdPXod3NbGkRA2ww== +lit-element@^3.3.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-3.3.2.tgz#9913bf220b85065f0e5f1bb8878cc44f36b50cfa" + integrity sha512-xXAeVWKGr4/njq0rGC9dethMnYCq5hpKYrgQZYTzawt9YQhMiXfD+T1RgrdY3NamOxwq2aXlb0vOI6e29CKgVQ== dependencies: "@lit-labs/ssr-dom-shim" "^1.1.0" "@lit/reactive-element" "^1.3.0" lit-html "^2.7.0" -lit-html@^2.6.0: - version "2.7.2" - resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.7.2.tgz#e4593da022298d8029ae3f67d10d322c18152d3d" - integrity sha512-ZJCfKlA2XELu5tn7XuzOziGFGvf1SeQm+ngLWoJ8bXtSkRrrR3ms6SWy+gsdxeYwySLij5xAhdd2C3EX0ftxdQ== - dependencies: - "@types/trusted-types" "^2.0.2" - lit-html@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-2.7.0.tgz#b244457d0f8c4782a50e83b2c6f3611347ef775d" @@ -8645,14 +8650,14 @@ lit-html@^2.7.0: dependencies: "@types/trusted-types" "^2.0.2" -lit@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/lit/-/lit-2.6.1.tgz#5951a2098b9bde5b328c73b55c15fdc0eefd96d7" - integrity sha512-DT87LD64f8acR7uVp7kZfhLRrHkfC/N4BVzAtnw9Yg8087mbBJ//qedwdwX0kzDbxgPccWRW6mFwGbRQIxy0pw== +lit@2.7.4: + version "2.7.4" + resolved "https://registry.yarnpkg.com/lit/-/lit-2.7.4.tgz#ca63d27fda178dbffae0faf2c882b9910e40842c" + integrity sha512-cgD7xrZoYr21mbrkZIuIrj98YTMw/snJPg52deWVV4A8icLyNHI3bF70xsJeAgwTuiq5Kkd+ZR8gybSJDCPB7g== dependencies: "@lit/reactive-element" "^1.6.0" - lit-element "^3.2.0" - lit-html "^2.6.0" + lit-element "^3.3.0" + lit-html "^2.7.0" loader-runner@^4.2.0: version "4.2.0" @@ -9972,10 +9977,10 @@ proxy-addr@~2.0.7: forwarded "0.2.0" ipaddr.js "1.9.1" -proxy-compare@2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.0.tgz#0387c5e4d283ba9b1c0353bb20def4449b06bbd2" - integrity sha512-f1us0OsVAJ3tdIMXGQx2lmseYS4YXe4W+sKF5g5ww/jV+5ogMadPt+sIZ+88Ga9kvMJsrRNWzCrKPpr6pMWYbA== +proxy-compare@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" + integrity sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA== prr@~1.0.1: version "1.0.1" @@ -10070,10 +10075,10 @@ qrcode@1.4.4: pngjs "^3.3.0" yargs "^13.2.4" -qrcode@1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.1.tgz#0103f97317409f7bc91772ef30793a54cd59f0cb" - integrity sha512-nS8NJ1Z3md8uTjKtP+SGGhfqmTCs5flU/xR623oI0JX+Wepz9R8UrRVCTBTJm3qGw3rH6jJ6MUHjkDx15cxSSg== +qrcode@1.5.3: + version "1.5.3" + resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" + integrity sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg== dependencies: dijkstrajs "^1.0.1" encode-utf8 "^1.0.3" @@ -10116,16 +10121,6 @@ query-string@6.13.5: split-on-first "^1.0.0" strict-uri-encode "^2.0.0" -query-string@7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1" - integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w== - dependencies: - decode-uri-component "^0.2.0" - filter-obj "^1.1.0" - split-on-first "^1.0.0" - strict-uri-encode "^2.0.0" - query-string@7.1.3: version "7.1.3" resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" @@ -12045,12 +12040,12 @@ v8-compile-cache@^2.0.3: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== -valtio@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.3.tgz#273eda9ba6459869798b4f58c84514e18fb80ed8" - integrity sha512-t3Ez/+baJ+Z5tIyeaI6nCAbW/hrmcq2jditwg/X++o5IvCdiGirQKTOv1kJq0glgUo13v5oABCVGcinggBfiKw== +valtio@1.10.5: + version "1.10.5" + resolved "https://registry.yarnpkg.com/valtio/-/valtio-1.10.5.tgz#7852125e3b774b522827d96bd9c76d285c518678" + integrity sha512-jTp0k63VXf4r5hPoaC6a6LCG4POkVSh629WLi1+d5PlajLsbynTMd7qAgEiOSPxzoX5iNvbN7iZ/k/g29wrNiQ== dependencies: - proxy-compare "2.5.0" + proxy-compare "2.5.1" use-sync-external-store "1.2.0" varint@5.0.0: