-
Notifications
You must be signed in to change notification settings - Fork 30
fix!: upgrade to interface-stream-muxer 2.0.0 #186
Conversation
Adds the close() function to the StreamMuxer interface. Fixes libp2p#185 Signed-off-by: Christian Stewart <christian@paral.in>
Requires: libp2p/js-libp2p-mplex#186 Signed-off-by: Christian Stewart <christian@paral.in>
Can you update the interface-stream-muxer-compliance-tests too? should indicate a few more things need to be tweaked. |
I think we'll need to add something like the changes to the mock muxer here: https://github.com/libp2p/js-libp2p-interfaces/pull/254/files Specifically the adding the closeController, using it to abort the sink, checking the whether its closed or not in |
@wemeetagain I can take a look at it, but it's a bit out of scope of my understanding (and probably of this PR) |
you got this 💪 happy to help if you get stuck |
Add the abort controller to the source. Reference: https://github.com/libp2p/js-libp2p-interfaces/pull/254/files Signed-off-by: Christian Stewart <christian@paral.in>
@wemeetagain Okay, done. |
@paralin looks good |
Groan. I think it's because Maybe this is something we can handle in aegir. |
@paralin the stream muxer compliance tests have been released, please can you update this PR to pull in the latest version? |
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Adds the close() function to the StreamMuxer interface.
Fixes #185