node-consul-service 1.0.66 → 1.0.67
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 +0 -6
- package/dist/index.esm.js +0 -6
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19086,9 +19086,6 @@ 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);
|
|
19092
19089
|
// لو القيمة مش موجودة أصلاً، ما نعملش أي حاجة
|
|
19093
19090
|
if (!hasValueAtPath(item, field))
|
|
19094
19091
|
return;
|
|
@@ -19103,7 +19100,6 @@ function applyResolvedValues(item, field, cacheMap) {
|
|
|
19103
19100
|
}
|
|
19104
19101
|
else {
|
|
19105
19102
|
const id = normalizeId(value);
|
|
19106
|
-
console.log("🚀 ~ applyResolvedValues ~ id:", id);
|
|
19107
19103
|
if (cacheMap.has(id))
|
|
19108
19104
|
setValueByPath(item, field, cacheMap.get(id));
|
|
19109
19105
|
}
|
|
@@ -19111,9 +19107,7 @@ function applyResolvedValues(item, field, cacheMap) {
|
|
|
19111
19107
|
else if (Array.isArray(value)) {
|
|
19112
19108
|
setValueByPath(item, field, value.map((id) => {
|
|
19113
19109
|
var _a;
|
|
19114
|
-
console.log("🚀 ~ applyResolvedValues ~ id:", id);
|
|
19115
19110
|
const key = normalizeId(id);
|
|
19116
|
-
console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
|
|
19117
19111
|
return (_a = cacheMap.get(key)) !== null && _a !== void 0 ? _a : id;
|
|
19118
19112
|
}));
|
|
19119
19113
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -19084,9 +19084,6 @@ 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);
|
|
19090
19087
|
// لو القيمة مش موجودة أصلاً، ما نعملش أي حاجة
|
|
19091
19088
|
if (!hasValueAtPath(item, field))
|
|
19092
19089
|
return;
|
|
@@ -19101,7 +19098,6 @@ function applyResolvedValues(item, field, cacheMap) {
|
|
|
19101
19098
|
}
|
|
19102
19099
|
else {
|
|
19103
19100
|
const id = normalizeId(value);
|
|
19104
|
-
console.log("🚀 ~ applyResolvedValues ~ id:", id);
|
|
19105
19101
|
if (cacheMap.has(id))
|
|
19106
19102
|
setValueByPath(item, field, cacheMap.get(id));
|
|
19107
19103
|
}
|
|
@@ -19109,9 +19105,7 @@ function applyResolvedValues(item, field, cacheMap) {
|
|
|
19109
19105
|
else if (Array.isArray(value)) {
|
|
19110
19106
|
setValueByPath(item, field, value.map((id) => {
|
|
19111
19107
|
var _a;
|
|
19112
|
-
console.log("🚀 ~ applyResolvedValues ~ id:", id);
|
|
19113
19108
|
const key = normalizeId(id);
|
|
19114
|
-
console.log("🚀 ~ applyResolvedValues ~ cacheMap:", cacheMap);
|
|
19115
19109
|
return (_a = cacheMap.get(key)) !== null && _a !== void 0 ? _a : id;
|
|
19116
19110
|
}));
|
|
19117
19111
|
}
|