Skip to content

Commit cba07ff

Browse files
authored
chore: deprecate Keyring type (#236)
1 parent 7994643 commit cba07ff

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/keyring.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import type { Json } from './json';
1010
* This type is used to validate the constructor signature and the `type`
1111
* static property on Keyring classes. See the {@link Keyring} type for more
1212
* information.
13+
*
14+
* @deprecated This type has been moved to the `@metamask/keyring-utils` package.
15+
* See {@link https://github.com/MetaMask/accounts/tree/main/packages/keyring-utils Keyring Utils}.
1316
*/
1417
export type KeyringClass<State extends Json> = {
1518
/**
@@ -43,6 +46,9 @@ export type KeyringClass<State extends Json> = {
4346
* private key directly. The keyring (and in particular the keyring state)
4447
* should be treated with care though, just in case it does contain sensitive
4548
* material such as a private key.
49+
*
50+
* @deprecated This type has been moved to the `@metamask/keyring-utils` package.
51+
* See {@link https://github.com/MetaMask/accounts/tree/main/packages/keyring-utils Keyring Utils}.
4652
*/
4753
export type Keyring<State extends Json> = {
4854
/**

0 commit comments

Comments
 (0)