@cloudflare/realtimekit 2.0.3-staging.3 → 2.0.3-staging.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1998,7 +1998,7 @@ declare class RoomSocketHandler {
1998
1998
  payload: Uint8Array;
1999
1999
  }>;
2000
2000
  broadcastToPeers(type: string, peerIds: string[], payload: BroadcastMessagePayload): Promise<boolean>;
2001
- leaveRoom(): Promise<void>;
2001
+ leaveRoom(): boolean;
2002
2002
  kick(peerId: string): Promise<void>;
2003
2003
  kickAll(propagateKickAll?: boolean): Promise<void>;
2004
2004
  getWaitingRoomRequests(): void;
@@ -2035,7 +2035,7 @@ declare class RoomSocketHandler {
2035
2035
  payload: Uint8Array;
2036
2036
  }>;
2037
2037
  broadcastToPeers(type: string, peerIds: string[], payload: BroadcastMessagePayload): Promise<boolean>;
2038
- leaveRoom(): Promise<void>;
2038
+ leaveRoom(): boolean;
2039
2039
  kick(peerId: string): Promise<void>;
2040
2040
  kickAll(propagateKickAll?: boolean): Promise<void>;
2041
2041
  getWaitingRoomRequests(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "2.0.3-staging.3",
3
+ "version": "2.0.3-staging.4",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",