@twin.org/engine-server-types 0.0.2-next.24 → 0.0.2-next.26
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 +6 -6
- package/docs/changelog.md +30 -0
- package/package.json +8 -4
package/dist/cjs/index.cjs
CHANGED
|
@@ -48,8 +48,8 @@ async function initialiseAuthenticationComponent(engineCore, context, instanceCo
|
|
|
48
48
|
instanceType = "entity-storage-authentication-service";
|
|
49
49
|
}
|
|
50
50
|
else if (instanceConfig.type === AuthenticationComponentType.RestClient) {
|
|
51
|
-
component = new apiAuthEntityStorageRestClient.
|
|
52
|
-
instanceType = "entity-storage-authentication-client";
|
|
51
|
+
component = new apiAuthEntityStorageRestClient.EntityStorageAuthenticationRestClient(instanceConfig.options);
|
|
52
|
+
instanceType = "entity-storage-authentication-rest-client";
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
55
|
component,
|
|
@@ -128,8 +128,8 @@ async function initialiseInformationComponent(engineCore, context, instanceConfi
|
|
|
128
128
|
instanceType = "information-service";
|
|
129
129
|
}
|
|
130
130
|
else if (instanceConfig.type === InformationComponentType.RestClient) {
|
|
131
|
-
component = new apiRestClient.
|
|
132
|
-
instanceType = "information-client";
|
|
131
|
+
component = new apiRestClient.InformationRestClient(instanceConfig.options);
|
|
132
|
+
instanceType = "information-rest-client";
|
|
133
133
|
}
|
|
134
134
|
return {
|
|
135
135
|
component,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EntityStorageAuthenticationRestClient } from '@twin.org/api-auth-entity-storage-rest-client';
|
|
2
2
|
import { initSchema, EntityStorageAuthenticationService, EntityStorageAuthenticationAdminService, AuthHeaderProcessor } from '@twin.org/api-auth-entity-storage-service';
|
|
3
3
|
import { ComponentFactory } from '@twin.org/core';
|
|
4
4
|
import { initialiseEntityStorageConnector } from '@twin.org/engine-types';
|
|
5
|
-
import {
|
|
5
|
+
import { InformationRestClient } from '@twin.org/api-rest-client';
|
|
6
6
|
import { InformationService } from '@twin.org/api-service';
|
|
7
7
|
import { MimeTypeProcessorFactory, RestRouteProcessorFactory, SocketRouteProcessorFactory } from '@twin.org/api-models';
|
|
8
8
|
import { JwtMimeTypeProcessor, LoggingProcessor, NodeIdentityProcessor, StaticUserIdentityProcessor, RestRouteProcessor, SocketRouteProcessor } from '@twin.org/api-processors';
|
|
@@ -46,8 +46,8 @@ async function initialiseAuthenticationComponent(engineCore, context, instanceCo
|
|
|
46
46
|
instanceType = "entity-storage-authentication-service";
|
|
47
47
|
}
|
|
48
48
|
else if (instanceConfig.type === AuthenticationComponentType.RestClient) {
|
|
49
|
-
component = new
|
|
50
|
-
instanceType = "entity-storage-authentication-client";
|
|
49
|
+
component = new EntityStorageAuthenticationRestClient(instanceConfig.options);
|
|
50
|
+
instanceType = "entity-storage-authentication-rest-client";
|
|
51
51
|
}
|
|
52
52
|
return {
|
|
53
53
|
component,
|
|
@@ -126,8 +126,8 @@ async function initialiseInformationComponent(engineCore, context, instanceConfi
|
|
|
126
126
|
instanceType = "information-service";
|
|
127
127
|
}
|
|
128
128
|
else if (instanceConfig.type === InformationComponentType.RestClient) {
|
|
129
|
-
component = new
|
|
130
|
-
instanceType = "information-client";
|
|
129
|
+
component = new InformationRestClient(instanceConfig.options);
|
|
130
|
+
instanceType = "information-rest-client";
|
|
131
131
|
}
|
|
132
132
|
return {
|
|
133
133
|
component,
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @twin.org/engine-server-types - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.26](https://github.com/twinfoundation/engine/compare/engine-server-types-v0.0.2-next.25...engine-server-types-v0.0.2-next.26) (2025-10-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **engine-server-types:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/engine-models bumped from 0.0.2-next.25 to 0.0.2-next.26
|
|
16
|
+
* @twin.org/engine-types bumped from 0.0.2-next.25 to 0.0.2-next.26
|
|
17
|
+
|
|
18
|
+
## [0.0.2-next.25](https://github.com/twinfoundation/engine/compare/engine-server-types-v0.0.2-next.24...engine-server-types-v0.0.2-next.25) (2025-10-09)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* add validate-locales ([b92ea09](https://github.com/twinfoundation/engine/commit/b92ea09dbcfe35225271a51f24d231f59e2d363e))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/engine-models bumped from 0.0.2-next.24 to 0.0.2-next.25
|
|
31
|
+
* @twin.org/engine-types bumped from 0.0.2-next.24 to 0.0.2-next.25
|
|
32
|
+
|
|
3
33
|
## [0.0.2-next.24](https://github.com/twinfoundation/engine/compare/engine-server-types-v0.0.2-next.23...engine-server-types-v0.0.2-next.24) (2025-10-08)
|
|
4
34
|
|
|
5
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-server-types",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.26",
|
|
4
4
|
"description": "Server types to use in an engine server.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@twin.org/api-server-fastify": "next",
|
|
24
24
|
"@twin.org/api-service": "next",
|
|
25
25
|
"@twin.org/core": "next",
|
|
26
|
-
"@twin.org/engine-models": "0.0.2-next.
|
|
27
|
-
"@twin.org/engine-types": "0.0.2-next.
|
|
26
|
+
"@twin.org/engine-models": "0.0.2-next.26",
|
|
27
|
+
"@twin.org/engine-types": "0.0.2-next.26",
|
|
28
28
|
"@twin.org/entity": "next",
|
|
29
29
|
"@twin.org/identity-authentication": "next",
|
|
30
30
|
"@twin.org/nameof": "next"
|
|
@@ -54,5 +54,9 @@
|
|
|
54
54
|
"framework",
|
|
55
55
|
"blockchain",
|
|
56
56
|
"engine"
|
|
57
|
-
]
|
|
57
|
+
],
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "git+https://github.com/twinfoundation/engine/issues"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://twindev.org"
|
|
58
62
|
}
|