Unnecessary and create conflicts due to disparity of version

Between libp2p-interfaces from libp2p and libp2p-gossipsub.
This commit is contained in:
Franck Royer 2021-06-22 10:06:05 +10:00
parent 68faba24c1
commit dbab0cc582
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import {
messageIdToString,
shuffle,
} from 'libp2p-gossipsub/src/utils';
import Pubsub, { InMessage } from 'libp2p-interfaces/src/pubsub';
import { InMessage } from 'libp2p-interfaces/src/pubsub';
import { SignaturePolicy } from 'libp2p-interfaces/src/pubsub/signature-policy';
import PeerId from 'peer-id';
@ -57,7 +57,7 @@ export interface GossipOptions {
* @implements {Pubsub}
* @noInheritDoc
*/
export class WakuRelay extends Gossipsub implements Pubsub {
export class WakuRelay extends Gossipsub {
heartbeat: RelayHeartbeat;
pubsubTopic: string;
/**