@rsdk/core 4.0.0-next.3 → 4.0.0-next.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.0-next.5](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.4...v4.0.0-next.5) (2023-11-13)
7
+
8
+ ### Features
9
+
10
+ * **PFM-126:** reflection added ([ffaaa99](https://github.com/R-Vision/rsdk/commit/ffaaa996e0a81f98be46b0b73badb59f3e680eac))
11
+
12
+ ## [4.0.0-next.4](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.3...v4.0.0-next.4) (2023-11-12)
13
+
14
+ ### Bug Fixes
15
+
16
+ * some more peer dependencies ([3617dcb](https://github.com/R-Vision/rsdk/commit/3617dcbfdd08231e8f334ff35ac46eb99d810567))
17
+
6
18
  ## [4.0.0-next.3](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.2...v4.0.0-next.3) (2023-11-12)
7
19
 
8
20
  **Note:** Version bump only for package @rsdk/core
@@ -10,7 +10,9 @@ class PropertyException extends exceptions_1.PlatformException {
10
10
  });
11
11
  }
12
12
  static fromError(err, details) {
13
- return new PropertyException(`${details.preparedKey}: ${err.message}` || 'UNKNOWN ERROR', details, err);
13
+ return new PropertyException(err instanceof Error
14
+ ? `${details.preparedKey}: ${err.message}`
15
+ : 'UNKNOWN ERROR', details, err);
14
16
  }
15
17
  }
16
18
  exports.PropertyException = PropertyException;
@@ -1 +1 @@
1
- {"version":3,"file":"property.exception.js","sourceRoot":"","sources":["../../../src/config/exceptions/property.exception.ts"],"names":[],"mappings":";;;AAAA,iDAAqD;AAGrD,MAAa,iBAAkB,SAAQ,8BAAiB;IACtD,YACE,GAAW,EACX,OAAoE,EACpE,KAAe;QAEf,KAAK,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5B,OAAO;YACP,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAS,CACd,GAAQ,EACR,OAAoE;QAEpE,OAAO,IAAI,iBAAiB,CAC1B,GAAG,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,OAAO,EAAE,IAAI,eAAe,EAC3D,OAAO,EACP,GAAG,CACJ,CAAC;IACJ,CAAC;CACF;AAtBD,8CAsBC"}
1
+ {"version":3,"file":"property.exception.js","sourceRoot":"","sources":["../../../src/config/exceptions/property.exception.ts"],"names":[],"mappings":";;;AAAA,iDAAqD;AAGrD,MAAa,iBAAkB,SAAQ,8BAAiB;IACtD,YACE,GAAW,EACX,OAAoE,EACpE,KAAe;QAEf,KAAK,CAAC,iBAAiB,EAAE,GAAG,EAAE;YAC5B,OAAO;YACP,KAAK;SACN,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,SAAS,CACd,GAAQ,EACR,OAAoE;QAEpE,OAAO,IAAI,iBAAiB,CAC1B,GAAG,YAAY,KAAK;YAClB,CAAC,CAAC,GAAG,OAAO,CAAC,WAAW,KAAK,GAAG,CAAC,OAAO,EAAE;YAC1C,CAAC,CAAC,eAAe,EACnB,OAAO,EACP,GAAG,CACJ,CAAC;IACJ,CAAC;CACF;AAxBD,8CAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/core",
3
- "version": "4.0.0-next.3",
3
+ "version": "4.0.0-next.5",
4
4
  "description": "Nestjs based microservice chassis",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -28,21 +28,21 @@
28
28
  "prom-client": "^14.2.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@nestjs/common": "^10.1.3",
32
- "@nestjs/core": "^10.1.3",
33
- "@nestjs/microservices": "^10.1.3",
34
- "@rsdk/autodoc.protocol": "^4.0.0-next.3",
31
+ "@nestjs/common": "^10.0.0",
32
+ "@nestjs/core": "^10.0.0",
33
+ "@nestjs/microservices": "^10.0.0",
34
+ "@rsdk/autodoc.protocol": "^4.0.0-next.4",
35
35
  "@rsdk/common": "^4.0.0-next.3",
36
36
  "@rsdk/common.nestjs": "^4.0.0-next.3",
37
37
  "@rsdk/common.node": "^4.0.0-next.2",
38
38
  "@rsdk/decorators": "^4.0.0-next.3",
39
39
  "@rsdk/logging": "^4.0.0-next.3",
40
- "@rsdk/metadata": "^4.0.0-next.3",
41
- "@rsdk/nest-tools": "^4.0.0-next.2",
40
+ "@rsdk/metadata": "^4.0.0-next.4",
41
+ "@rsdk/nest-tools": "^4.0.0-next.4",
42
42
  "axios": "^1.1.3",
43
43
  "pino": "^8.16.1",
44
44
  "reflect-metadata": "^0.1.13",
45
- "rxjs": "^7.8.1"
45
+ "rxjs": "^7.0.0"
46
46
  },
47
- "gitHead": "313c39a379ea9ace9d94939223a53c46c12d77f9"
47
+ "gitHead": "aaccdd91f43b75ceb64b03595e830f558f5aa30c"
48
48
  }
@@ -18,7 +18,9 @@ export class PropertyException extends PlatformException {
18
18
  details: { propertyMetadata: PropertyMetadata; preparedKey: string },
19
19
  ): PropertyException {
20
20
  return new PropertyException(
21
- `${details.preparedKey}: ${err.message}` || 'UNKNOWN ERROR',
21
+ err instanceof Error
22
+ ? `${details.preparedKey}: ${err.message}`
23
+ : 'UNKNOWN ERROR',
22
24
  details,
23
25
  err,
24
26
  );