Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

feat: ipns over pubsub #846

Merged
merged 3 commits into from
Oct 24, 2018
Merged

feat: ipns over pubsub #846

merged 3 commits into from
Oct 24, 2018

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Aug 31, 2018

Taking into consideration the most recent documentation of the API on:

http://ipfs.io/ipfs/QmPKzWaeHumLuiKLb2Ak67s5kxZ1p6YbnjVKYYfF9hTjzn

Needs:

Copy link
Contributor

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

Looks great @vasco-santos - I've made a few minor comments 🙌

README.md Show resolved Hide resolved
const transform = function (res, callback) {
callback(null, {
strings: res.Strings
})
Copy link
Contributor

Choose a reason for hiding this comment

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

Please can we just return an array here (and detect if go-ipfs returns null and change it to an empty array)

// name.pubsub.cancel
{
name: 'should cancel a subscription correctly returning true',
reasone: 'go-ipfs is really slow for publishing and resolving ipns records, unless in offline mode'
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: "reasone" => "reason"

done()
})
})
})
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not needed - the interface-ipfs-core tests cover it adequetly.

@vasco-santos vasco-santos force-pushed the feat/ipns-over-pubsub branch 2 times, most recently from 8227bce to 7fcde72 Compare October 17, 2018 16:22
@alanshaw
Copy link
Contributor

@vasco-santos interface-ipfs-core@0.80 released

@alanshaw alanshaw merged commit ef49e95 into master Oct 24, 2018
@ghost ghost removed the in progress label Oct 24, 2018
@alanshaw alanshaw deleted the feat/ipns-over-pubsub branch October 24, 2018 12:20
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.

2 participants