This repository was archived by the owner on Apr 6, 2020. It is now read-only.
v4.0.0 - TypeScript Release
First TypeScript based release of the library. TypeScript handles ES6 transpilation a bit differently (at the end: cleaner) than babel so require syntax of the library slightly changes to:
let Blockchain = require('ethereumjs-blockchain').defaultThe library now also comes with a type declaration file distributed along with the package published.
This release drops support for Node versions 4 and 6 due to internal code updates requiring newer Node.js versions and removes the previously deprecated DB constructor options opts.blockDb and opts.detailsDb.
Change Summary:
- Migration of code base and internal toolchain to
TypeScript, PR #92 - Refactoring of
DBoperations introducing a separateDBManagerclass (comes along with dropped Node6support), PR #91 - Auto-generated
TSDocdocumentation, PR #98 - Replaced
safe-bufferwith native Node.jsBufferusage (this comes along with dropped support for Node4), PR #92 - Dropped deprecated
DBoptions, PR #100