@rsdk/core 5.7.0-next.5 → 5.7.0-next.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.module.js","sourceRoot":"","sources":["../../src/plugin/plugin.module.ts"],"names":[],"mappings":";;;AAKA,MAAa,oBAAoB;IAC/B,MAAM,CAAC,UAAU,CAAC,OAAgC;QAChD,MAAM,OAAO,GACX,EAAE,CAAC;QAEL,2CAA2C;QAC3C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;gBACrC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;oBACnB,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,MAAM,EAAE,oBAAoB;YAC5B,OAAO,EAAE,OAAO;SACjB,CAAC;IACJ,CAAC;CACF;AAnBD,oDAmBC"}
1
+ {"version":3,"file":"plugin.module.js","sourceRoot":"","sources":["../../src/plugin/plugin.module.ts"],"names":[],"mappings":";;;AAKA,MAAa,oBAAoB;IAC/B,MAAM,CAAC,UAAU,CAAC,OAAgC;QAChD,MAAM,OAAO,GAAoC,EAAE,CAAC;QAEpD,2CAA2C;QAC3C,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;YACpB,KAAK,MAAM,MAAM,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;gBACrC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;oBACnB,OAAO,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;gBACpC,CAAC;YACH,CAAC;QACH,CAAC;QAED,OAAO;YACL,MAAM,EAAE,oBAAoB;YAC5B,OAAO,EAAE,OAAO;SACjB,CAAC;IACJ,CAAC;CACF;AAlBD,oDAkBC"}
@@ -40,7 +40,7 @@ export interface PlatformAppPlugin<T extends AppropriateTransports = Appropriate
40
40
  * applied after all core modules but before any application
41
41
  * level modules.
42
42
  */
43
- modules?(): (Constructor | DynamicModule | Promise<DynamicModule>)[];
43
+ modules?(): (Constructor | DynamicModule)[];
44
44
  /**
45
45
  * Additional error transformers
46
46
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdk/core",
3
- "version": "5.7.0-next.5",
3
+ "version": "5.7.0-next.7",
4
4
  "description": "Nestjs based microservice chassis",
5
5
  "license": "Apache License 2.0",
6
6
  "publishConfig": {
@@ -14,17 +14,17 @@
14
14
  "prepublishOnly": "npm run build"
15
15
  },
16
16
  "dependencies": {
17
- "dotenv": "^16.0.0",
17
+ "dotenv": "^16.3.1",
18
18
  "lodash": "^4.17.21",
19
- "pino": "^8.0.0 || ^9.0.0",
19
+ "pino": "^8.21.0",
20
20
  "prom-client": "^14.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@nestjs/common": "^10.0.0",
24
24
  "@nestjs/core": "^10.0.0",
25
25
  "@nestjs/microservices": "^10.0.0",
26
- "@opentelemetry/api": "^1.9.0",
27
- "@opentelemetry/exporter-logs-otlp-http": "^0.57.2",
26
+ "@opentelemetry/api": "1.9.0",
27
+ "@opentelemetry/exporter-logs-otlp-http": "0.55.0",
28
28
  "@rsdk/actx": "*",
29
29
  "@rsdk/autodoc.protocol": "*",
30
30
  "@rsdk/common": "*",
@@ -36,7 +36,7 @@
36
36
  "@rsdk/nest-tools": "*",
37
37
  "pino-opentelemetry-transport": "^1.0.1",
38
38
  "reflect-metadata": "^0.1.12 || ^0.2.0",
39
- "rxjs": "^7.1.0"
39
+ "rxjs": "^7.8.1"
40
40
  },
41
41
  "peerDependenciesMeta": {
42
42
  "@opentelemetry/api": {
@@ -49,5 +49,5 @@
49
49
  "optional": true
50
50
  }
51
51
  },
52
- "gitHead": "c6864c08d0ff47216bad6cbce2527f253cf844e4"
52
+ "gitHead": "df9b76f3068e52eccc709553f975eff2172c43b6"
53
53
  }
@@ -5,8 +5,7 @@ import type { PlatformExtendedOptions } from '../types';
5
5
 
6
6
  export class PlatformPluginModule {
7
7
  static forOptions(options: PlatformExtendedOptions): DynamicModule {
8
- const modules: (DynamicModule | Constructor | Promise<DynamicModule>)[] =
9
- [];
8
+ const modules: (DynamicModule | Constructor)[] = [];
10
9
 
11
10
  // Adding additional modules (from plugins)
12
11
  if (options.plugins) {
@@ -56,7 +56,7 @@ export interface PlatformAppPlugin<
56
56
  * applied after all core modules but before any application
57
57
  * level modules.
58
58
  */
59
- modules?(): (Constructor | DynamicModule | Promise<DynamicModule>)[];
59
+ modules?(): (Constructor | DynamicModule)[];
60
60
 
61
61
  /**
62
62
  * Additional error transformers