@metamask-previews/network-controller 27.0.0-preview-db01d69 → 27.0.0-preview-aabe1c65

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
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Changed
11
11
 
12
12
  - Update the default set of Infura networks to include Monad Testnet ([#7067](https://github.com/MetaMask/core/pull/7067))
13
- - Update Monad Testnet Network Client Id ([#7333](https://github.com/MetaMask/core/pull/7333))
13
+ - Bump `@metamask/eth-json-rpc-middleware` from `^22.0.0` to `^22.0.1` ([#7330](https://github.com/MetaMask/core/pull/7330))
14
14
 
15
15
  ## [27.0.0]
16
16
 
@@ -278,12 +278,6 @@ function deriveInfuraNetworkNameFromRpcEndpointUrl(rpcEndpointUrl) {
278
278
  if ((0, controller_utils_1.isInfuraNetworkType)(match.groups.networkName)) {
279
279
  return match.groups.networkName;
280
280
  }
281
- // Infura URL can be inserted by user manually,
282
- // in case the network name extra from URL is not mapped to InfuraNetworkType,
283
- // we should add a fallback mapping here.
284
- if ((0, utils_1.hasProperty)(constants_1.FALLBACK_INFURA_NETWORK_TYPE_MAPPING, match.groups.networkName)) {
285
- return constants_1.FALLBACK_INFURA_NETWORK_TYPE_MAPPING[match.groups.networkName];
286
- }
287
281
  throw new Error(`Unknown Infura network '${match.groups.networkName}'`);
288
282
  }
289
283
  throw new Error('Could not derive Infura network from RPC endpoint URL');