@metamask-previews/network-controller 27.0.0-preview-8a0c757a → 27.1.0-preview-e776a73

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
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [27.1.0]
11
+
10
12
  ### Added
11
13
 
12
14
  - Add MegaETH Testnet "v2" as a default custom network ([#7272](https://github.com/MetaMask/core/pull/7272))
@@ -16,6 +18,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
18
  ### Changed
17
19
 
18
20
  - Bump `@metamask/eth-json-rpc-middleware` from `^22.0.0` to `^22.0.1` ([#7330](https://github.com/MetaMask/core/pull/7330))
21
+ - Bump `@metamask/controller-utils` from `^11.16.0` to `^11.17.0` ([#7534](https://github.com/MetaMask/core/pull/7534))
22
+
23
+ ### Fixed
24
+
25
+ - Ensure `get1559CompatibilityWithNetworkClientId` updates network metadata with EIP-1559 compatibility data missing ([#7532](https://github.com/MetaMask/core/pull/7532))
19
26
 
20
27
  ## [27.0.0]
21
28
 
@@ -1056,7 +1063,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1056
1063
 
1057
1064
  All changes listed after this point were applied to this package following the monorepo conversion.
1058
1065
 
1059
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@27.0.0...HEAD
1066
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@27.1.0...HEAD
1067
+ [27.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@27.0.0...@metamask/network-controller@27.1.0
1060
1068
  [27.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@26.0.0...@metamask/network-controller@27.0.0
1061
1069
  [26.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@25.0.0...@metamask/network-controller@26.0.0
1062
1070
  [25.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@24.3.1...@metamask/network-controller@25.0.0
@@ -652,7 +652,7 @@ class NetworkController extends base_controller_1.BaseController {
652
652
  }
653
653
  async get1559CompatibilityWithNetworkClientId(networkClientId) {
654
654
  let metadata = this.state.networksMetadata[networkClientId];
655
- if (metadata === undefined) {
655
+ if (metadata?.EIPS[1559] === undefined) {
656
656
  await this.lookupNetwork(networkClientId);
657
657
  metadata = this.state.networksMetadata[networkClientId];
658
658
  }