@cloudflare/realtimekit 2.0.3-staging.4 → 2.0.3-staging.5
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.
- package/dist/EncryptionManager.d.ts +6 -1
- package/dist/browser.js +7 -7
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +708 -699
- package/dist/index.es5.js +1641 -1636
- package/dist/index.rn.js +5 -5
- package/dist/ts3.4/dist/EncryptionManager.d.ts +6 -1
- package/dist/ts3.4/dist/index.d.ts +6 -1
- package/package.json +1 -1
|
@@ -2018,7 +2018,12 @@ declare class RoomSocketHandler {
|
|
|
2018
2018
|
payload: Uint8Array;
|
|
2019
2019
|
}>;
|
|
2020
2020
|
broadcastToPeers(type: string, peerIds: string[], payload: BroadcastMessagePayload): Promise<boolean>;
|
|
2021
|
-
leaveRoom(
|
|
2021
|
+
leaveRoom(peer: {
|
|
2022
|
+
peerId: string;
|
|
2023
|
+
userId: string;
|
|
2024
|
+
name: string;
|
|
2025
|
+
waitlistStatus: 'accepted' | 'waiting' | 'rejected' | 'none';
|
|
2026
|
+
}): boolean;
|
|
2022
2027
|
kick(peerId: string): Promise<void>;
|
|
2023
2028
|
kickAll(propagateKickAll?: boolean): Promise<void>;
|
|
2024
2029
|
getWaitingRoomRequests(): void;
|