@sdflc/backend-helpers 1.0.102 → 1.0.104

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.
@@ -310,7 +310,10 @@ class BaseGateway {
310
310
  }
311
311
  const items = await query;
312
312
  const result = shouldUseCache ? await this.getMany(items.map((row) => row.id)) : items;
313
- return result.map((item) => this.transformOnOut(item));
313
+ console.log('=== list.result', result);
314
+ const trasnformed = result.map((item) => this.transformOnOut(item));
315
+ console.log('=== list.trasnformed', trasnformed);
316
+ return result;
314
317
  }
315
318
  async create(args) {
316
319
  const objects = (0, lodash_1.castArray)(args);
@@ -304,7 +304,10 @@ class BaseGateway {
304
304
  }
305
305
  const items = await query;
306
306
  const result = shouldUseCache ? await this.getMany(items.map((row) => row.id)) : items;
307
- return result.map((item) => this.transformOnOut(item));
307
+ console.log('=== list.result', result);
308
+ const trasnformed = result.map((item) => this.transformOnOut(item));
309
+ console.log('=== list.trasnformed', trasnformed);
310
+ return result;
308
311
  }
309
312
  async create(args) {
310
313
  const objects = castArray(args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdflc/backend-helpers",
3
- "version": "1.0.102",
3
+ "version": "1.0.104",
4
4
  "description": "Set of helper functions and classes to simplify building backend apps within @sdflc ecosystem",
5
5
  "type": "commonjs",
6
6
  "exports": {