New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask-previews/network-controller

Package Overview
Dependencies
Maintainers
0
Versions
556
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask-previews/network-controller - npm Package Compare versions

Comparing version 22.2.1-preview-ea165590 to 22.2.1-preview-edbe12d8

7

CHANGELOG.md

@@ -20,2 +20,5 @@ # Changelog

- As requests are retried, the delay between retries will increase exponentially (using random variance to prevent bursts)
- Add support for automatic failover when Infura is down ([#5630](https://github.com/MetaMask/core/pull/5630))
- An Infura RPC endpoint can now be configured with a list of failover URLs via `failoverUrls`.
- If, after many attempts, an Infura network is perceived to be down, the list of failover URLs will be tried in turn.

@@ -25,3 +28,5 @@ ### Changed

- **BREAKING:** `NetworkController` constructor now takes two required options, `fetch` and `btoa` ([#5290](https://github.com/MetaMask/core/pull/5290))
- These are passed along to functions that create the JSON-RPC middleware
- These are passed along to functions that create the JSON-RPC middleware.
- **BREAKING:** Add required property `failoverUrls` to `RpcEndpoint` ([#5630](https://github.com/MetaMask/core/pull/5630))
- **BREAKING:** Add required property `failoverRpcUrls` to `NetworkClientConfiguration` ([#5630](https://github.com/MetaMask/core/pull/5630))
- Synchronize retry logic and error handling behavior between Infura and custom RPC endpoints ([#5290](https://github.com/MetaMask/core/pull/5290))

@@ -28,0 +33,0 @@ - A request to a custom endpoint that returns a 418 response will no longer return a JSON-RPC response with the error "Request is being rate limited"

4

package.json
{
"name": "@metamask-previews/network-controller",
"version": "22.2.1-preview-ea165590",
"version": "22.2.1-preview-edbe12d8",
"description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object",

@@ -60,3 +60,3 @@ "keywords": [

"@metamask/swappable-obj-proxy": "^2.3.0",
"@metamask/utils": "^11.1.0",
"@metamask/utils": "^11.2.0",
"async-mutex": "^0.5.0",

@@ -63,0 +63,0 @@ "fast-deep-equal": "^3.1.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc