@twin.org/web 0.0.3-next.23 → 0.0.3-next.24

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,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.24](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.23...web-v0.0.3-next.24) (2026-03-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/twinfoundation/framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/core bumped from 0.0.3-next.23 to 0.0.3-next.24
16
+ * @twin.org/crypto bumped from 0.0.3-next.23 to 0.0.3-next.24
17
+ * @twin.org/nameof bumped from 0.0.3-next.23 to 0.0.3-next.24
18
+ * devDependencies
19
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.23 to 0.0.3-next.24
20
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.23 to 0.0.3-next.24
21
+ * @twin.org/validate-locales bumped from 0.0.3-next.23 to 0.0.3-next.24
22
+
3
23
  ## [0.0.3-next.23](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.22...web-v0.0.3-next.23) (2026-03-17)
4
24
 
5
25
 
@@ -138,9 +138,9 @@ Get cookies from headers.
138
138
 
139
139
  ##### headers
140
140
 
141
- The headers to get cookies from.
141
+ `string` \| `string`[] \| `undefined`
142
142
 
143
- `string` | `string`[] | `undefined`
143
+ The headers to get cookies from.
144
144
 
145
145
  ##### cookieName
146
146
 
@@ -56,7 +56,7 @@ The cause of the error if we have wrapped another error.
56
56
 
57
57
  ### source? {#source}
58
58
 
59
- > `optional` **source**: `string`
59
+ > `optional` **source?**: `string`
60
60
 
61
61
  The source of the error.
62
62
 
@@ -68,7 +68,7 @@ The source of the error.
68
68
 
69
69
  ### properties? {#properties}
70
70
 
71
- > `optional` **properties**: `object`
71
+ > `optional` **properties?**: `object`
72
72
 
73
73
  Any additional information for the error.
74
74
 
@@ -84,7 +84,7 @@ Any additional information for the error.
84
84
 
85
85
  ### cause? {#cause}
86
86
 
87
- > `optional` **cause**: `IError`
87
+ > `optional` **cause?**: `IError`
88
88
 
89
89
  The cause of the error.
90
90
 
@@ -164,9 +164,9 @@ Expand an error tree.
164
164
 
165
165
  ##### errors
166
166
 
167
- The list of errors to expand.
167
+ `IError`[] \| `undefined`
168
168
 
169
- `IError`[] | `undefined`
169
+ The list of errors to expand.
170
170
 
171
171
  #### Returns
172
172
 
@@ -196,9 +196,9 @@ The error to test.
196
196
 
197
197
  ##### name
198
198
 
199
- The name to check for.
199
+ `string` \| `RegExp`
200
200
 
201
- `string` | `RegExp`
201
+ The name to check for.
202
202
 
203
203
  #### Returns
204
204
 
@@ -228,9 +228,9 @@ The error to test.
228
228
 
229
229
  ##### message
230
230
 
231
- The message to check for.
231
+ `string` \| `RegExp`
232
232
 
233
- `string` | `RegExp`
233
+ The message to check for.
234
234
 
235
235
  #### Returns
236
236
 
@@ -260,9 +260,9 @@ The error to test.
260
260
 
261
261
  ##### code
262
262
 
263
- The code to check for.
263
+ `string` \| `RegExp`
264
264
 
265
- `string` | `RegExp`
265
+ The code to check for.
266
266
 
267
267
  #### Returns
268
268
 
@@ -292,9 +292,9 @@ The error to test.
292
292
 
293
293
  ##### name
294
294
 
295
- The name to check for.
295
+ `string` \| `RegExp`
296
296
 
297
- `string` | `RegExp`
297
+ The name to check for.
298
298
 
299
299
  #### Returns
300
300
 
@@ -324,9 +324,9 @@ The error to test.
324
324
 
325
325
  ##### message
326
326
 
327
- The message to check for.
327
+ `string` \| `RegExp`
328
328
 
329
- `string` | `RegExp`
329
+ The message to check for.
330
330
 
331
331
  #### Returns
332
332
 
@@ -388,9 +388,9 @@ The error to test.
388
388
 
389
389
  ##### code
390
390
 
391
- The code to check for.
391
+ `string` \| `RegExp`
392
392
 
393
- `string` | `RegExp`
393
+ The code to check for.
394
394
 
395
395
  #### Returns
396
396
 
@@ -50,9 +50,9 @@ The http method.
50
50
 
51
51
  ##### body?
52
52
 
53
- Request to send to the endpoint.
53
+ `string` \| `Uint8Array`\<`ArrayBufferLike`\>
54
54
 
55
- `string` | `Uint8Array`\<`ArrayBufferLike`\>
55
+ Request to send to the endpoint.
56
56
 
57
57
  ##### options?
58
58
 
@@ -152,9 +152,9 @@ The url for the request.
152
152
 
153
153
  ##### method
154
154
 
155
- The http method.
155
+ `"GET"` \| `"POST"`
156
156
 
157
- `"GET"` | `"POST"`
157
+ The http method.
158
158
 
159
159
  ##### requestData?
160
160
 
@@ -166,9 +166,9 @@ The URL to include in the Link header.
166
166
 
167
167
  ##### urlQueryParams
168
168
 
169
- Optional query parameters to include in the URL.
169
+ \{\[`id`: `string`\]: `string`; \} \| `undefined`
170
170
 
171
- \{\[`id`: `string`\]: `string`; \} | `undefined`
171
+ Optional query parameters to include in the URL.
172
172
 
173
173
  ##### rel
174
174
 
@@ -284,9 +284,9 @@ The payload to sign.
284
284
 
285
285
  ##### key
286
286
 
287
- The optional key to sign with.
287
+ [`JwkCryptoKey`](../type-aliases/JwkCryptoKey.md) \| `undefined`
288
288
 
289
- [`JwkCryptoKey`](../type-aliases/JwkCryptoKey.md) | `undefined`
289
+ The optional key to sign with.
290
290
 
291
291
  #### Returns
292
292
 
@@ -322,9 +322,9 @@ The token to verify.
322
322
 
323
323
  ##### key
324
324
 
325
- The key to verify with.
325
+ [`JwkCryptoKey`](../type-aliases/JwkCryptoKey.md) \| `undefined`
326
326
 
327
- [`JwkCryptoKey`](../type-aliases/JwkCryptoKey.md) | `undefined`
327
+ The key to verify with.
328
328
 
329
329
  #### Returns
330
330
 
@@ -46,9 +46,9 @@ Return the default extension for a mime type.
46
46
 
47
47
  ##### mimeType
48
48
 
49
- The mimetype to get the extension for.
49
+ `string` \| `undefined`
50
50
 
51
- `string` | `undefined`
51
+ The mimetype to get the extension for.
52
52
 
53
53
  #### Returns
54
54
 
@@ -6,7 +6,7 @@ Options for call to the fetch helper.
6
6
 
7
7
  ### headers? {#headers}
8
8
 
9
- > `optional` **headers**: [`IHttpHeaders`](IHttpHeaders.md)
9
+ > `optional` **headers?**: [`IHttpHeaders`](IHttpHeaders.md)
10
10
 
11
11
  #### Param
12
12
 
@@ -16,7 +16,7 @@ The headers for the request.
16
16
 
17
17
  ### timeoutMs? {#timeoutms}
18
18
 
19
- > `optional` **timeoutMs**: `number`
19
+ > `optional` **timeoutMs?**: `number`
20
20
 
21
21
  Timeout for requests in milliseconds.
22
22
 
@@ -24,7 +24,7 @@ Timeout for requests in milliseconds.
24
24
 
25
25
  ### includeCredentials? {#includecredentials}
26
26
 
27
- > `optional` **includeCredentials**: `boolean`
27
+ > `optional` **includeCredentials?**: `boolean`
28
28
 
29
29
  Include credentials in the requests.
30
30
 
@@ -32,7 +32,7 @@ Include credentials in the requests.
32
32
 
33
33
  ### retryCount? {#retrycount}
34
34
 
35
- > `optional` **retryCount**: `number`
35
+ > `optional` **retryCount?**: `number`
36
36
 
37
37
  The number of times to retry fetching defaults to no retries.
38
38
 
@@ -40,7 +40,7 @@ The number of times to retry fetching defaults to no retries.
40
40
 
41
41
  ### retryDelayMs? {#retrydelayms}
42
42
 
43
- > `optional` **retryDelayMs**: `number`
43
+ > `optional` **retryDelayMs?**: `number`
44
44
 
45
45
  The number of milliseconds we should delay before any retry.
46
46
 
@@ -48,6 +48,6 @@ The number of milliseconds we should delay before any retry.
48
48
 
49
49
  ### cacheTtlMs? {#cachettlms}
50
50
 
51
- > `optional` **cacheTtlMs**: `number`
51
+ > `optional` **cacheTtlMs?**: `number`
52
52
 
53
53
  The number of milliseconds to cache the response for, leave undefined for no cache, 0 means infinite.
@@ -4,4 +4,4 @@ Model used for Http headers parameter.
4
4
 
5
5
  ## Indexable
6
6
 
7
- \[`key`: `string`\]: `string` \| `string`[]
7
+ > \[`key`: `string`\]: `string` \| `string`[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/web",
3
- "version": "0.0.3-next.23",
3
+ "version": "0.0.3-next.24",
4
4
  "description": "Classes for use with web operations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.3-next.23",
18
- "@twin.org/crypto": "0.0.3-next.23",
19
- "@twin.org/nameof": "0.0.3-next.23",
20
- "jose": "6.1.3"
17
+ "@twin.org/core": "0.0.3-next.24",
18
+ "@twin.org/crypto": "0.0.3-next.24",
19
+ "@twin.org/nameof": "0.0.3-next.24",
20
+ "jose": "6.2.2"
21
21
  },
22
22
  "main": "./dist/es/index.js",
23
23
  "types": "./dist/types/index.d.ts",