-
Notifications
You must be signed in to change notification settings - Fork 42
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: upgrade to libp2p v2 #2143
Conversation
size-limit report 📦
|
a1c3f08
to
7c5382f
Compare
7c5382f
to
279d952
Compare
22b146c
to
2b372ce
Compare
@danisharora099 did you try dogfooding it? I haven't but I'd like to have it done in various contexts before we merge Contexts to check:
Let's do this on Monday and if nothing caught - we can merge. |
5cd0bab
to
f316ea7
Compare
649943b
to
00659d1
Compare
transports: [webSockets({ filter: filter })], | ||
streamMuxers: [mplex()], | ||
connectionEncryption: [noise()], | ||
connectionEncrypters: [noise()], |
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.
that's interesting breaking change :D
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.
left some small comments
00659d1
to
8295e7c
Compare
8295e7c
to
eb6468a
Compare
This PR upgrades from libp2p 1.x to libp2p v2
Migration notes: https://github.com/libp2p/js-libp2p/blob/main/doc/migrations/v1.0.0-v2.0.0.md#the-libp2ppeer-id-factory-module-has-been-removed