mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
d6b49ae383
The `HardwareKeyringTypes` constant has been renamed to `KeyringTypes` and moved to a separate constants module, to reflect that it contains more than just hardware wallet keyring types. This corrects a mistake made recently during a TypeScript conversion.
18 lines
361 B
TypeScript
18 lines
361 B
TypeScript
import { HardwareKeyringType } from './hardware-wallets';
|
|
|
|
/**
|
|
* These are the keyrings that are managed entirely by MetaMask.
|
|
*/
|
|
export enum InternalKeyringType {
|
|
hdKeyTree = 'HD Key Tree',
|
|
imported = 'Simple Key Pair',
|
|
}
|
|
|
|
/**
|
|
* All keyrings supported by MetaMask.
|
|
*/
|
|
export const KeyringType = {
|
|
...HardwareKeyringType,
|
|
...InternalKeyringType,
|
|
};
|