wakz-chat-widget 2.0.0 → 3.0.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.
Files changed (3) hide show
  1. package/README.md +1 -44
  2. package/index.js +495 -448
  3. package/package.json +6 -24
package/README.md CHANGED
@@ -1,44 +1 @@
1
- # wakz-chat-widget
2
-
3
- Production-grade AI chat widget by **WAKZ** — Shadow DOM isolated, zero dependencies, Intercom/Crisp quality.
4
-
5
- ## Installation
6
-
7
- No installation needed. Add this script tag to your website:
8
-
9
- ```html
10
- <!-- WAKZ Chat Widget -->
11
- <script
12
- src="https://unpkg.com/wakz-chat-widget@latest/index.js"
13
- data-api-key="YOUR_API_KEY"
14
- data-server="https://your-wakz-server.com"
15
- async>
16
- </script>
17
- ```
18
-
19
- Replace:
20
- - `YOUR_API_KEY` — Your WAKZ embed API key
21
- - `https://your-wakz-server.com` — Your WAKZ server URL
22
-
23
- ## Features
24
-
25
- - **Shadow DOM** — Fully isolated from your website's CSS
26
- - **Zero Dependencies** — Pure vanilla JavaScript
27
- - **RTL Support** — Full Arabic/Hebrew right-to-left support
28
- - **Dynamic Theming** — Colors, position, bot name, welcome message configurable from dashboard
29
- - **Responsive** — Full-screen on mobile, floating window on desktop
30
- - **Real-time Chat** — AI-powered responses via WAKZ backend
31
- - **Typing Indicator** — Smooth animated dots while bot is thinking
32
- - **Session Persistence** — Chat history preserved across page reloads
33
- - **Online/Offline Status** — Green/red dot with pulse animation
34
-
35
- ## CDN
36
-
37
- ```html
38
- https://unpkg.com/wakz-chat-widget@latest/index.js
39
- https://cdn.jsdelivr.net/npm/wakz-chat-widget@latest/index.js
40
- ```
41
-
42
- ## License
43
-
44
- MIT
1
+ // WAKZ Chat Widget v3.0.0 — see https://www.npmjs.com/package/wakz-chat-widget