@metamask-previews/network-controller 23.4.0-preview-a578ea2 → 23.4.0-preview-9d9178c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +4 -5
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,11 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Fixed
11
11
 
12
- - Improved handling of HTTP status codes to prevent unnecessary circuit breaker triggers ([#5767](https://github.com/MetaMask/core/pull/5767))
13
- - 405 (Method Not Allowed) now returns a JSON-RPC error with code -32601 (Method not found)
14
- - 429 (Too Many Requests) now returns a JSON-RPC error with code -32005 (Request rate limit exceeded)
15
- - Added retry delay information in 429 error responses when available via Retry-After header
16
- - These status codes no longer trigger the circuit breaker, preventing unnecessary failover to backup endpoints
12
+ - Improved handling of HTTP status codes to prevent unnecessary circuit breaker triggers ([#5798](https://github.com/MetaMask/core/pull/5798))
13
+ - 405 (Method Not Allowed) continues to throw JSON-RPC error with code -32601 (Method not found)
14
+ - 429 (Too Many Requests) now throws JSON-RPC error with code -32005 (Request rate limit exceeded) instead of a generic internal error
15
+ - These errors are filtered by the circuit breaker's `handleWhen` policy to prevent unnecessary failover to backup endpoints
17
16
 
18
17
  ## [23.4.0]
19
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/network-controller",
3
- "version": "23.4.0-preview-a578ea2",
3
+ "version": "23.4.0-preview-9d9178c",
4
4
  "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object",
5
5
  "keywords": [
6
6
  "MetaMask",