You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
@libp2p/interfaces-dht is too broad in it's attempt to define what a DHT is, instead the types from @libp2p/kad-dht should be used when a KAD DHT is configured.
The exported QueryEvents type from
@libp2p/interfaces-dht
and@libp2p/kad-dht
are not equal.interface-dht:
js-libp2p-interfaces/packages/interface-dht/src/index.ts
Line 129 in 9e86d57
kad-dht:
https://github.com/libp2p/js-libp2p-kad-dht/blame/2af3a0cad4e718b6bdf3b4a9b114d9f4b4860653/src/index.ts#L149
divergence stems from change in kad-dht https://github.com/libp2p/js-libp2p-kad-dht/pull/472/files
The text was updated successfully, but these errors were encountered: