We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f16281d commit fe8af37Copy full SHA for fe8af37
packages/pubsub-floodsub/src/index.ts
@@ -32,7 +32,7 @@
32
* ```
33
*/
34
35
-import { pubSubSymbol, serviceDependencies } from '@libp2p/interface'
+import { pubSubSymbol, serviceCapabilities, serviceDependencies } from '@libp2p/interface'
36
import { PubSubBaseProtocol, type PubSubComponents } from '@libp2p/pubsub'
37
import { toString } from 'uint8arrays/to-string'
38
import { SimpleTimeCache } from './cache.js'
@@ -82,6 +82,10 @@ class FloodSub extends PubSubBaseProtocol {
82
83
readonly [Symbol.toStringTag] = '@libp2p/floodsub'
84
85
+ readonly [serviceCapabilities]: string[] = [
86
+ '@libp2p/pubsub'
87
+ ]
88
+
89
readonly [serviceDependencies]: string[] = [
90
'@libp2p/identify'
91
]
0 commit comments