@twin.org/api-service 0.0.2-next.10 → 0.0.2-next.12
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
|
@@ -279,7 +279,7 @@ class InformationService {
|
|
|
279
279
|
/**
|
|
280
280
|
* Runtime name for the class.
|
|
281
281
|
*/
|
|
282
|
-
CLASS_NAME = "InformationService";
|
|
282
|
+
static CLASS_NAME = "InformationService";
|
|
283
283
|
/**
|
|
284
284
|
* The server information.
|
|
285
285
|
* @internal
|
|
@@ -315,9 +315,9 @@ class InformationService {
|
|
|
315
315
|
* @param options The options to create the service.
|
|
316
316
|
*/
|
|
317
317
|
constructor(options) {
|
|
318
|
-
core.Guards.object(
|
|
319
|
-
core.Guards.object(
|
|
320
|
-
core.Guards.object(
|
|
318
|
+
core.Guards.object(InformationService.CLASS_NAME, "options", options);
|
|
319
|
+
core.Guards.object(InformationService.CLASS_NAME, "options.config", options.config);
|
|
320
|
+
core.Guards.object(InformationService.CLASS_NAME, "options.config.serverInfo", options.config.serverInfo);
|
|
321
321
|
this._serverInfo = options.config.serverInfo;
|
|
322
322
|
this._healthInfo = {
|
|
323
323
|
status: "ok"
|
package/dist/esm/index.mjs
CHANGED
|
@@ -277,7 +277,7 @@ class InformationService {
|
|
|
277
277
|
/**
|
|
278
278
|
* Runtime name for the class.
|
|
279
279
|
*/
|
|
280
|
-
CLASS_NAME = "InformationService";
|
|
280
|
+
static CLASS_NAME = "InformationService";
|
|
281
281
|
/**
|
|
282
282
|
* The server information.
|
|
283
283
|
* @internal
|
|
@@ -313,9 +313,9 @@ class InformationService {
|
|
|
313
313
|
* @param options The options to create the service.
|
|
314
314
|
*/
|
|
315
315
|
constructor(options) {
|
|
316
|
-
Guards.object(
|
|
317
|
-
Guards.object(
|
|
318
|
-
Guards.object(
|
|
316
|
+
Guards.object(InformationService.CLASS_NAME, "options", options);
|
|
317
|
+
Guards.object(InformationService.CLASS_NAME, "options.config", options.config);
|
|
318
|
+
Guards.object(InformationService.CLASS_NAME, "options.config.serverInfo", options.config.serverInfo);
|
|
319
319
|
this._serverInfo = options.config.serverInfo;
|
|
320
320
|
this._healthInfo = {
|
|
321
321
|
status: "ok"
|
|
@@ -7,7 +7,7 @@ export declare class InformationService implements IInformationComponent {
|
|
|
7
7
|
/**
|
|
8
8
|
* Runtime name for the class.
|
|
9
9
|
*/
|
|
10
|
-
readonly CLASS_NAME: string;
|
|
10
|
+
static readonly CLASS_NAME: string;
|
|
11
11
|
/**
|
|
12
12
|
* Create a new instance of InformationService.
|
|
13
13
|
* @param options The options to create the service.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @twin.org/api-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.12](https://github.com/twinfoundation/api/compare/api-service-v0.0.2-next.11...api-service-v0.0.2-next.12) (2025-10-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add validate-locales ([cdba610](https://github.com/twinfoundation/api/commit/cdba610a0acb5022d2e3ce729732e6646a297e5e))
|
|
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.11 to 0.0.2-next.12
|
|
16
|
+
|
|
17
|
+
## [0.0.2-next.11](https://github.com/twinfoundation/api/compare/api-service-v0.0.2-next.10...api-service-v0.0.2-next.11) (2025-09-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* update IComponent signatures ([915ce37](https://github.com/twinfoundation/api/commit/915ce37712326ab4aa6869c350eabaa4622e8430))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/api-models bumped from 0.0.2-next.10 to 0.0.2-next.11
|
|
30
|
+
|
|
3
31
|
## [0.0.2-next.10](https://github.com/twinfoundation/api/compare/api-service-v0.0.2-next.9...api-service-v0.0.2-next.10) (2025-09-23)
|
|
4
32
|
|
|
5
33
|
|
|
@@ -30,14 +30,10 @@ The options to create the service.
|
|
|
30
30
|
|
|
31
31
|
### CLASS\_NAME
|
|
32
32
|
|
|
33
|
-
> `readonly` **CLASS\_NAME**: `string`
|
|
33
|
+
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
34
34
|
|
|
35
35
|
Runtime name for the class.
|
|
36
36
|
|
|
37
|
-
#### Implementation of
|
|
38
|
-
|
|
39
|
-
`IInformationComponent.CLASS_NAME`
|
|
40
|
-
|
|
41
37
|
## Methods
|
|
42
38
|
|
|
43
39
|
### start()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-service",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.12",
|
|
4
4
|
"description": "Information contract implementation and REST endpoint definitions",
|
|
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.12",
|
|
18
18
|
"@twin.org/core": "next",
|
|
19
19
|
"@twin.org/nameof": "next",
|
|
20
20
|
"@twin.org/web": "next"
|
|
@@ -35,5 +35,20 @@
|
|
|
35
35
|
"dist/types",
|
|
36
36
|
"locales",
|
|
37
37
|
"docs"
|
|
38
|
-
]
|
|
38
|
+
],
|
|
39
|
+
"keywords": [
|
|
40
|
+
"twin",
|
|
41
|
+
"trade",
|
|
42
|
+
"iota",
|
|
43
|
+
"framework",
|
|
44
|
+
"blockchain",
|
|
45
|
+
"api",
|
|
46
|
+
"service",
|
|
47
|
+
"microservice",
|
|
48
|
+
"business-logic"
|
|
49
|
+
],
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "git+https://github.com/twinfoundation/api/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://twindev.org"
|
|
39
54
|
}
|