@rfprodz/backend-diagnostics 1.0.26 → 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
|
-
|
|
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
|
-
|
|
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 };
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
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.
|
|
28
|
-
"@nestjs/platform-ws": "10.2.
|
|
29
|
-
"@nestjs/websockets": "10.2.
|
|
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
|
},
|