@whereby.com/browser-sdk 3.15.0 → 3.16.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.
- package/dist/cdn/v3-react.js +2 -2
- package/dist/react/index.cjs +5 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.esm.js +5 -1
- package/package.json +3 -3
package/dist/react/index.cjs
CHANGED
|
@@ -169,7 +169,7 @@ const VideoView = React__namespace.forwardRef((_a, ref) => {
|
|
|
169
169
|
});
|
|
170
170
|
VideoView.displayName = "VideoView";
|
|
171
171
|
|
|
172
|
-
const browserSdkVersion = "3.
|
|
172
|
+
const browserSdkVersion = "3.16.0";
|
|
173
173
|
|
|
174
174
|
const initialState$1 = {
|
|
175
175
|
chatMessages: [],
|
|
@@ -257,6 +257,9 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
257
257
|
const switchCameraEffect = React__namespace.useCallback((effectId) => __awaiter(this, void 0, void 0, function* () {
|
|
258
258
|
yield client.switchCameraEffect(effectId);
|
|
259
259
|
}), [client]);
|
|
260
|
+
const switchCameraEffectCustom = React__namespace.useCallback((imageUrl) => __awaiter(this, void 0, void 0, function* () {
|
|
261
|
+
yield client.switchCameraEffectCustom(imageUrl);
|
|
262
|
+
}), [client]);
|
|
260
263
|
const clearCameraEffect = React__namespace.useCallback(() => __awaiter(this, void 0, void 0, function* () {
|
|
261
264
|
yield client.clearCameraEffect();
|
|
262
265
|
}), [client]);
|
|
@@ -292,6 +295,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
292
295
|
joinBreakoutGroup,
|
|
293
296
|
joinBreakoutMainRoom,
|
|
294
297
|
switchCameraEffect,
|
|
298
|
+
switchCameraEffectCustom,
|
|
295
299
|
clearCameraEffect,
|
|
296
300
|
},
|
|
297
301
|
};
|
package/dist/react/index.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ interface RoomConnectionActions {
|
|
|
83
83
|
joinBreakoutGroup: (group: string) => void;
|
|
84
84
|
joinBreakoutMainRoom: () => void;
|
|
85
85
|
switchCameraEffect: (effectId: string) => Promise<void>;
|
|
86
|
+
switchCameraEffectCustom: (imageUrl: string) => Promise<void>;
|
|
86
87
|
clearCameraEffect: () => Promise<void>;
|
|
87
88
|
}
|
|
88
89
|
|
package/dist/react/index.esm.js
CHANGED
|
@@ -147,7 +147,7 @@ const VideoView = React.forwardRef((_a, ref) => {
|
|
|
147
147
|
});
|
|
148
148
|
VideoView.displayName = "VideoView";
|
|
149
149
|
|
|
150
|
-
const browserSdkVersion = "3.
|
|
150
|
+
const browserSdkVersion = "3.16.0";
|
|
151
151
|
|
|
152
152
|
const initialState$1 = {
|
|
153
153
|
chatMessages: [],
|
|
@@ -235,6 +235,9 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
235
235
|
const switchCameraEffect = React.useCallback((effectId) => __awaiter(this, void 0, void 0, function* () {
|
|
236
236
|
yield client.switchCameraEffect(effectId);
|
|
237
237
|
}), [client]);
|
|
238
|
+
const switchCameraEffectCustom = React.useCallback((imageUrl) => __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
yield client.switchCameraEffectCustom(imageUrl);
|
|
240
|
+
}), [client]);
|
|
238
241
|
const clearCameraEffect = React.useCallback(() => __awaiter(this, void 0, void 0, function* () {
|
|
239
242
|
yield client.clearCameraEffect();
|
|
240
243
|
}), [client]);
|
|
@@ -270,6 +273,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
270
273
|
joinBreakoutGroup,
|
|
271
274
|
joinBreakoutMainRoom,
|
|
272
275
|
switchCameraEffect,
|
|
276
|
+
switchCameraEffectCustom,
|
|
273
277
|
clearCameraEffect,
|
|
274
278
|
},
|
|
275
279
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.16.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": "2.5.
|
|
78
|
-
"@whereby.com/core": "1.
|
|
77
|
+
"@whereby.com/media": "2.5.5",
|
|
78
|
+
"@whereby.com/core": "1.4.0",
|
|
79
79
|
"clsx": "^2.1.1",
|
|
80
80
|
"heresy": "^1.0.4",
|
|
81
81
|
"runes": "^0.4.3"
|