js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

fix: pass service map to non-service components

Open achingbrain opened this issue 9 months ago • 0 comments

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

achingbrain avatar Apr 09 '25 08:04 achingbrain