1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Erik Marks 049c863f83 @metamask/controllers@15.0.0 (#11975)
Adds the latest version of `@metamask/controllers`, and updates our usage of the `ApprovalController`, which has been migrated to `BaseControllerV2`. Of [the new `controllers` release](https://github.com/MetaMask/controllers/releases/tag/v15.0.0), only the `ApprovalController` migration should be breaking.

This is the first time we use events on the `ControllerMessenger` to update the badge, so I turned the messenger into a property on the main `MetaMaskController` in order to subscribe to events on it in `background.js`. I confirmed that the badge does indeed update during local QA.

As it turns out, [MetaMask/controllers#571](https://github.com/MetaMask/controllers/pull/571) was breaking for a single unit test case, which is now handled during setup and teardown for the related test suite (`metamask-controller.test.js`).
2021-09-17 09:35:13 -05:00
..
_locales Updating message about disabled Mobile Sync (#11935) 2021-08-25 17:01:54 -07:00
fonts
images Add support for Polygon (#11545) 2021-07-20 19:17:15 +02:00
manifest
scripts @metamask/controllers@15.0.0 (#11975) 2021-09-17 09:35:13 -05:00
vendor/trezor
background.html
home.html
loading.html
notification.html
phishing.html
popup.html
trezor-usb-permissions.html