@twin.org/api-rest-client 0.9.1-next.2 → 0.9.1-next.4
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,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1-next.4](https://github.com/iotaledger/twin-api/compare/api-rest-client-v0.9.1-next.3...api-rest-client-v0.9.1-next.4) (2026-06-30)
|
|
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.9.1-next.3 to 0.9.1-next.4
|
|
16
|
+
* @twin.org/api-models bumped from 0.9.1-next.3 to 0.9.1-next.4
|
|
17
|
+
|
|
18
|
+
## [0.9.1-next.3](https://github.com/iotaledger/twin-api/compare/api-rest-client-v0.9.1-next.2...api-rest-client-v0.9.1-next.3) (2026-06-29)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* enhanced rest handling ([#208](https://github.com/iotaledger/twin-api/issues/208)) ([99d5f3f](https://github.com/iotaledger/twin-api/commit/99d5f3f96d262e57828d98d3f3b1e3da8a863378))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/api-core bumped from 0.9.1-next.2 to 0.9.1-next.3
|
|
31
|
+
* @twin.org/api-models bumped from 0.9.1-next.2 to 0.9.1-next.3
|
|
32
|
+
|
|
3
33
|
## [0.9.1-next.2](https://github.com/iotaledger/twin-api/compare/api-rest-client-v0.9.1-next.1...api-rest-client-v0.9.1-next.2) (2026-06-26)
|
|
4
34
|
|
|
5
35
|
|
|
@@ -62,6 +62,24 @@ The endpoint with namespace prefix attached.
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
+
### getPathPrefix() {#getpathprefix}
|
|
66
|
+
|
|
67
|
+
> **getPathPrefix**(): `string`
|
|
68
|
+
|
|
69
|
+
Get the path prefix as a URL path string provided in the constructor.
|
|
70
|
+
|
|
71
|
+
#### Returns
|
|
72
|
+
|
|
73
|
+
`string`
|
|
74
|
+
|
|
75
|
+
The path prefix.
|
|
76
|
+
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
`BaseRestClient.getPathPrefix`
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
65
83
|
### fetch() {#fetch}
|
|
66
84
|
|
|
67
85
|
> **fetch**\<`T`, `U`\>(`route`, `method`, `request?`, `options?`): `Promise`\<`U`\>
|
|
@@ -62,6 +62,24 @@ The endpoint with namespace prefix attached.
|
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
65
|
+
### getPathPrefix() {#getpathprefix}
|
|
66
|
+
|
|
67
|
+
> **getPathPrefix**(): `string`
|
|
68
|
+
|
|
69
|
+
Get the path prefix as a URL path string provided in the constructor.
|
|
70
|
+
|
|
71
|
+
#### Returns
|
|
72
|
+
|
|
73
|
+
`string`
|
|
74
|
+
|
|
75
|
+
The path prefix.
|
|
76
|
+
|
|
77
|
+
#### Inherited from
|
|
78
|
+
|
|
79
|
+
`BaseRestClient.getPathPrefix`
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
65
83
|
### fetch() {#fetch}
|
|
66
84
|
|
|
67
85
|
> **fetch**\<`T`, `U`\>(`route`, `method`, `request?`, `options?`): `Promise`\<`U`\>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-rest-client",
|
|
3
|
-
"version": "0.9.1-next.
|
|
3
|
+
"version": "0.9.1-next.4",
|
|
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.9.1-next.
|
|
18
|
-
"@twin.org/api-models": "0.9.1-next.
|
|
17
|
+
"@twin.org/api-core": "0.9.1-next.4",
|
|
18
|
+
"@twin.org/api-models": "0.9.1-next.4",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/nameof": "next",
|
|
21
21
|
"@twin.org/web": "next"
|