@whereby.com/browser-sdk 3.18.33 → 3.19.0

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.
@@ -169,7 +169,7 @@ const VideoView = React__namespace.forwardRef((_a, ref) => {
169
169
  });
170
170
  VideoView.displayName = "VideoView";
171
171
 
172
- const browserSdkVersion = "3.18.33";
172
+ const browserSdkVersion = "3.19.0";
173
173
 
174
174
  const initialState$1 = {
175
175
  chatMessages: [],
@@ -242,8 +242,10 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
242
242
  const acceptWaitingParticipant = React__namespace.useCallback((participantId) => client.acceptWaitingParticipant(participantId), [client]);
243
243
  const rejectWaitingParticipant = React__namespace.useCallback((participantId) => client.rejectWaitingParticipant(participantId), [client]);
244
244
  const startCloudRecording = React__namespace.useCallback(() => client.startCloudRecording(), [client]);
245
+ const startLiveTranscription = React__namespace.useCallback(() => client.startLiveTranscription(), [client]);
245
246
  const startScreenshare = React__namespace.useCallback(() => client.startScreenshare(), [client]);
246
247
  const stopCloudRecording = React__namespace.useCallback(() => client.stopCloudRecording(), [client]);
248
+ const stopLiveTranscription = React__namespace.useCallback(() => client.stopLiveTranscription(), [client]);
247
249
  const stopScreenshare = React__namespace.useCallback(() => client.stopScreenshare(), [client]);
248
250
  const leaveRoom = React__namespace.useCallback(() => client.leaveRoom(), [client]);
249
251
  const lockRoom = React__namespace.useCallback((locked) => client.lockRoom(locked), [client]);
@@ -287,8 +289,10 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
287
289
  sendChatMessage,
288
290
  setDisplayName,
289
291
  startCloudRecording,
292
+ startLiveTranscription,
290
293
  startScreenshare,
291
294
  stopCloudRecording,
295
+ stopLiveTranscription,
292
296
  stopScreenshare,
293
297
  toggleCamera,
294
298
  toggleMicrophone,
@@ -74,8 +74,10 @@ interface RoomConnectionActions {
74
74
  sendChatMessage: (text: string) => void;
75
75
  setDisplayName: (displayName: string) => void;
76
76
  startCloudRecording: () => void;
77
+ startLiveTranscription: () => void;
77
78
  startScreenshare: () => void;
78
79
  stopCloudRecording: () => void;
80
+ stopLiveTranscription: () => void;
79
81
  stopScreenshare: () => void;
80
82
  toggleCamera: (enabled?: boolean) => void;
81
83
  toggleMicrophone: (enabled?: boolean) => void;
@@ -147,7 +147,7 @@ const VideoView = React.forwardRef((_a, ref) => {
147
147
  });
148
148
  VideoView.displayName = "VideoView";
149
149
 
150
- const browserSdkVersion = "3.18.33";
150
+ const browserSdkVersion = "3.19.0";
151
151
 
152
152
  const initialState$1 = {
153
153
  chatMessages: [],
@@ -220,8 +220,10 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
220
220
  const acceptWaitingParticipant = React.useCallback((participantId) => client.acceptWaitingParticipant(participantId), [client]);
221
221
  const rejectWaitingParticipant = React.useCallback((participantId) => client.rejectWaitingParticipant(participantId), [client]);
222
222
  const startCloudRecording = React.useCallback(() => client.startCloudRecording(), [client]);
223
+ const startLiveTranscription = React.useCallback(() => client.startLiveTranscription(), [client]);
223
224
  const startScreenshare = React.useCallback(() => client.startScreenshare(), [client]);
224
225
  const stopCloudRecording = React.useCallback(() => client.stopCloudRecording(), [client]);
226
+ const stopLiveTranscription = React.useCallback(() => client.stopLiveTranscription(), [client]);
225
227
  const stopScreenshare = React.useCallback(() => client.stopScreenshare(), [client]);
226
228
  const leaveRoom = React.useCallback(() => client.leaveRoom(), [client]);
227
229
  const lockRoom = React.useCallback((locked) => client.lockRoom(locked), [client]);
@@ -265,8 +267,10 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
265
267
  sendChatMessage,
266
268
  setDisplayName,
267
269
  startCloudRecording,
270
+ startLiveTranscription,
268
271
  startScreenshare,
269
272
  stopCloudRecording,
273
+ stopLiveTranscription,
270
274
  stopScreenshare,
271
275
  toggleCamera,
272
276
  toggleMicrophone,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whereby.com/browser-sdk",
3
- "version": "3.18.33",
3
+ "version": "3.19.0",
4
4
  "description": "Modules for integration Whereby video in web apps",
5
5
  "author": "Whereby AS",
6
6
  "license": "MIT",
@@ -74,8 +74,8 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@radix-ui/react-popover": "^1.0.7",
77
- "@whereby.com/media": "4.0.0",
78
- "@whereby.com/core": "1.8.1",
77
+ "@whereby.com/media": "5.0.1",
78
+ "@whereby.com/core": "1.9.0",
79
79
  "clsx": "^2.1.1",
80
80
  "heresy": "^1.0.4",
81
81
  "runes": "^0.4.3"