@nu-art/ts-focused-object-frontend 0.500.0 → 0.500.6

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/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './modules/ModuleFE_FocusedObject.js';
2
+ export * from './modules/module-pack.js';
package/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from './modules/ModuleFE_FocusedObject.js';
2
+ export * from './modules/module-pack.js';
@@ -97,6 +97,8 @@ let ModuleFE_FocusedObject_Class = (() => {
97
97
  }
98
98
  initWindowCloseListeners() {
99
99
  window.addEventListener('beforeunload', () => {
100
+ if (ModuleFE_Account.getLoggedStatus() !== LoggedStatus.LOGGED_IN)
101
+ return;
100
102
  void this.update({ focusedEntities: [] });
101
103
  });
102
104
  }
@@ -155,6 +157,8 @@ let ModuleFE_FocusedObject_Class = (() => {
155
157
  delete this.unfocusTimeout;
156
158
  };
157
159
  updateRTDB = () => {
160
+ if (ModuleFE_Account.getLoggedStatus() !== LoggedStatus.LOGGED_IN)
161
+ return;
158
162
  const focusedEntities = this.translateCurrentlyFocusedToFocusedEntities();
159
163
  this.update({ focusedEntities })
160
164
  .catch(e => {
@@ -1,3 +1,3 @@
1
1
  import { Module } from '@nu-art/ts-common';
2
2
  export declare const ModulePack_FocusedObjectFE: Module[];
3
- export declare const ModulePackFE_FocusedObject: Module<any, any, import("@nu-art/ts-common").Validator<any> | import("@nu-art/ts-common").TypeValidator<any>>[];
3
+ export declare const ModulePackFE_FocusedObject: Module<any>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/ts-focused-object-frontend",
3
- "version": "0.500.0",
3
+ "version": "0.500.6",
4
4
  "description": "ts-focused-object - Express & Typescript based backend framework Frontend",
5
5
  "keywords": [
6
6
  "TacB0sS",
@@ -31,18 +31,18 @@
31
31
  "build": "tsc"
32
32
  },
33
33
  "dependencies": {
34
- "@nu-art/ts-focused-object-shared": "0.500.0",
35
- "@nu-art/firebase-frontend": "0.500.0",
36
- "@nu-art/firebase-shared": "0.500.0",
37
- "@nu-art/ts-common": "0.500.0",
38
- "@nu-art/user-account-frontend": "0.500.0",
39
- "@nu-art/user-account-shared": "0.500.0",
34
+ "@nu-art/ts-focused-object-shared": "0.500.6",
35
+ "@nu-art/firebase-frontend": "0.500.6",
36
+ "@nu-art/firebase-shared": "0.500.6",
37
+ "@nu-art/ts-common": "0.500.6",
38
+ "@nu-art/user-account-frontend": "0.500.6",
39
+ "@nu-art/user-account-shared": "0.500.6",
40
40
  "firebase": "^11.9.0",
41
41
  "firebase-admin": "13.4.0",
42
42
  "firebase-functions": "6.3.2",
43
43
  "react": "^18.0.0",
44
- "@nu-art/http-client": "{{THUNDERSTORM_VERSION}}",
45
- "@nu-art/thunder-widgets": "{{THUNDERSTORM_VERSION}}"
44
+ "@nu-art/http-client": "0.500.6",
45
+ "@nu-art/thunder-widgets": "0.500.6"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/react": "^18.0.0",