@trackunit/react-core-contexts-test 1.18.4 → 1.18.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/index2.cjs.js CHANGED
@@ -14410,7 +14410,7 @@ const useDebugger = (propsToWatch, id, dontLogReRender) => {
14410
14410
  React.useEffect(() => {
14411
14411
  const changedProps = Object.entries(propsToWatch || {}).reduce((result, [key, value]) => {
14412
14412
  if (prevPropsRef.current && prevPropsRef.current[key] !== value) {
14413
- result[key + ""] = [prevPropsRef.current[key], value];
14413
+ result[`${key}`] = [prevPropsRef.current[key], value];
14414
14414
  }
14415
14415
  return result;
14416
14416
  }, {});
@@ -14559,16 +14559,8 @@ const queryFor = (document, variables, data, error, maxUsageCount = 1) => {
14559
14559
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14560
14560
  const name = document.definitions[0].name.value;
14561
14561
  // eslint-disable-next-line no-console
14562
- console.log("Found Response for: " +
14563
- name +
14564
- " for variables: " +
14565
- JSON.stringify(variables, null, 2) +
14566
- " Returning: " +
14567
- "{ data: " +
14568
- JSON.stringify(data, null, 2) +
14569
- ", error: " +
14570
- JSON.stringify(error, null, 2) +
14571
- "}");
14562
+ console.log(`Found Response for: ${name} for variables: ${JSON.stringify(variables, null, 2)} Returning: ` +
14563
+ `{ data: ${JSON.stringify(data, null, 2)}, error: ${JSON.stringify(error, null, 2)}}`);
14572
14564
  }
14573
14565
  return {
14574
14566
  data,
@@ -14602,16 +14594,8 @@ const queryForHook = (_hookFn, document, variables, data, error) => {
14602
14594
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14603
14595
  const name = document.definitions[0].name.value;
14604
14596
  // eslint-disable-next-line no-console
14605
- console.log("Found Response for: " +
14606
- name +
14607
- " for variables: " +
14608
- JSON.stringify(variables, null, 2) +
14609
- " Returning: " +
14610
- "{ data: " +
14611
- JSON.stringify(data, null, 2) +
14612
- ", error: " +
14613
- JSON.stringify(error, null, 2) +
14614
- "}");
14597
+ console.log(`Found Response for: ${name} for variables: ${JSON.stringify(variables, null, 2)} Returning: ` +
14598
+ `{ data: ${JSON.stringify(data, null, 2)}, error: ${JSON.stringify(error, null, 2)}}`);
14615
14599
  }
14616
14600
  return {
14617
14601
  data,
package/index2.esm.js CHANGED
@@ -14388,7 +14388,7 @@ const useDebugger = (propsToWatch, id, dontLogReRender) => {
14388
14388
  useEffect(() => {
14389
14389
  const changedProps = Object.entries(propsToWatch || {}).reduce((result, [key, value]) => {
14390
14390
  if (prevPropsRef.current && prevPropsRef.current[key] !== value) {
14391
- result[key + ""] = [prevPropsRef.current[key], value];
14391
+ result[`${key}`] = [prevPropsRef.current[key], value];
14392
14392
  }
14393
14393
  return result;
14394
14394
  }, {});
@@ -14537,16 +14537,8 @@ const queryFor = (document, variables, data, error, maxUsageCount = 1) => {
14537
14537
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14538
14538
  const name = document.definitions[0].name.value;
14539
14539
  // eslint-disable-next-line no-console
14540
- console.log("Found Response for: " +
14541
- name +
14542
- " for variables: " +
14543
- JSON.stringify(variables, null, 2) +
14544
- " Returning: " +
14545
- "{ data: " +
14546
- JSON.stringify(data, null, 2) +
14547
- ", error: " +
14548
- JSON.stringify(error, null, 2) +
14549
- "}");
14540
+ console.log(`Found Response for: ${name} for variables: ${JSON.stringify(variables, null, 2)} Returning: ` +
14541
+ `{ data: ${JSON.stringify(data, null, 2)}, error: ${JSON.stringify(error, null, 2)}}`);
14550
14542
  }
14551
14543
  return {
14552
14544
  data,
@@ -14580,16 +14572,8 @@ const queryForHook = (_hookFn, document, variables, data, error) => {
14580
14572
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14581
14573
  const name = document.definitions[0].name.value;
14582
14574
  // eslint-disable-next-line no-console
14583
- console.log("Found Response for: " +
14584
- name +
14585
- " for variables: " +
14586
- JSON.stringify(variables, null, 2) +
14587
- " Returning: " +
14588
- "{ data: " +
14589
- JSON.stringify(data, null, 2) +
14590
- ", error: " +
14591
- JSON.stringify(error, null, 2) +
14592
- "}");
14575
+ console.log(`Found Response for: ${name} for variables: ${JSON.stringify(variables, null, 2)} Returning: ` +
14576
+ `{ data: ${JSON.stringify(data, null, 2)}, error: ${JSON.stringify(error, null, 2)}}`);
14593
14577
  }
14594
14578
  return {
14595
14579
  data,
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "1.18.4",
3
+ "version": "1.18.6",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
7
7
  "node": ">=24.x"
8
8
  },
9
9
  "dependencies": {
10
- "@trackunit/shared-utils": "1.16.4",
10
+ "@trackunit/shared-utils": "1.16.6",
11
11
  "@tanstack/router-core": "1.114.29",
12
- "@trackunit/iris-app-runtime-core-api": "1.17.4",
13
- "@trackunit/react-core-contexts-api": "1.18.4",
12
+ "@trackunit/iris-app-runtime-core-api": "1.17.6",
13
+ "@trackunit/react-core-contexts-api": "1.18.6",
14
14
  "es-toolkit": "^1.39.10"
15
15
  },
16
16
  "peerDependencies": {