diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 3b7f33d498..a0f10e9c7b 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **BREAKING:** Change `KeyringSelectorV2` type selectors for `withKeyringV2` and `withKeyringV2Unsafe` to use `KeyringType` (v2 variant) ([#8901](https://github.com/MetaMask/core/pull/8901)) - Use values such as `KeyringType.Hd` instead of legacy `KeyringTypes.hd`. +- Deprecate `KeyringTypes` ([#8907](https://github.com/MetaMask/core/pull/8907)) + - Use `KeyringTypes` from `@metamask/keyring-api/v2` if your keyring has a v2 builder. ## [25.5.0] diff --git a/packages/keyring-controller/src/KeyringController.ts b/packages/keyring-controller/src/KeyringController.ts index 90e32fef62..a1880da21c 100644 --- a/packages/keyring-controller/src/KeyringController.ts +++ b/packages/keyring-controller/src/KeyringController.ts @@ -94,6 +94,10 @@ const MESSENGER_EXPOSED_METHODS = [ /** * Available keyring types + * + * @deprecated Use `KeyringType` from `@metamask/keyring-api/v2` instead. This enum will be removed + * in a future release once V2 is fully adopted. Only use it if the keyring you are trying to access + * has no V2 builder available yet. */ export enum KeyringTypes { // Changing this would be a breaking change, and not worth the effort at this