@twin.org/api-processors 0.0.2-next.5 → 0.0.2-next.6
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
CHANGED
|
@@ -245,10 +245,10 @@ class NodeIdentityProcessor {
|
|
|
245
245
|
/**
|
|
246
246
|
* The service needs to be started when the application is initialized.
|
|
247
247
|
* @param nodeIdentity The identity of the node.
|
|
248
|
-
* @param
|
|
248
|
+
* @param nodeLoggingComponentType The node logging component type.
|
|
249
249
|
* @returns Nothing.
|
|
250
250
|
*/
|
|
251
|
-
async start(nodeIdentity,
|
|
251
|
+
async start(nodeIdentity, nodeLoggingComponentType) {
|
|
252
252
|
core.Guards.string(this.CLASS_NAME, "nodeIdentity", nodeIdentity);
|
|
253
253
|
this._nodeIdentity = nodeIdentity;
|
|
254
254
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -243,10 +243,10 @@ class NodeIdentityProcessor {
|
|
|
243
243
|
/**
|
|
244
244
|
* The service needs to be started when the application is initialized.
|
|
245
245
|
* @param nodeIdentity The identity of the node.
|
|
246
|
-
* @param
|
|
246
|
+
* @param nodeLoggingComponentType The node logging component type.
|
|
247
247
|
* @returns Nothing.
|
|
248
248
|
*/
|
|
249
|
-
async start(nodeIdentity,
|
|
249
|
+
async start(nodeIdentity, nodeLoggingComponentType) {
|
|
250
250
|
Guards.string(this.CLASS_NAME, "nodeIdentity", nodeIdentity);
|
|
251
251
|
this._nodeIdentity = nodeIdentity;
|
|
252
252
|
}
|
|
@@ -10,10 +10,10 @@ export declare class NodeIdentityProcessor implements IBaseRouteProcessor {
|
|
|
10
10
|
/**
|
|
11
11
|
* The service needs to be started when the application is initialized.
|
|
12
12
|
* @param nodeIdentity The identity of the node.
|
|
13
|
-
* @param
|
|
13
|
+
* @param nodeLoggingComponentType The node logging component type.
|
|
14
14
|
* @returns Nothing.
|
|
15
15
|
*/
|
|
16
|
-
start(nodeIdentity: string,
|
|
16
|
+
start(nodeIdentity: string, nodeLoggingComponentType?: string): Promise<void>;
|
|
17
17
|
/**
|
|
18
18
|
* Pre process the REST request for the specified route.
|
|
19
19
|
* @param request The incoming request.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/api-processors - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.6](https://github.com/twinfoundation/api/compare/api-processors-v0.0.2-next.5...api-processors-v0.0.2-next.6) (2025-08-19)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update framework core ([d8eebf2](https://github.com/twinfoundation/api/commit/d8eebf267fa2a0abaa84e58590496e9d20490cfa))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-models bumped from 0.0.2-next.5 to 0.0.2-next.6
|
|
16
|
+
|
|
3
17
|
## [0.0.2-next.5](https://github.com/twinfoundation/api/compare/api-processors-v0.0.2-next.4...api-processors-v0.0.2-next.5) (2025-07-25)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -32,7 +32,7 @@ Runtime name for the class.
|
|
|
32
32
|
|
|
33
33
|
### start()
|
|
34
34
|
|
|
35
|
-
> **start**(`nodeIdentity`, `
|
|
35
|
+
> **start**(`nodeIdentity`, `nodeLoggingComponentType?`): `Promise`\<`void`\>
|
|
36
36
|
|
|
37
37
|
The service needs to be started when the application is initialized.
|
|
38
38
|
|
|
@@ -44,11 +44,11 @@ The service needs to be started when the application is initialized.
|
|
|
44
44
|
|
|
45
45
|
The identity of the node.
|
|
46
46
|
|
|
47
|
-
#####
|
|
47
|
+
##### nodeLoggingComponentType?
|
|
48
48
|
|
|
49
49
|
`string`
|
|
50
50
|
|
|
51
|
-
The node logging
|
|
51
|
+
The node logging component type.
|
|
52
52
|
|
|
53
53
|
#### Returns
|
|
54
54
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-processors",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.6",
|
|
4
4
|
"description": "Route processors for use with API servers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-models": "0.0.2-next.
|
|
17
|
+
"@twin.org/api-models": "0.0.2-next.6",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/logging-models": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|