@twin.org/api-auth-entity-storage-rest-client 0.0.3-next.28 → 0.0.3-next.30

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,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.30](https://github.com/twinfoundation/twin-api/compare/api-auth-entity-storage-rest-client-v0.0.3-next.29...api-auth-entity-storage-rest-client-v0.0.3-next.30) (2026-05-05)
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.29 to 0.0.3-next.30
16
+ * @twin.org/api-core bumped from 0.0.3-next.29 to 0.0.3-next.30
17
+ * @twin.org/api-models bumped from 0.0.3-next.29 to 0.0.3-next.30
18
+
19
+ ## [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)
20
+
21
+
22
+ ### Miscellaneous Chores
23
+
24
+ * **api-auth-entity-storage-rest-client:** Synchronize repo versions
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * The following workspace dependencies were updated
30
+ * dependencies
31
+ * @twin.org/api-auth-entity-storage-models bumped from 0.0.3-next.28 to 0.0.3-next.29
32
+ * @twin.org/api-core bumped from 0.0.3-next.28 to 0.0.3-next.29
33
+ * @twin.org/api-models bumped from 0.0.3-next.28 to 0.0.3-next.29
34
+
3
35
  ## [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
36
 
5
37
 
@@ -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.28",
3
+ "version": "0.0.3-next.30",
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.28",
18
- "@twin.org/api-core": "0.0.3-next.28",
19
- "@twin.org/api-models": "0.0.3-next.28",
17
+ "@twin.org/api-auth-entity-storage-models": "0.0.3-next.30",
18
+ "@twin.org/api-core": "0.0.3-next.30",
19
+ "@twin.org/api-models": "0.0.3-next.30",
20
20
  "@twin.org/core": "next",
21
21
  "@twin.org/nameof": "next",
22
22
  "@twin.org/web": "next"