hanc-webrtc-widgets 1.2.0 → 1.3.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/README.md +12 -10
- package/dist/hanc-webrtc-widgets.es.js +16683 -8036
- package/dist/hanc-webrtc-widgets.umd.js +83 -105
- package/dist/src/components/floating-call/floating-call.d.ts +4 -1
- package/dist/src/components/inline-call/inline-call.d.ts +4 -1
- package/dist/src/core/livekit-call-manager.d.ts +36 -0
- package/package.json +3 -3
- package/dist/src/core/twilio-call-manager.d.ts +0 -25
package/README.md
CHANGED
|
@@ -132,10 +132,11 @@ An “inline” widget that you embed directly in page content (often as a hero
|
|
|
132
132
|
|
|
133
133
|
#### Available Attributes:
|
|
134
134
|
|
|
135
|
-
| Attribute
|
|
136
|
-
|
|
|
137
|
-
| `agent-id` (required)
|
|
138
|
-
| `button-start-text`
|
|
135
|
+
| Attribute | Type | Description |
|
|
136
|
+
| ------------------------ | ------ | -------------------------------------------------------- |
|
|
137
|
+
| `agent-id` (required) | string | Agent ID for Twilio calls |
|
|
138
|
+
| `button-start-text` | string | Custom start button text (default: `Start Call with ai`) |
|
|
139
|
+
| `button-connecting-text` | string | Custom connecting button text (default: `Connecting...`) |
|
|
139
140
|
|
|
140
141
|
#### Available CSS Parts for Styling:
|
|
141
142
|
|
|
@@ -184,12 +185,13 @@ A persistent, docked widget that floats in the corner and launches the same voic
|
|
|
184
185
|
|
|
185
186
|
#### Available Attributes:
|
|
186
187
|
|
|
187
|
-
| Attribute
|
|
188
|
-
|
|
|
189
|
-
| `agent-id` (required)
|
|
190
|
-
| `label-text`
|
|
191
|
-
| `button-start-text`
|
|
192
|
-
| `button-
|
|
188
|
+
| Attribute | Type | Description |
|
|
189
|
+
| ------------------------ | ------ | -------------------------------------------------------- |
|
|
190
|
+
| `agent-id` (required) | string | Agent ID for Twilio calls |
|
|
191
|
+
| `label-text` | string | Label above the button (default: `Need a help?`) |
|
|
192
|
+
| `button-start-text` | string | Start button text (default: `Start Call with ai`) |
|
|
193
|
+
| `button-connecting-text` | string | Custom connecting button text (default: `Connecting...`) |
|
|
194
|
+
| `button-end-text` | string | End button text (default: `End call`) |
|
|
193
195
|
|
|
194
196
|
#### Available CSS Parts for Styling:
|
|
195
197
|
|