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

Pubsub message fields #169

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Pubsub message fields #169

merged 1 commit into from
Nov 16, 2017

Conversation

richardschneider
Copy link
Contributor

@richardschneider richardschneider commented Nov 14, 2017

Rename to topicCIDs should be topicIDs. See the background discussion.

@richardschneider
Copy link
Contributor Author

@diasdavid Needs PR libp2p/js-libp2p-floodsub#49 released. Then update dependencies.

@@ -122,7 +122,7 @@ module.exports = (common) => {
expect(msg.data.toString()).to.equal('hi')
expect(msg).to.have.property('seqno')
expect(Buffer.isBuffer(msg.seqno)).to.be.eql(true)
expect(msg).to.have.property('topicCIDs').eql([topic])
expect(msg).to.have.property('topicIDs').eql([topic])
Copy link
Contributor

Choose a reason for hiding this comment

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

This means that js-ipfs-api is also incorrect. Mind checking that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call, already fixed in ipfs-inactive/js-ipfs-http-client#627

@daviddias daviddias merged commit d357f5f into master Nov 16, 2017
@daviddias daviddias deleted the pubsub-message branch November 16, 2017 10:01
@richardschneider
Copy link
Contributor Author

@diasdavid have you updated dependency to new the floodsub?

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.

None yet

2 participants