@metamask/network-controller 31.0.0 → 32.0.0
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 +17 -1
- package/dist/NetworkController.cjs +1 -1
- package/dist/NetworkController.cjs.map +1 -1
- package/dist/NetworkController.d.cts.map +1 -1
- package/dist/NetworkController.d.mts.map +1 -1
- package/dist/NetworkController.mjs +2 -2
- package/dist/NetworkController.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [32.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Remove Sei, MegaETH, Avalanche, and ZKSync from list of default networks ([#8767](https://github.com/MetaMask/core/pull/8767))
|
|
15
|
+
- You will need to add them as network configurations first before switching to them.
|
|
16
|
+
- Bump `@metamask/controller-utils` from `^12.0.0` to `^12.1.0` ([#8774](https://github.com/MetaMask/core/pull/8774))
|
|
17
|
+
|
|
18
|
+
## [31.1.0]
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Add export for `AddNetworkCustomRpcEndpointFields` and `InfuraRpcEndpoint` types ([#8764](https://github.com/MetaMask/core/pull/8764))
|
|
23
|
+
|
|
10
24
|
## [31.0.0]
|
|
11
25
|
|
|
12
26
|
### Added
|
|
@@ -1171,7 +1185,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1171
1185
|
|
|
1172
1186
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
1173
1187
|
|
|
1174
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@
|
|
1188
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@32.0.0...HEAD
|
|
1189
|
+
[32.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@31.1.0...@metamask/network-controller@32.0.0
|
|
1190
|
+
[31.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@31.0.0...@metamask/network-controller@31.1.0
|
|
1175
1191
|
[31.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@30.1.0...@metamask/network-controller@31.0.0
|
|
1176
1192
|
[30.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@30.0.1...@metamask/network-controller@30.1.0
|
|
1177
1193
|
[30.0.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@30.0.0...@metamask/network-controller@30.0.1
|
|
@@ -152,7 +152,7 @@ function getDefaultNetworkConfigurationsByChainId(additionalDefaultNetworks = []
|
|
|
152
152
|
* @returns The `networkConfigurationsByChainId` object of all Infura networks.
|
|
153
153
|
*/
|
|
154
154
|
function getDefaultInfuraNetworkConfigurationsByChainId() {
|
|
155
|
-
return
|
|
155
|
+
return controller_utils_1.DEFAULT_INFURA_NETWORKS.reduce((obj, infuraNetworkType) => {
|
|
156
156
|
const chainId = controller_utils_1.ChainId[infuraNetworkType];
|
|
157
157
|
// Skip deprecated network as default network.
|
|
158
158
|
if (constants_1.DEPRECATED_NETWORKS.has(chainId)) {
|