From 62f66e1e46af8faf87739d1223fd72ea53dfd6e3 Mon Sep 17 00:00:00 2001 From: Alexander Khramov Date: Tue, 24 Sep 2024 13:37:20 +0300 Subject: [PATCH 1/4] chore: reef-knot 5.7.0 --- package.json | 2 +- yarn.lock | 38 +++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 86aa0192..92b4d5d0 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "5.6.0", + "reef-knot": "5.7.0", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", diff --git a/yarn.lock b/yarn.lock index 5b5b706d..a1bdbf92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2904,10 +2904,10 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.24.tgz#58601079e11784d20f82d0585865bb42305c4df3" integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ== -"@reef-knot/connect-wallet-modal@5.4.0": - version "5.4.0" - resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.4.0.tgz#292e763fb5d3a132c554d9bd64bcb02f55732cc8" - integrity sha512-z9cUTg+P180Bi75v8z69yQhkgHinDuewwC+v0NZJ86FR+O+CZYFLLUJGGfA8IYuz/iLFDkzq7/1ZlfMic5sy3A== +"@reef-knot/connect-wallet-modal@5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@reef-knot/connect-wallet-modal/-/connect-wallet-modal-5.5.0.tgz#3ef1c1650796f978169998c974e22f20f1fb15a6" + integrity sha512-Mw0rl7wTOMDcJ0QXBbCN2Zw3I25VQeGuOaSejIK0gYDlkff6JVjd4CY4KlGcAsIp9vCGBnJ+8aJPfLG8R0+jow== dependencies: "@ledgerhq/hw-app-eth" "^6.37.1" "@ledgerhq/hw-transport" "^6.31.0" @@ -2917,10 +2917,10 @@ "@types/react" "18.2.45" "@types/react-dom" "18.2.17" -"@reef-knot/core-react@4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-4.2.1.tgz#417d8a56f0ec00a99e186f554a327114fa30f9eb" - integrity sha512-XKlARTzauRhvOeLCH3zBIECaqj/FL/7Vdmw4YhbMDWnIlzYJWjv3NByoHRPtGu2+YeC9uTgbkwxaXSTV/bWznQ== +"@reef-knot/core-react@4.3.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-4.3.0.tgz#1497607e1459299924ff31948a029316030d4677" + integrity sha512-TfyJrft9eQSqy5Vj8JFCRmFByzD/Y6LKsDyfjc4Q5H9kKjj+rE0V4+6fTDre1qWkXzzj+OSjErosqxsjNghOSw== "@reef-knot/ledger-connector@4.1.0": version "4.1.0" @@ -2949,10 +2949,10 @@ resolved "https://registry.yarnpkg.com/@reef-knot/types/-/types-2.1.0.tgz#ae9eea6c5c042b7ce4e8ceaf93a5d4cedef08850" integrity sha512-Ty2D9EJucykIHycitieF2A8biHM/WX8yFA5xJqHoJ5T832X18/Da6gV2gOw9guSbvhnkTCPeFTjIGowOosDeag== -"@reef-knot/ui-react@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@reef-knot/ui-react/-/ui-react-2.1.3.tgz#75721bda668ae908761b71c23c7c33fd12323caa" - integrity sha512-lvPDmzWgJKcSPp5ohNNBNEoeSFZ3mAnMqfsmNdLugFEE6O3pz5G7mXbjPEJ/DpODhI8wFJKNclKG3rV3zo87Iw== +"@reef-knot/ui-react@2.1.4": + version "2.1.4" + resolved "https://registry.yarnpkg.com/@reef-knot/ui-react/-/ui-react-2.1.4.tgz#20c676c80f73225e6b8be3e30a30b88869749ddb" + integrity sha512-aysfupaz/PMcKywkbg6ByXNDzPbESXR6oNDaBRea3u2fSruHDJhDRmDnpOK/DC+R46irrxFnIuwsuIG05QVNxw== dependencies: react-transition-group "4" use-callback-ref "1.2.5" @@ -9792,16 +9792,16 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reef-knot@5.6.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.6.0.tgz#da0076d811e83fc7191399ccec7788f1ba5fe16a" - integrity sha512-5JflqvV9nnqUQ+YfgTwW5mZ5ble13Keb3eFSvfgH4VLBoCAUfezrD+9WtVtSCXx/ozEoNPpvE5vNGjrM9GZZSg== +reef-knot@5.7.0: + version "5.7.0" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.7.0.tgz#fc85c37f4f437c195f74339ea77f13fa2d2f137d" + integrity sha512-QKD9Nj5lyifBQTdlO/sf+rCGG3+by8PBpIpz35z6Fr+bDt1I7IYjJa+zDQJsXNiW5pkNBZvv+LqvP76jALJyZg== dependencies: - "@reef-knot/connect-wallet-modal" "5.4.0" - "@reef-knot/core-react" "4.2.1" + "@reef-knot/connect-wallet-modal" "5.5.0" + "@reef-knot/core-react" "4.3.0" "@reef-knot/ledger-connector" "4.1.0" "@reef-knot/types" "2.1.0" - "@reef-knot/ui-react" "2.1.3" + "@reef-knot/ui-react" "2.1.4" "@reef-knot/wallets-helpers" "2.1.0" "@reef-knot/wallets-list" "2.3.0" "@reef-knot/web3-react" "4.0.1" From b2263849ad69bd062a1bff4569d0a2541ed80ae7 Mon Sep 17 00:00:00 2001 From: Alexander Khramov Date: Wed, 9 Oct 2024 20:02:31 +0300 Subject: [PATCH 2/4] fix: reef-knot 5.7.1 --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 92b4d5d0..23a2e010 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "5.7.0", + "reef-knot": "5.7.1", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", diff --git a/yarn.lock b/yarn.lock index a1bdbf92..4b33ada0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2922,10 +2922,10 @@ resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-4.3.0.tgz#1497607e1459299924ff31948a029316030d4677" integrity sha512-TfyJrft9eQSqy5Vj8JFCRmFByzD/Y6LKsDyfjc4Q5H9kKjj+rE0V4+6fTDre1qWkXzzj+OSjErosqxsjNghOSw== -"@reef-knot/ledger-connector@4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-4.1.0.tgz#f47825ad1d479eda33b3d0c38084627fae3723e1" - integrity sha512-Bh+/AVeDff28etUNXmQnfbnWpAX1RjWxvfqLCCZQFqY1typq66+pF8eXKg05c1hcN9XNxMBxy2OlKCy8U1VttQ== +"@reef-knot/ledger-connector@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-4.1.1.tgz#2c003b134f69e37e411211c7cbaffbe5dc1cc740" + integrity sha512-Ila6P+GNy9MAQdH5WXZaaFtfHxBSgmIYT5ZW79aZA+6q/uUGxPxmlyVfrtTDgqiAzHbfOTc4wru7NyODNRb4sw== dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -9792,14 +9792,14 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reef-knot@5.7.0: - version "5.7.0" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.7.0.tgz#fc85c37f4f437c195f74339ea77f13fa2d2f137d" - integrity sha512-QKD9Nj5lyifBQTdlO/sf+rCGG3+by8PBpIpz35z6Fr+bDt1I7IYjJa+zDQJsXNiW5pkNBZvv+LqvP76jALJyZg== +reef-knot@5.7.1: + version "5.7.1" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.7.1.tgz#9df1daad75e8e4b4d9abcf7aaad463d9a0f04685" + integrity sha512-2xjxObOdRiDAMBiCycdh9vBWFnlMhVfnlyMTF1Qml1iS0sxxto5l9f7Npk3fbtNat8hHeW99OYA3buP4gYbwqA== dependencies: "@reef-knot/connect-wallet-modal" "5.5.0" "@reef-knot/core-react" "4.3.0" - "@reef-knot/ledger-connector" "4.1.0" + "@reef-knot/ledger-connector" "4.1.1" "@reef-knot/types" "2.1.0" "@reef-knot/ui-react" "2.1.4" "@reef-knot/wallets-helpers" "2.1.0" From aa3dfbd863c4c0cb5c6a520c911ac9aa6ac894c6 Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Thu, 10 Oct 2024 13:36:13 +0700 Subject: [PATCH 3/4] fix: remove ll fallback --- features/wsteth/shared/wallet/wallet.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/features/wsteth/shared/wallet/wallet.tsx b/features/wsteth/shared/wallet/wallet.tsx index f710c4cd..510aa156 100644 --- a/features/wsteth/shared/wallet/wallet.tsx +++ b/features/wsteth/shared/wallet/wallet.tsx @@ -1,6 +1,5 @@ import { memo } from 'react'; import { useAccount } from 'wagmi'; -import { useConnectorInfo } from 'reef-knot/core-react'; import { Divider, Text } from '@lidofinance/lido-ui'; import { useSDK } from '@lido-sdk/react'; @@ -140,17 +139,11 @@ const WalletComponent: WalletComponentType = (props) => { }; export const Wallet: WalletComponentType = memo((props) => { - const { isLedgerLive } = useConnectorInfo(); const { chainId } = useAccount(); const { isDappActive, isDappActiveOnL2 } = useDappStatus(); const { showLidoMultichainFallback } = useLidoMultichainFallbackCondition(); const { chainName, isMatchDappChainAndWalletChain } = useDappChain(); - if (isLedgerLive && chainName === OPTIMISM) { - const error = `Optimism is currently not supported in Ledger Live.`; - return ; - } - if (isDappActive && !isMatchDappChainAndWalletChain(chainId)) { const switchToOptimism = config.supportedChains.indexOf(CHAINS.Optimism) > -1 From ec9f7890d41b1e114c971548803762de60754e2f Mon Sep 17 00:00:00 2001 From: Evgeny Taktarov Date: Thu, 10 Oct 2024 17:46:34 +0700 Subject: [PATCH 4/4] chore: up rk --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 7489e76b..a6b12b03 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "react-hook-form": "^7.45.2", "react-is": "^18.2.0", "react-transition-group": "^4.4.2", - "reef-knot": "5.7.1", + "reef-knot": "5.7.2", "remark": "^13.0.0", "remark-external-links": "^8.0.0", "remark-html": "^13.0.1", diff --git a/yarn.lock b/yarn.lock index c1a6bec8..07a3b653 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2916,10 +2916,10 @@ resolved "https://registry.yarnpkg.com/@reef-knot/core-react/-/core-react-4.3.0.tgz#1497607e1459299924ff31948a029316030d4677" integrity sha512-TfyJrft9eQSqy5Vj8JFCRmFByzD/Y6LKsDyfjc4Q5H9kKjj+rE0V4+6fTDre1qWkXzzj+OSjErosqxsjNghOSw== -"@reef-knot/ledger-connector@4.1.1": - version "4.1.1" - resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-4.1.1.tgz#2c003b134f69e37e411211c7cbaffbe5dc1cc740" - integrity sha512-Ila6P+GNy9MAQdH5WXZaaFtfHxBSgmIYT5ZW79aZA+6q/uUGxPxmlyVfrtTDgqiAzHbfOTc4wru7NyODNRb4sw== +"@reef-knot/ledger-connector@4.1.2": + version "4.1.2" + resolved "https://registry.yarnpkg.com/@reef-knot/ledger-connector/-/ledger-connector-4.1.2.tgz#11da0fd2e7eb26674488152e2e206b71d5aed387" + integrity sha512-k8pZdAZPhRKslnmV5cZPbVdRbuvtw5/g5PUiBIw7yXebUeRhYMkLXKDijHo+rvGQDuzqu2STwSXcho14Kc+P8w== dependencies: "@ethersproject/abstract-signer" "^5.7.0" "@ethersproject/address" "^5.7.0" @@ -9773,14 +9773,14 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reef-knot@5.7.1: - version "5.7.1" - resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.7.1.tgz#9df1daad75e8e4b4d9abcf7aaad463d9a0f04685" - integrity sha512-2xjxObOdRiDAMBiCycdh9vBWFnlMhVfnlyMTF1Qml1iS0sxxto5l9f7Npk3fbtNat8hHeW99OYA3buP4gYbwqA== +reef-knot@5.7.2: + version "5.7.2" + resolved "https://registry.yarnpkg.com/reef-knot/-/reef-knot-5.7.2.tgz#23dec3539718ffd53638b1670bee57bb5729c37c" + integrity sha512-f+yBBoZ2y4419E0DfcJFQ7Y+tiBymi3WjKbTgMtCy2POzj+H1P4Q+mIPi5YeSPIycLJD1LPSJn4nyxDGdCBI3g== dependencies: "@reef-knot/connect-wallet-modal" "5.5.0" "@reef-knot/core-react" "4.3.0" - "@reef-knot/ledger-connector" "4.1.1" + "@reef-knot/ledger-connector" "4.1.2" "@reef-knot/types" "2.1.0" "@reef-knot/ui-react" "2.1.4" "@reef-knot/wallets-helpers" "2.1.0"