@punks/backend-entity-manager 0.0.426 → 0.0.427

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/esm/index.js CHANGED
@@ -266,7 +266,9 @@ class EntitySerializer {
266
266
  });
267
267
  return Array.isArray(records)
268
268
  ? records.map((x, i) => this.convertSheetRecord(x, definition, i))
269
- : Object.values(records).flatMap((x, i) => this.convertSheetRecord(x, definition, i));
269
+ : Object.values(records)
270
+ .flat()
271
+ .map((x, i) => this.convertSheetRecord(x, definition, i));
270
272
  }
271
273
  convertSheetRecord(record, definition, rowIndex) {
272
274
  console.log("record", record);