@senior-gestao-empresarial/angular-components 6.12.0-cdee7359-3bca-4813-b06f-c65cc860eea4 → 7.0.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.
- package/bundles/senior-gestao-empresarial-angular-components.umd.js +10 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.js.map +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js +1 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/websocket/websocket.service.js +12 -3
- package/esm5/components/websocket/websocket.service.js +12 -3
- package/fesm2015/senior-gestao-empresarial-angular-components.js +11 -2
- package/fesm2015/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-angular-components.js +11 -2
- package/fesm5/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -7644,7 +7644,6 @@
|
|
|
7644
7644
|
this.primitiveManagers.clear();
|
|
7645
7645
|
this.connected$.next(false);
|
|
7646
7646
|
if (!this.stompClient) return [3 /*break*/, 4];
|
|
7647
|
-
this.stompClient.forceDisconnect();
|
|
7648
7647
|
return [4 /*yield*/, this.stompClient.deactivate()];
|
|
7649
7648
|
case 3:
|
|
7650
7649
|
_d.sent();
|
|
@@ -7789,6 +7788,16 @@
|
|
|
7789
7788
|
this.disconnected$.next();
|
|
7790
7789
|
};
|
|
7791
7790
|
WebsocketService.prototype.handleOnWebSocketClose = function (data) {
|
|
7791
|
+
if (data.reason && data.reason.toLowerCase().indexOf("go away") !== -1) {
|
|
7792
|
+
this.lostConnection = true;
|
|
7793
|
+
this.handleError('AuthenticationError', new stompjs.FrameImpl({
|
|
7794
|
+
command: data.type,
|
|
7795
|
+
headers: {
|
|
7796
|
+
message: data.reason
|
|
7797
|
+
}
|
|
7798
|
+
}));
|
|
7799
|
+
return;
|
|
7800
|
+
}
|
|
7792
7801
|
if (data.wasClean) {
|
|
7793
7802
|
return;
|
|
7794
7803
|
}
|