@kodaris/krubble-app-components 1.0.63 → 1.0.64
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/dist/chatbot.d.ts.map +1 -1
- package/dist/chatbot.js +6 -0
- package/dist/chatbot.js.map +1 -1
- package/dist/krubble-app.bundled.js +6 -0
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js +1 -1
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +6 -0
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js +1 -1
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/krubble-app.umd.js
CHANGED
|
@@ -3341,6 +3341,12 @@
|
|
|
3341
3341
|
catch {
|
|
3342
3342
|
continue;
|
|
3343
3343
|
}
|
|
3344
|
+
// Dispatch a generic event for every SSE message so consumers can listen and react
|
|
3345
|
+
this.dispatchEvent(new CustomEvent('stream-event', {
|
|
3346
|
+
detail: data,
|
|
3347
|
+
bubbles: true,
|
|
3348
|
+
composed: true,
|
|
3349
|
+
}));
|
|
3344
3350
|
if (data.type === 'STATUS') {
|
|
3345
3351
|
if (data.message) {
|
|
3346
3352
|
this._statusText = String(data.message);
|