Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

feat: add keyring events and helper functions #74

Merged
merged 7 commits into from
Aug 25, 2023
Merged

Conversation

danroc
Copy link
Contributor

@danroc danroc commented Aug 24, 2023

The events added by this PR are intended to replace the existing snap_manageAccount methods. Events are more semantically correct, as the keyring's role is to notify the Keyring Controller/Bridge specifically about events related to accounts and requests.

Additionally, this PR introduces a helper function that enables snaps to emit these events.

@socket-security
Copy link

socket-security bot commented Aug 24, 2023

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @metamask/[email protected], @metamask/[email protected]

@danroc danroc marked this pull request as draft August 24, 2023 20:57
@danroc danroc changed the title feat: add Keyring events and helper functions feat: add keyring events and helper functions Aug 25, 2023
@danroc danroc added the DO-NOT-MERGE PRs related to this issue should not be merged label Aug 25, 2023
@socket-security
Copy link

socket-security bot commented Aug 25, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

@danroc danroc force-pushed the feature/emit-events branch from 35c9c4d to 2bf53ec Compare August 25, 2023 13:27
@danroc danroc removed the DO-NOT-MERGE PRs related to this issue should not be merged label Aug 25, 2023
@danroc danroc marked this pull request as ready for review August 25, 2023 14:49
@danroc danroc force-pushed the feature/emit-events branch from 2bf53ec to 12c981e Compare August 25, 2023 14:50
@danroc danroc requested a review from a team August 25, 2023 15:05
@danroc danroc force-pushed the feature/emit-events branch from 37a93de to 8458f11 Compare August 25, 2023 19:43
@danroc danroc merged commit 550ef0f into main Aug 25, 2023
@danroc danroc deleted the feature/emit-events branch August 25, 2023 19:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants