-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: remove peer-info usage #70
Conversation
6b00355
to
6004b10
Compare
6004b10
to
ed2730f
Compare
Codecov Report
@@ Coverage Diff @@
## master #70 +/- ##
==========================================
+ Coverage 82.75% 84.38% +1.62%
==========================================
Files 8 8
Lines 493 493
==========================================
+ Hits 408 416 +8
+ Misses 85 77 -8
Continue to review full report at Codecov.
|
BREAKING CHANGE: using new topology api with peer-id instead of peer-info and new pubsub internal peer data structure
ed2730f
to
602ccaa
Compare
Note: This should be released with a beta tag until we bubble everything up for
|
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.
This LGTM for a beta tagged release.
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
Released v0.4.0 w beta tag |
All uses of node Buffers have been replaced with Uint8Arrays BREAKING CHANGES: - The `.data`, `.from` and `.seq` properties of messages used to be node Buffers, now they are Uint8Arrays - All deps of this module now use Uint8Arrays instead of Buffers
In the context of deprecating
peer-info
as described on libp2p/js-libp2p#589, this PR removes thepeer-info
usage on pubsub internal peer data structure. Moreover, this uses the new topology API, which also usespeer-id
instead ofpeer-info
BREAKING CHANGE: using new topology api with peer-id instead of peer-info and new pubsub internal peer data structure
Needs: