This repository was archived by the owner on Dec 10, 2020. It is now read-only.
v3.0.0 - TypeScript Release
First TypeScript release of the library, see PR #56 for all the changes and associated discussion.
All source parts of the library have been ported to TypeScript and working with the library should now therefore be much more reliable due to the additional type safety features provided by the TypeScript language. The API of the library remains unchanged in a JavaScript context.
Noteworthy Changes from PR #56:
- Type additions for all method signatures and class members of all protocol components (
dpt,eth,les,rlpx) - Addition of various structuring interfaces (like PeerInfo for
DPTmessage input) andenumconstructs (like MESSAGE_CODES from theETHprotocol) - Port of the examples to
TypeScript - Port of all the test cases to
TypeScript - Integration of the library into the common ethereumjs-config EthereumJS configuration setup (
standard->TSLintlinting, docs withTypeDoc,TypeScriptcompilation,Prettierformatting rules) - Lots of code cleanups and code part modernizations
Thanks @dryajov for all the great work on this! ❤
Other Updates:
- Added Node 12,13 support, upgrade from Travis to GitHub actions, PR #57
- Updated
ethereumjs-commondependency tov1.5.1for a bootnode update, PR #67 - Removed Node 6, 8 support, updated
secp256k1dependency to fromv3.1.0tov4.0.1, PR #68 - Updated
keccakdependency tov3.0.0, PR #64 - Some dependency cleanup, PRs #62, #65, #58