node-consul-service 1.0.64 → 1.0.66

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/index.cjs.js CHANGED
@@ -19086,6 +19086,9 @@ function setValueByPath(obj, path, value) {
19086
19086
  }
19087
19087
 
19088
19088
  function applyResolvedValues(item, field, cacheMap) {
19089
+ console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
19090
+ console.log("🚀 ~ applyResolvedValues ~ field:", field);
19091
+ console.log("🚀 ~ applyResolvedValues ~ item:", item);
19089
19092
  // لو القيمة مش موجودة أصلاً، ما نعملش أي حاجة
19090
19093
  if (!hasValueAtPath(item, field))
19091
19094
  return;
@@ -19110,6 +19113,7 @@ function applyResolvedValues(item, field, cacheMap) {
19110
19113
  var _a;
19111
19114
  console.log("🚀 ~ applyResolvedValues ~ id:", id);
19112
19115
  const key = normalizeId(id);
19116
+ console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
19113
19117
  return (_a = cacheMap.get(key)) !== null && _a !== void 0 ? _a : id;
19114
19118
  }));
19115
19119
  }
package/dist/index.esm.js CHANGED
@@ -19084,6 +19084,9 @@ function setValueByPath(obj, path, value) {
19084
19084
  }
19085
19085
 
19086
19086
  function applyResolvedValues(item, field, cacheMap) {
19087
+ console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
19088
+ console.log("🚀 ~ applyResolvedValues ~ field:", field);
19089
+ console.log("🚀 ~ applyResolvedValues ~ item:", item);
19087
19090
  // لو القيمة مش موجودة أصلاً، ما نعملش أي حاجة
19088
19091
  if (!hasValueAtPath(item, field))
19089
19092
  return;
@@ -19108,6 +19111,7 @@ function applyResolvedValues(item, field, cacheMap) {
19108
19111
  var _a;
19109
19112
  console.log("🚀 ~ applyResolvedValues ~ id:", id);
19110
19113
  const key = normalizeId(id);
19114
+ console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
19111
19115
  return (_a = cacheMap.get(key)) !== null && _a !== void 0 ? _a : id;
19112
19116
  }));
19113
19117
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-consul-service",
3
- "version": "1.0.64",
3
+ "version": "1.0.66",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",