@trackunit/react-core-contexts-test 1.12.12 → 1.12.14

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.cjs2.js CHANGED
@@ -14341,16 +14341,16 @@ const useDebugger = (propsToWatch, id, dontLogReRender) => {
14341
14341
  const result = JSON.parse(safeStringify(changedProps[changedProp]));
14342
14342
  const result0 = result[0];
14343
14343
  const result1 = result[1];
14344
- result0 &&
14345
- typeof result0 === "object" &&
14344
+ if (result0 && typeof result0 === "object") {
14346
14345
  sharedUtils.objectKeys(result0).forEach(prop => {
14347
14346
  result0[prop] = typeof result0[prop] === "object" ? JSON.stringify(result0[prop]) : result0[prop];
14348
14347
  });
14349
- result1 &&
14350
- typeof result1 === "object" &&
14348
+ }
14349
+ if (result1 && typeof result1 === "object") {
14351
14350
  sharedUtils.objectKeys(result1).forEach(prop => {
14352
14351
  result1[prop] = typeof result1[prop] === "object" ? JSON.stringify(result1[prop]) : result1[prop];
14353
14352
  });
14353
+ }
14354
14354
  // eslint-disable-next-line no-console
14355
14355
  console.table([result0, result1]);
14356
14356
  });
package/index.esm2.js CHANGED
@@ -14319,16 +14319,16 @@ const useDebugger = (propsToWatch, id, dontLogReRender) => {
14319
14319
  const result = JSON.parse(safeStringify(changedProps[changedProp]));
14320
14320
  const result0 = result[0];
14321
14321
  const result1 = result[1];
14322
- result0 &&
14323
- typeof result0 === "object" &&
14322
+ if (result0 && typeof result0 === "object") {
14324
14323
  objectKeys(result0).forEach(prop => {
14325
14324
  result0[prop] = typeof result0[prop] === "object" ? JSON.stringify(result0[prop]) : result0[prop];
14326
14325
  });
14327
- result1 &&
14328
- typeof result1 === "object" &&
14326
+ }
14327
+ if (result1 && typeof result1 === "object") {
14329
14328
  objectKeys(result1).forEach(prop => {
14330
14329
  result1[prop] = typeof result1[prop] === "object" ? JSON.stringify(result1[prop]) : result1[prop];
14331
14330
  });
14331
+ }
14332
14332
  // eslint-disable-next-line no-console
14333
14333
  console.table([result0, result1]);
14334
14334
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "1.12.12",
3
+ "version": "1.12.14",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -10,11 +10,11 @@
10
10
  "@apollo/client": "3.13.8",
11
11
  "react": "19.0.0",
12
12
  "@tanstack/react-router": "1.114.29",
13
- "@trackunit/shared-utils": "1.13.31",
13
+ "@trackunit/shared-utils": "1.13.32",
14
14
  "graphql": "^16.10.0",
15
15
  "@tanstack/router-core": "1.114.29",
16
- "@trackunit/iris-app-runtime-core-api": "1.12.12",
17
- "@trackunit/react-core-contexts-api": "1.13.12",
16
+ "@trackunit/iris-app-runtime-core-api": "1.12.13",
17
+ "@trackunit/react-core-contexts-api": "1.13.13",
18
18
  "es-toolkit": "^1.39.10"
19
19
  },
20
20
  "module": "./index.esm.js",