@thzero/library_server 0.17.15 → 0.17.17

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 CHANGED
@@ -160,8 +160,6 @@ class BootMain {
160
160
  }
161
161
  this._initAppPost(results.app, args);
162
162
 
163
- await this._initServerDiscovery(results.server);
164
-
165
163
  console.log();
166
164
  this.ip = this._appConfig.get('ip', null);
167
165
  console.log(`config.ip.override: ${this.ip}`);
@@ -172,6 +170,8 @@ class BootMain {
172
170
  console.log(`selected.port: ${this.port}`);
173
171
  console.log();
174
172
 
173
+ await this._initServerDiscovery(results.server);
174
+
175
175
  const self = this;
176
176
  const listen = async (port, address) => new Promise((resolve, reject) => {
177
177
  self._initAppListen(results.app, results.server, address, port, (err) => {
package/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020-2023 thZero.com
3
+ Copyright (c) 2020-2024 thZero.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.17.15",
4
+ "version": "0.17.17",
5
5
  "version_major": 0,
6
6
  "version_minor": 17,
7
- "version_patch": 15,
8
- "version_date": "07/10/2023",
7
+ "version_patch": 17,
8
+ "version_date": "01/01/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",