@punks/backend-entity-manager 0.0.443 → 0.0.444

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/cjs/index.js CHANGED
@@ -257,9 +257,9 @@ class EntitySerializer {
257
257
  }
258
258
  this.logger.info(`Entities import -> completed (${items.length} items)`);
259
259
  }
260
- async parse(data, format) {
260
+ async parse(data, format, payload) {
261
261
  const context = await this.getContext();
262
- const definition = await this.getDefinition(context);
262
+ const definition = await this.getDefinition(context, payload);
263
263
  switch (format) {
264
264
  case exports.EntitySerializationFormat.Csv:
265
265
  return this.parseCsv(data, definition);