@rsdk/core 4.0.0-next.0 → 4.0.0-next.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
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.1](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.0...v4.0.0-next.1) (2023-11-10)
7
+
8
+ **Note:** Version bump only for package @rsdk/core
9
+
6
10
  ## [4.0.0-next.0](https://github.com/R-Vision/rsdk/compare/v3.6.2-next.0...v4.0.0-next.0) (2023-10-26)
7
11
 
8
12
  ### ⚠ BREAKING CHANGES
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.LoggingConfig = void 0;
13
13
  const logging_1 = require("@rsdk/logging");
14
+ const defaults_1 = require("@rsdk/logging/dist/defaults");
14
15
  const config_1 = require("../config");
15
16
  const config_const_1 = require("../config/config.const");
16
17
  let LoggingConfig = exports.LoggingConfig = class LoggingConfig extends config_1.Config {
@@ -21,7 +22,7 @@ let LoggingConfig = exports.LoggingConfig = class LoggingConfig extends config_1
21
22
  __decorate([
22
23
  (0, config_1.Property)('LOG_LEVEL', new config_1.EnumParser(logging_1.LogLevel), {
23
24
  // TODO: Can pass anything instead of enum value. Need to handle this!
24
- defaultValue: logging_1.LogLevel.debug,
25
+ defaultValue: defaults_1.DEFAULT_LEVEL,
25
26
  description: 'Log level',
26
27
  }),
27
28
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"logging.config.js","sourceRoot":"","sources":["../../src/logging/logging.config.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyC;AAEzC,sCAQmB;AACnB,yDAAmD;AAK5C,IAAM,aAAa,2BAAnB,MAAM,aAAc,SAAQ,eAAM;IA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AAE;QAC3D,YAAY,EAAE,EAAE;QAChB,WAAW,EACT,gGAAgG;KACnG,CAAC;;6CACyB;AAOlB;IALR,IAAA,iBAAQ,EAAC,UAAU,EAAE,IAAI,mBAAU,EAAE,EAAE;QACtC,YAAY,EAAE,KAAK;QACnB,WAAW,EACT,wGAAwG;KAC3G,CAAC;;2CACsB;wBApBb,aAAa;IAHzB,IAAA,sBAAa,EAAC;QACb,IAAI,EAAE,CAAC,wBAAS,CAAC,cAAc,EAAE,wBAAS,CAAC,OAAO,CAAC;KACpD,CAAC;GACW,aAAa,CAqBzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/core",
3
- "version": "4.0.0-next.0",
3
+ "version": "4.0.0-next.1",
4
4
  "description": "Nestjs based microservice chassis",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -31,18 +31,18 @@
31
31
  "@nestjs/common": "^10.1.3",
32
32
  "@nestjs/core": "^10.1.3",
33
33
  "@nestjs/microservices": "^10.1.3",
34
- "@rsdk/autodoc.protocol": "^3.6.0",
34
+ "@rsdk/autodoc.protocol": "^4.0.0-next.1",
35
35
  "@rsdk/common": "^3.5.0",
36
36
  "@rsdk/common.nestjs": "^3.5.0",
37
37
  "@rsdk/common.node": "^3.5.0",
38
- "@rsdk/decorators": "^3.6.1",
39
- "@rsdk/logging": "^3.6.0",
40
- "@rsdk/metadata": "^3.6.0",
38
+ "@rsdk/decorators": "^4.0.0-next.1",
39
+ "@rsdk/logging": "^4.0.0-next.1",
40
+ "@rsdk/metadata": "^4.0.0-next.1",
41
41
  "@rsdk/nest-tools": "^3.6.0",
42
42
  "axios": "^1.1.3",
43
43
  "pino": "^8.16.1",
44
44
  "reflect-metadata": "^0.1.13",
45
45
  "rxjs": "^7.0.0"
46
46
  },
47
- "gitHead": "2d50b44d35be75f6768d4b1d57ccc6b7641bf146"
47
+ "gitHead": "d21a800ef5dd191b5effec59846c3a44a7ca3d1e"
48
48
  }
@@ -1,4 +1,5 @@
1
1
  import { LogLevel } from '@rsdk/logging';
2
+ import { DEFAULT_LEVEL } from '@rsdk/logging/dist/defaults';
2
3
 
3
4
  import {
4
5
  ArrayParser,
@@ -17,7 +18,7 @@ import { ConfigTag } from '../config/config.const';
17
18
  export class LoggingConfig extends Config {
18
19
  @Property('LOG_LEVEL', new EnumParser(LogLevel), {
19
20
  // TODO: Can pass anything instead of enum value. Need to handle this!
20
- defaultValue: LogLevel.debug,
21
+ defaultValue: DEFAULT_LEVEL,
21
22
  description: 'Log level',
22
23
  })
23
24
  readonly level!: LogLevel;