@thzero/library_server 0.18.9 → 0.18.10
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 +4 -2
- package/package.json +2 -2
package/boot/index.js
CHANGED
|
@@ -439,8 +439,10 @@ class BootMain {
|
|
|
439
439
|
for(const service of injector.getServices()) {
|
|
440
440
|
if (service.dependency) {
|
|
441
441
|
if (service.dependency && service.dependency.initialize) {
|
|
442
|
-
|
|
443
|
-
|
|
442
|
+
if (service.dependency.initialize.length === 0) {
|
|
443
|
+
console.log(`services.initialize - ${service.key}`);
|
|
444
|
+
await service.dependency.initialize();
|
|
445
|
+
}
|
|
444
446
|
}
|
|
445
447
|
}
|
|
446
448
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thzero/library_server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.18.
|
|
4
|
+
"version": "0.18.10",
|
|
5
5
|
"version_major": 0,
|
|
6
6
|
"version_minor": 18,
|
|
7
|
-
"version_patch":
|
|
7
|
+
"version_patch": 10,
|
|
8
8
|
"version_date": "04/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",
|