@tavus/widget 0.0.1-beta.7 → 0.0.1-beta.9
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/index.d.ts +12 -0
- package/dist/index.iife.js +30 -30
- package/dist/index.mjs +5848 -5495
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
export { TavusIntegration, TAVUS_EVENT_NAMES } from './integration.ts';
|
|
2
2
|
export type { TavusEventName, TavusEventMap, TavusInteraction } from './integration.ts';
|
|
3
3
|
interface TavusWidgetAttributes {
|
|
4
|
+
/** Deployment to load. Resolved via the `/init` fetch. */
|
|
4
5
|
"deployment-id"?: string;
|
|
6
|
+
/** JSON `OverrideConfig`, deep-merged on top of the fetched config. */
|
|
5
7
|
"override-config"?: string;
|
|
8
|
+
/** Per-call conversational context forwarded to `/start`. */
|
|
9
|
+
"conversational-context"?: string;
|
|
10
|
+
/** Per-call greeting forwarded to `/start`. */
|
|
11
|
+
"custom-greeting"?: string;
|
|
12
|
+
/** Comma-separated memory store ids → `/start` `memory_stores`. */
|
|
13
|
+
"memory-stores"?: string;
|
|
14
|
+
/** API base origin override (defaults to the production API). */
|
|
15
|
+
"base-url"?: string;
|
|
16
|
+
/** Preview/auth token forwarded to `/init` and `/start`. */
|
|
17
|
+
token?: string;
|
|
6
18
|
}
|
|
7
19
|
declare global {
|
|
8
20
|
interface HTMLElementTagNameMap {
|