@twin.org/api-auth-entity-storage-rest-client 0.0.3-next.28 → 0.0.3-next.29
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,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.29](https://github.com/twinfoundation/twin-api/compare/api-auth-entity-storage-rest-client-v0.0.3-next.28...api-auth-entity-storage-rest-client-v0.0.3-next.29) (2026-05-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **api-auth-entity-storage-rest-client:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-auth-entity-storage-models bumped from 0.0.3-next.28 to 0.0.3-next.29
|
|
16
|
+
* @twin.org/api-core bumped from 0.0.3-next.28 to 0.0.3-next.29
|
|
17
|
+
* @twin.org/api-models bumped from 0.0.3-next.28 to 0.0.3-next.29
|
|
18
|
+
|
|
3
19
|
## [0.0.3-next.28](https://github.com/twinfoundation/twin-api/compare/api-auth-entity-storage-rest-client-v0.0.3-next.27...api-auth-entity-storage-rest-client-v0.0.3-next.28) (2026-04-30)
|
|
4
20
|
|
|
5
21
|
|
package/docs/reference/interfaces/IEntityStorageAuthenticationRestClientConstructorOptions.md
CHANGED
|
@@ -79,3 +79,63 @@ Include credentials in the request, defaults to true.
|
|
|
79
79
|
#### Inherited from
|
|
80
80
|
|
|
81
81
|
`IBaseRestClientConfig.includeCredentials`
|
|
82
|
+
|
|
83
|
+
***
|
|
84
|
+
|
|
85
|
+
### customHeaders? {#customheaders}
|
|
86
|
+
|
|
87
|
+
> `optional` **customHeaders?**: () => `Promise`\<`IHttpHeaders`\>
|
|
88
|
+
|
|
89
|
+
Hook to provide headers asynchronously.
|
|
90
|
+
|
|
91
|
+
#### Returns
|
|
92
|
+
|
|
93
|
+
`Promise`\<`IHttpHeaders`\>
|
|
94
|
+
|
|
95
|
+
A promise that resolves to the headers.
|
|
96
|
+
|
|
97
|
+
#### Inherited from
|
|
98
|
+
|
|
99
|
+
`IBaseRestClientConfig.customHeaders`
|
|
100
|
+
|
|
101
|
+
***
|
|
102
|
+
|
|
103
|
+
### customAuthHeader? {#customauthheader}
|
|
104
|
+
|
|
105
|
+
> `optional` **customAuthHeader?**: () => `Promise`\<`string`\>
|
|
106
|
+
|
|
107
|
+
Hook to provide an authorization header value asynchronously.
|
|
108
|
+
|
|
109
|
+
#### Returns
|
|
110
|
+
|
|
111
|
+
`Promise`\<`string`\>
|
|
112
|
+
|
|
113
|
+
A promise that resolves to the authorization header value.
|
|
114
|
+
|
|
115
|
+
#### Inherited from
|
|
116
|
+
|
|
117
|
+
`IBaseRestClientConfig.customAuthHeader`
|
|
118
|
+
|
|
119
|
+
***
|
|
120
|
+
|
|
121
|
+
### onAuthFailure? {#onauthfailure}
|
|
122
|
+
|
|
123
|
+
> `optional` **onAuthFailure?**: (`err`) => `Promise`\<`void`\>
|
|
124
|
+
|
|
125
|
+
Hook to handle authorization failures asynchronously.
|
|
126
|
+
|
|
127
|
+
#### Parameters
|
|
128
|
+
|
|
129
|
+
##### err
|
|
130
|
+
|
|
131
|
+
`IError`
|
|
132
|
+
|
|
133
|
+
#### Returns
|
|
134
|
+
|
|
135
|
+
`Promise`\<`void`\>
|
|
136
|
+
|
|
137
|
+
A promise that resolves when the auth failure handling is complete.
|
|
138
|
+
|
|
139
|
+
#### Inherited from
|
|
140
|
+
|
|
141
|
+
`IBaseRestClientConfig.onAuthFailure`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-auth-entity-storage-rest-client",
|
|
3
|
-
"version": "0.0.3-next.
|
|
3
|
+
"version": "0.0.3-next.29",
|
|
4
4
|
"description": "REST clients for authentication and admin operations against entity storage endpoints.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-auth-entity-storage-models": "0.0.3-next.
|
|
18
|
-
"@twin.org/api-core": "0.0.3-next.
|
|
19
|
-
"@twin.org/api-models": "0.0.3-next.
|
|
17
|
+
"@twin.org/api-auth-entity-storage-models": "0.0.3-next.29",
|
|
18
|
+
"@twin.org/api-core": "0.0.3-next.29",
|
|
19
|
+
"@twin.org/api-models": "0.0.3-next.29",
|
|
20
20
|
"@twin.org/core": "next",
|
|
21
21
|
"@twin.org/nameof": "next",
|
|
22
22
|
"@twin.org/web": "next"
|