MetaMask disconnect can be supported now
davisshaver opened this issue · comments
Davis Shaver commented
Describe the bug
Previously we had #684 which was closed because MetaMask did not support programmatic disconnect. MetaMask recently added a wallet_revokePermissions
RPC method which allows revoking permissions.
See also tracking issue here MetaMask/core#723.
With this change, could WAGMI be updated to "fix" the issue with MetaMask not fully disconnecting when use WAGMI disconnect hooks?
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
Wagmi Version
^2.8.1
Viem Version
^2.9.31
TypeScript Version
No response
Check existing issues
- I checked there isn't already an issue for the bug I encountered.
Anything else?
Thank you for a fantastic library and please advise if I can help with this issue followup in any way.