@metamask/eth-json-rpc-infura
Advanced tools
Changelog
[10.1.0]
createInfuraMiddleware
(#116)
createInfuraMiddleware({ rpcService: AbstractRpcService; options?: { source?: string; headers?: HeadersInit } })
, where AbstractRpcService
matches the same interface from @metamask/network-controller
@metamask/utils
from dependency tree (#118)
@metamask/eth-json-rpc-provider
from ^4.1.5
to ^4.1.7
@metamask/json-rpc-engine
from ^10.0.0
to ^10.0.2
@metamask/rpc-errors
from ^7.0.0
to ^7.0.2
@metamask/utils
from ^9.1.0
to ^11.1.0
createInfuraMiddleware
(#116)
createInfuraMiddleware({ network?: InfuraJsonRpcSupportedNetwork; maxAttempts?: number; source?: string; projectId: string; headers?: Record<string, string>; })
will be removed in a future major versionChangelog
[9.0.0]
@metamask/eth-json-rpc-provider
from ^1.0.0
to ^2.1.0
@metamask/utils
from ^5.0.1
to ^8.1.0
eth-rpc-errors
@^4.0.3
to @metamask/rpc-errors
@^6.0.0
json-rpc-engine
@^6.1.0
to @metamask/json-rpc-engine
@^7.1.0
Changelog
[6.0.0] - 2022-05-04
@metamask/eth-json-rpc-infura
(#61)
eth-json-rpc-infura
is deprecated and future releases will no longer occur under this name.import createProvider from 'eth-json-rpc-infura/src/createProvider';
you must now say:
import { createProvider } from '@metamask/eth-json-rpc-infura';
node-fetch
to ^2.6.7 (#42, #53)