@whereby.com/browser-sdk 2.0.0-alpha11 → 2.0.0-alpha13
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/README.md +2 -3
- package/dist/lib.cjs +3154 -90
- package/dist/lib.esm.js +3113 -56
- package/dist/types.d.ts +3 -3
- package/dist/{v2-alpha11.js → v2-alpha13.js} +9 -9
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ interface RoomConnectionOptions {
|
|
|
165
165
|
localMedia?: LocalMedia;
|
|
166
166
|
}
|
|
167
167
|
type ChatMessage = Pick<ChatMessage$1, "senderId" | "timestamp" | "text">;
|
|
168
|
-
type RoomConnectionStatus = "" | "connecting" | "connected" | "room_locked" | "knocking" | "disconnected" | "accepted" | "rejected";
|
|
168
|
+
type RoomConnectionStatus = "" | "connecting" | "connected" | "room_locked" | "knocking" | "disconnecting" | "disconnected" | "accepted" | "rejected";
|
|
169
169
|
type RoomJoinedEvent = {
|
|
170
170
|
localParticipant: LocalParticipant;
|
|
171
171
|
remoteParticipants: RemoteParticipant[];
|
|
@@ -262,7 +262,7 @@ declare class RoomConnection extends TypedEventTarget {
|
|
|
262
262
|
private _joinRoom;
|
|
263
263
|
join(): Promise<void>;
|
|
264
264
|
knock(): void;
|
|
265
|
-
leave():
|
|
265
|
+
leave(): void;
|
|
266
266
|
sendChatMessage(text: string): void;
|
|
267
267
|
setDisplayName(displayName: string): void;
|
|
268
268
|
acceptWaitingParticipant(participantId: string): void;
|
|
@@ -303,6 +303,6 @@ type RoomConnectionRef = {
|
|
|
303
303
|
};
|
|
304
304
|
declare function useRoomConnection(roomUrl: string, roomConnectionOptions: UseRoomConnectionOptions): RoomConnectionRef;
|
|
305
305
|
|
|
306
|
-
declare const sdkVersion = "2.0.0-
|
|
306
|
+
declare const sdkVersion = "2.0.0-alpha13";
|
|
307
307
|
|
|
308
308
|
export { _default as VideoView, sdkVersion, useLocalMedia, useRoomConnection };
|