@meetelise/chat 1.9.0 → 1.11.0

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/CONTRIBUTING.md CHANGED
@@ -13,6 +13,8 @@ This is the widget clients of MeetElise install on their websites. It's publishe
13
13
 
14
14
  Run `npm start` to run the dev server, Ctrl+C to stop it.
15
15
 
16
+ To test the build on a static test page, run `npx serve public`, optionally supplying a port number with the `-p` flag.
17
+
16
18
  ## Unit tests
17
19
 
18
20
  Run `npm test` to run unit tests via [Web Test Runner](https://modern-web.dev/docs/test-runner/overview/) in a headless browser.
package/README.md CHANGED
@@ -14,6 +14,19 @@ To install MeetElise webchat on your site, add the following code:
14
14
  </script>
15
15
  ```
16
16
 
17
+ For the mini widget:
18
+
19
+ ```html
20
+ <script type="module">
21
+ import Chat from "https://cdn.skypack.dev/@meetelise/chat";
22
+ Chat.start({
23
+ organization: "{your org here}",
24
+ building: "{your building here}",
25
+ mini: true,
26
+ });
27
+ </script>
28
+ ```
29
+
17
30
  ### Custom Styles
18
31
 
19
32
  To customize the brand colors, title, and subtitle of your chat widget, configure your webchat through the MeetElise portal. To _reposition_ your chat widget on the page, add the following code to your web page.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "public/dist/index.js",