Releases: MetaMask/eth-json-rpc-infura
Releases · MetaMask/eth-json-rpc-infura
Release list
10.3.0
10.2.0
Added
- Add
sei-mainnetandsei-testnetas Infura supported network (#117)
10.1.1
Fixed
- Fix middleware so that non-standard JSON-RPC error responses are no longer treated as successful responses (#123)
- A "non-standard" error response is one with an
errorfield but where there are more properties in the error object than expected
- A "non-standard" error response is one with an
10.1.0
Added
- Add a way to pass an RPC service to
createInfuraMiddleware(#116)- The new, recommended function signature is now
createInfuraMiddleware({ rpcService: AbstractRpcService; options?: { source?: string; headers?: HeadersInit } }), whereAbstractRpcServicematches the same interface from@metamask/network-controller - This allows us to support automatic failover to a secondary node when the network goes down
- The new, recommended function signature is now
Changed
- Bump dependencies to remove pre-11.x versions of
@metamask/utilsfrom dependency tree (#118)- Bump
@metamask/eth-json-rpc-providerfrom^4.1.5to^4.1.7 - Bump
@metamask/json-rpc-enginefrom^10.0.0to^10.0.2 - Bump
@metamask/rpc-errorsfrom^7.0.0to^7.0.2 - Bump
@metamask/utilsfrom^9.1.0to^11.1.0
- Bump
Deprecated
- Deprecate passing an RPC endpoint to
createInfuraMiddleware(#116)- See recommended function signature above
- The existing signature
createInfuraMiddleware({ network?: InfuraJsonRpcSupportedNetwork; maxAttempts?: number; source?: string; projectId: string; headers?: Record<string, string>; })will be removed in a future major version
10.0.0
9.1.0
9.0.0
Changed
- BREAKING: Minimum Node.js version is now v16 (#91)
- BREAKING: Update dependencies (#95)
- Bump
@metamask/eth-json-rpc-providerfrom^1.0.0to^2.1.0 - Bump
@metamask/utilsfrom^5.0.1to^8.1.0 - Update from
eth-rpc-errors@^4.0.3to@metamask/rpc-errors@^6.0.0 - Update from
json-rpc-engine@^6.1.0to@metamask/json-rpc-engine@^7.1.0
- Bump
8.1.2
Changed
- Bump
@metamask/utilsto^5.0.1(#87)
8.1.1
8.1.0
Added
- Add
linea-goerliandlinea-mainnetas Infura supported networks (#72)