Brad Decker
4c5edea294
fix contract exchange rate race condition ( #10414 )
4 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Erik Marks
e05be40d92
@metamask/obs-store@5.0.0 ( #10092 )
4 years ago
Whymarrh Whitby
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Mark Stacey
1f8a7a72c9
Fix `TokenRatesController` ( #8780 )
...
The `TokenRatesController` was accidentally broken in #8744 , when the
logic for starting and stopping polling was moved from the `isActive`
property to start/stop functions.
A reference to the now-obsolete `isActive` property was accidentally
left behind, resulting in no exchange rate updates.
5 years ago
Brad Decker
456684ee7d
move activation logic into token rates controller ( #8744 )
5 years ago
Whymarrh Whitby
4f3fc95d50
Update ESLint rules for test suite ( #8023 )
...
* Use @metamask/eslint-config@1.1.0
* Use eslint-plugin-mocha@6.2.2
* Mark root ESLint config as root
* Update Mocha ESLint rules with shared ESLint config
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Paul Bouchon
0549782595
Update Balanc3 API ( #5744 )
...
* Update balanc3 API used in TokenRatesController
* Remove demo URL and use nativeCurrency when fetching token rates
6 years ago
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
7 years ago
bitpshr
b4912f29cd
Disable token price polling when no client is active
7 years ago
bitpshr
d0447f9058
Maintain token prices using a background service
7 years ago