@tavus/widget 0.1.0 → 0.1.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/README.md +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,22 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Tavus experience as a launcher `<tavus-widget>` custom element. Drop a single tag into any page and you get a floating launcher that opens a fully working Tavus conversation in a shadow DOM — no React, no build step required.
|
|
4
4
|
|
|
5
|
+
Create and configure a deployment — and grab the embed snippet — in the [Tavus PAL Maker](https://maker.tavus.io).
|
|
6
|
+
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
### CDN (recommended for static pages)
|
|
8
10
|
|
|
9
11
|
```html
|
|
10
|
-
<script src="https://unpkg.com/@tavus/widget@
|
|
12
|
+
<script src="https://unpkg.com/@tavus/widget@latest"></script>
|
|
11
13
|
|
|
12
14
|
<tavus-widget deployment-id="YOUR_DEPLOYMENT_ID"></tavus-widget>
|
|
13
15
|
```
|
|
14
16
|
|
|
15
|
-
For a pinned
|
|
17
|
+
For a pinned version, use `https://unpkg.com/@tavus/widget@0.1.0`.
|
|
16
18
|
|
|
17
19
|
### npm (bundler / framework apps)
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
npm install @tavus/widget
|
|
22
|
+
npm install @tavus/widget
|
|
21
23
|
```
|
|
22
24
|
|
|
23
25
|
```ts
|