Conversation
|
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/@metamask/selected-network-controller@19.0.0 |
145df02 to
b8a597b
Compare
|
|
||
| ### Removed | ||
|
|
||
| - `createQueuedRequestMiddleware` no longer takes a `useRequestQueue` parameter. All requests are now queued if `shouldEnqueueRequest(req)` returns true. ([#4941](https://github.com/MetaMask/core/pull/4941)) |
There was a problem hiding this comment.
Removing this option will cause a type error if a client is still attempting to pass it, so should we mark it as a breaking change and release it under 8.0.0?
There was a problem hiding this comment.
Ah yes I suppose thats true. I'm used to doing this in JS in extension so never get these errors 😅
|
|
||
| ### Removed | ||
|
|
||
| - The `SelectedNetworkController` constructor no longer expects a `useRequestPreference` boolean nor an `onPreferencesStateChange` listener. Removal of these parameters means that `domains` state will always be added for sites that are granted permissions. ([#4941](https://github.com/MetaMask/core/pull/4941)) |
There was a problem hiding this comment.
Similar as above, removing these options will cause type errors if they're still attempting to be passed. Should we release this under 20.0.0?
f01e72b to
0b5e6f5
Compare
0b5e6f5 to
8907fc7
Compare
Gudahtt
left a comment
There was a problem hiding this comment.
Looks good! Two suggested additions, then I can approve this
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
## Changelog ### `@metamask/queued-request-controller` ## 7.1.0 ### Removed - `createQueuedRequestMiddleware` no longer takes a `useRequestQueue` parameter. All requests are now queued if `shouldEnqueueRequest(req)` returns true. ([#4941](#4941)) ### `@metamask/selected-network-controller ## 19.1.0 ### Removed - The `SelectedNetworkController` constructor no longer expects a `useRequestPreference` boolean nor an `onPreferencesStateChange` listener. Removal of these parameters means that `domains` state will always be added for sites that are granted permissions. ([#4941](#4941)) --------- Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Changelog
@metamask/queued-request-controller7.1.0
Removed
createQueuedRequestMiddlewareno longer takes auseRequestQueueparameter. All requests are now queued ifshouldEnqueueRequest(req)returns true. (#4941)`@metamask/selected-network-controller
19.1.0
Removed
SelectedNetworkControllerconstructor no longer expects auseRequestPreferenceboolean nor anonPreferencesStateChangelistener. Removal of these parameters means thatdomainsstate will always be added for sites that are granted permissions. (#4941)