1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/scripts/controllers/network
Mark Stacey 929a1a0d52
Update eth-json-rpc-infura (#15845)
* Update `eth-json-rpc-infura`

The package `eth-json-rpc-infura@5` has been updated to
`@metamask/eth-json-rpc-infura@7`. This update includes TypeScript
support, and it drops support for older node.js versions. The exports
have also been changed from default to named exports.

See here for a full list of changes: https://github.com/MetaMask/eth-json-rpc-infura/blob/main/CHANGELOG.md#700

* Fix LavaMoat policy issue

The `web3` package used by `@metamask/controllers` unintentionally
overwrites the `XMLHttpRequest` global, which breaks things. This was
fixed by revoking `web3`'s write access to that global using a policy
override.

Previously this policy override was applied to `web3`, but for some
unknown reason, this update caused that override to no longer apply.
2022-09-15 14:41:18 -02:30
..
middleware @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
createInfuraClient.js Update eth-json-rpc-infura (#15845) 2022-09-15 14:41:18 -02:30
createJsonRpcClient.js Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
createMetamaskMiddleware.js eth-json-rpc-middleware@8.0.0 (#10738) 2021-11-11 12:26:49 -08:00
index.js cancel unapproved confirmations on network change (#10357) 2021-02-08 17:22:30 -06:00
network-controller.test.js Adding Sepolia as a default test network (#15787) 2022-09-14 13:26:45 -05:00
network.js migrate network constants to typescript (#15610) 2022-09-14 09:55:31 -05:00
pending-middleware.test.js update prettier (#15360) 2022-07-31 13:26:40 -05:00
util.js Ensure createPendingTxMiddleware returns gasPrice for EIP-1559 transactions (#11685) 2021-07-30 18:10:19 -02:30
util.test.js update prettier (#15360) 2022-07-31 13:26:40 -05:00