mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +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,
|
|
}
|