-
Notifications
You must be signed in to change notification settings - Fork 299
Conversation
963288e
to
a45f748
Compare
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.
Looks great @vasco-santos - I've made a few minor comments 🙌
src/name/pubsub/subs.js
Outdated
const transform = function (res, callback) { | ||
callback(null, { | ||
strings: res.Strings | ||
}) |
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 can we just return an array here (and detect if go-ipfs returns null
and change it to an empty array)
test/interface.spec.js
Outdated
// 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' |
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.
Typo: "reasone" => "reason"
test/name-pubsub.spec.js
Outdated
done() | ||
}) | ||
}) | ||
}) |
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.
These are not needed - the interface-ipfs-core
tests cover it adequetly.
8227bce
to
7fcde72
Compare
@vasco-santos interface-ipfs-core@0.80 released |
ce3f028
to
44c3c9b
Compare
Taking into consideration the most recent documentation of the API on:
http://ipfs.io/ipfs/QmPKzWaeHumLuiKLb2Ak67s5kxZ1p6YbnjVKYYfF9hTjzn
Needs:
interface-ipfs-core