Minor fixes (types and validation)#168
Minor fixes (types and validation)#168robertkiel wants to merge 4 commits intomultiformats:masterfrom
Conversation
* .getPeerId() returns string or null * NodeAddress port from string -> number
|
Thanks for the PR @robertkiel We are doing a major revamp to generate type declaration files from jsdoc. This is being worked in #159, which makes this PR redundant at this point. |
Sounds good 👍 my suggestions are more related to inconveniences resp. incompatibilities with NodeJS and IP addresses. |
|
I see, so would you mind adding them on top of #159 in a new PR if they are still an issue on that PR? |
|
Sounds good. Could you give me an estimate when how close you are? Will create a PR if necessary once you are mostly done. |
|
Thanks, I hope soon. @hugomrdias can you let us know in this PR once #159 gets merged? |
Fixes:
as defined in Node.JS
instead of
as implemented in index.js
instead of
proper error for .toOptions()
instead of