@websolutespa/bom-core 1.8.21 → 1.8.22

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 1.8.22
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixing: JsonService whereItem_ unresolved relations
8
+
3
9
  ## 1.8.21
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1392,7 +1392,11 @@ function getValue(item, key) {
1392
1392
  const keys = key.split(".");
1393
1393
  const value = keys.reduce((p, c) => {
1394
1394
  if (isObject(p)) {
1395
- return p[c];
1395
+ const v = p[c];
1396
+ if (isUnresolvedRelation(v)) {
1397
+ return v.value;
1398
+ }
1399
+ return v;
1396
1400
  } else {
1397
1401
  return void 0;
1398
1402
  }
package/dist/index.mjs CHANGED
@@ -1223,7 +1223,11 @@ function getValue(item, key) {
1223
1223
  const keys = key.split(".");
1224
1224
  const value = keys.reduce((p, c) => {
1225
1225
  if (isObject(p)) {
1226
- return p[c];
1226
+ const v = p[c];
1227
+ if (isUnresolvedRelation(v)) {
1228
+ return v.value;
1229
+ }
1230
+ return v;
1227
1231
  } else {
1228
1232
  return void 0;
1229
1233
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",