wineater-bot 5.1.0 → 5.1.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 +3 -3
- package/dist/wineater-chatbot.mjs +53 -24
- package/dist/wineater-chatbot.umd.js +53 -24
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ This produces files in the `dist/` directory, including:
|
|
|
50
50
|
Use this in apps that can import ES modules (e.g. via Vite/Webpack, or directly in the browser):
|
|
51
51
|
|
|
52
52
|
```html
|
|
53
|
-
<link rel="stylesheet" href="/path/to/dist/wineater-chatbot.css"
|
|
53
|
+
<link rel="stylesheet" href="/path/to/dist/wineater-chatbot.css" />
|
|
54
54
|
<div id="wineater-widget-conteiner"></div>
|
|
55
55
|
<script src="/path/to/dist/wineater-chatbot.mjs"></script>
|
|
56
56
|
```
|
|
@@ -60,7 +60,7 @@ Use this in apps that can import ES modules (e.g. via Vite/Webpack, or directly
|
|
|
60
60
|
Use this when you want to embed the widget directly on a site via `<script>` and rely on its auto-initialization:
|
|
61
61
|
|
|
62
62
|
```html
|
|
63
|
-
<link rel="stylesheet" href="/path/to/dist/wineater-chatbot.css"
|
|
63
|
+
<link rel="stylesheet" href="/path/to/dist/wineater-chatbot.css" />
|
|
64
64
|
<div id="wineater-widget-conteiner"></div>
|
|
65
65
|
<script src="/path/to/dist/wineater-chatbot.umd.js"></script>
|
|
66
66
|
```
|
|
@@ -83,4 +83,4 @@ Defined in `package.json`:
|
|
|
83
83
|
|
|
84
84
|
- The library entry point is `src/index.js`.
|
|
85
85
|
- Vite is configured in `vite.config.js` to emit both UMD and ESM bundles; the UMD bundle is considered legacy.
|
|
86
|
-
- Svelte components are built as a hydratable widget suitable for embedding on third-party sites.
|
|
86
|
+
- Svelte components are built as a hydratable widget suitable for embedding on third-party sites.
|