Closed antonio-fr closed 2 years ago
I don't think the error surface from svelte-web3 itself. Which version are you using and which provider are you passing in setProvider ?
Yes, after more analysis, this is the latest web.js module v1.7.0, which has this deprecated method. I'm closing this and will eventually open at the web3js repository.
Running svelte-web3 with Metamask, the latter informs that the "close" may be removed in any future version.
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