@twin.org/api-processors 0.0.1-next.32 → 0.0.1-next.34
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/docs/changelog.md +28 -0
- package/docs/reference/classes/JwtMimeTypeProcessor.md +3 -3
- package/docs/reference/classes/LoggingProcessor.md +3 -3
- package/docs/reference/classes/NodeIdentityProcessor.md +4 -4
- package/docs/reference/classes/RestRouteProcessor.md +3 -3
- package/docs/reference/classes/SocketRouteProcessor.md +3 -3
- package/docs/reference/classes/StaticUserIdentityProcessor.md +3 -3
- package/package.json +2 -2
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @twin.org/api-processors - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.34](https://github.com/twinfoundation/api/compare/api-processors-v0.0.1-next.33...api-processors-v0.0.1-next.34) (2025-05-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **api-processors:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-models bumped from 0.0.1-next.33 to 0.0.1-next.34
|
|
16
|
+
|
|
17
|
+
## [0.0.1-next.33](https://github.com/twinfoundation/api/compare/api-processors-v0.0.1-next.32...api-processors-v0.0.1-next.33) (2025-04-17)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* use shared store mechanism ([#19](https://github.com/twinfoundation/api/issues/19)) ([32116df](https://github.com/twinfoundation/api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/api-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
30
|
+
|
|
3
31
|
## [0.0.1-next.32](https://github.com/twinfoundation/api/compare/api-processors-v0.0.1-next.31...api-processors-v0.0.1-next.32) (2025-03-28)
|
|
4
32
|
|
|
5
33
|
|
|
@@ -8,13 +8,13 @@ Process the JWT mime type.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new JwtMimeTypeProcessor**():
|
|
13
|
+
> **new JwtMimeTypeProcessor**(): `JwtMimeTypeProcessor`
|
|
14
14
|
|
|
15
15
|
#### Returns
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
`JwtMimeTypeProcessor`
|
|
18
18
|
|
|
19
19
|
## Properties
|
|
20
20
|
|
|
@@ -8,9 +8,9 @@ Process the REST request and log its information.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new LoggingProcessor**(`options
|
|
13
|
+
> **new LoggingProcessor**(`options?`): `LoggingProcessor`
|
|
14
14
|
|
|
15
15
|
Create a new instance of LoggingProcessor.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Options for the processor.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`LoggingProcessor`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,13 +8,13 @@ Adds a node identity to the request identity.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new NodeIdentityProcessor**():
|
|
13
|
+
> **new NodeIdentityProcessor**(): `NodeIdentityProcessor`
|
|
14
14
|
|
|
15
15
|
#### Returns
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
`NodeIdentityProcessor`
|
|
18
18
|
|
|
19
19
|
## Properties
|
|
20
20
|
|
|
@@ -40,7 +40,7 @@ Runtime name for the class.
|
|
|
40
40
|
|
|
41
41
|
### start()
|
|
42
42
|
|
|
43
|
-
> **start**(`nodeIdentity`, `nodeLoggingConnectorType
|
|
43
|
+
> **start**(`nodeIdentity`, `nodeLoggingConnectorType?`): `Promise`\<`void`\>
|
|
44
44
|
|
|
45
45
|
The service needs to be started when the application is initialized.
|
|
46
46
|
|
|
@@ -8,9 +8,9 @@ Process the REST request and hands it on to the route handler.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new RestRouteProcessor**(`options
|
|
13
|
+
> **new RestRouteProcessor**(`options?`): `RestRouteProcessor`
|
|
14
14
|
|
|
15
15
|
Create a new instance of RouteProcessor.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Options for the processor.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`RestRouteProcessor`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,9 +8,9 @@ Process the socket request and hands it on to the route handler.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new SocketRouteProcessor**(`options
|
|
13
|
+
> **new SocketRouteProcessor**(`options?`): `SocketRouteProcessor`
|
|
14
14
|
|
|
15
15
|
Create a new instance of SocketRouteProcessor.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Options for the processor.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`SocketRouteProcessor`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,9 +8,9 @@ Adds a static user identity to the request context.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new StaticUserIdentityProcessor**(`options`):
|
|
13
|
+
> **new StaticUserIdentityProcessor**(`options`): `StaticUserIdentityProcessor`
|
|
14
14
|
|
|
15
15
|
Create a new instance of StaticIdentityProcessor.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ Options for the processor.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`StaticUserIdentityProcessor`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-processors",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.34",
|
|
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.1-next.
|
|
17
|
+
"@twin.org/api-models": "0.0.1-next.34",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/entity": "next",
|
|
20
20
|
"@twin.org/entity-storage-models": "next",
|