cevro-messenger-sdk 0.1.14 → 0.1.15
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 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +88 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/types/core/CevroMessenger.d.ts +5 -0
- package/dist/types/core/CevroMessenger.d.ts.map +1 -1
- package/dist/types/core/WebSocketClient.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/ui/ChatWindow.d.ts +8 -0
- package/dist/types/ui/ChatWindow.d.ts.map +1 -1
- package/dist/types/ui/MessageList.d.ts.map +1 -1
- package/dist/umd/cevro-messenger.min.js +1 -1
- package/dist/umd/cevro-messenger.min.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -197,6 +197,9 @@ Cevro('update', {
|
|
|
197
197
|
|
|
198
198
|
Cevro('showLauncher'); // Show the launcher button
|
|
199
199
|
Cevro('hideLauncher'); // Hide the launcher button
|
|
200
|
+
|
|
201
|
+
// Pre-fill the input without sending (user can edit before sending)
|
|
202
|
+
Cevro('setDraft', 'I have a question about order #123');
|
|
200
203
|
```
|
|
201
204
|
|
|
202
205
|
### Custom Launcher
|