@hivegpt/hiveai-angular 0.0.155 → 0.0.157

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.
@@ -508,14 +508,14 @@
508
508
  BASE_URL: 'https://agent-api.hivegpt.ai',
509
509
  AGENTS_API: 'https://hive-ai.social27.com/api',
510
510
  API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8',
511
- SocketUrl: 'notif-v2-api.social27.com/api/notifications'
511
+ SocketUrl: 'https://notif-v2-api.social27.com/api/notifications'
512
512
  };
513
513
  var dev_environment = {
514
514
  USERS_API: 'https://pre-user.social27.com/api',
515
515
  BASE_URL: 'https://agent-api.hivegpt.ai',
516
516
  AGENTS_API: 'https://hive-ai.social27.com/api',
517
517
  API_KEY: 'b621eb3f-0bd2-41d5-a48c-a8f8ab7d38f8',
518
- SocketUrl: 'notif-v2-api.social27.com/api/notifications'
518
+ SocketUrl: 'https://notif-v2-api.social27.com/api/notifications'
519
519
  };
520
520
 
521
521
  var ConversationService = /** @class */ (function () {
@@ -560,7 +560,7 @@
560
560
  SocketService.prototype.connect = function () {
561
561
  var _this = this;
562
562
  var url = prod_environment;
563
- this.socket$ = webSocket.webSocket('ws://' + url.SocketUrl);
563
+ this.socket$ = webSocket.webSocket(url.SocketUrl);
564
564
  this.socket$.subscribe(function (message) { return _this.onMessage(message); }, function (err) { return console.error('WebSocket error', err); }, function () { return console.warn('WebSocket closed'); });
565
565
  };
566
566
  SocketService.prototype.onMessage = function (message) {