diff --git a/src/lib/waku_relay/index.ts b/src/lib/waku_relay/index.ts index ac4fc342b5..aad4b54fe6 100644 --- a/src/lib/waku_relay/index.ts +++ b/src/lib/waku_relay/index.ts @@ -57,7 +57,7 @@ export interface GossipOptions { * Implements the [Waku v2 Relay protocol]{@link https://rfc.vac.dev/spec/11/}. * Must be passed as a `pubsub` module to a {Libp2p} instance. * - * @implements {Pubsub} + * @implements {require('libp2p-interfaces/src/pubsub')} * @noInheritDoc */ export class WakuRelay extends Gossipsub { @@ -147,7 +147,6 @@ export class WakuRelay extends Gossipsub { * @param callback called when a new message is received via waku relay * @param contentTopics Content Topics for which the callback with be called, * all of them if undefined, [] or ["",..] is passed. - * @param decPrivateKeys Private keys used to decrypt incoming Waku Messages. * @returns {void} */ addObserver(