6.0.0
Added
- Add TypeScript type definitions (#58)
Changed
- Rename package to
@metamask/eth-json-rpc-infura
(#61)eth-json-rpc-infura
is deprecated and future releases will no longer occur under this name.
- Upgrade dependencies to make use of new TypeScript type definitions (#58)
- BREAKING: Simplify exports (#58)
- All existing exports are now available under the package entrypoint. For instance, instead of:
you must now say:
import createProvider from 'eth-json-rpc-infura/src/createProvider';
import { createProvider } from '@metamask/eth-json-rpc-infura';
- All existing exports are now available under the package entrypoint. For instance, instead of:
- BREAKING: Add required Node version of >= 12 (#44)
Security
- Upgrade
node-fetch
to ^2.6.7 (#42, #53)- This addresses GHSA-r683-j2x4-v87g.