@hivegpt/hiveai-angular 0.0.159 → 0.0.161
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 +5 -2
- 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/NotificationSocket.js +6 -2
- package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +2 -2
- package/fesm2015/hivegpt-hiveai-angular.js +5 -2
- package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
- package/hivegpt-hiveai-angular.metadata.json +1 -1
- package/lib/components/NotificationSocket.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -568,8 +568,11 @@
|
|
|
568
568
|
}
|
|
569
569
|
return NotificationSocket;
|
|
570
570
|
}(ngxSocketIo.Socket));
|
|
571
|
+
NotificationSocket.ɵprov = i0.ɵɵdefineInjectable({ factory: function NotificationSocket_Factory() { return new NotificationSocket(); }, token: NotificationSocket, providedIn: "root" });
|
|
571
572
|
NotificationSocket.decorators = [
|
|
572
|
-
{ type: i0.Injectable
|
|
573
|
+
{ type: i0.Injectable, args: [{
|
|
574
|
+
providedIn: 'root' // This ensures the service is available across the application
|
|
575
|
+
},] }
|
|
573
576
|
];
|
|
574
577
|
NotificationSocket.ctorParameters = function () { return []; };
|
|
575
578
|
var socketConfig = {
|
|
@@ -774,7 +777,7 @@
|
|
|
774
777
|
});
|
|
775
778
|
this.fetchAgents();
|
|
776
779
|
this.cdr.markForCheck();
|
|
777
|
-
this.
|
|
780
|
+
this.initializeSocket();
|
|
778
781
|
setTimeout(function () {
|
|
779
782
|
_this.listenSockets();
|
|
780
783
|
}, 200);
|