There are some errors Metamask throws from early as I remember when I started using Moralis:
inpage.js:1 You are accessing the MetaMask window.web3.currentProvider shim. This property is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
inpage.js:1 MetaMask: The event âcloseâ is deprecated and may be removed in the future. Please use âdisconnectâ instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1193#disconnect
_warnOfDeprecation @ inpage.js:1
on @ inpage.js:1
inpage.js:1 MetaMask: âethereum.enable()â is deprecated and may be removed in the future. Please use the âeth_requestAccountsâ RPC method instead.
For more information, see: https://eips.ethereum.org/EIPS/eip-1102
I think is the way user = await Moralis.Web3.authenticate(); Moralis handle authentication and communication with MM.
Would these be addressed in future, and moving to new methods?