mirror of https://github.com/status-im/js-waku.git
Unnecessary and create conflicts due to disparity of version
Between libp2p-interfaces from libp2p and libp2p-gossipsub.
This commit is contained in:
parent
68faba24c1
commit
dbab0cc582
|
@ -12,7 +12,7 @@ import {
|
||||||
messageIdToString,
|
messageIdToString,
|
||||||
shuffle,
|
shuffle,
|
||||||
} from 'libp2p-gossipsub/src/utils';
|
} 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 { SignaturePolicy } from 'libp2p-interfaces/src/pubsub/signature-policy';
|
||||||
import PeerId from 'peer-id';
|
import PeerId from 'peer-id';
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ export interface GossipOptions {
|
||||||
* @implements {Pubsub}
|
* @implements {Pubsub}
|
||||||
* @noInheritDoc
|
* @noInheritDoc
|
||||||
*/
|
*/
|
||||||
export class WakuRelay extends Gossipsub implements Pubsub {
|
export class WakuRelay extends Gossipsub {
|
||||||
heartbeat: RelayHeartbeat;
|
heartbeat: RelayHeartbeat;
|
||||||
pubsubTopic: string;
|
pubsubTopic: string;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue