@sdflc/backend-helpers 1.0.126 → 1.0.127

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.
@@ -702,7 +702,7 @@ class BaseGateway {
702
702
  const ids = [];
703
703
  for (const filter of arr) {
704
704
  if (filter[idName]) {
705
- ids.push(filter[idName]);
705
+ ids.push(...(0, lodash_1.castArray)(filter[idName]));
706
706
  }
707
707
  }
708
708
  if (ids.length > 0) {
@@ -696,7 +696,7 @@ class BaseGateway {
696
696
  const ids = [];
697
697
  for (const filter of arr) {
698
698
  if (filter[idName]) {
699
- ids.push(filter[idName]);
699
+ ids.push(...castArray(filter[idName]));
700
700
  }
701
701
  }
702
702
  if (ids.length > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdflc/backend-helpers",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "Set of helper functions and classes to simplify building backend apps within @sdflc ecosystem",
5
5
  "type": "commonjs",
6
6
  "exports": {