1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/app
Mark Stacey 6d64951938
Move infuraProjectId to network controller constructor (#16884)
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>
2022-12-13 12:09:21 -03:30
..
_locales [FLASK] Implement Snaps UI Renderer (#16605) 2022-12-09 13:05:31 +01:00
build-types BETA - Update to sentence case (#16590) 2022-11-21 08:44:46 -06:00
fonts UI-14395: typography v2 (#15408) 2022-08-18 10:51:53 -07:00
images Add Celo to the popular custom network list (#16745) 2022-12-07 14:13:37 -06:00
manifest Revert "Fix permissions in MV3 manifest (#15980)" (#16021) 2022-09-30 20:00:59 +05:30
scripts Move infuraProjectId to network controller constructor (#16884) 2022-12-13 12:09:21 -03:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
home.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
popup.html Integrating snow into metamask (#15580) 2022-11-24 02:36:19 +02:00
trezor-usb-permissions.html chore: Adjust trailing whitespace (#15636) 2022-08-24 14:11:49 -05:00