@sdflc/backend-helpers 1.0.40 → 1.0.41

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.
@@ -537,7 +537,7 @@ var BaseGateway = /** @class */ (function () {
537
537
  case 6:
538
538
  if (!(idx < len)) return [3 /*break*/, 9];
539
539
  return [4 /*yield*/, this.getBuilder()
540
- .insert((0, lodash_1.castArray)(params))
540
+ .insert(chunks[idx])
541
541
  .returning(this.config.returnFields)
542
542
  .onConflict(this.config.setFields || this.getIdField())
543
543
  .merge((0, lodash_1.omit)(fields, skipFields))];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdflc/backend-helpers",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Set of helper functions and classes to simplify building backend apps within @sdflc ecosystem",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",