@twin.org/web 0.0.3-next.2 → 0.0.3-next.21

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.
Files changed (33) hide show
  1. package/dist/es/index.js +1 -0
  2. package/dist/es/index.js.map +1 -1
  3. package/dist/es/models/headerTypes.js +129 -1
  4. package/dist/es/models/headerTypes.js.map +1 -1
  5. package/dist/es/models/httpMethod.js +36 -0
  6. package/dist/es/models/httpMethod.js.map +1 -1
  7. package/dist/es/models/httpStatusCode.js +63 -0
  8. package/dist/es/models/httpStatusCode.js.map +1 -1
  9. package/dist/es/models/mimeTypes.js +170 -1
  10. package/dist/es/models/mimeTypes.js.map +1 -1
  11. package/dist/es/utils/cookieHelper.js +83 -0
  12. package/dist/es/utils/cookieHelper.js.map +1 -0
  13. package/dist/es/utils/headerHelper.js +135 -1
  14. package/dist/es/utils/headerHelper.js.map +1 -1
  15. package/dist/es/utils/mimeTypeHelper.js +42 -1
  16. package/dist/es/utils/mimeTypeHelper.js.map +1 -1
  17. package/dist/types/index.d.ts +1 -0
  18. package/dist/types/models/headerTypes.d.ts +128 -0
  19. package/dist/types/models/httpMethod.d.ts +36 -0
  20. package/dist/types/models/httpStatusCode.d.ts +63 -0
  21. package/dist/types/models/mimeTypes.d.ts +169 -0
  22. package/dist/types/utils/cookieHelper.d.ts +49 -0
  23. package/dist/types/utils/headerHelper.d.ts +67 -0
  24. package/docs/changelog.md +431 -0
  25. package/docs/reference/classes/CookieHelper.md +155 -0
  26. package/docs/reference/classes/HeaderHelper.md +136 -0
  27. package/docs/reference/index.md +1 -0
  28. package/docs/reference/variables/HeaderTypes.md +272 -0
  29. package/docs/reference/variables/HttpMethod.md +54 -0
  30. package/docs/reference/variables/HttpStatusCode.md +252 -0
  31. package/docs/reference/variables/MimeTypes.md +256 -0
  32. package/locales/en.json +4 -0
  33. package/package.json +4 -4
package/docs/changelog.md CHANGED
@@ -1,5 +1,436 @@
1
1
  # @twin.org/web - Changelog
2
2
 
3
+ ## [0.0.3-next.21](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.20...web-v0.0.3-next.21) (2026-02-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * add additional header types ([#222](https://github.com/twinfoundation/framework/issues/222)) ([05f01cf](https://github.com/twinfoundation/framework/commit/05f01cf34b7bcec561ee989f679281b1cacdf032))
9
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
10
+ * add cookie helper method to web package ([#217](https://github.com/twinfoundation/framework/issues/217)) ([043c632](https://github.com/twinfoundation/framework/commit/043c63298bff96f70bdefed56b82afef42ec3f44))
11
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
12
+ * add header helper for common bearer support ([0c940b2](https://github.com/twinfoundation/framework/commit/0c940b29cccf0c3bb5b4aa8a01f1998010e44d51))
13
+ * add jwk enc property overrides ([18b6309](https://github.com/twinfoundation/framework/commit/18b63092a386b56ea7fcd7e12865ac6e1b47cc1e))
14
+ * add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
15
+ * add Link header array support ([aff32a3](https://github.com/twinfoundation/framework/commit/aff32a3ff8ad3d076cade7c889444220706bfb1e))
16
+ * add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
17
+ * add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
18
+ * add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
19
+ * add/update http and mime types ([#229](https://github.com/twinfoundation/framework/issues/229)) ([d50154a](https://github.com/twinfoundation/framework/commit/d50154a484711b67feb42ea20a94e4415e53d392))
20
+ * adding link header helper ([#225](https://github.com/twinfoundation/framework/issues/225)) ([703c072](https://github.com/twinfoundation/framework/commit/703c0725aceac6b6ec0c4fa729ef832d12fb3fd7))
21
+ * additional nameof operators ([a5aab60](https://github.com/twinfoundation/framework/commit/a5aab60bf66a86f1b7ff8af7c4f044cb03706d50))
22
+ * ensure the alg is the correct one when generating JWK or JWS ([#136](https://github.com/twinfoundation/framework/issues/136)) ([46a5af1](https://github.com/twinfoundation/framework/commit/46a5af127192d7048068275d14f555f09add3642))
23
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
24
+ * improve bearer creation and extraction ([b9ddd6d](https://github.com/twinfoundation/framework/commit/b9ddd6dae0cb558e2227f0ec5e9cd21f85957400))
25
+ * improve bearer creation and extraction ([29a347a](https://github.com/twinfoundation/framework/commit/29a347a760cb3bc5eb819112e84f1ac99430e72b))
26
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
27
+ * propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
28
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
29
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
30
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
31
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
37
+
38
+
39
+ ### Dependencies
40
+
41
+ * The following workspace dependencies were updated
42
+ * dependencies
43
+ * @twin.org/core bumped from 0.0.3-next.20 to 0.0.3-next.21
44
+ * @twin.org/crypto bumped from 0.0.3-next.20 to 0.0.3-next.21
45
+ * @twin.org/nameof bumped from 0.0.3-next.20 to 0.0.3-next.21
46
+ * devDependencies
47
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.20 to 0.0.3-next.21
48
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.20 to 0.0.3-next.21
49
+ * @twin.org/validate-locales bumped from 0.0.3-next.20 to 0.0.3-next.21
50
+
51
+ ## [0.0.3-next.20](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.19...web-v0.0.3-next.20) (2026-02-26)
52
+
53
+
54
+ ### Miscellaneous Chores
55
+
56
+ * **web:** Synchronize repo versions
57
+
58
+
59
+ ### Dependencies
60
+
61
+ * The following workspace dependencies were updated
62
+ * dependencies
63
+ * @twin.org/core bumped from 0.0.3-next.19 to 0.0.3-next.20
64
+ * @twin.org/crypto bumped from 0.0.3-next.19 to 0.0.3-next.20
65
+ * @twin.org/nameof bumped from 0.0.3-next.19 to 0.0.3-next.20
66
+ * devDependencies
67
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.19 to 0.0.3-next.20
68
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.19 to 0.0.3-next.20
69
+ * @twin.org/validate-locales bumped from 0.0.3-next.19 to 0.0.3-next.20
70
+
71
+ ## [0.0.3-next.19](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.18...web-v0.0.3-next.19) (2026-02-26)
72
+
73
+
74
+ ### Miscellaneous Chores
75
+
76
+ * **web:** Synchronize repo versions
77
+
78
+
79
+ ### Dependencies
80
+
81
+ * The following workspace dependencies were updated
82
+ * dependencies
83
+ * @twin.org/core bumped from 0.0.3-next.18 to 0.0.3-next.19
84
+ * @twin.org/crypto bumped from 0.0.3-next.18 to 0.0.3-next.19
85
+ * @twin.org/nameof bumped from 0.0.3-next.18 to 0.0.3-next.19
86
+ * devDependencies
87
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.18 to 0.0.3-next.19
88
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.18 to 0.0.3-next.19
89
+ * @twin.org/validate-locales bumped from 0.0.3-next.18 to 0.0.3-next.19
90
+
91
+ ## [0.0.3-next.18](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.17...web-v0.0.3-next.18) (2026-02-23)
92
+
93
+
94
+ ### Miscellaneous Chores
95
+
96
+ * **web:** Synchronize repo versions
97
+
98
+
99
+ ### Dependencies
100
+
101
+ * The following workspace dependencies were updated
102
+ * dependencies
103
+ * @twin.org/core bumped from 0.0.3-next.17 to 0.0.3-next.18
104
+ * @twin.org/crypto bumped from 0.0.3-next.17 to 0.0.3-next.18
105
+ * @twin.org/nameof bumped from 0.0.3-next.17 to 0.0.3-next.18
106
+ * devDependencies
107
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.17 to 0.0.3-next.18
108
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.17 to 0.0.3-next.18
109
+ * @twin.org/validate-locales bumped from 0.0.3-next.17 to 0.0.3-next.18
110
+
111
+ ## [0.0.3-next.17](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.16...web-v0.0.3-next.17) (2026-02-09)
112
+
113
+
114
+ ### Miscellaneous Chores
115
+
116
+ * **web:** Synchronize repo versions
117
+
118
+
119
+ ### Dependencies
120
+
121
+ * The following workspace dependencies were updated
122
+ * dependencies
123
+ * @twin.org/core bumped from 0.0.3-next.16 to 0.0.3-next.17
124
+ * @twin.org/crypto bumped from 0.0.3-next.16 to 0.0.3-next.17
125
+ * @twin.org/nameof bumped from 0.0.3-next.16 to 0.0.3-next.17
126
+ * devDependencies
127
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.16 to 0.0.3-next.17
128
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.16 to 0.0.3-next.17
129
+ * @twin.org/validate-locales bumped from 0.0.3-next.16 to 0.0.3-next.17
130
+
131
+ ## [0.0.3-next.16](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.15...web-v0.0.3-next.16) (2026-02-06)
132
+
133
+
134
+ ### Miscellaneous Chores
135
+
136
+ * **web:** Synchronize repo versions
137
+
138
+
139
+ ### Dependencies
140
+
141
+ * The following workspace dependencies were updated
142
+ * dependencies
143
+ * @twin.org/core bumped from 0.0.3-next.15 to 0.0.3-next.16
144
+ * @twin.org/crypto bumped from 0.0.3-next.15 to 0.0.3-next.16
145
+ * @twin.org/nameof bumped from 0.0.3-next.15 to 0.0.3-next.16
146
+ * devDependencies
147
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.15 to 0.0.3-next.16
148
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.15 to 0.0.3-next.16
149
+ * @twin.org/validate-locales bumped from 0.0.3-next.15 to 0.0.3-next.16
150
+
151
+ ## [0.0.3-next.15](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.14...web-v0.0.3-next.15) (2026-01-29)
152
+
153
+
154
+ ### Miscellaneous Chores
155
+
156
+ * **web:** Synchronize repo versions
157
+
158
+
159
+ ### Dependencies
160
+
161
+ * The following workspace dependencies were updated
162
+ * dependencies
163
+ * @twin.org/core bumped from 0.0.3-next.14 to 0.0.3-next.15
164
+ * @twin.org/crypto bumped from 0.0.3-next.14 to 0.0.3-next.15
165
+ * @twin.org/nameof bumped from 0.0.3-next.14 to 0.0.3-next.15
166
+ * devDependencies
167
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.14 to 0.0.3-next.15
168
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.14 to 0.0.3-next.15
169
+ * @twin.org/validate-locales bumped from 0.0.3-next.14 to 0.0.3-next.15
170
+
171
+ ## [0.0.3-next.14](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.13...web-v0.0.3-next.14) (2026-01-22)
172
+
173
+
174
+ ### Features
175
+
176
+ * add/update http and mime types ([#229](https://github.com/twinfoundation/framework/issues/229)) ([d50154a](https://github.com/twinfoundation/framework/commit/d50154a484711b67feb42ea20a94e4415e53d392))
177
+
178
+
179
+ ### Dependencies
180
+
181
+ * The following workspace dependencies were updated
182
+ * dependencies
183
+ * @twin.org/core bumped from 0.0.3-next.13 to 0.0.3-next.14
184
+ * @twin.org/crypto bumped from 0.0.3-next.13 to 0.0.3-next.14
185
+ * @twin.org/nameof bumped from 0.0.3-next.13 to 0.0.3-next.14
186
+ * devDependencies
187
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.13 to 0.0.3-next.14
188
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.13 to 0.0.3-next.14
189
+ * @twin.org/validate-locales bumped from 0.0.3-next.13 to 0.0.3-next.14
190
+
191
+ ## [0.0.3-next.13](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.12...web-v0.0.3-next.13) (2026-01-08)
192
+
193
+
194
+ ### Features
195
+
196
+ * add Link header array support ([aff32a3](https://github.com/twinfoundation/framework/commit/aff32a3ff8ad3d076cade7c889444220706bfb1e))
197
+
198
+
199
+ ### Dependencies
200
+
201
+ * The following workspace dependencies were updated
202
+ * dependencies
203
+ * @twin.org/core bumped from 0.0.3-next.12 to 0.0.3-next.13
204
+ * @twin.org/crypto bumped from 0.0.3-next.12 to 0.0.3-next.13
205
+ * @twin.org/nameof bumped from 0.0.3-next.12 to 0.0.3-next.13
206
+ * devDependencies
207
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.12 to 0.0.3-next.13
208
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.12 to 0.0.3-next.13
209
+ * @twin.org/validate-locales bumped from 0.0.3-next.12 to 0.0.3-next.13
210
+
211
+ ## [0.0.3-next.12](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.11...web-v0.0.3-next.12) (2026-01-08)
212
+
213
+
214
+ ### Features
215
+
216
+ * adding link header helper ([#225](https://github.com/twinfoundation/framework/issues/225)) ([703c072](https://github.com/twinfoundation/framework/commit/703c0725aceac6b6ec0c4fa729ef832d12fb3fd7))
217
+
218
+
219
+ ### Dependencies
220
+
221
+ * The following workspace dependencies were updated
222
+ * dependencies
223
+ * @twin.org/core bumped from 0.0.3-next.11 to 0.0.3-next.12
224
+ * @twin.org/crypto bumped from 0.0.3-next.11 to 0.0.3-next.12
225
+ * @twin.org/nameof bumped from 0.0.3-next.11 to 0.0.3-next.12
226
+ * devDependencies
227
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.11 to 0.0.3-next.12
228
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.11 to 0.0.3-next.12
229
+ * @twin.org/validate-locales bumped from 0.0.3-next.11 to 0.0.3-next.12
230
+
231
+ ## [0.0.3-next.11](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.10...web-v0.0.3-next.11) (2026-01-07)
232
+
233
+
234
+ ### Features
235
+
236
+ * add additional header types ([#222](https://github.com/twinfoundation/framework/issues/222)) ([05f01cf](https://github.com/twinfoundation/framework/commit/05f01cf34b7bcec561ee989f679281b1cacdf032))
237
+
238
+
239
+ ### Dependencies
240
+
241
+ * The following workspace dependencies were updated
242
+ * dependencies
243
+ * @twin.org/core bumped from 0.0.3-next.10 to 0.0.3-next.11
244
+ * @twin.org/crypto bumped from 0.0.3-next.10 to 0.0.3-next.11
245
+ * @twin.org/nameof bumped from 0.0.3-next.10 to 0.0.3-next.11
246
+ * devDependencies
247
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.10 to 0.0.3-next.11
248
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.10 to 0.0.3-next.11
249
+ * @twin.org/validate-locales bumped from 0.0.3-next.10 to 0.0.3-next.11
250
+
251
+ ## [0.0.3-next.10](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.9...web-v0.0.3-next.10) (2026-01-07)
252
+
253
+
254
+ ### Miscellaneous Chores
255
+
256
+ * **web:** Synchronize repo versions
257
+
258
+
259
+ ### Dependencies
260
+
261
+ * The following workspace dependencies were updated
262
+ * dependencies
263
+ * @twin.org/core bumped from 0.0.3-next.9 to 0.0.3-next.10
264
+ * @twin.org/crypto bumped from 0.0.3-next.9 to 0.0.3-next.10
265
+ * @twin.org/nameof bumped from 0.0.3-next.9 to 0.0.3-next.10
266
+ * devDependencies
267
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.9 to 0.0.3-next.10
268
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.9 to 0.0.3-next.10
269
+ * @twin.org/validate-locales bumped from 0.0.3-next.9 to 0.0.3-next.10
270
+
271
+ ## [0.0.3-next.9](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.8...web-v0.0.3-next.9) (2026-01-05)
272
+
273
+
274
+ ### Features
275
+
276
+ * add cookie helper method to web package ([#217](https://github.com/twinfoundation/framework/issues/217)) ([043c632](https://github.com/twinfoundation/framework/commit/043c63298bff96f70bdefed56b82afef42ec3f44))
277
+
278
+
279
+ ### Dependencies
280
+
281
+ * The following workspace dependencies were updated
282
+ * dependencies
283
+ * @twin.org/core bumped from 0.0.3-next.8 to 0.0.3-next.9
284
+ * @twin.org/crypto bumped from 0.0.3-next.8 to 0.0.3-next.9
285
+ * @twin.org/nameof bumped from 0.0.3-next.8 to 0.0.3-next.9
286
+ * devDependencies
287
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.8 to 0.0.3-next.9
288
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.8 to 0.0.3-next.9
289
+ * @twin.org/validate-locales bumped from 0.0.3-next.8 to 0.0.3-next.9
290
+
291
+ ## [0.0.3-next.8](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.7...web-v0.0.3-next.8) (2025-11-26)
292
+
293
+
294
+ ### Miscellaneous Chores
295
+
296
+ * **web:** Synchronize repo versions
297
+
298
+
299
+ ### Dependencies
300
+
301
+ * The following workspace dependencies were updated
302
+ * dependencies
303
+ * @twin.org/core bumped from 0.0.3-next.7 to 0.0.3-next.8
304
+ * @twin.org/crypto bumped from 0.0.3-next.7 to 0.0.3-next.8
305
+ * @twin.org/nameof bumped from 0.0.3-next.7 to 0.0.3-next.8
306
+ * devDependencies
307
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.7 to 0.0.3-next.8
308
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.7 to 0.0.3-next.8
309
+ * @twin.org/validate-locales bumped from 0.0.3-next.7 to 0.0.3-next.8
310
+
311
+ ## [0.0.3-next.7](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.6...web-v0.0.3-next.7) (2025-11-25)
312
+
313
+
314
+ ### Features
315
+
316
+ * add context id features ([#206](https://github.com/twinfoundation/framework/issues/206)) ([ef0d4ee](https://github.com/twinfoundation/framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
317
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
318
+ * add header helper for common bearer support ([0c940b2](https://github.com/twinfoundation/framework/commit/0c940b29cccf0c3bb5b4aa8a01f1998010e44d51))
319
+ * add jwk enc property overrides ([18b6309](https://github.com/twinfoundation/framework/commit/18b63092a386b56ea7fcd7e12865ac6e1b47cc1e))
320
+ * add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
321
+ * add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
322
+ * add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
323
+ * add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
324
+ * additional nameof operators ([a5aab60](https://github.com/twinfoundation/framework/commit/a5aab60bf66a86f1b7ff8af7c4f044cb03706d50))
325
+ * ensure the alg is the correct one when generating JWK or JWS ([#136](https://github.com/twinfoundation/framework/issues/136)) ([46a5af1](https://github.com/twinfoundation/framework/commit/46a5af127192d7048068275d14f555f09add3642))
326
+ * eslint migration to flat config ([74427d7](https://github.com/twinfoundation/framework/commit/74427d78d342167f7850e49ab87269326355befe))
327
+ * improve bearer creation and extraction ([b9ddd6d](https://github.com/twinfoundation/framework/commit/b9ddd6dae0cb558e2227f0ec5e9cd21f85957400))
328
+ * improve bearer creation and extraction ([29a347a](https://github.com/twinfoundation/framework/commit/29a347a760cb3bc5eb819112e84f1ac99430e72b))
329
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
330
+ * propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
331
+ * relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
332
+ * update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
333
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/twinfoundation/framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
334
+ * use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
335
+
336
+
337
+ ### Bug Fixes
338
+
339
+ * wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
340
+
341
+
342
+ ### Dependencies
343
+
344
+ * The following workspace dependencies were updated
345
+ * dependencies
346
+ * @twin.org/core bumped from 0.0.3-next.6 to 0.0.3-next.7
347
+ * @twin.org/crypto bumped from 0.0.3-next.6 to 0.0.3-next.7
348
+ * @twin.org/nameof bumped from 0.0.3-next.6 to 0.0.3-next.7
349
+ * devDependencies
350
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.6 to 0.0.3-next.7
351
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.6 to 0.0.3-next.7
352
+ * @twin.org/validate-locales bumped from 0.0.3-next.6 to 0.0.3-next.7
353
+
354
+ ## [0.0.3-next.6](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.5...web-v0.0.3-next.6) (2025-11-25)
355
+
356
+
357
+ ### Miscellaneous Chores
358
+
359
+ * **web:** Synchronize repo versions
360
+
361
+
362
+ ### Dependencies
363
+
364
+ * The following workspace dependencies were updated
365
+ * dependencies
366
+ * @twin.org/core bumped from 0.0.3-next.5 to 0.0.3-next.6
367
+ * @twin.org/crypto bumped from 0.0.3-next.5 to 0.0.3-next.6
368
+ * @twin.org/nameof bumped from 0.0.3-next.5 to 0.0.3-next.6
369
+ * devDependencies
370
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.5 to 0.0.3-next.6
371
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.5 to 0.0.3-next.6
372
+ * @twin.org/validate-locales bumped from 0.0.3-next.5 to 0.0.3-next.6
373
+
374
+ ## [0.0.3-next.5](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.4...web-v0.0.3-next.5) (2025-11-20)
375
+
376
+
377
+ ### Miscellaneous Chores
378
+
379
+ * **web:** Synchronize repo versions
380
+
381
+
382
+ ### Dependencies
383
+
384
+ * The following workspace dependencies were updated
385
+ * dependencies
386
+ * @twin.org/core bumped from 0.0.3-next.4 to 0.0.3-next.5
387
+ * @twin.org/crypto bumped from 0.0.3-next.4 to 0.0.3-next.5
388
+ * @twin.org/nameof bumped from 0.0.3-next.4 to 0.0.3-next.5
389
+ * devDependencies
390
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.4 to 0.0.3-next.5
391
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.4 to 0.0.3-next.5
392
+ * @twin.org/validate-locales bumped from 0.0.3-next.4 to 0.0.3-next.5
393
+
394
+ ## [0.0.3-next.4](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.3...web-v0.0.3-next.4) (2025-11-13)
395
+
396
+
397
+ ### Miscellaneous Chores
398
+
399
+ * **web:** Synchronize repo versions
400
+
401
+
402
+ ### Dependencies
403
+
404
+ * The following workspace dependencies were updated
405
+ * dependencies
406
+ * @twin.org/core bumped from 0.0.3-next.3 to 0.0.3-next.4
407
+ * @twin.org/crypto bumped from 0.0.3-next.3 to 0.0.3-next.4
408
+ * @twin.org/nameof bumped from 0.0.3-next.3 to 0.0.3-next.4
409
+ * devDependencies
410
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.3 to 0.0.3-next.4
411
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.3 to 0.0.3-next.4
412
+ * @twin.org/validate-locales bumped from 0.0.3-next.3 to 0.0.3-next.4
413
+
414
+ ## [0.0.3-next.3](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.2...web-v0.0.3-next.3) (2025-11-12)
415
+
416
+
417
+ ### Miscellaneous Chores
418
+
419
+ * **web:** Synchronize repo versions
420
+
421
+
422
+ ### Dependencies
423
+
424
+ * The following workspace dependencies were updated
425
+ * dependencies
426
+ * @twin.org/core bumped from 0.0.3-next.2 to 0.0.3-next.3
427
+ * @twin.org/crypto bumped from 0.0.3-next.2 to 0.0.3-next.3
428
+ * @twin.org/nameof bumped from 0.0.3-next.2 to 0.0.3-next.3
429
+ * devDependencies
430
+ * @twin.org/nameof-transformer bumped from 0.0.3-next.2 to 0.0.3-next.3
431
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.3-next.2 to 0.0.3-next.3
432
+ * @twin.org/validate-locales bumped from 0.0.3-next.2 to 0.0.3-next.3
433
+
3
434
  ## [0.0.3-next.2](https://github.com/twinfoundation/framework/compare/web-v0.0.3-next.1...web-v0.0.3-next.2) (2025-11-12)
4
435
 
5
436
 
@@ -0,0 +1,155 @@
1
+ # Class: CookieHelper
2
+
3
+ Class to help with cookie operations.
4
+
5
+ ## Constructors
6
+
7
+ ### Constructor
8
+
9
+ > **new CookieHelper**(): `CookieHelper`
10
+
11
+ #### Returns
12
+
13
+ `CookieHelper`
14
+
15
+ ## Properties
16
+
17
+ ### CLASS\_NAME
18
+
19
+ > `readonly` `static` **CLASS\_NAME**: `string`
20
+
21
+ Runtime name for the class.
22
+
23
+ ## Methods
24
+
25
+ ### createCookie()
26
+
27
+ > `static` **createCookie**(`cookieName`, `cookieValue`, `options?`): `string`
28
+
29
+ Create a cookie string.
30
+
31
+ #### Parameters
32
+
33
+ ##### cookieName
34
+
35
+ `string`
36
+
37
+ The name of the cookie.
38
+
39
+ ##### cookieValue
40
+
41
+ `string`
42
+
43
+ The value of the cookie.
44
+
45
+ ##### options?
46
+
47
+ Additional cookie options.
48
+
49
+ ###### secure?
50
+
51
+ `boolean`
52
+
53
+ Should this be a secure cookie.
54
+
55
+ ###### httpOnly?
56
+
57
+ `boolean`
58
+
59
+ Should this be an http only cookie.
60
+
61
+ ###### sameSite?
62
+
63
+ `"Strict"` \| `"Lax"` \| `"None"`
64
+
65
+ The same site option for the cookie.
66
+
67
+ ###### path?
68
+
69
+ `string`
70
+
71
+ The path for the cookie.
72
+
73
+ #### Returns
74
+
75
+ `string`
76
+
77
+ The created cookie string.
78
+
79
+ ***
80
+
81
+ ### deleteCookie()
82
+
83
+ > `static` **deleteCookie**(`cookieName`, `options?`): `string`
84
+
85
+ Create a cookie string which will delete a cookie.
86
+
87
+ #### Parameters
88
+
89
+ ##### cookieName
90
+
91
+ `string`
92
+
93
+ The name of the cookie.
94
+
95
+ ##### options?
96
+
97
+ Additional cookie options.
98
+
99
+ ###### secure?
100
+
101
+ `boolean`
102
+
103
+ Should this be a secure cookie.
104
+
105
+ ###### httpOnly?
106
+
107
+ `boolean`
108
+
109
+ Should this be an http only cookie.
110
+
111
+ ###### sameSite?
112
+
113
+ `"Strict"` \| `"Lax"` \| `"None"`
114
+
115
+ The same site option for the cookie.
116
+
117
+ ###### path?
118
+
119
+ `string`
120
+
121
+ The path for the cookie.
122
+
123
+ #### Returns
124
+
125
+ `string`
126
+
127
+ The created cookie string.
128
+
129
+ ***
130
+
131
+ ### getCookieFromHeaders()
132
+
133
+ > `static` **getCookieFromHeaders**(`headers`, `cookieName`): `string` \| `undefined`
134
+
135
+ Get cookies from headers.
136
+
137
+ #### Parameters
138
+
139
+ ##### headers
140
+
141
+ The headers to get cookies from.
142
+
143
+ `string` | `string`[] | `undefined`
144
+
145
+ ##### cookieName
146
+
147
+ `string`
148
+
149
+ The name of the cookie to get.
150
+
151
+ #### Returns
152
+
153
+ `string` \| `undefined`
154
+
155
+ The cookies found in the headers.