@metamask-previews/network-controller 25.0.0-preview-afa0dd61 → 25.0.0-preview-20df3e99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
  - The network client middleware, via `@metamask/eth-json-rpc-middleware`, will now throw an error if it encounters an
18
18
  `undefined` result when dispatching a request with a later block number than the originally requested block number.
19
19
  - In practice, this should happen rarely if ever.
20
+ - **BREAKING:** Migrate `NetworkClient` to `JsonRpcEngineV2` ([#7065](https://github.com/MetaMask/core/pull/7065))
21
+ - This ought to be unobservable, but we mark it as breaking out of an abundance of caution.
20
22
  - Bump `@metamask/controller-utils` from `^11.14.1` to `^11.15.0` ([#7003](https://github.com/MetaMask/core/pull/7003))
21
23
 
22
24
  ### Fixed
@@ -987,6 +987,8 @@ class NetworkController extends base_controller_1.BaseController {
987
987
  *
988
988
  * In-progress requests will not be aborted.
989
989
  */
990
+ // We're intentionally changing the signature of an extended method.
991
+ // eslint-disable-next-line @typescript-eslint/no-misused-promises
990
992
  async destroy() {
991
993
  await __classPrivateFieldGet(this, _NetworkController_blockTrackerProxy, "f")?.destroy();
992
994
  }