-
Notifications
You must be signed in to change notification settings - Fork 445
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
Clarify readme "bundles" section #231
Comments
It's me on the IRC and agreed :D |
Hmmm, what’s the story with the Are there any published “bundles” that wrap up groups of libp2p modules so you can just create an instance [of the bundle] instead of manually composing a bunch of libp2p parts? If not, I don’t think we should even call this section “bundles.” Maybe it could be “composing functionality” or something similar. My take:
^ Not sure if this is a great set of choices for an example. I am 100% sure other people have more expert opinions here. That code is also untested, so I’m not even sure if works :P I also think the usage example could use a lot of work here — it only demonstrates how to construct a A better example might:
|
Or maybe “Composable Functionality” as a title instead? |
We don't use the bundles name anymore, so I am going to close this |
Ensure we get the right version of the module. Also updates project config to the latest version.
## [6.0.3](libp2p/js-libp2p-tcp@v6.0.2...v6.0.3) (2022-11-22) ### Bug Fixes * make metrics interface a dep instead of a dev dep ([libp2p#231](libp2p/js-libp2p-tcp#231)) ([876ca13](libp2p/js-libp2p-tcp@876ca13))
* fix: apply message size limit before decoding message If we apply the message size limit after decoding the message it's too late as we've already processed the bad message. Instead, if the buffer full of unprocessed messages grows to be large than the max message size (e.g. we have not recieved a complete message under the size limit), throw an error which will cause the stream to be reset. * fix: add implementation
## [7.0.5](libp2p/js-libp2p-mplex@v7.0.4...v7.0.5) (2022-11-24) ### Bug Fixes * apply message size limit before decoding message ([libp2p#231](libp2p/js-libp2p-mplex#231)) ([279ad47](libp2p/js-libp2p-mplex@279ad47)) * limit unprocessed message queue size separately to message size ([libp2p#234](libp2p/js-libp2p-mplex#234)) ([2297856](libp2p/js-libp2p-mplex@2297856)) * yield single buffers ([libp2p#233](libp2p/js-libp2p-mplex#233)) ([31d3938](libp2p/js-libp2p-mplex@31d3938))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [5.0.10](libp2p/js-libp2p-websockets@v5.0.9...v5.0.10) (2023-04-12) ### Dependencies * bump @libp2p/interface-connection from 3.1.1 to 4.0.0 ([libp2p#231](libp2p/js-libp2p-websockets#231)) ([e2f7204](libp2p/js-libp2p-websockets@e2f7204))
We just had someone in IRC confused about the relationship between the bundles and js-libp2p. I feel like the section should avoid the word skeleton, which sounds like death and lack of substance, and feels more like a quantification of project status vs. a qualification of the js-libp2p repo's function within the js-libp2p project.
Instead it should probably say something like:
(I think the concept of bundles generally needs clarification and rethinking. Maybe "snippets" get closer to what we're trying to achieve there.)
cc @Mr0grog
The text was updated successfully, but these errors were encountered: