@senior-gestao-empresarial/angular-components 6.12.0-29fe646c-2d98-4822-8690-597195a76ad7 → 6.12.0-67d9099d-c888-4b61-a14e-4c7c373707d6

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.
@@ -7263,7 +7263,7 @@ var UserInformationService = /** @class */ (function () {
7263
7263
  };
7264
7264
  UserInformationService.prototype.getWebSocketUrl = function () {
7265
7265
  var baseUrl = get(UserInformationService_1.BASE_URL_COOKIE_KEY);
7266
- if (!baseUrl.endsWith('/')) {
7266
+ if (baseUrl && !baseUrl.endsWith('/')) {
7267
7267
  baseUrl += '/';
7268
7268
  }
7269
7269
  return baseUrl + 'websocket';
@@ -7438,7 +7438,6 @@ var WebsocketService = /** @class */ (function () {
7438
7438
  this.primitiveManagers.clear();
7439
7439
  this.connected$.next(false);
7440
7440
  if (!this.stompClient) return [3 /*break*/, 4];
7441
- this.stompClient.forceDisconnect();
7442
7441
  return [4 /*yield*/, this.stompClient.deactivate()];
7443
7442
  case 3:
7444
7443
  _d.sent();