@senior-gestao-empresarial/angular-components 7.16.0-d01f48ea-688f-4b39-a69c-784ec06abbf5 → 7.16.0

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.
@@ -8440,16 +8440,6 @@ var WebsocketService = /** @class */ (function () {
8440
8440
  };
8441
8441
  WebsocketService.prototype.handleOnWebSocketClose = function (data) {
8442
8442
  var _a, _b;
8443
- if ((data === null || data === void 0 ? void 0 : data.reason) === '') {
8444
- this.lostConnection = true;
8445
- this.handleError('Failed to send message to ExecutorSubscribableChannel', new FrameImpl({
8446
- command: data.type,
8447
- headers: {
8448
- message: data.reason
8449
- }
8450
- }));
8451
- return;
8452
- }
8453
8443
  if (((_a = data === null || data === void 0 ? void 0 : data.reason) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf("go away")) !== -1) {
8454
8444
  this.lostConnection = true;
8455
8445
  this.handleError('AuthenticationError', new FrameImpl({