@brggroup/share-lib 0.0.94 → 0.0.95
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.
|
@@ -948,7 +948,7 @@ class SessionManagerService {
|
|
|
948
948
|
LOGOUT_EVENT = 'APP_LOGOUT_EVENT';
|
|
949
949
|
ACTIVITY_EVENT = 'APP_ACTIVITY_EVENT';
|
|
950
950
|
TOKEN_REFRESH_EVENT = 'APP_TOKEN_REFRESH_EVENT';
|
|
951
|
-
tabId =
|
|
951
|
+
tabId = Date.now() + Math.random();
|
|
952
952
|
isLeader = false;
|
|
953
953
|
refreshLock = false;
|
|
954
954
|
channel = null;
|
|
@@ -1023,7 +1023,7 @@ class SessionManagerService {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
becomeLeader() {
|
|
1025
1025
|
this.isLeader = true;
|
|
1026
|
-
localStorage.setItem(this.LEADER_KEY, this.tabId);
|
|
1026
|
+
localStorage.setItem(this.LEADER_KEY, '' + this.tabId);
|
|
1027
1027
|
this.startHeartbeat();
|
|
1028
1028
|
this.scheduleRefresh();
|
|
1029
1029
|
}
|
|
@@ -6087,7 +6087,6 @@ class VscService extends HTTPService {
|
|
|
6087
6087
|
this.checkVersion();
|
|
6088
6088
|
}
|
|
6089
6089
|
checkVersion(all = false) {
|
|
6090
|
-
console.log('Check version');
|
|
6091
6090
|
this.checkFrontendVersion();
|
|
6092
6091
|
if (all) {
|
|
6093
6092
|
this.checkBackendVersion();
|
|
@@ -6099,7 +6098,6 @@ class VscService extends HTTPService {
|
|
|
6099
6098
|
if (this.isShowingPopup) {
|
|
6100
6099
|
return;
|
|
6101
6100
|
}
|
|
6102
|
-
console.log('Check version');
|
|
6103
6101
|
console.log('current version: ', VscService.feClientVersion);
|
|
6104
6102
|
this.get(AppGlobals.versionCheck + '?t=' + new Date().getTime()).then(async (response) => {
|
|
6105
6103
|
VscService.feServerVersion = response.version;
|