@notchjs/core 0.2.2 → 0.2.3
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/dist/application.js +2 -2
- package/package.json +2 -2
package/dist/application.js
CHANGED
|
@@ -24,7 +24,7 @@ class Application {
|
|
|
24
24
|
this.isInitialized = true;
|
|
25
25
|
const finishedAt = process.hrtime.bigint();
|
|
26
26
|
const elapsed = (Number(finishedAt - startAt) / 1e9).toFixed(3);
|
|
27
|
-
this.environment.log?.info(`Application started in ${elapsed} seconds
|
|
27
|
+
this.environment.log?.info(`Application started in ${elapsed} seconds`);
|
|
28
28
|
return this;
|
|
29
29
|
}
|
|
30
30
|
getHttpAdapter() {
|
|
@@ -77,7 +77,7 @@ class Application {
|
|
|
77
77
|
async getUrl() {
|
|
78
78
|
return new Promise((resolve, reject) => {
|
|
79
79
|
if (!this.isListening) {
|
|
80
|
-
this.environment.log?.error('
|
|
80
|
+
this.environment.log?.error('app.listen() must be called before attempting to get the URL with app.getUrl()');
|
|
81
81
|
reject('Server not listening!');
|
|
82
82
|
return;
|
|
83
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@notchjs/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "A dependency injection based web framework (Node.js)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Augustus Kamau",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "976b1b1e73bf54d420001e524625a24845e06bdc"
|
|
44
44
|
}
|