@thzero/library_server 0.17.22 → 0.17.23
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/boot/index.js +5 -0
- package/package.json +3 -3
- package/service/health.js +13 -0
package/boot/index.js
CHANGED
|
@@ -47,6 +47,7 @@ import injector from '@thzero/library_common/utility/injector.js';
|
|
|
47
47
|
import usageMetricsRepository from '../repository/usageMetrics/devnull.js';
|
|
48
48
|
|
|
49
49
|
import configService from '../service/config.js';
|
|
50
|
+
import healthService from '../service/health.js';
|
|
50
51
|
import loggerService from '@thzero/library_common_service/service/logger.js';
|
|
51
52
|
import usageMetricsService from '../service/usageMetrics.js';
|
|
52
53
|
|
|
@@ -359,6 +360,10 @@ class BootMain {
|
|
|
359
360
|
return null;
|
|
360
361
|
}
|
|
361
362
|
|
|
363
|
+
_initServicesHealth() {
|
|
364
|
+
return new healthService();
|
|
365
|
+
}
|
|
366
|
+
|
|
362
367
|
_initServicesLogger() {
|
|
363
368
|
return new loggerService();
|
|
364
369
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.23",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 17,
|
|
7
|
-
"version_patch":
|
|
8
|
-
"version_date": "01/
|
|
7
|
+
"version_patch": 23,
|
|
8
|
+
"version_date": "01/23/2024",
|
|
9
9
|
"description": "An opinionated library of common functionality to bootstrap an API using either Fastify or Koa as the web server.",
|
|
10
10
|
"author": "thZero",
|
|
11
11
|
"license": "MIT",
|