@metamask-previews/keyring-controller 25.0.0-preview-e540d3bf → 25.0.0-preview-d21b3dc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Added
11
+
12
+ - Added an action to call `removeAccount` ([#7241](https://github.com/MetaMask/core/pull/7241))
13
+ - This action is meant to be consumed by the `MultichainAccountService` to encapsulate the act of removing a wallet when seed phrase backup fails in the clients.
14
+
10
15
  ## [25.0.0]
11
16
 
12
17
  ### Added
@@ -1006,6 +1006,7 @@ _KeyringController_controllerOperationMutex = new WeakMap(), _KeyringController_
1006
1006
  this.messenger.registerActionHandler(`${name}:addNewKeyring`, this.addNewKeyring.bind(this));
1007
1007
  this.messenger.registerActionHandler(`${name}:createNewVaultAndKeychain`, this.createNewVaultAndKeychain.bind(this));
1008
1008
  this.messenger.registerActionHandler(`${name}:createNewVaultAndRestore`, this.createNewVaultAndRestore.bind(this));
1009
+ this.messenger.registerActionHandler(`${name}:removeAccount`, this.removeAccount.bind(this));
1009
1010
  }, _KeyringController_getKeyringById = function _KeyringController_getKeyringById(keyringId) {
1010
1011
  return __classPrivateFieldGet(this, _KeyringController_keyrings, "f").find(({ metadata }) => metadata.id === keyringId)
1011
1012
  ?.keyring;