This website requires JavaScript.
Explore
Help
Register
Sign In
m
/
metamask-extension
Watch
1
Star
0
Fork
0
You've already forked metamask-extension
mirror of
https://github.com/kremalicious/metamask-extension.git
synced
2024-11-23 02:10:12 +01:00
Code
5560b7c3e5
metamask-extension
/
ui
/
ducks
/
alerts
/
enums.js
7 lines
108 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Merge pull request from GHSA-c2xw-px2x-pr65 * Remove network config store * Remove inline networks variable in network controller * Re-key network controller 'rpcTarget' to 'rpcUrl' * Require chainId in lookupNetwork, implement eth_chainId * Require chain ID in network form * Add alert, migrations, and tests * Add chainId validation to addToFrequentRpcList * Update public config state selector to match new network controller state * Use network enums in networks-tab.constants * Ensure chainId in provider config is current * Update tests
2020-10-06 19:57:02 +02:00
export
const
ALERT
_STATE
=
{
CLOSED
:
'CLOSED'
,
ERROR
:
'ERROR'
,
LOADING
:
'LOADING'
,
OPEN
:
'OPEN'
,
@metamask/eslint config@5.0.0 (#10358) * @metamask/eslint-config@5.0.0 * Update eslintrc and prettierrc * yarn lint:fix
2021-02-04 19:15:23 +01:00
}
;
Copy Permalink