@convai/web-widget 0.3.0 → 0.3.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 CHANGED
@@ -13,7 +13,7 @@ production** — [step two](#before-you-ship) moves it to your server.
13
13
 
14
14
  ```html
15
15
  <convai-widget character-id="YOUR_CHARACTER_ID" api-key="YOUR_API_KEY"></convai-widget>
16
- <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.0/v1.js" async></script>
16
+ <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.1/v1.js" async></script>
17
17
  ```
18
18
 
19
19
  A launcher bubble appears in the bottom-right corner. Click it: the runtime
@@ -26,7 +26,7 @@ The script tag goes in your HTML shell; the element is ordinary JSX.
26
26
 
27
27
  ```html
28
28
  <!-- index.html -->
29
- <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.0/v1.js" async></script>
29
+ <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.1/v1.js" async></script>
30
30
  ```
31
31
 
32
32
  ```jsx
@@ -167,16 +167,16 @@ guide; theming and `::part()` hooks; CSP requirements; and guidance on
167
167
 
168
168
  ## Versioning
169
169
 
170
- `0.3.0` is a stable release: `npm install @convai/web-widget` and
170
+ `0.3.1` is a stable release: `npm install @convai/web-widget` and
171
171
  jsDelivr's unversioned URL both resolve it. Pin the exact version anyway for
172
172
  reproducible deploys —
173
173
 
174
174
  ```html
175
- <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.0/v1.js" async></script>
175
+ <script src="https://cdn.jsdelivr.net/npm/@convai/web-widget@0.3.1/v1.js" async></script>
176
176
  ```
177
177
 
178
178
  ```bash
179
- npm install @convai/web-widget@0.3.0 # only needed to self-host the two files
179
+ npm install @convai/web-widget@0.3.1 # only needed to self-host the two files
180
180
  ```
181
181
 
182
182
  This package is early, and it bundles a prerelease of `@convai/web-sdk`. The
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "0.3.0";
1
+ const VERSION = "0.3.1";
2
2
  export {
3
3
  VERSION
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@convai/web-widget",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Two-line script-tag embed for the Convai chat widget. A <convai-widget> custom element with a closed shadow root and a lazily loaded runtime.",
5
5
  "homepage": "https://docs.convai.com/embed",
6
6
  "repository": {