@senior-gestao-empresarial/angular-components 6.12.0-cb91124b-ecdd-4d38-8aca-770d208b1882 → 6.12.0-cdee7359-3bca-4813-b06f-c65cc860eea4
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 +1 -10
- 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 +3 -12
- package/esm5/components/websocket/websocket.service.js +3 -12
- package/fesm2015/senior-gestao-empresarial-angular-components.js +2 -11
- package/fesm2015/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/fesm5/senior-gestao-empresarial-angular-components.js +2 -11
- package/fesm5/senior-gestao-empresarial-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -7644,6 +7644,7 @@
|
|
|
7644
7644
|
this.primitiveManagers.clear();
|
|
7645
7645
|
this.connected$.next(false);
|
|
7646
7646
|
if (!this.stompClient) return [3 /*break*/, 4];
|
|
7647
|
+
this.stompClient.forceDisconnect();
|
|
7647
7648
|
return [4 /*yield*/, this.stompClient.deactivate()];
|
|
7648
7649
|
case 3:
|
|
7649
7650
|
_d.sent();
|
|
@@ -7788,16 +7789,6 @@
|
|
|
7788
7789
|
this.disconnected$.next();
|
|
7789
7790
|
};
|
|
7790
7791
|
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
|
-
}
|
|
7801
7792
|
if (data.wasClean) {
|
|
7802
7793
|
return;
|
|
7803
7794
|
}
|