@tavus/widget 0.12.0 → 0.13.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/host-types.d.ts +16 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.iife.js +21 -21
- package/dist/index.mjs +3498 -3265
- package/dist/integration.d.ts +21 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface StartConversationOptions {
|
|
2
|
+
/** Skip the built-in haircheck because the host has already selected its media devices. */
|
|
3
|
+
haircheck?: "provided";
|
|
4
|
+
devices?: {
|
|
5
|
+
microphone?: {
|
|
6
|
+
deviceId?: string;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
track?: MediaStreamTrack;
|
|
9
|
+
};
|
|
10
|
+
camera?: {
|
|
11
|
+
deviceId?: string;
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
track?: MediaStreamTrack;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { TavusIntegration, TAVUS_EVENT_NAMES } from './integration.ts';
|
|
2
|
-
export type { TavusEventName, TavusEventMap, TavusInteraction } from './integration.ts';
|
|
2
|
+
export type { TavusEventName, TavusEventMap, TavusInteraction, StartConversationOptions, TavusElement, } from './integration.ts';
|
|
3
3
|
interface TavusWidgetAttributes {
|
|
4
4
|
/** Whether the visitor camera is enabled automatically. Defaults to `"on"`. */
|
|
5
5
|
"camera-on-start"?: "on" | "off";
|