@satek-team-intern/chatbot-widget 0.10.1 → 0.10.3
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/chatbot-widget.es.js +684 -853
- package/dist/chatbot-widget.umd.js +11 -9
- package/dist/src/components/modals/AddMember.d.ts +0 -7
- package/dist/src/components/sidebar/AppSideBar.d.ts +1 -3
- package/dist/src/components/sidebar/ChatInfoPanel.d.ts +1 -2
- package/dist/src/components/sidebar/ChatList.d.ts +0 -1
- package/dist/src/components/view/ChatInput.d.ts +1 -5
- package/dist/src/components/view/ContactList.d.ts +0 -2
- package/dist/src/hooks/useChat.d.ts +1 -1
- package/dist/src/services/chat.service.d.ts +1 -1
- package/dist/src/store/slices/chatSlice.d.ts +1 -1
- package/dist/src/types/types.d.ts +3 -3
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/validate.utils.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -190,14 +190,14 @@ Or use jsdelivr CDN:
|
|
|
190
190
|
| Name | Type | Required | Description |
|
|
191
191
|
| ------------------------- | ------ | -------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|
|
192
192
|
| `title` | string | ✅ | Title of the chat widget |
|
|
193
|
-
| `workspace` | string |
|
|
193
|
+
| `workspace` | string | ✅ | Workspace identifier for multi-workspace support. Max 50 chars, supports lowercase, numbers, symbols (\_), (-), (.) |
|
|
194
194
|
| `logoUrl` | string | ❌ | URL of the logo image to display in the widget header |
|
|
195
195
|
| `primaryColor` | string | ❌ | Primary color (hex format). Default: #6366f1 |
|
|
196
196
|
| `chatKey` | string | ✅ | Authentication key to connect to backend |
|
|
197
197
|
| `auth` | object | ✅ | User authentication information |
|
|
198
198
|
| `auth.code` | string | ✅ | Unique user identifier |
|
|
199
199
|
| `auth.name` | string | ✅ | User name |
|
|
200
|
-
| `auth.avatar` | string |
|
|
200
|
+
| `auth.avatar` | string | ❌ | Avatar image URL. Optional - can be empty or must be a valid URL |
|
|
201
201
|
| `auth.phone` | string | ❌ | User phone number |
|
|
202
202
|
| `auth.email` | string | ✅ | User email address |
|
|
203
203
|
| `features` | object | ❌ | Feature configuration object with properties: `attachments`, `communication`, `chatModes`, `customizations` |
|
|
@@ -565,7 +565,7 @@ Create or login a member account.
|
|
|
565
565
|
- `data` (Object): Member information
|
|
566
566
|
- `code` (String, required): Unique identifier code
|
|
567
567
|
- `name` (String, required): Member name
|
|
568
|
-
- `avatar` (String, optional): Avatar image URL
|
|
568
|
+
- `avatar` (String, optional): Avatar image URL. Can be empty or must be a valid URL
|
|
569
569
|
- `phone` (String, optional): Phone number
|
|
570
570
|
- `email` (String, optional): Email address
|
|
571
571
|
|