@rfprodz/backend-diagnostics 1.0.25 → 1.0.27

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,7 +1,7 @@
1
1
  import { __decorate, __metadata, __param } from "tslib";
2
2
  import { Controller, Get, Inject } from '@nestjs/common';
3
3
  import { DIAGNOSTICS_SERVICE_TOKEN } from '../services/diagnostics.service';
4
- export let AppDiagnosticsController = class AppDiagnosticsController {
4
+ let AppDiagnosticsController = class AppDiagnosticsController {
5
5
  constructor(diagnosticsService) {
6
6
  this.diagnosticsService = diagnosticsService;
7
7
  }
@@ -29,3 +29,4 @@ AppDiagnosticsController = __decorate([
29
29
  __param(0, Inject(DIAGNOSTICS_SERVICE_TOKEN)),
30
30
  __metadata("design:paramtypes", [Object])
31
31
  ], AppDiagnosticsController);
32
+ export { AppDiagnosticsController };
@@ -20,7 +20,7 @@ export const diagnosticsModuleProviders = [
20
20
  useExisting: AppDiagnosticsService,
21
21
  },
22
22
  ];
23
- export let AppDiagnosticsModule = AppDiagnosticsModule_1 = class AppDiagnosticsModule {
23
+ let AppDiagnosticsModule = AppDiagnosticsModule_1 = class AppDiagnosticsModule {
24
24
  static forRoot() {
25
25
  return {
26
26
  module: AppDiagnosticsModule_1,
@@ -40,3 +40,4 @@ AppDiagnosticsModule = AppDiagnosticsModule_1 = __decorate([
40
40
  }),
41
41
  __metadata("design:paramtypes", [AppDiagnosticsGateway])
42
42
  ], AppDiagnosticsModule);
43
+ export { AppDiagnosticsModule };
@@ -1,5 +1,5 @@
1
1
  import { OnGatewayConnection, OnGatewayDisconnect } from '@nestjs/websockets';
2
- import WebSocket, { Server } from 'ws';
2
+ import { Server, WebSocket } from 'ws';
3
3
  import { AppDiagnosticsService } from '../services/diagnostics.service';
4
4
  export declare class AppDiagnosticsGateway implements OnGatewayConnection, OnGatewayDisconnect {
5
5
  private readonly service;
@@ -14,7 +14,7 @@ export declare class AppDiagnosticsGateway implements OnGatewayConnection, OnGat
14
14
  * @param client web socket client
15
15
  * @param data stringified event data
16
16
  */
17
- sendEvent(client: WebSocket.WebSocket, data: string): void;
17
+ sendEvent(client: WebSocket, data: string): void;
18
18
  /**
19
19
  * Broadcasts an event to all connected users.
20
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"diagnostics.gateway.d.ts","sourceRoot":"","sources":["../../../../../libs/backend-diagnostics/src/lib/gateway/diagnostics.gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EAKpB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,SAAS,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAGvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,qBAIa,qBAAsB,YAAW,mBAAmB,EAAE,mBAAmB;IASxE,OAAO,CAAC,QAAQ,CAAC,OAAO;IARpC;;OAEG;IAEH,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAE1B,OAAO,CAAC,cAAc,CAAC,CAAe;gBAET,OAAO,EAAE,qBAAqB;IAE3D;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM;IAI1D;;OAEG;IACI,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAUlE,OAAO,CAAC,qBAAqB;IAehB,gBAAgB;IAIhB,gBAAgB;IAKtB,4BAA4B;IAkB5B,2BAA2B;CAMnC"}
1
+ {"version":3,"file":"diagnostics.gateway.d.ts","sourceRoot":"","sources":["../../../../../libs/backend-diagnostics/src/lib/gateway/diagnostics.gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EAKpB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAGvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,qBAIa,qBAAsB,YAAW,mBAAmB,EAAE,mBAAmB;IASxE,OAAO,CAAC,QAAQ,CAAC,OAAO;IARpC;;OAEG;IAEH,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAE1B,OAAO,CAAC,cAAc,CAAC,CAAe;gBAET,OAAO,EAAE,qBAAqB;IAE3D;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM;IAIhD;;OAEG;IACI,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;IAUlE,OAAO,CAAC,qBAAqB;IAehB,gBAAgB;IAIhB,gBAAgB;IAKtB,4BAA4B;IAkB5B,2BAA2B;CAMnC"}
@@ -4,7 +4,7 @@ import { tap, timer } from 'rxjs';
4
4
  import { Server } from 'ws';
5
5
  import { dianosticEventsGatewayPort } from '../interfaces/diagnostics.interface';
6
6
  import { AppDiagnosticsService } from '../services/diagnostics.service';
7
- export let AppDiagnosticsGateway = class AppDiagnosticsGateway {
7
+ let AppDiagnosticsGateway = class AppDiagnosticsGateway {
8
8
  constructor(service) {
9
9
  this.service = service;
10
10
  }
@@ -92,3 +92,4 @@ AppDiagnosticsGateway = __decorate([
92
92
  }),
93
93
  __metadata("design:paramtypes", [AppDiagnosticsService])
94
94
  ], AppDiagnosticsGateway);
95
+ export { AppDiagnosticsGateway };
@@ -5,7 +5,7 @@ import * as os from 'os';
5
5
  import { catchError, map, Observable, of } from 'rxjs';
6
6
  export const CHILD_PROCESS_EXEC = Symbol('CHILD_PROCESS_EXEC');
7
7
  export const DIAGNOSTICS_SERVICE_TOKEN = Symbol('DIAGNOSTICS_SERVICE_TOKEN');
8
- export let AppDiagnosticsService = class AppDiagnosticsService {
8
+ let AppDiagnosticsService = class AppDiagnosticsService {
9
9
  constructor(childProcessExec) {
10
10
  this.childProcessExec = childProcessExec;
11
11
  dotenv.config();
@@ -85,3 +85,4 @@ AppDiagnosticsService = __decorate([
85
85
  __param(0, Inject(CHILD_PROCESS_EXEC)),
86
86
  __metadata("design:paramtypes", [Object])
87
87
  ], AppDiagnosticsService);
88
+ export { AppDiagnosticsService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rfprodz/backend-diagnostics",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "NestJS API diagnostics module.",
5
5
  "keywords": [
6
6
  "nestjs-controller",
@@ -24,9 +24,9 @@
24
24
  "ws": "8.14.2"
25
25
  },
26
26
  "peerDependencies": {
27
- "@nestjs/common": "10.2.7",
28
- "@nestjs/platform-ws": "10.2.7",
29
- "@nestjs/websockets": "10.2.7",
27
+ "@nestjs/common": "10.2.9",
28
+ "@nestjs/platform-ws": "10.2.9",
29
+ "@nestjs/websockets": "10.2.9",
30
30
  "dotenv": "16.3.1",
31
31
  "rxjs": "7.8.1"
32
32
  },