@senior-gestao-empresarial/angular-components 7.15.0-f6298d62-c7ef-4bc3-a45a-94a5cfd6902e → 7.16.0-d01f48ea-688f-4b39-a69c-784ec06abbf5

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.
@@ -8646,6 +8646,16 @@
8646
8646
  };
8647
8647
  WebsocketService.prototype.handleOnWebSocketClose = function (data) {
8648
8648
  var _a, _b;
8649
+ if ((data === null || data === void 0 ? void 0 : data.reason) === '') {
8650
+ this.lostConnection = true;
8651
+ this.handleError('Failed to send message to ExecutorSubscribableChannel', new stompjs.FrameImpl({
8652
+ command: data.type,
8653
+ headers: {
8654
+ message: data.reason
8655
+ }
8656
+ }));
8657
+ return;
8658
+ }
8649
8659
  if (((_a = data === null || data === void 0 ? void 0 : data.reason) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf("go away")) !== -1) {
8650
8660
  this.lostConnection = true;
8651
8661
  this.handleError('AuthenticationError', new stompjs.FrameImpl({