@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.
- package/dist/cdn/v2-embed.js +1 -1
- package/dist/cdn/v2-react.js +1 -1
- package/dist/embed/index.d.ts +13 -0
- package/dist/react/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/embed/index.d.ts
CHANGED
|
@@ -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;
|
package/dist/react/index.esm.js
CHANGED