chore: update interafce

This commit is contained in:
Danish Arora 2024-10-08 11:18:05 +05:30
parent 017e90184f
commit d0714d9de4
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
1 changed files with 1 additions and 1 deletions

View File

@ -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"];
};