@metamask-previews/network-controller 25.0.0-preview-64d897d9 → 25.0.0-preview-fe4c2215

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
@@ -11,14 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  - **BREAKING:** Use `InternalProvider` instead of `SafeEventEmitterProvider` ([#6796](https://github.com/MetaMask/core/pull/6796))
13
13
  - Providers accessible either via network clients or global proxies no longer emit events (or inherit from EventEmitter, for that matter).
14
- - **BREAKING:** Make `Provider` type more specific ([#7061](https://github.com/MetaMask/core/pull/7061))
15
- - The `Provider` type is now an `InternalProvider` with a context type of `{ origin: string; skipCache: boolean } & Record<string, unknown>`.
16
14
  - **BREAKING:** Stop retrying `undefined` results for methods that include a block tag parameter ([#7001](https://github.com/MetaMask/core/pull/7001))
17
15
  - The network client middleware, via `@metamask/eth-json-rpc-middleware`, will now throw an error if it encounters an
18
16
  `undefined` result when dispatching a request with a later block number than the originally requested block number.
19
17
  - 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.
22
18
  - Bump `@metamask/controller-utils` from `^11.14.1` to `^11.15.0` ([#7003](https://github.com/MetaMask/core/pull/7003))
23
19
 
24
20
  ### Fixed
@@ -990,8 +990,6 @@ class NetworkController extends base_controller_1.BaseController {
990
990
  *
991
991
  * In-progress requests will not be aborted.
992
992
  */
993
- // We're intentionally changing the signature of an extended method.
994
- // eslint-disable-next-line @typescript-eslint/no-misused-promises
995
993
  async destroy() {
996
994
  await __classPrivateFieldGet(this, _NetworkController_blockTrackerProxy, "f")?.destroy();
997
995
  }