@whereby.com/browser-sdk 2.8.0 → 2.8.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.
@@ -49,6 +49,9 @@ interface WherebyEmbedElementAttributes extends ReactHTMLElement<HTMLElement> {
49
49
  video: string;
50
50
  virtualBackgroundUrl: string;
51
51
  }
52
+ interface PrecallCheckCompletedStepResult {
53
+ status: "passed" | "failed";
54
+ }
52
55
  interface WherebyEmbedElementEventMap {
53
56
  ready: CustomEvent;
54
57
  knock: CustomEvent;
@@ -96,6 +99,16 @@ interface WherebyEmbedElementEventMap {
96
99
  connection_status_change: CustomEvent<{
97
100
  status: "stable" | "unstable";
98
101
  }>;
102
+ precall_check_skipped: CustomEvent;
103
+ precall_check_completed: CustomEvent<{
104
+ status: "passed" | "failed";
105
+ steps: {
106
+ camera: PrecallCheckCompletedStepResult;
107
+ speaker: PrecallCheckCompletedStepResult;
108
+ microphone: PrecallCheckCompletedStepResult;
109
+ bandwidth: PrecallCheckCompletedStepResult;
110
+ };
111
+ }>;
99
112
  }
100
113
  interface WherebyEmbedElementCommands {
101
114
  startRecording: () => void;
@@ -99,7 +99,7 @@ const selectRoomConnectionState = createSelector(selectChatMessages, selectCloud
99
99
  return state;
100
100
  });
101
101
 
102
- const browserSdkVersion = "2.8.0";
102
+ const browserSdkVersion = "2.8.1";
103
103
 
104
104
  const initialState$1 = {
105
105
  chatMessages: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whereby.com/browser-sdk",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Modules for integration Whereby video in web apps",
5
5
  "author": "Whereby AS",
6
6
  "license": "MIT",