From d0714d9de45be1956b43064630a1a685135348df Mon Sep 17 00:00:00 2001 From: Danish Arora Date: Tue, 8 Oct 2024 11:18:05 +0530 Subject: [PATCH] chore: update interafce --- packages/interfaces/src/protocols.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/interfaces/src/protocols.ts b/packages/interfaces/src/protocols.ts index 32e6c16eb6..74462efa13 100644 --- a/packages/interfaces/src/protocols.ts +++ b/packages/interfaces/src/protocols.ts @@ -17,7 +17,7 @@ export enum Protocols { export type IBaseProtocolCore = { multicodec: string; allPeers: () => Promise; - connectedPeers: (withOpenStreams?: boolean) => Promise; + connectedPeers: () => Promise; addLibp2pEventListener: Libp2p["addEventListener"]; removeLibp2pEventListener: Libp2p["removeEventListener"]; };