Hi,
Seems walletconnect authentication API is not working. It was working fine few days back, but suddenly it seems to be broken now.
async function loginWalletConnect() {
let user = Moralis.User.current();
if (!user) {
await Moralis.Web3.authenticate({ provider: "walletconnect", signingMessage: "Signing in to SHIBIC" });
}
}
libraries included:
<script src="https://unpkg.com/moralis/dist/moralis.js"></script>
<script src="https://github.com/WalletConnect/walletconnect-monorepo/releases/download/1.7.0/web3-provider.min.js"></script>
Error I’m getting:
Uncaught (in promise) Error: Cannot enable WalletConnect: dependency "@walletconnect/web3-provider" is missing
at WalletConnectWeb3Connector.<anonymous> (moralis.js:27670:23)
at tryCatch (moralis.js:72589:40)
at Generator.invoke [as _invoke] (moralis.js:72820:22)
at Generator.next (moralis.js:72645:21)
at asyncGeneratorStep (moralis.js:29235:24)
at _next (moralis.js:29257:9)