tnx-shared 5.3.92 → 5.3.93
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/tnx-shared.umd.js +5 -9
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/components/common-app-component/common-app-component.js +4 -4
- package/esm2015/services/useronlinedetails.service.js +3 -7
- package/fesm2015/tnx-shared.js +5 -9
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/useronlinedetails.service.d.ts +1 -1
- package/services/useronlinedetails.service.d.ts.map +1 -1
|
@@ -32137,13 +32137,9 @@
|
|
|
32137
32137
|
_this.environment = _moduleConfigService.getConfig().environment;
|
|
32138
32138
|
return _this;
|
|
32139
32139
|
}
|
|
32140
|
-
UserOnlineDetailsService.prototype.sendHeartBeat = function (
|
|
32140
|
+
UserOnlineDetailsService.prototype.sendHeartBeat = function () {
|
|
32141
32141
|
var api = this.serviceUri + "/SendHeartBeat";
|
|
32142
|
-
return this.defaultPost(api, {
|
|
32143
|
-
userName: this._userService.getCurrentUser().userName,
|
|
32144
|
-
fullName: this._userService.getCurrentUser().fullName,
|
|
32145
|
-
currentPath: currentPath
|
|
32146
|
-
});
|
|
32142
|
+
return this.defaultPost(api, {});
|
|
32147
32143
|
};
|
|
32148
32144
|
UserOnlineDetailsService.prototype.isOnline = function (lastHeartBeat) {
|
|
32149
32145
|
var heartBeat = this.getHeartBeatSetting();
|
|
@@ -33738,13 +33734,13 @@
|
|
|
33738
33734
|
var _this = this;
|
|
33739
33735
|
var heartBeat = this._userOnlineDetailsService.getHeartBeatSetting();
|
|
33740
33736
|
setInterval(function () {
|
|
33741
|
-
_this._userOnlineDetailsService.sendHeartBeat(
|
|
33737
|
+
_this._userOnlineDetailsService.sendHeartBeat().then(function (rs) {
|
|
33742
33738
|
if (heartBeat.debug) {
|
|
33743
|
-
console.log('heartbeat:', new Date(),
|
|
33739
|
+
console.log('heartbeat:', new Date(), null, rs);
|
|
33744
33740
|
}
|
|
33745
33741
|
}).catch(function (err) {
|
|
33746
33742
|
if (heartBeat.debug) {
|
|
33747
|
-
console.error('heartbeat:', new Date(),
|
|
33743
|
+
console.error('heartbeat:', new Date(), null, err);
|
|
33748
33744
|
}
|
|
33749
33745
|
});
|
|
33750
33746
|
}, heartBeat.interval * 1000);
|