-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
BREAKING CHANGE: the first argument is now the serialized output NOT the dag node. See ipld/interface-ipld-format#32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've only comments about JSDocs, they are not blocking the merge. If you don't think it should be changed, feel free to merge the current state.
src/util.js
Outdated
@@ -19,14 +20,15 @@ exports = module.exports | |||
/** | |||
* Get the CID of the DAG-Node. | |||
* | |||
* @param {Object} dagNode - Internal representation | |||
* @param {Buffer} blob - Serialized binary data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change it to Encoded Protocol Buffers blob
or Serialized as Protocol Buffers
.
src/util.js
Outdated
@@ -19,14 +20,15 @@ exports = module.exports | |||
/** | |||
* Get the CID of the DAG-Node. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it should say Get CID of Protocol Buffers encoded node
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash merge.
This reverts commit 2ae9542.
BREAKING CHANGE: the first argument is now the serialized output NOT the dag node.
See ipld/interface-ipld-format#32