@unchainedshop/core 4.8.20 → 4.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.
@@ -12,7 +12,7 @@ export async function loadFilterOptionsService(filter, params) {
12
12
  }, { modules: this });
13
13
  const filteredProductIdSet = productIdSet.intersection(filterOptionProductIds);
14
14
  const normalizedValues = values && this.filters.parse(filter, values, [value]);
15
- const isSelected = normalizedValues && normalizedValues.indexOf(value) !== -1;
15
+ const isSelected = Boolean(normalizedValues && normalizedValues.indexOf(value) !== -1);
16
16
  if (!filteredProductIdSet.size && !isSelected) {
17
17
  return null;
18
18
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unchainedshop/core",
3
3
  "description": "Core orchestration package for the Unchained Engine with business services and directors",
4
- "version": "4.8.20",
4
+ "version": "4.8.22",
5
5
  "main": "lib/core-index.js",
6
6
  "types": "lib/core-index.d.ts",
7
7
  "type": "module",
@@ -52,9 +52,13 @@
52
52
  "@unchainedshop/core-users": "^4.8.12",
53
53
  "@unchainedshop/core-warehousing": "^4.8.12",
54
54
  "@unchainedshop/core-worker": "^4.8.12",
55
+ "@unchainedshop/events": "^4.8.12",
56
+ "@unchainedshop/file-upload": "^4.8.12",
55
57
  "@unchainedshop/logger": "^4.8.12",
58
+ "@unchainedshop/mongodb": "^4.8.12",
56
59
  "@unchainedshop/utils": "^4.8.12",
57
- "minipass-json-stream": "^1.0.2"
60
+ "minipass-json-stream": "^1.0.2",
61
+ "zod": "^4.2.0"
58
62
  },
59
63
  "devDependencies": {
60
64
  "@types/node": "^26.2.0",