From d212dad98305a14c796f5a899b6e07b5b1757622 Mon Sep 17 00:00:00 2001 From: Michele Esposito Date: Tue, 11 Feb 2025 14:41:21 +0100 Subject: [PATCH] chore: deprecate `Keyring` type --- src/keyring.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/keyring.ts b/src/keyring.ts index 0b6f445c9..a669d0a83 100644 --- a/src/keyring.ts +++ b/src/keyring.ts @@ -10,6 +10,9 @@ import type { Json } from './json'; * This type is used to validate the constructor signature and the `type` * static property on Keyring classes. See the {@link Keyring} type for more * information. + * + * @deprecated This type has been moved to the `@metamask/keyring-utils` package. + * See {@link https://github.com/MetaMask/accounts/tree/main/packages/keyring-utils Keyring Utils}. */ export type KeyringClass = { /** @@ -43,6 +46,9 @@ export type KeyringClass = { * private key directly. The keyring (and in particular the keyring state) * should be treated with care though, just in case it does contain sensitive * material such as a private key. + * + * @deprecated This type has been moved to the `@metamask/keyring-utils` package. + * See {@link https://github.com/MetaMask/accounts/tree/main/packages/keyring-utils Keyring Utils}. */ export type Keyring = { /**