@twin.org/engine-server 0.0.2-next.19 → 0.0.2-next.20

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.
@@ -229,11 +229,6 @@ class EngineServer {
229
229
  * @internal
230
230
  */
231
231
  _webServer;
232
- /**
233
- * The logging component type.
234
- * @internal
235
- */
236
- _loggingComponentType;
237
232
  /**
238
233
  * The REST routes for the application.
239
234
  * @internal
@@ -383,11 +378,11 @@ class EngineServer {
383
378
  const socketRouteProcessors = apiModels.SocketRouteProcessorFactory.names().map(n => apiModels.SocketRouteProcessorFactory.get(n));
384
379
  const mimeTypeProcessors = apiModels.MimeTypeProcessorFactory.names().map(n => apiModels.MimeTypeProcessorFactory.get(n));
385
380
  const coreConfig = this._engineCore.getConfig();
386
- this._loggingComponentType = coreConfig.silent
381
+ const loggingComponentType = coreConfig.silent
387
382
  ? undefined
388
383
  : this._engineCore.getRegisteredInstanceType("loggingComponent");
389
384
  this._webServer = new apiServerFastify.FastifyWebServer({
390
- loggingComponentType: this._loggingComponentType,
385
+ loggingComponentType,
391
386
  mimeTypeProcessors
392
387
  });
393
388
  await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
@@ -227,11 +227,6 @@ class EngineServer {
227
227
  * @internal
228
228
  */
229
229
  _webServer;
230
- /**
231
- * The logging component type.
232
- * @internal
233
- */
234
- _loggingComponentType;
235
230
  /**
236
231
  * The REST routes for the application.
237
232
  * @internal
@@ -381,11 +376,11 @@ class EngineServer {
381
376
  const socketRouteProcessors = SocketRouteProcessorFactory.names().map(n => SocketRouteProcessorFactory.get(n));
382
377
  const mimeTypeProcessors = MimeTypeProcessorFactory.names().map(n => MimeTypeProcessorFactory.get(n));
383
378
  const coreConfig = this._engineCore.getConfig();
384
- this._loggingComponentType = coreConfig.silent
379
+ const loggingComponentType = coreConfig.silent
385
380
  ? undefined
386
381
  : this._engineCore.getRegisteredInstanceType("loggingComponent");
387
382
  this._webServer = new FastifyWebServer({
388
- loggingComponentType: this._loggingComponentType,
383
+ loggingComponentType,
389
384
  mimeTypeProcessors
390
385
  });
391
386
  await this._webServer.build(restRouteProcessors, this._restRoutes, socketRouteProcessors, this._socketRoutes, coreConfig.web);
package/docs/changelog.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @twin.org/engine-server - Changelog
2
2
 
3
+ ## [0.0.2-next.20](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.19...engine-server-v0.0.2-next.20) (2025-10-06)
4
+
5
+
6
+ ### Features
7
+
8
+ * standardised engine logging naming ([0dbf857](https://github.com/twinfoundation/engine/commit/0dbf857587641f86ddf010143519d0e8333489ff))
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.19 to 0.0.2-next.20
16
+ * @twin.org/engine-models bumped from 0.0.2-next.19 to 0.0.2-next.20
17
+ * @twin.org/engine-server-types bumped from 0.0.2-next.19 to 0.0.2-next.20
18
+ * devDependencies
19
+ * @twin.org/engine bumped from 0.0.2-next.19 to 0.0.2-next.20
20
+
3
21
  ## [0.0.2-next.19](https://github.com/twinfoundation/engine/compare/engine-server-v0.0.2-next.18...engine-server-v0.0.2-next.19) (2025-10-02)
4
22
 
5
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/engine-server",
3
- "version": "0.0.2-next.19",
3
+ "version": "0.0.2-next.20",
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.19",
21
- "@twin.org/engine-models": "0.0.2-next.19",
22
- "@twin.org/engine-server-types": "0.0.2-next.19",
20
+ "@twin.org/engine-core": "0.0.2-next.20",
21
+ "@twin.org/engine-models": "0.0.2-next.20",
22
+ "@twin.org/engine-server-types": "0.0.2-next.20",
23
23
  "@twin.org/modules": "next",
24
24
  "@twin.org/nameof": "next"
25
25
  },