mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
6d64951938
The network controller `setInfuraProjectId` method has been deleted. The Infura project ID is only ever set upon construction, so it is now passed in as a constructor parameter instead. Rather than adding this as a second parameter, the network controller now uses an "options bag" for constructor parameters. The initial state was the first parameter, but it's now passed in as the `state` option instead. These changes make the API more similar to the mobile network controller API. This should have zero functional changes. This relates to https://github.com/MetaMask/controllers/issues/971 Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> |
||
---|---|---|
.. | ||
ens | ||
network | ||
permissions | ||
transactions | ||
alert.js | ||
app-state.js | ||
backup.js | ||
backup.test.js | ||
cached-balances.js | ||
cached-balances.test.js | ||
detect-tokens.js | ||
detect-tokens.test.js | ||
incoming-transactions.js | ||
incoming-transactions.test.js | ||
metametrics.js | ||
metametrics.test.js | ||
onboarding.js | ||
preferences.js | ||
preferences.test.js | ||
swaps.js | ||
swaps.test.js |