@whereby.com/browser-sdk 3.25.2 → 3.26.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.
@@ -172,7 +172,7 @@ const VideoView = React__namespace.forwardRef((_a, ref) => {
172
172
  });
173
173
  VideoView.displayName = "VideoView";
174
174
 
175
- const browserSdkVersion = "3.25.2";
175
+ const browserSdkVersion = "3.26.1";
176
176
 
177
177
  const initialState$1 = {
178
178
  chatMessages: [],
@@ -254,9 +254,11 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
254
254
  const acceptWaitingParticipant = React__namespace.useCallback((participantId) => client.acceptWaitingParticipant(participantId), [client]);
255
255
  const rejectWaitingParticipant = React__namespace.useCallback((participantId) => client.rejectWaitingParticipant(participantId), [client]);
256
256
  const startCloudRecording = React__namespace.useCallback(() => client.startCloudRecording(), [client]);
257
+ const startLiveCaptions = React__namespace.useCallback(() => client.startLiveCaptions(), [client]);
257
258
  const startLiveTranscription = React__namespace.useCallback(() => client.startLiveTranscription(), [client]);
258
259
  const startScreenshare = React__namespace.useCallback(() => client.startScreenshare(), [client]);
259
260
  const stopCloudRecording = React__namespace.useCallback(() => client.stopCloudRecording(), [client]);
261
+ const stopLiveCaptions = React__namespace.useCallback(() => client.stopLiveCaptions(), [client]);
260
262
  const stopLiveTranscription = React__namespace.useCallback(() => client.stopLiveTranscription(), [client]);
261
263
  const stopScreenshare = React__namespace.useCallback(() => client.stopScreenshare(), [client]);
262
264
  const leaveRoom = React__namespace.useCallback(() => client.leaveRoom(), [client]);
@@ -308,9 +310,11 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
308
310
  downloadFile,
309
311
  setDisplayName,
310
312
  startCloudRecording,
313
+ startLiveCaptions,
311
314
  startLiveTranscription,
312
315
  startScreenshare,
313
316
  stopCloudRecording,
317
+ stopLiveCaptions,
314
318
  stopLiveTranscription,
315
319
  stopScreenshare,
316
320
  toggleCamera,
@@ -77,9 +77,11 @@ interface RoomConnectionActions {
77
77
  downloadFile: (file: ChatFileShare) => Promise<Blob>;
78
78
  setDisplayName: (displayName: string) => void;
79
79
  startCloudRecording: () => void;
80
+ startLiveCaptions: () => void;
80
81
  startLiveTranscription: () => void;
81
82
  startScreenshare: () => void;
82
83
  stopCloudRecording: () => void;
84
+ stopLiveCaptions: () => void;
83
85
  stopLiveTranscription: () => void;
84
86
  stopScreenshare: () => void;
85
87
  toggleCamera: (enabled?: boolean) => void;
@@ -151,7 +151,7 @@ const VideoView = React.forwardRef((_a, ref) => {
151
151
  });
152
152
  VideoView.displayName = "VideoView";
153
153
 
154
- const browserSdkVersion = "3.25.2";
154
+ const browserSdkVersion = "3.26.1";
155
155
 
156
156
  const initialState$1 = {
157
157
  chatMessages: [],
@@ -233,9 +233,11 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
233
233
  const acceptWaitingParticipant = React.useCallback((participantId) => client.acceptWaitingParticipant(participantId), [client]);
234
234
  const rejectWaitingParticipant = React.useCallback((participantId) => client.rejectWaitingParticipant(participantId), [client]);
235
235
  const startCloudRecording = React.useCallback(() => client.startCloudRecording(), [client]);
236
+ const startLiveCaptions = React.useCallback(() => client.startLiveCaptions(), [client]);
236
237
  const startLiveTranscription = React.useCallback(() => client.startLiveTranscription(), [client]);
237
238
  const startScreenshare = React.useCallback(() => client.startScreenshare(), [client]);
238
239
  const stopCloudRecording = React.useCallback(() => client.stopCloudRecording(), [client]);
240
+ const stopLiveCaptions = React.useCallback(() => client.stopLiveCaptions(), [client]);
239
241
  const stopLiveTranscription = React.useCallback(() => client.stopLiveTranscription(), [client]);
240
242
  const stopScreenshare = React.useCallback(() => client.stopScreenshare(), [client]);
241
243
  const leaveRoom = React.useCallback(() => client.leaveRoom(), [client]);
@@ -287,9 +289,11 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
287
289
  downloadFile,
288
290
  setDisplayName,
289
291
  startCloudRecording,
292
+ startLiveCaptions,
290
293
  startLiveTranscription,
291
294
  startScreenshare,
292
295
  stopCloudRecording,
296
+ stopLiveCaptions,
293
297
  stopLiveTranscription,
294
298
  stopScreenshare,
295
299
  toggleCamera,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whereby.com/browser-sdk",
3
- "version": "3.25.2",
3
+ "version": "3.26.1",
4
4
  "description": "Modules for integration Whereby video in web apps",
5
5
  "author": "Whereby AS",
6
6
  "license": "MIT",
@@ -66,15 +66,15 @@
66
66
  "eslint-plugin-storybook": "9.0.16",
67
67
  "@storybook/addon-docs": "^9.0.16",
68
68
  "@whereby.com/eslint-config": "0.1.0",
69
- "@whereby.com/jest-config": "0.1.0",
70
69
  "@whereby.com/prettier-config": "0.1.0",
71
70
  "@whereby.com/rollup-config": "0.1.1",
72
- "@whereby.com/tsconfig": "0.1.0"
71
+ "@whereby.com/tsconfig": "0.1.0",
72
+ "@whereby.com/jest-config": "0.1.0"
73
73
  },
74
74
  "dependencies": {
75
75
  "@radix-ui/react-popover": "^1.0.7",
76
- "@whereby.com/media": "9.2.5",
77
- "@whereby.com/core": "1.14.2",
76
+ "@whereby.com/media": "9.2.7",
77
+ "@whereby.com/core": "1.15.1",
78
78
  "clsx": "^2.1.1",
79
79
  "heresy": "^1.0.4",
80
80
  "runes": "^0.4.3"