-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…20786) * Move the `saveSnapKeyring` callback to the `SnapKeyring` constructor This commit removes `saveSnapKeyring` from the list of callbacks passed to the Snap Controller since this function contains business logic specific to the Snap Keyring. Instead, `saveSnapKeyring` is injected into the Snap Keyring through a new argument called `callbacks`. In the future, the `callbacks` argument can be reused to pass other callbacks. * Update the Snap Keyring dependency * chore: use release versions of `eth-snap-keyring` and `rpc-methods` * chore: update `yarn.lock` * chore: update `yarn.lock`
- Loading branch information
Showing
3 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters