From 7fdc2e22f6ae81f8de0c1edd588d1da4e873452a Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 18 Mar 2024 10:57:37 +0100 Subject: [PATCH] Rename connectFork to connect --- javascript/src/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/src/api.ts b/javascript/src/api.ts index 7ce28a8..26fafd1 100644 --- a/javascript/src/api.ts +++ b/javascript/src/api.ts @@ -95,9 +95,9 @@ export interface IDocumentProvider extends IDisposable { fork(): Promise; /** - * Connect the shared document to a forked room with forkId (disconnect from previous room). + * Connect the shared document to a room with given ID (disconnect from previous room). */ - connectFork(forkId: string): void; + connect(roomId: string): void; } /**