@metamask-previews/network-controller 25.0.0-preview-9941fe9 → 25.0.0-preview-ba016213
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.
|
@@ -132,7 +132,10 @@ function getDefaultInfuraNetworkConfigurationsByChainId() {
|
|
|
132
132
|
if (constants_1.DEPRECATED_NETWORKS.has(chainId)) {
|
|
133
133
|
return obj;
|
|
134
134
|
}
|
|
135
|
-
const rpcEndpointUrl =
|
|
135
|
+
const rpcEndpointUrl =
|
|
136
|
+
// False positive - this is a string.
|
|
137
|
+
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
|
|
138
|
+
`https://${infuraNetworkType}.infura.io/v3/{infuraProjectId}`;
|
|
136
139
|
const networkConfiguration = {
|
|
137
140
|
blockExplorerUrls: [],
|
|
138
141
|
chainId,
|