libp2p / js-libp2p-kad-dht

JavaScript implementation of the DHT for libp2p
https://libp2p.io
Other
141 stars 60 forks source link

feat: use symbols to return routers #464

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

The DHT interface is similar to the content/peer routing interfaces but different.

In order to detect content/peer routers and peer discovery implementations in arbitrary libp2p modules use the exported symbols to create getters for them.

The DHTContentRouting and DHTPeerRouting classes have been ported over from libp2p.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 9.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: