@twin.org/engine-server 0.0.2-next.2 → 0.0.2-next.4
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/cjs/index.cjs +4 -4
- package/dist/esm/index.mjs +4 -4
- package/docs/changelog.md +36 -0
- package/package.json +4 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -35,10 +35,10 @@ class EngineServer {
|
|
|
35
35
|
*/
|
|
36
36
|
_webServer;
|
|
37
37
|
/**
|
|
38
|
-
* The logging
|
|
38
|
+
* The logging component type.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
_loggingComponentType;
|
|
42
42
|
/**
|
|
43
43
|
* The REST routes for the application.
|
|
44
44
|
* @internal
|
|
@@ -191,9 +191,9 @@ class EngineServer {
|
|
|
191
191
|
const mimeTypeProcessors = apiModels.MimeTypeProcessorFactory.names().map(n => apiModels.MimeTypeProcessorFactory.get(n));
|
|
192
192
|
const coreConfig = this._engineCore.getConfig();
|
|
193
193
|
const defaults = this._engineCore.getDefaultTypes();
|
|
194
|
-
this.
|
|
194
|
+
this._loggingComponentType = coreConfig.silent ? undefined : defaults.loggingComponent;
|
|
195
195
|
this._webServer = new apiServerFastify.FastifyWebServer({
|
|
196
|
-
|
|
196
|
+
loggingComponentType: this._loggingComponentType,
|
|
197
197
|
mimeTypeProcessors
|
|
198
198
|
});
|
|
199
199
|
await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -33,10 +33,10 @@ class EngineServer {
|
|
|
33
33
|
*/
|
|
34
34
|
_webServer;
|
|
35
35
|
/**
|
|
36
|
-
* The logging
|
|
36
|
+
* The logging component type.
|
|
37
37
|
* @internal
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
_loggingComponentType;
|
|
40
40
|
/**
|
|
41
41
|
* The REST routes for the application.
|
|
42
42
|
* @internal
|
|
@@ -189,9 +189,9 @@ class EngineServer {
|
|
|
189
189
|
const mimeTypeProcessors = MimeTypeProcessorFactory.names().map(n => MimeTypeProcessorFactory.get(n));
|
|
190
190
|
const coreConfig = this._engineCore.getConfig();
|
|
191
191
|
const defaults = this._engineCore.getDefaultTypes();
|
|
192
|
-
this.
|
|
192
|
+
this._loggingComponentType = coreConfig.silent ? undefined : defaults.loggingComponent;
|
|
193
193
|
this._webServer = new FastifyWebServer({
|
|
194
|
-
|
|
194
|
+
loggingComponentType: this._loggingComponentType,
|
|
195
195
|
mimeTypeProcessors
|
|
196
196
|
});
|
|
197
197
|
await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @twin.org/engine-server - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.3...engine-server-v0.0.2-next.4) (2025-07-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add default logging component for web server ([8ad94f0](https://github.com/twinfoundation/engine/commit/8ad94f0d2d9a5241a8854b1e59fb9a55ce310142))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-core bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
16
|
+
* @twin.org/engine-models bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
17
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
18
|
+
* devDependencies
|
|
19
|
+
* @twin.org/engine bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
20
|
+
|
|
21
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.2...engine-server-v0.0.2-next.3) (2025-07-24)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* update includeUserIdentity usage ([d34f597](https://github.com/twinfoundation/engine/commit/d34f597a61f9645a029411d2911bbda20ddc9eb9))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* dependencies
|
|
33
|
+
* @twin.org/engine-core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
34
|
+
* @twin.org/engine-models bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
35
|
+
* @twin.org/engine-server-types bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
36
|
+
* devDependencies
|
|
37
|
+
* @twin.org/engine bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
38
|
+
|
|
3
39
|
## [0.0.2-next.2](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.1...engine-server-v0.0.2-next.2) (2025-07-21)
|
|
4
40
|
|
|
5
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-server",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.4",
|
|
4
4
|
"description": "Engine implementation for a server.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
18
|
"@twin.org/api-server-fastify": "next",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
|
-
"@twin.org/engine-core": "0.0.2-next.
|
|
21
|
-
"@twin.org/engine-models": "0.0.2-next.
|
|
22
|
-
"@twin.org/engine-server-types": "0.0.2-next.
|
|
20
|
+
"@twin.org/engine-core": "0.0.2-next.4",
|
|
21
|
+
"@twin.org/engine-models": "0.0.2-next.4",
|
|
22
|
+
"@twin.org/engine-server-types": "0.0.2-next.4",
|
|
23
23
|
"@twin.org/modules": "next",
|
|
24
24
|
"@twin.org/nameof": "next"
|
|
25
25
|
},
|