Auth should be an EventTarget and emit events
sgwilym opened this issue · 0 comments
sgwilym commented
What's the problem you want solved?
There is no way to observe whether an Auth
has added new keypairs or capabilities without being directly responsible for adding those keypairs or capabilities.
Is there a solution you'd like to recommend?
Auth
should extend EventTarget
and emit events for:
- Identity keypairs being added
- Share keypairs being added
- Capabilities being added