@whereby.com/browser-sdk 3.17.0 → 3.18.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 +10 -10
- package/dist/react/index.cjs +3 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.esm.js +3 -1
- package/package.json +6 -6
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.18.0";
|
|
173
173
|
|
|
174
174
|
const initialState$1 = {
|
|
175
175
|
chatMessages: [],
|
|
@@ -231,6 +231,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
231
231
|
}, [client]);
|
|
232
232
|
const sendChatMessage = React__namespace.useCallback((text) => client.sendChatMessage(text), [client]);
|
|
233
233
|
const knock = React__namespace.useCallback(() => client.knock(), [client]);
|
|
234
|
+
const cancelKnock = React__namespace.useCallback(() => client.cancelKnock(), [client]);
|
|
234
235
|
const setDisplayName = React__namespace.useCallback((displayName) => client.setDisplayName(displayName), [client]);
|
|
235
236
|
const toggleCamera = React__namespace.useCallback((enabled) => client.toggleCamera(enabled), [client]);
|
|
236
237
|
const toggleMicrophone = React__namespace.useCallback((enabled) => client.toggleMicrophone(enabled), [client]);
|
|
@@ -274,6 +275,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
274
275
|
askToTurnOnCamera,
|
|
275
276
|
acceptWaitingParticipant,
|
|
276
277
|
knock,
|
|
278
|
+
cancelKnock,
|
|
277
279
|
joinRoom,
|
|
278
280
|
leaveRoom,
|
|
279
281
|
lockRoom,
|
package/dist/react/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ interface RoomConnectionActions {
|
|
|
62
62
|
askToTurnOnCamera: (participantId: string) => void;
|
|
63
63
|
acceptWaitingParticipant: (participantId: string) => void;
|
|
64
64
|
knock: () => void;
|
|
65
|
+
cancelKnock: () => void;
|
|
65
66
|
joinRoom: () => Promise<RoomJoinedSuccess>;
|
|
66
67
|
leaveRoom: () => void;
|
|
67
68
|
lockRoom: (locked: boolean) => void;
|
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.18.0";
|
|
151
151
|
|
|
152
152
|
const initialState$1 = {
|
|
153
153
|
chatMessages: [],
|
|
@@ -209,6 +209,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
209
209
|
}, [client]);
|
|
210
210
|
const sendChatMessage = React.useCallback((text) => client.sendChatMessage(text), [client]);
|
|
211
211
|
const knock = React.useCallback(() => client.knock(), [client]);
|
|
212
|
+
const cancelKnock = React.useCallback(() => client.cancelKnock(), [client]);
|
|
212
213
|
const setDisplayName = React.useCallback((displayName) => client.setDisplayName(displayName), [client]);
|
|
213
214
|
const toggleCamera = React.useCallback((enabled) => client.toggleCamera(enabled), [client]);
|
|
214
215
|
const toggleMicrophone = React.useCallback((enabled) => client.toggleMicrophone(enabled), [client]);
|
|
@@ -252,6 +253,7 @@ function useRoomConnection(roomUrl, roomConnectionOptions = defaultRoomConnectio
|
|
|
252
253
|
askToTurnOnCamera,
|
|
253
254
|
acceptWaitingParticipant,
|
|
254
255
|
knock,
|
|
256
|
+
cancelKnock,
|
|
255
257
|
joinRoom,
|
|
256
258
|
leaveRoom,
|
|
257
259
|
lockRoom,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Modules for integration Whereby video in web apps",
|
|
5
5
|
"author": "Whereby AS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"typescript": "^5.8.3",
|
|
66
66
|
"eslint-plugin-storybook": "9.0.16",
|
|
67
67
|
"@storybook/addon-docs": "^9.0.16",
|
|
68
|
-
"@whereby.com/camera-effects": "1.0.0",
|
|
69
68
|
"@whereby.com/eslint-config": "0.1.0",
|
|
70
|
-
"@whereby.com/
|
|
69
|
+
"@whereby.com/camera-effects": "1.0.0",
|
|
71
70
|
"@whereby.com/prettier-config": "0.1.0",
|
|
72
71
|
"@whereby.com/rollup-config": "0.1.1",
|
|
73
|
-
"@whereby.com/tsconfig": "0.1.0"
|
|
72
|
+
"@whereby.com/tsconfig": "0.1.0",
|
|
73
|
+
"@whereby.com/jest-config": "0.1.0"
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
76
|
"@radix-ui/react-popover": "^1.0.7",
|
|
77
|
-
"@whereby.com/media": "2.6.
|
|
78
|
-
"@whereby.com/core": "1.
|
|
77
|
+
"@whereby.com/media": "2.6.1",
|
|
78
|
+
"@whereby.com/core": "1.5.0",
|
|
79
79
|
"clsx": "^2.1.1",
|
|
80
80
|
"heresy": "^1.0.4",
|
|
81
81
|
"runes": "^0.4.3"
|