js-libp2p
js-libp2p copied to clipboard
fix: pass service map to non-service components
To allow using declared services in transports, muxers and other non-service components, add the service map type to the components that will be passed to the factories.
Change checklist
- [x] I have performed a self-review of my own code
- [ ] I have made corresponding changes to the documentation if necessary (this includes comments as well)
- [ ] I have added tests that prove my fix is effective or that my feature works