libp2p / js-libp2p-interfaces

Contains test suites and interfaces you can use to implement the various components of js libp2p.
Other
75 stars 28 forks source link

feat: allow user defined services #375

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

Adds types to libp2p to allow user defined services.

Removes all non-essential services to allow them to be defined alongside any custom user versions.

This increases the modularity of libp2p as default protocols like identify, fetch and ping will not be enabled unless specifically allowed by the user, which also decreases the attack surface area of libp2p applications.

pubsub, dht, ping, fetch and identify have been removed - re-enable these by passing them as services

achingbrain commented 1 year ago

Blocked on https://github.com/libp2p/js-libp2p/pull/1563

github-actions[bot] commented 1 year ago

:tada: This PR is included in version @libp2p/interface-libp2p-v3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: