@fctc/widget-logic 4.6.3 → 4.6.5

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/dist/hooks.js CHANGED
@@ -159,6 +159,9 @@ var useCallAction = () => {
159
159
  ...env?.context,
160
160
  ...context
161
161
  };
162
+ if (!menuContext?.uid) {
163
+ return void 0;
164
+ }
162
165
  const loadRes = await queryLoadAction.mutateAsync({
163
166
  idAction: aid,
164
167
  context: menuContext,
package/dist/hooks.mjs CHANGED
@@ -139,6 +139,9 @@ var useCallAction = () => {
139
139
  ...env?.context,
140
140
  ...context
141
141
  };
142
+ if (!menuContext?.uid) {
143
+ return void 0;
144
+ }
142
145
  const loadRes = await queryLoadAction.mutateAsync({
143
146
  idAction: aid,
144
147
  context: menuContext,
package/dist/index.js CHANGED
@@ -4209,6 +4209,9 @@ var useCallAction = () => {
4209
4209
  ...env?.context,
4210
4210
  ...context
4211
4211
  };
4212
+ if (!menuContext?.uid) {
4213
+ return void 0;
4214
+ }
4212
4215
  const loadRes = await queryLoadAction.mutateAsync({
4213
4216
  idAction: aid,
4214
4217
  context: menuContext,
package/dist/index.mjs CHANGED
@@ -4298,6 +4298,9 @@ var useCallAction = () => {
4298
4298
  ...env?.context,
4299
4299
  ...context
4300
4300
  };
4301
+ if (!menuContext?.uid) {
4302
+ return void 0;
4303
+ }
4301
4304
  const loadRes = await queryLoadAction.mutateAsync({
4302
4305
  idAction: aid,
4303
4306
  context: menuContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/widget-logic",
3
- "version": "4.6.3",
3
+ "version": "4.6.5",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -74,7 +74,7 @@
74
74
  "test": "jest"
75
75
  },
76
76
  "dependencies": {
77
- "@fctc/interface-logic": "^4.0.2",
77
+ "@fctc/interface-logic": "^4.0.3",
78
78
  "@headlessui/react": "^2.2.6",
79
79
  "@tanstack/react-query": "^5.84.0",
80
80
  "i18next": "^25.3.2",