Skip to content

Commit

Permalink
fix: wallet connect
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jul 18, 2023
1 parent f389f90 commit 560d4d4
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 23 deletions.
3 changes: 1 addition & 2 deletions packages/web-lib/components/ModalMobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,10 @@ function ModalMobileMenu(props: TModalMobileMenu): ReactElement {
(): void => undefined
);
}}
className={'yearn--modalMobileMenu-walletCard !opacity-25'}>
className={'yearn--modalMobileMenu-walletCard'}>
<IconWalletWalletConnect style={{width: 40, height: 40}} />
<b className={'mt-4 text-sm text-neutral-500'}>{'Wallet Connect'}</b>
</div>
<p className={'col-span-2 text-center text-xs !text-neutral-500'}>{'WalletConnect is temporarily disabled due to a shutdown of their V1 services. As soon as we will be whitelisted on their V2, this functionality will be reenabled.'}</p>
</div>
);
}
Expand Down
10 changes: 5 additions & 5 deletions packages/web-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@wagmi/core": "^1.3.3",
"@wagmi/core": "^1.3.8",
"axios": "^1.4.0",
"babel-loader": "^9.1.3",
"dayjs": "^1.11.8",
Expand All @@ -49,13 +49,13 @@
"react-hot-toast": "2.4.1",
"sass": "^1.63.6",
"sharp": "^0.32.2",
"tailwindcss": "^3.3.2",
"tailwindcss": "^3.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"viem": "^1.2.5",
"wagmi": "^1.3.3",
"viem": "^1.3.0",
"wagmi": "^1.3.9",
"zod": "^3.21.4"
},
"devDependencies": {
Expand Down Expand Up @@ -110,4 +110,4 @@
"react": ">= 17.0.0",
"react-dom": ">= 17.0.0"
}
}
}
75 changes: 59 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3395,10 +3395,10 @@
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.2.0.tgz#d59eaa70ec51a5fdcd113975926992acfb17ab12"
integrity sha512-dmDRipsE54JfyudOBkuhEexqQWcrZqxn/qiujG8SBzMh/az/AH5xlJSA+j1CPWTx9+QofSMF3B7A4gb6XRmSaQ==

"@wagmi/chains@1.5.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.5.0.tgz#0b23a1505704b4b07a46f41e1ec65a486aceb16b"
integrity sha512-JO5iqh7Km4GW/6XKKDYMq3YQ9wlOSGzzaTUQhALQ58KANxEZ70tZWhfTZAPD3fdgv4wheai7kyHDNgTW6X7fnw==
"@wagmi/chains@1.6.0":
version "1.6.0"
resolved "https://registry.yarnpkg.com/@wagmi/chains/-/chains-1.6.0.tgz#eb992ad28dbaaab729b5bcab3e5b461e8a035656"
integrity sha512-5FRlVxse5P4ZaHG3GTvxwVANSmYJas1eQrTBHhjxVtqXoorm0aLmCHbhmN8Xo1yu09PaWKlleEvfE98yH4AgIw==

"@wagmi/[email protected]":
version "2.6.6"
Expand All @@ -3416,12 +3416,12 @@
abitype "0.8.7"
eventemitter3 "^4.0.7"

"@wagmi/[email protected].7", "@wagmi/core@^1.3.3":
version "1.3.7"
resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.3.7.tgz#7bc00d172d206ffa171df0d5a813c3559d8824e3"
integrity sha512-ens31RwICdrbRanNYwlJs0DAw/LOqUPQm6qXsmEciOENT4w+7pC959LXU9xfaOADWVMekeLDmRqAGCszTNIXAg==
"@wagmi/[email protected].8", "@wagmi/core@^1.3.8":
version "1.3.8"
resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.3.8.tgz#e22eebd38fd7f6c84748ddfaad9f0a1e6d51107a"
integrity sha512-OYSxikoMizqVnpSkFTwGE7PwFaz2k0PXteSiI0W2Mtk4j4sZzRFdP+9AWeDB6AYm0yU3WvgN1IATx0EEBKUe3w==
dependencies:
"@wagmi/chains" "1.5.0"
"@wagmi/chains" "1.6.0"
"@wagmi/connectors" "2.6.6"
abitype "0.8.7"
eventemitter3 "^4.0.7"
Expand Down Expand Up @@ -11426,7 +11426,7 @@ synckit@^0.8.5:
"@pkgr/utils" "^2.3.1"
tslib "^2.5.0"

tailwindcss@^3.1.6, tailwindcss@^3.3.2:
tailwindcss@^3.1.6:
version "3.3.2"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.2.tgz#2f9e35d715fdf0bbf674d90147a0684d7054a2d3"
integrity sha512-9jPkMiIBXvPc2KywkraqsUfbfj+dHDb+JPWtSJa9MLFdrPyazI7q6WX2sUrm7R9eVR7qqv3Pas7EvQFzxKnI6w==
Expand Down Expand Up @@ -11455,6 +11455,34 @@ tailwindcss@^3.1.6, tailwindcss@^3.3.2:
resolve "^1.22.2"
sucrase "^3.32.0"

tailwindcss@^3.3.3:
version "3.3.3"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.3.tgz#90da807393a2859189e48e9e7000e6880a736daf"
integrity sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==
dependencies:
"@alloc/quick-lru" "^5.2.0"
arg "^5.0.2"
chokidar "^3.5.3"
didyoumean "^1.2.2"
dlv "^1.1.3"
fast-glob "^3.2.12"
glob-parent "^6.0.2"
is-glob "^4.0.3"
jiti "^1.18.2"
lilconfig "^2.1.0"
micromatch "^4.0.5"
normalize-path "^3.0.0"
object-hash "^3.0.0"
picocolors "^1.0.0"
postcss "^8.4.23"
postcss-import "^15.1.0"
postcss-js "^4.0.1"
postcss-load-config "^4.0.1"
postcss-nested "^6.0.1"
postcss-selector-parser "^6.0.11"
resolve "^1.22.2"
sucrase "^3.32.0"

tapable@^2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
Expand Down Expand Up @@ -12131,7 +12159,7 @@ vfile@^5.0.0:
unist-util-stringify-position "^3.0.0"
vfile-message "^3.0.0"

viem@^1.0.0, viem@^1.2.5:
viem@^1.0.0:
version "1.2.14"
resolved "https://registry.yarnpkg.com/viem/-/viem-1.2.14.tgz#f3d3f2262c420336a1aa453f50e1d8b1834df289"
integrity sha512-Hak+NGxdm+vRyt/cV8NbTlW1IRPKAmJBCx1SZZIc1uNVA/Rs6eN0Nh7mB8MbmA3FLJ0ymD/dSbB4MI9GGbGCgA==
Expand All @@ -12146,6 +12174,21 @@ viem@^1.0.0, viem@^1.2.5:
isomorphic-ws "5.0.0"
ws "8.12.0"

viem@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/viem/-/viem-1.3.0.tgz#99c941e9bcfc62b53ffc5bd7470d7900a00d876c"
integrity sha512-gCtachbNPG9G9D7UNuiqLaLf8IFV15FypBrSpXEFeeEczXxI+Jgi9FTwDS+NJLreVrjBeZXQVj1ITTqKpItw4w==
dependencies:
"@adraffy/ens-normalize" "1.9.0"
"@noble/curves" "1.0.0"
"@noble/hashes" "1.3.0"
"@scure/bip32" "1.3.0"
"@scure/bip39" "1.2.0"
"@wagmi/chains" "1.6.0"
abitype "0.8.11"
isomorphic-ws "5.0.0"
ws "8.12.0"

vscode-oniguruma@^1.6.1:
version "1.7.0"
resolved "https://registry.yarnpkg.com/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz#439bfad8fe71abd7798338d1cd3dc53a8beea94b"
Expand All @@ -12156,15 +12199,15 @@ [email protected]:
resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-5.2.0.tgz#01f01760a391e8222fe4f33fbccbd1ad71aed74e"
integrity sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==

wagmi@^1.3.3:
version "1.3.8"
resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.3.8.tgz#544554fdab35ee32d93f107eb75b9d1924e22880"
integrity sha512-RCfcE+Q+yhyfq7j5u7KQRz2KXUMAMexu0Y2kr8z81t4fmDlU5C+OEVQ6NFoUzAzEsJpznpQjZgsfpHKeFm17hQ==
wagmi@^1.3.9:
version "1.3.9"
resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.3.9.tgz#c21b0bc045e9888bd283accedcd9ef9606f04a70"
integrity sha512-BQbl+vWLNpLraXd/MWsl1P3I41l7DHrujx6qshIa1HDV7Mdh0GNrDuluRYBtuK2bBx9WM/Fjw45Ef2aKADan9A==
dependencies:
"@tanstack/query-sync-storage-persister" "^4.27.1"
"@tanstack/react-query" "^4.28.0"
"@tanstack/react-query-persist-client" "^4.28.0"
"@wagmi/core" "1.3.7"
"@wagmi/core" "1.3.8"
abitype "0.8.7"
use-sync-external-store "^1.2.0"

Expand Down

0 comments on commit 560d4d4

Please sign in to comment.