@tavus/embed 0.19.0 → 0.19.2
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/README.md +120 -15
- package/dist/index.d.ts +2 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.mjs +3 -3
- package/dist/integration.d.ts +6 -0
- package/package.json +17 -13
package/dist/integration.d.ts
CHANGED
|
@@ -82,7 +82,13 @@ interface TavusElementTavusApi {
|
|
|
82
82
|
sendMessage?: (interaction: TavusInteraction) => void;
|
|
83
83
|
}
|
|
84
84
|
export interface TavusElement extends HTMLElement {
|
|
85
|
+
/** Expands the popup to the preview screen. `<tavus-widget>` only. */
|
|
85
86
|
open?: () => void;
|
|
87
|
+
/**
|
|
88
|
+
* The popup's own close path. Ends a call in progress and cancels a pending
|
|
89
|
+
* start before it collapses; `tavus:conversation-ended` follows for a call
|
|
90
|
+
* that was live. `<tavus-widget>` only.
|
|
91
|
+
*/
|
|
86
92
|
close?: () => void;
|
|
87
93
|
/** Creates the room without joining it; the next start joins it. Rejects on failure. */
|
|
88
94
|
createConversation?: () => Promise<{
|
package/package.json
CHANGED
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tavus/embed",
|
|
3
|
-
"version": "0.19.
|
|
4
|
-
"description": "Tavus
|
|
3
|
+
"version": "0.19.2",
|
|
4
|
+
"description": "Drop a face-to-face Tavus PAL into any page with the <tavus-embed> custom element. Fully managed conversational video, no backend or API key in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"ai",
|
|
6
|
+
"ai-agent",
|
|
7
|
+
"ai-avatar",
|
|
7
8
|
"conversational-ai",
|
|
9
|
+
"conversational-video",
|
|
8
10
|
"custom-element",
|
|
11
|
+
"cvi",
|
|
12
|
+
"deployments",
|
|
9
13
|
"embed",
|
|
10
|
-
"
|
|
14
|
+
"face-to-face",
|
|
15
|
+
"inline",
|
|
16
|
+
"no-backend",
|
|
17
|
+
"pal",
|
|
18
|
+
"real-time",
|
|
11
19
|
"tavus",
|
|
12
|
-
"video",
|
|
13
|
-
"web-component"
|
|
20
|
+
"video-agent",
|
|
21
|
+
"web-component",
|
|
22
|
+
"webrtc"
|
|
14
23
|
],
|
|
15
|
-
"homepage": "https://
|
|
24
|
+
"homepage": "https://docs.tavus.io/sections/deployments/embed",
|
|
16
25
|
"bugs": {
|
|
17
|
-
"
|
|
26
|
+
"email": "support@tavus.io"
|
|
18
27
|
},
|
|
19
28
|
"license": "MIT",
|
|
20
29
|
"author": "Tavus, Inc.",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/Tavus-Engineering/tavus-deployment.git",
|
|
24
|
-
"directory": "packages/embed"
|
|
25
|
-
},
|
|
26
30
|
"files": [
|
|
27
31
|
"dist",
|
|
28
32
|
"README.md",
|