1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/shared/constants
Hennadii Ivtushok 72d2977e72
Warn about multiple MetaMask instances running (#13836)
* Add text warning on startup page

* Try to detect extensions with browser API

* Setup messaging between different versions of extension

* Cleanup

* Cleanup

* Simplify check for multiple instances running

* Fix a doc string + use webextension-polyfill

* Fix test

* Mock webextension-polyfill

* Mock correctly

* Catch error and show warning in both extensions

* Mock as promise

* Address comments

* Rename build ids

* Run detection code only if Chrome

* Add Firefox warnings

* Cleanup imports

* Update connection ids

* Run detection code for Firefox

* Add test

* Add missing await

* Update tests

* Cleanup

* Cleanup

* Improve testing

* Improve tests

* Log errors from sendMessage

* Cleanup

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-04-27 20:14:10 +02:00
..
alerts.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app.js Warn about multiple MetaMask instances running (#13836) 2022-04-27 20:14:10 +02:00
gas.js Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
hardware-wallets.js add account_type and device_model to tx metrics (#13682) 2022-02-23 09:15:41 -06:00
labels.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
metametrics.js MetaMetrics: Add EVENT.CATEGORIES const (#14474) 2022-04-22 13:09:10 -03:00
network.js Update display of switching current network (#13450) 2022-04-25 13:28:52 -05:00
permissions.js Add native browser notification support for Snaps (#13613) 2022-03-17 17:43:18 +01:00
permissions.test.js snaps-skunkworks@0.10.2 (#13901) 2022-03-14 12:37:19 -07:00
swaps.js Swaps: Sort "token_from" dropdown tokens by their fiat value first and "token_to" by top tokens (#14436) 2022-04-15 14:57:58 +02:00
time.js Adding periodic reminder modal for backing up recovery phrase (#11021) 2021-06-04 23:33:58 -07:00
tokens.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
transaction.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00