diff --git a/packages/interface/src/connection/index.ts b/packages/interface/src/connection/index.ts index 6a2100f75d..2bed6736a1 100644 --- a/packages/interface/src/connection/index.ts +++ b/packages/interface/src/connection/index.ts @@ -258,16 +258,6 @@ export interface Connection { */ newStream: (protocols: string | string[], options?: NewStreamOptions) => Promise - /** - * Add a stream to this connection - */ - addStream: (stream: Stream) => void - - /** - * Remove a stream from this connection - */ - removeStream: (id: string) => void - /** * Gracefully close the connection. All queued data will be written to the * underlying transport.