@twin.org/api-rest-client 0.0.3-next.21 → 0.0.3-next.22
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.22](https://github.com/twinfoundation/api/compare/api-rest-client-v0.0.3-next.21...api-rest-client-v0.0.3-next.22) (2026-03-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **api-rest-client:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-core bumped from 0.0.3-next.21 to 0.0.3-next.22
|
|
16
|
+
* @twin.org/api-models bumped from 0.0.3-next.21 to 0.0.3-next.22
|
|
17
|
+
|
|
3
18
|
## [0.0.3-next.21](https://github.com/twinfoundation/api/compare/api-rest-client-v0.0.3-next.20...api-rest-client-v0.0.3-next.21) (2026-03-11)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -36,7 +36,7 @@ The configuration for the client.
|
|
|
36
36
|
|
|
37
37
|
## Properties
|
|
38
38
|
|
|
39
|
-
### CLASS\_NAME
|
|
39
|
+
### CLASS\_NAME {#class_name}
|
|
40
40
|
|
|
41
41
|
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Runtime name for the class.
|
|
|
44
44
|
|
|
45
45
|
## Methods
|
|
46
46
|
|
|
47
|
-
### getEndpointWithPrefix()
|
|
47
|
+
### getEndpointWithPrefix() {#getendpointwithprefix}
|
|
48
48
|
|
|
49
49
|
> **getEndpointWithPrefix**(): `string`
|
|
50
50
|
|
|
@@ -62,7 +62,7 @@ The endpoint with namespace prefix attached.
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
-
### fetch()
|
|
65
|
+
### fetch() {#fetch}
|
|
66
66
|
|
|
67
67
|
> **fetch**\<`T`, `U`\>(`route`, `method`, `request?`): `Promise`\<`U`\>
|
|
68
68
|
|
|
@@ -110,7 +110,7 @@ The response.
|
|
|
110
110
|
|
|
111
111
|
***
|
|
112
112
|
|
|
113
|
-
### className()
|
|
113
|
+
### className() {#classname}
|
|
114
114
|
|
|
115
115
|
> **className**(): `string`
|
|
116
116
|
|
|
@@ -128,7 +128,7 @@ The class name of the component.
|
|
|
128
128
|
|
|
129
129
|
***
|
|
130
130
|
|
|
131
|
-
### root()
|
|
131
|
+
### root() {#root}
|
|
132
132
|
|
|
133
133
|
> **root**(): `Promise`\<`string`\>
|
|
134
134
|
|
|
@@ -146,7 +146,7 @@ The root root.
|
|
|
146
146
|
|
|
147
147
|
***
|
|
148
148
|
|
|
149
|
-
### info()
|
|
149
|
+
### info() {#info}
|
|
150
150
|
|
|
151
151
|
> **info**(): `Promise`\<`IServerInfo`\>
|
|
152
152
|
|
|
@@ -164,7 +164,7 @@ The service information.
|
|
|
164
164
|
|
|
165
165
|
***
|
|
166
166
|
|
|
167
|
-
### favicon()
|
|
167
|
+
### favicon() {#favicon}
|
|
168
168
|
|
|
169
169
|
> **favicon**(): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\> \| `undefined`\>
|
|
170
170
|
|
|
@@ -182,7 +182,7 @@ The favicon.
|
|
|
182
182
|
|
|
183
183
|
***
|
|
184
184
|
|
|
185
|
-
### spec()
|
|
185
|
+
### spec() {#spec}
|
|
186
186
|
|
|
187
187
|
> **spec**(): `Promise`\<`unknown`\>
|
|
188
188
|
|
|
@@ -200,7 +200,7 @@ The OpenAPI spec.
|
|
|
200
200
|
|
|
201
201
|
***
|
|
202
202
|
|
|
203
|
-
### livez()
|
|
203
|
+
### livez() {#livez}
|
|
204
204
|
|
|
205
205
|
> **livez**(): `Promise`\<`boolean`\>
|
|
206
206
|
|
|
@@ -218,7 +218,7 @@ True if the server is live.
|
|
|
218
218
|
|
|
219
219
|
***
|
|
220
220
|
|
|
221
|
-
### health()
|
|
221
|
+
### health() {#health}
|
|
222
222
|
|
|
223
223
|
> **health**(): `Promise`\<`IHealthInfo`\>
|
|
224
224
|
|
|
@@ -236,7 +236,7 @@ The service health.
|
|
|
236
236
|
|
|
237
237
|
***
|
|
238
238
|
|
|
239
|
-
### setComponentHealth()
|
|
239
|
+
### setComponentHealth() {#setcomponenthealth}
|
|
240
240
|
|
|
241
241
|
> **setComponentHealth**(`name`, `status`, `details?`): `Promise`\<`void`\>
|
|
242
242
|
|
|
@@ -274,7 +274,7 @@ Nothing.
|
|
|
274
274
|
|
|
275
275
|
***
|
|
276
276
|
|
|
277
|
-
### removeComponentHealth()
|
|
277
|
+
### removeComponentHealth() {#removecomponenthealth}
|
|
278
278
|
|
|
279
279
|
> **removeComponentHealth**(`name`): `Promise`\<`void`\>
|
|
280
280
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-rest-client",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.22",
|
|
4
4
|
"description": "REST client implementation for consuming information and hosting endpoints.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-core": "0.0.3-next.
|
|
18
|
-
"@twin.org/api-models": "0.0.3-next.
|
|
17
|
+
"@twin.org/api-core": "0.0.3-next.22",
|
|
18
|
+
"@twin.org/api-models": "0.0.3-next.22",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|
|
21
21
|
"@twin.org/web": "next"
|