@hivegpt/hiveai-angular 0.0.275 → 0.0.276
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/bundles/hivegpt-hiveai-angular.umd.js +4 -6
- package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
- package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +4 -2
- package/esm2015/lib/components/socket-service.service.js +2 -6
- package/fesm2015/hivegpt-hiveai-angular.js +4 -6
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
- package/lib/components/socket-service.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -628,11 +628,7 @@
|
|
|
628
628
|
var commonNotification = 'commonNotification';
|
|
629
629
|
var groupId = "Hive_AI_Notifs_" + botId + "_" + conversation_id;
|
|
630
630
|
// Remove any pre-existing listeners for commonNotification
|
|
631
|
-
this.notificationSocket.removeAllListeners(commonNotification);
|
|
632
|
-
// Leave the existing group to ensure no previous socket data remains
|
|
633
|
-
this.notificationSocket.emit('leaveGroup', { groupId: groupId });
|
|
634
|
-
console.log('Registering user-specific Hive socket with botId:', botId);
|
|
635
|
-
console.log('and conversation_id:', conversation_id);
|
|
631
|
+
// this.notificationSocket.removeAllListeners(commonNotification);
|
|
636
632
|
// Join the group again with updated botId and conversation_id
|
|
637
633
|
this.notificationSocket.emit('joinData', { groupId: groupId });
|
|
638
634
|
// Re-register for common notifications
|
|
@@ -1837,7 +1833,9 @@
|
|
|
1837
1833
|
return rxjs.of(res);
|
|
1838
1834
|
}), operators.catchError(function (error) {
|
|
1839
1835
|
console.error('Error fetching chatbot config DJ: ', error);
|
|
1840
|
-
|
|
1836
|
+
_this.isDocInEditMode = false;
|
|
1837
|
+
_this.isContentLoaded = true;
|
|
1838
|
+
if ((error === null || error === void 0 ? void 0 : error.status) == 404) {
|
|
1841
1839
|
console.log('dash');
|
|
1842
1840
|
_this.isDocInEditMode = false;
|
|
1843
1841
|
_this.isContentLoaded = true;
|