@whereby.com/browser-sdk 2.2.0-beta.0 → 2.2.1

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.
@@ -66,6 +66,9 @@ interface WherebyEmbedElementEventMap {
66
66
  chat_toggle: CustomEvent<{
67
67
  open: boolean;
68
68
  }>;
69
+ people_toggle: CustomEvent<{
70
+ open: boolean;
71
+ }>;
69
72
  pip_toggle: CustomEvent<{
70
73
  open: boolean;
71
74
  }>;
@@ -118,27 +118,4 @@ declare function useRoomConnection(roomUrl: string, roomConnectionOptions?: UseR
118
118
 
119
119
  declare function useLocalMedia(optionsOrStream?: UseLocalMediaOptions | MediaStream): UseLocalMediaResult;
120
120
 
121
- type Origin = {
122
- top: number;
123
- left: number;
124
- };
125
- type Bounds = {
126
- width: number;
127
- height: number;
128
- };
129
-
130
- interface GridProps {
131
- roomConnection: RoomConnectionRef;
132
- renderParticipant?: ({ cell, participant, }: {
133
- cell: {
134
- clientId: string;
135
- bounds: Bounds;
136
- origin: Origin;
137
- };
138
- participant: RemoteParticipantState | LocalParticipantState;
139
- }) => React.ReactNode;
140
- videoGridGap?: number;
141
- }
142
- declare function Grid({ roomConnection, renderParticipant, videoGridGap }: GridProps): React.JSX.Element;
143
-
144
- export { type ChatMessageState as ChatMessage, type LocalParticipantState as LocalParticipant, type RemoteParticipantState as RemoteParticipant, type RoomConnectionState as RoomConnection, type ScreenshareState as Screenshare, type UseLocalMediaResult, Grid as VideoGrid, _default as VideoView, type WaitingParticipantState as WaitingParticipant, useLocalMedia, useRoomConnection };
121
+ export { type ChatMessageState as ChatMessage, type LocalParticipantState as LocalParticipant, type RemoteParticipantState as RemoteParticipant, type RoomConnectionState as RoomConnection, type ScreenshareState as Screenshare, type UseLocalMediaResult, _default as VideoView, type WaitingParticipantState as WaitingParticipant, useLocalMedia, useRoomConnection };