@flusys/nestjs-shared 4.1.0 → 4.1.1

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.
@@ -451,7 +451,7 @@ let ApiService = class ApiService {
451
451
  return Object.assign({}, entity);
452
452
  }
453
453
  convertEntityListToResponseListDto(entities, _isRaw) {
454
- return entities.map((entity)=>Object.assign({}, entity));
454
+ return entities.map((entity)=>this.convertEntityToResponseDto(entity, _isRaw));
455
455
  }
456
456
  async getEntityClass() {
457
457
  return await this.repository.create();
@@ -441,7 +441,7 @@ import { DeleteDto } from '../dtos';
441
441
  return Object.assign({}, entity);
442
442
  }
443
443
  convertEntityListToResponseListDto(entities, _isRaw) {
444
- return entities.map((entity)=>Object.assign({}, entity));
444
+ return entities.map((entity)=>this.convertEntityToResponseDto(entity, _isRaw));
445
445
  }
446
446
  async getEntityClass() {
447
447
  return await this.repository.create();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flusys/nestjs-shared",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Common shared utilities for Flusys NestJS applications",
5
5
  "main": "cjs/index.js",
6
6
  "module": "fesm/index.js",
@@ -112,6 +112,6 @@
112
112
  "rxjs": "^7.8.0"
113
113
  },
114
114
  "dependencies": {
115
- "@flusys/nestjs-core": "4.1.0"
115
+ "@flusys/nestjs-core": "4.1.1"
116
116
  }
117
117
  }