@evelan/jexity-widget 0.28.1 → 0.29.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 +1 -0
- package/dist/index.mjs +1833 -1818
- package/dist/index.mjs.map +1 -1
- package/dist/loader.js +2 -2
- package/dist/loader.js.map +1 -1
- package/dist/react.mjs +1854 -1830
- package/dist/react.mjs.map +1 -1
- package/dist/types/entries/react.d.ts +2 -0
- package/dist/types/entries/react.d.ts.map +1 -1
- package/dist/types/features/chat/components/ChatScreen.d.ts.map +1 -1
- package/dist/types/module/shell/mount.d.ts.map +1 -1
- package/dist/types/module/shell/shell.state.d.ts +2 -0
- package/dist/types/module/shell/shell.state.d.ts.map +1 -1
- package/dist/types/module/shell/widget-instance.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/widget.js +28 -28
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -118,6 +118,7 @@ const chat = JexityChat(options)
|
|
|
118
118
|
chat.open() // Open the chat window
|
|
119
119
|
chat.close() // Close the chat window
|
|
120
120
|
chat.toggle() // Toggle open/closed
|
|
121
|
+
chat.ask("How do I crawl?") // Open the chat and send this question
|
|
121
122
|
chat.shutdown() // Remove widget from DOM
|
|
122
123
|
chat.isOpen // readonly boolean — current open state
|
|
123
124
|
chat.subscribe(cb) // Subscribe to open/close changes
|