@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.
@@ -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
- if (error.HttpErrorResponse.status == 404) {
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;