mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
19 lines
399 B
TypeScript
19 lines
399 B
TypeScript
|
export enum AlertTypes {
|
||
|
unconnectedAccount = 'unconnectedAccount',
|
||
|
web3ShimUsage = 'web3ShimUsage',
|
||
|
invalidCustomNetwork = 'invalidCustomNetwork',
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Alerts that can be enabled or disabled by the user.
|
||
|
*/
|
||
|
export const TOGGLEABLE_ALERT_TYPES = [
|
||
|
AlertTypes.unconnectedAccount,
|
||
|
AlertTypes.web3ShimUsage,
|
||
|
];
|
||
|
|
||
|
export enum Web3ShimUsageAlertStates {
|
||
|
recorded = 1,
|
||
|
dismissed = 2,
|
||
|
}
|