Uh oh!
There was an error while loading. Please reload this page.
16.0.0 - #596
Conversation
9307f2f to
46babe8CompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| - **BREAKING**: Remove `syncTokens` method from the TokenListController ([#590](https://github.com/MetaMask/controllers/pull/590)) | ||
| - This is breaking for any consumers of this method. | ||
| - Enable default caching for token-service ([#594](https://github.com/MetaMask/controllers/pull/594)) | ||
| - Set tokenList to empty object in test networks ([#588](https://github.com/MetaMask/controllers/pull/588)) |
There was a problem hiding this comment.
This seems to be describing something internal - it doesn't make clear what the actual change was for consumers. It's not clear to me either from reading the PR.
My best guess is that this is a bug fix, and that the change was to clear the dynamic token list when switching to a network not supported by our token list API. Does that sound correct? cc @NiranjanaBinoy@danjm
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
fde5342 to
01f8c96CompareGudahtt
commented
Sep 16, 2021
|
Core doesn't use sinon. This package only used it for
`useFakeTimers()` and a small `advanceTime` helper, both of
which have direct Jest equivalents:
- sinon.useFakeTimers() / clock.restore() ->
jest.useFakeTimers() / jest.useRealTimers()
- clock.tickAsync(stepSize) ->
jest.advanceTimersByTimeAsync(stepSize)
- `advanceTime({ clock, duration, stepSize })` ->
`advanceTime({ duration, stepSize })` (clock arg dropped)
Also bumps ts-jest ^29.1.4 -> ^29.2.5 to match core.
Test suite remains at 196/196 and now runs in ~2.5s (down from ~6s).
This a release candidate for v.16.0.0
[16.0.0]
Changed
Fixed