1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app
Mark Stacey 5009ceae53
Migrate to new CurrencyRateController (#11005)
The CurrencyRateController has been migrated to the BaseControllerV2
API, which includes various API changes. These changes include:
* The constructor now expects to be passed a
`RestrictedControllerMessenger`.
* State changes are subscribed to via the `ControllerMessenger` now,
rather than via a `subscribe` function.
* The state and configration are passed in as one "options" object,
rather than as two separate parameters
* The polling needs to be started explicitly by calling `start`. It
can be stopped and started on-demand now as well.
* Changing the current currency or native currency will now throw an
error if we fail to update the conversion rate.

The `ComposableObservableStore` has been updated to accomodate these
new types of controllers. The constructor has been updated to use an
options bag pattern as well, to make the addition of the new required
`controllerMessenger` parameter a bit less unweildly.
2021-05-20 00:27:51 -02:30
..
_locales Adding notification for updated seed phrase wording (#11131) 2021-05-18 15:00:34 -07:00
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Show a notification about BSC Swaps if a user is on the BSC Mainnet (#11083) 2021-05-14 14:47:56 -02:30
manifest Migrate version from _base manifest to package.json (#11029) 2021-05-10 14:16:03 -07:00
scripts Migrate to new CurrencyRateController (#11005) 2021-05-20 00:27:51 -02:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Version v9.5.0 RC (#10944) 2021-05-05 11:08:59 -07:00
home.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
phishing.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
popup.html Rename lockdown.cjs to lockdown.js (#10026) 2020-12-09 12:19:17 -03:30
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00