mirror of https://github.com/waku-org/js-waku.git
chore: update interafce
This commit is contained in:
parent
017e90184f
commit
d0714d9de4
|
@ -17,7 +17,7 @@ export enum Protocols {
|
|||
export type IBaseProtocolCore = {
|
||||
multicodec: string;
|
||||
allPeers: () => Promise<Peer[]>;
|
||||
connectedPeers: (withOpenStreams?: boolean) => Promise<Peer[]>;
|
||||
connectedPeers: () => Promise<Peer[]>;
|
||||
addLibp2pEventListener: Libp2p["addEventListener"];
|
||||
removeLibp2pEventListener: Libp2p["removeEventListener"];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue