Skip to content

Commit b32bc84

Browse files
authored
fix: add kad-dht to capabilities (#3156)
Report `@libp2p/kad-dht` as a capability of the kad module.
1 parent 5b004c0 commit b32bc84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/kad-dht/src/kad-dht.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ export class KadDHT extends TypedEventEmitter<PeerDiscoveryEvents> implements Ka
369369
readonly [serviceCapabilities]: string[] = [
370370
'@libp2p/content-routing',
371371
'@libp2p/peer-routing',
372-
'@libp2p/peer-discovery'
372+
'@libp2p/peer-discovery',
373+
'@libp2p/kad-dht'
373374
]
374375

375376
readonly [serviceDependencies]: string[] = [

0 commit comments

Comments
 (0)