@metamask-previews/network-controller 23.1.0-preview-8ea9b81f → 23.1.0-preview-888fa154
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 +0 -12
- package/dist/NetworkController.cjs +0 -4
- package/dist/NetworkController.cjs.map +1 -1
- package/dist/NetworkController.d.cts +2 -2
- package/dist/NetworkController.d.cts.map +1 -1
- package/dist/NetworkController.d.mts +2 -2
- package/dist/NetworkController.d.mts.map +1 -1
- package/dist/NetworkController.mjs +1 -5
- package/dist/NetworkController.mjs.map +1 -1
- package/dist/constants.cjs +1 -7
- package/dist/constants.cjs.map +1 -1
- package/dist/constants.d.cts +0 -6
- package/dist/constants.d.cts.map +1 -1
- package/dist/constants.d.mts +0 -6
- package/dist/constants.d.mts.map +1 -1
- package/dist/constants.mjs +0 -6
- package/dist/constants.mjs.map +1 -1
- package/dist/create-network-client.cjs +1 -1
- package/dist/create-network-client.cjs.map +1 -1
- package/dist/create-network-client.mjs +1 -1
- package/dist/create-network-client.mjs.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.cts.map +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,18 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
### Changed
|
|
11
|
-
|
|
12
|
-
- Update `RpcEndpoint` so that `failoverUrls` is optional ([#5561](https://github.com/MetaMask/core/pull/5561))
|
|
13
|
-
- This property was introduced in 23.0.0 as a breaking change, but this change makes it non-breaking
|
|
14
|
-
- Update `NetworkClientConfiguration` so that `failoverUrls` is optional ([#5561](https://github.com/MetaMask/core/pull/5561))
|
|
15
|
-
- This property was introduced in 23.0.0 as a breaking change, but this change makes it non-breaking
|
|
16
|
-
|
|
17
|
-
### Fixed
|
|
18
|
-
|
|
19
|
-
- Upgrade `@metamask/eth-json-rpc-infura` to `^10.1.1` and `@metamask/eth-json-rpc-infura` to `^16.0.1` ([#5573](https://github.com/MetaMask/core/pull/5573))
|
|
20
|
-
- This fixes a bug where non-standard unsuccessful JSON-RPC errors were being ignored/discarded
|
|
21
|
-
|
|
22
10
|
## [23.1.0]
|
|
23
11
|
|
|
24
12
|
### Added
|
|
@@ -129,10 +129,6 @@ function getDefaultNetworkConfigurationsByChainId(additionalDefaultNetworks = []
|
|
|
129
129
|
function getDefaultInfuraNetworkConfigurationsByChainId() {
|
|
130
130
|
return Object.values(controller_utils_1.InfuraNetworkType).reduce((obj, infuraNetworkType) => {
|
|
131
131
|
const chainId = controller_utils_1.ChainId[infuraNetworkType];
|
|
132
|
-
// Skip deprecated network as default network.
|
|
133
|
-
if (constants_1.DEPRECATED_NETWORKS.has(chainId)) {
|
|
134
|
-
return obj;
|
|
135
|
-
}
|
|
136
132
|
const rpcEndpointUrl =
|
|
137
133
|
// This ESLint rule mistakenly produces an error.
|
|
138
134
|
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|