-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
3b8279d
to
2e7c1b3
Compare
817b05e
to
1e01ed8
Compare
1e01ed8
to
e8002a9
Compare
e8002a9
to
91bf253
Compare
BREAKING CHANGE: subscription event renamed to pubsub:subscription-change
fdf1be2
to
766745b
Compare
a95d835
to
db84f14
Compare
db84f14
to
b0d460a
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.
Just some minor things, overall looks good pending interface updates.
test/utils/create-peer.js
Outdated
return peers | ||
} | ||
|
||
// TODO: use ipfs-utils |
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.
Did you want to do this before merging?
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.
yeah, cool it is changed
src/index.js
Outdated
@@ -5,35 +5,11 @@ const debugName = 'libp2p:floodsub' | |||
const log = debug(debugName) | |||
log.error = debug(`${debugName}:error`) |
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.
Should use this.log
instead of creating a new logger
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.
lgtm pending interface release
This PR updates to libp2p-pubsub v0.6.x
I could not push into @wemeetagain #107 PR, so I got its changes in here, as well as tests updated and now using libp2p in the constructor.
The interface pubsub work is now being used here
Needs: