@thzero/library_server 0.17.14 → 0.17.16

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.
Files changed (2) hide show
  1. package/boot/index.js +2 -2
  2. package/package.json +6 -6
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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.17.14",
4
+ "version": "0.17.16",
5
5
  "version_major": 0,
6
6
  "version_minor": 17,
7
- "version_patch": 14,
8
- "version_date": "07/03/2023",
7
+ "version_patch": 16,
8
+ "version_date": "12/23/2023",
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",
@@ -25,12 +25,12 @@
25
25
  "test": "echo \"Error: no test specified\" && exit 1"
26
26
  },
27
27
  "dependencies": {
28
- "@godaddy/terminus": "^4.12.0",
28
+ "@godaddy/terminus": "^4.12.1",
29
29
  "async-mutex": "^0.4.0",
30
30
  "config": "^3.3.9",
31
- "default-gateway": "^6.0.3",
31
+ "default-gateway": "^7.2.2",
32
32
  "easy-rbac": "^3.2.0",
33
- "ipaddr.js": "^2.0.1"
33
+ "ipaddr.js": "^2.1.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@thzero/library_common": "^0.17",