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
feat: add new actions to KeyringController (#6928)
## Explanation
Added actions for `createNewVaultAndKeychain` and
`createNewVaultAndRestore`. These are meant to be consumed by the
`createNewMultichainAccountWallet` method in the
`MultichainAccountService`.
## References
N/A
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds messenger actions and handlers for `createNewVaultAndKeychain`
and `createNewVaultAndRestore`, and documents them in the changelog.
>
> - **KeyringController**:
> - Add action types `KeyringControllerCreateNewVaultAndKeychainAction`
and `KeyringControllerCreateNewVaultAndRestoreAction` in
`src/KeyringController.ts`.
> - Extend `KeyringControllerActions` union to include the new actions.
> - Register action handlers for `${name}:createNewVaultAndKeychain` and
`${name}:createNewVaultAndRestore`.
> - **Docs**:
> - Update `packages/keyring-controller/CHANGELOG.md` under Unreleased
to note the new actions.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e424f6b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments