@metamask-previews/network-controller
Advanced tools
Comparing version 22.2.1-preview-ea165590 to 22.2.1-preview-edbe12d8
@@ -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" |
{ | ||
"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
842506
4563
Updated@metamask/utils@^11.2.0