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.
@@ -32137,13 +32137,9 @@
32137
32137
  _this.environment = _moduleConfigService.getConfig().environment;
32138
32138
  return _this;
32139
32139
  }
32140
- UserOnlineDetailsService.prototype.sendHeartBeat = function (currentPath) {
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(top.location.href).then(function (rs) {
33737
+ _this._userOnlineDetailsService.sendHeartBeat().then(function (rs) {
33742
33738
  if (heartBeat.debug) {
33743
- console.log('heartbeat:', new Date(), top.location.href, rs);
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(), top.location.href, err);
33743
+ console.error('heartbeat:', new Date(), null, err);
33748
33744
  }
33749
33745
  });
33750
33746
  }, heartBeat.interval * 1000);