Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Create git-ipld example #993

Merged
merged 1 commit into from
Sep 5, 2017
Merged

Create git-ipld example #993

merged 1 commit into from
Sep 5, 2017

Conversation

magik6k
Copy link
Member

@magik6k magik6k commented Sep 5, 2017

Closes #979

I needed to add "multicodec": "~0.1.9", to my package.json as npm kept downloading 0.1.8, should I PR that here too?


multihashing(data, 'sha1', (err, multihash) => {
if (err) {
cb(err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be return cb(err)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, the same thing is in eth.js

Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is super, @magik6k. Thank you so much! <3

Note how all the other examples are listed on the README -- https://github.com/ipfs/js-ipfs/tree/master/examples/traverse-ipld-graphs --, could you at an item too?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants