You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Gudahtt I will admit, I keep forgetting we have a selector system for events 😄 It seems that it generally doesn't get much use yet.
That being said, even with a selector, it might not provide the granularity/context that a dedicated event would. I created this ticket based on a comment from @jiexi that suggested firing an event for a specific origin: MetaMask/metamask-extension#29887 (comment), but I think we could take it a bit further than that too.
The PermissionController currently only emits
stateChange
which makes listening for permission updates more complicated than it needs to be.The text was updated successfully, but these errors were encountered: