@twin.org/web 0.0.1-next.9 → 0.0.2-next.3
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/dist/cjs/index.cjs +298 -94
- package/dist/esm/index.mjs +299 -96
- package/dist/types/index.d.ts +3 -1
- package/dist/types/models/IJwk.d.ts +2 -58
- package/dist/types/models/IJwtHeader.d.ts +2 -18
- package/dist/types/models/IJwtPayload.d.ts +2 -33
- package/dist/types/models/jwkCryptoKey.d.ts +4 -0
- package/dist/types/models/mimeTypes.d.ts +8 -0
- package/dist/types/utils/fetchHelper.d.ts +7 -0
- package/dist/types/utils/jwk.d.ts +41 -0
- package/dist/types/utils/jws.d.ts +22 -0
- package/dist/types/utils/jwt.d.ts +67 -29
- package/docs/changelog.md +480 -1
- package/docs/reference/classes/FetchError.md +16 -8
- package/docs/reference/classes/FetchHelper.md +104 -28
- package/docs/reference/classes/Jwk.md +129 -0
- package/docs/reference/classes/Jws.md +81 -0
- package/docs/reference/classes/Jwt.md +261 -105
- package/docs/reference/classes/MimeTypeHelper.md +9 -5
- package/docs/reference/index.md +3 -2
- package/docs/reference/interfaces/IHttpHeaders.md +1 -1
- package/docs/reference/interfaces/IJwk.md +2 -106
- package/docs/reference/interfaces/IJwtHeader.md +5 -23
- package/docs/reference/interfaces/IJwtPayload.md +5 -55
- package/docs/reference/type-aliases/HeaderTypes.md +1 -1
- package/docs/reference/type-aliases/HttpMethod.md +1 -1
- package/docs/reference/type-aliases/HttpStatusCode.md +1 -1
- package/docs/reference/type-aliases/JwkCryptoKey.md +5 -0
- package/docs/reference/type-aliases/MimeTypes.md +1 -1
- package/docs/reference/variables/MimeTypes.md +12 -0
- package/locales/en.json +11 -1
- package/package.json +7 -6
- package/dist/types/models/jwtAlgorithms.d.ts +0 -17
- package/docs/reference/type-aliases/JwtAlgorithms.md +0 -5
- package/docs/reference/variables/JwtAlgorithms.md +0 -19
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,484 @@
|
|
|
1
1
|
# @twin.org/web - Changelog
|
|
2
2
|
|
|
3
|
-
## 0.0.
|
|
3
|
+
## [0.0.2-next.3](https://github.com/twinfoundation/framework/compare/web-v0.0.2-next.2...web-v0.0.2-next.3) (2025-08-06)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
9
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
10
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
11
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
12
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
13
|
+
* 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))
|
|
14
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
15
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
16
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
17
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/core bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
30
|
+
* @twin.org/crypto bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
31
|
+
* @twin.org/nameof bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
32
|
+
* devDependencies
|
|
33
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
34
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.2 to 0.0.2-next.3
|
|
35
|
+
|
|
36
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/framework/compare/web-v0.0.2-next.1...web-v0.0.2-next.2) (2025-08-06)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
42
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
43
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
44
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
45
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
46
|
+
* 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))
|
|
47
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
48
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
49
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
50
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Dependencies
|
|
59
|
+
|
|
60
|
+
* The following workspace dependencies were updated
|
|
61
|
+
* dependencies
|
|
62
|
+
* @twin.org/core bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
63
|
+
* @twin.org/crypto bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
64
|
+
* @twin.org/nameof bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
65
|
+
* devDependencies
|
|
66
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
67
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
68
|
+
|
|
69
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/framework/compare/web-v0.0.2-next.0...web-v0.0.2-next.1) (2025-08-06)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Features
|
|
73
|
+
|
|
74
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
75
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
76
|
+
* add rsa cipher support ([7af6cc6](https://github.com/twinfoundation/framework/commit/7af6cc67512d3363bd4a2f2e87bd7733c2800147))
|
|
77
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
78
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
79
|
+
* 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))
|
|
80
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
81
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
82
|
+
* update dependencies ([f3bd015](https://github.com/twinfoundation/framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
|
|
83
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Bug Fixes
|
|
87
|
+
|
|
88
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Dependencies
|
|
92
|
+
|
|
93
|
+
* The following workspace dependencies were updated
|
|
94
|
+
* dependencies
|
|
95
|
+
* @twin.org/core bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
96
|
+
* @twin.org/crypto bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
97
|
+
* @twin.org/nameof bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
98
|
+
* devDependencies
|
|
99
|
+
* @twin.org/nameof-transformer bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
100
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
101
|
+
|
|
102
|
+
## 0.0.1 (2025-07-03)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
|
|
107
|
+
* release to production ([829d53d](https://github.com/twinfoundation/framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
|
|
108
|
+
* release to production ([5cf3a76](https://github.com/twinfoundation/framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Dependencies
|
|
112
|
+
|
|
113
|
+
* The following workspace dependencies were updated
|
|
114
|
+
* dependencies
|
|
115
|
+
* @twin.org/core bumped from ^0.0.0 to ^0.0.1
|
|
116
|
+
* @twin.org/crypto bumped from ^0.0.0 to ^0.0.1
|
|
117
|
+
* @twin.org/nameof bumped from ^0.0.0 to ^0.0.1
|
|
118
|
+
* devDependencies
|
|
119
|
+
* @twin.org/nameof-transformer bumped from ^0.0.0 to ^0.0.1
|
|
120
|
+
* @twin.org/nameof-vitest-plugin bumped from ^0.0.0 to ^0.0.1
|
|
121
|
+
|
|
122
|
+
## [0.0.1-next.70](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.69...web-v0.0.1-next.70) (2025-07-02)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Features
|
|
126
|
+
|
|
127
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
128
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
129
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
130
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
131
|
+
* 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))
|
|
132
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
133
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
134
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Bug Fixes
|
|
138
|
+
|
|
139
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Dependencies
|
|
143
|
+
|
|
144
|
+
* The following workspace dependencies were updated
|
|
145
|
+
* dependencies
|
|
146
|
+
* @twin.org/core bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
147
|
+
* @twin.org/crypto bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
148
|
+
* @twin.org/nameof bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
149
|
+
* devDependencies
|
|
150
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
151
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.69 to 0.0.1-next.70
|
|
152
|
+
|
|
153
|
+
## [0.0.1-next.69](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.68...web-v0.0.1-next.69) (2025-07-02)
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
### Features
|
|
157
|
+
|
|
158
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
159
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
160
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
161
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
162
|
+
* 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))
|
|
163
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
164
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
165
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Bug Fixes
|
|
169
|
+
|
|
170
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Dependencies
|
|
174
|
+
|
|
175
|
+
* The following workspace dependencies were updated
|
|
176
|
+
* dependencies
|
|
177
|
+
* @twin.org/core bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
178
|
+
* @twin.org/crypto bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
179
|
+
* @twin.org/nameof bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
180
|
+
* devDependencies
|
|
181
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
182
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.68 to 0.0.1-next.69
|
|
183
|
+
|
|
184
|
+
## [0.0.1-next.68](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.67...web-v0.0.1-next.68) (2025-07-02)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Features
|
|
188
|
+
|
|
189
|
+
* relocate core packages from tools ([bcab8f3](https://github.com/twinfoundation/framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Dependencies
|
|
193
|
+
|
|
194
|
+
* The following workspace dependencies were updated
|
|
195
|
+
* dependencies
|
|
196
|
+
* @twin.org/core bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
197
|
+
* @twin.org/crypto bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
198
|
+
* @twin.org/nameof bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
199
|
+
* devDependencies
|
|
200
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
201
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.67 to 0.0.1-next.68
|
|
202
|
+
|
|
203
|
+
## [0.0.1-next.67](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.66...web-v0.0.1-next.67) (2025-06-26)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
### Miscellaneous Chores
|
|
207
|
+
|
|
208
|
+
* **web:** Synchronize repo versions
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
### Dependencies
|
|
212
|
+
|
|
213
|
+
* The following workspace dependencies were updated
|
|
214
|
+
* dependencies
|
|
215
|
+
* @twin.org/core bumped from 0.0.1-next.66 to 0.0.1-next.67
|
|
216
|
+
* @twin.org/crypto bumped from 0.0.1-next.66 to 0.0.1-next.67
|
|
217
|
+
|
|
218
|
+
## [0.0.1-next.66](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.65...web-v0.0.1-next.66) (2025-06-26)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Miscellaneous Chores
|
|
222
|
+
|
|
223
|
+
* **web:** Synchronize repo versions
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Dependencies
|
|
227
|
+
|
|
228
|
+
* The following workspace dependencies were updated
|
|
229
|
+
* dependencies
|
|
230
|
+
* @twin.org/core bumped from 0.0.1-next.65 to 0.0.1-next.66
|
|
231
|
+
* @twin.org/crypto bumped from 0.0.1-next.65 to 0.0.1-next.66
|
|
232
|
+
|
|
233
|
+
## [0.0.1-next.65](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.64...web-v0.0.1-next.65) (2025-06-19)
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
### Miscellaneous Chores
|
|
237
|
+
|
|
238
|
+
* **web:** Synchronize repo versions
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
### Dependencies
|
|
242
|
+
|
|
243
|
+
* The following workspace dependencies were updated
|
|
244
|
+
* dependencies
|
|
245
|
+
* @twin.org/core bumped from 0.0.1-next.64 to 0.0.1-next.65
|
|
246
|
+
* @twin.org/crypto bumped from 0.0.1-next.64 to 0.0.1-next.65
|
|
247
|
+
|
|
248
|
+
## [0.0.1-next.64](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.63...web-v0.0.1-next.64) (2025-06-19)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
### Features
|
|
252
|
+
|
|
253
|
+
* add zlib/deflate mime types detection ([72c472b](https://github.com/twinfoundation/framework/commit/72c472b5a35a973e7109336f5b6cdd84dbb8bbcb))
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
### Dependencies
|
|
257
|
+
|
|
258
|
+
* The following workspace dependencies were updated
|
|
259
|
+
* dependencies
|
|
260
|
+
* @twin.org/core bumped from 0.0.1-next.63 to 0.0.1-next.64
|
|
261
|
+
* @twin.org/crypto bumped from 0.0.1-next.63 to 0.0.1-next.64
|
|
262
|
+
|
|
263
|
+
## [0.0.1-next.63](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.62...web-v0.0.1-next.63) (2025-06-18)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
### Features
|
|
267
|
+
|
|
268
|
+
* add kid method to Jwk ([bc9239e](https://github.com/twinfoundation/framework/commit/bc9239ed9896a053d83e00ca221e962704ebc277))
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Dependencies
|
|
272
|
+
|
|
273
|
+
* The following workspace dependencies were updated
|
|
274
|
+
* dependencies
|
|
275
|
+
* @twin.org/core bumped from 0.0.1-next.62 to 0.0.1-next.63
|
|
276
|
+
* @twin.org/crypto bumped from 0.0.1-next.62 to 0.0.1-next.63
|
|
277
|
+
|
|
278
|
+
## [0.0.1-next.62](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.61...web-v0.0.1-next.62) (2025-06-17)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
### Features
|
|
282
|
+
|
|
283
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
284
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
285
|
+
* 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))
|
|
286
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
287
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
### Bug Fixes
|
|
291
|
+
|
|
292
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
### Dependencies
|
|
296
|
+
|
|
297
|
+
* The following workspace dependencies were updated
|
|
298
|
+
* dependencies
|
|
299
|
+
* @twin.org/core bumped from 0.0.1-next.61 to 0.0.1-next.62
|
|
300
|
+
* @twin.org/crypto bumped from 0.0.1-next.61 to 0.0.1-next.62
|
|
301
|
+
|
|
302
|
+
## [0.0.1-next.61](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.60...web-v0.0.1-next.61) (2025-06-17)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Miscellaneous Chores
|
|
306
|
+
|
|
307
|
+
* **web:** Synchronize repo versions
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Dependencies
|
|
311
|
+
|
|
312
|
+
* The following workspace dependencies were updated
|
|
313
|
+
* dependencies
|
|
314
|
+
* @twin.org/core bumped from 0.0.1-next.60 to 0.0.1-next.61
|
|
315
|
+
* @twin.org/crypto bumped from 0.0.1-next.60 to 0.0.1-next.61
|
|
316
|
+
|
|
317
|
+
## [0.0.1-next.60](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.59...web-v0.0.1-next.60) (2025-06-17)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
### Miscellaneous Chores
|
|
321
|
+
|
|
322
|
+
* **web:** Synchronize repo versions
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
### Dependencies
|
|
326
|
+
|
|
327
|
+
* The following workspace dependencies were updated
|
|
328
|
+
* dependencies
|
|
329
|
+
* @twin.org/core bumped from 0.0.1-next.59 to 0.0.1-next.60
|
|
330
|
+
* @twin.org/crypto bumped from 0.0.1-next.59 to 0.0.1-next.60
|
|
331
|
+
|
|
332
|
+
## [0.0.1-next.59](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.58...web-v0.0.1-next.59) (2025-06-17)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Features
|
|
336
|
+
|
|
337
|
+
* propagate includeStackTrace on error conversion ([098fc72](https://github.com/twinfoundation/framework/commit/098fc729939ea3127f2bdcc0ddb6754096c5f919))
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
### Dependencies
|
|
341
|
+
|
|
342
|
+
* The following workspace dependencies were updated
|
|
343
|
+
* dependencies
|
|
344
|
+
* @twin.org/core bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
345
|
+
* @twin.org/crypto bumped from 0.0.1-next.58 to 0.0.1-next.59
|
|
346
|
+
|
|
347
|
+
## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.57...web-v0.0.1-next.58) (2025-06-13)
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
### Miscellaneous Chores
|
|
351
|
+
|
|
352
|
+
* **web:** Synchronize repo versions
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
### Dependencies
|
|
356
|
+
|
|
357
|
+
* The following workspace dependencies were updated
|
|
358
|
+
* dependencies
|
|
359
|
+
* @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
360
|
+
* @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
|
|
361
|
+
|
|
362
|
+
## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.56...web-v0.0.1-next.57) (2025-06-10)
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
### Features
|
|
366
|
+
|
|
367
|
+
* add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
### Dependencies
|
|
371
|
+
|
|
372
|
+
* The following workspace dependencies were updated
|
|
373
|
+
* dependencies
|
|
374
|
+
* @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
|
|
375
|
+
* @twin.org/crypto bumped from 0.0.1-next.56 to 0.0.1-next.57
|
|
376
|
+
|
|
377
|
+
## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.55...web-v0.0.1-next.56) (2025-05-08)
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### Miscellaneous Chores
|
|
381
|
+
|
|
382
|
+
* **web:** Synchronize repo versions
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
### Dependencies
|
|
386
|
+
|
|
387
|
+
* The following workspace dependencies were updated
|
|
388
|
+
* dependencies
|
|
389
|
+
* @twin.org/core bumped from 0.0.1-next.55 to 0.0.1-next.56
|
|
390
|
+
* @twin.org/crypto bumped from 0.0.1-next.55 to 0.0.1-next.56
|
|
391
|
+
|
|
392
|
+
## [0.0.1-next.55](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.54...web-v0.0.1-next.55) (2025-05-07)
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
### Features
|
|
396
|
+
|
|
397
|
+
* 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))
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
### Dependencies
|
|
401
|
+
|
|
402
|
+
* The following workspace dependencies were updated
|
|
403
|
+
* dependencies
|
|
404
|
+
* @twin.org/core bumped from 0.0.1-next.54 to 0.0.1-next.55
|
|
405
|
+
* @twin.org/crypto bumped from 0.0.1-next.54 to 0.0.1-next.55
|
|
406
|
+
|
|
407
|
+
## [0.0.1-next.54](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.53...web-v0.0.1-next.54) (2025-05-06)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
### Bug Fixes
|
|
411
|
+
|
|
412
|
+
* wrap inner error within FetchError / 2 ([#134](https://github.com/twinfoundation/framework/issues/134)) ([2ddb101](https://github.com/twinfoundation/framework/commit/2ddb101c3778be4e99559e37aa036cd7101585fb))
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
### Dependencies
|
|
416
|
+
|
|
417
|
+
* The following workspace dependencies were updated
|
|
418
|
+
* dependencies
|
|
419
|
+
* @twin.org/core bumped from 0.0.1-next.53 to 0.0.1-next.54
|
|
420
|
+
* @twin.org/crypto bumped from 0.0.1-next.53 to 0.0.1-next.54
|
|
421
|
+
|
|
422
|
+
## [0.0.1-next.53](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.52...web-v0.0.1-next.53) (2025-05-01)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
### Miscellaneous Chores
|
|
426
|
+
|
|
427
|
+
* **web:** Synchronize repo versions
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
### Dependencies
|
|
431
|
+
|
|
432
|
+
* The following workspace dependencies were updated
|
|
433
|
+
* dependencies
|
|
434
|
+
* @twin.org/core bumped from 0.0.1-next.52 to 0.0.1-next.53
|
|
435
|
+
* @twin.org/crypto bumped from 0.0.1-next.52 to 0.0.1-next.53
|
|
436
|
+
|
|
437
|
+
## [0.0.1-next.52](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.51...web-v0.0.1-next.52) (2025-04-17)
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
### Features
|
|
441
|
+
|
|
442
|
+
* use new shared store mechanism ([#131](https://github.com/twinfoundation/framework/issues/131)) ([934385b](https://github.com/twinfoundation/framework/commit/934385b2fbaf9f5c00a505ebf9d093bd5a425f55))
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
### Dependencies
|
|
446
|
+
|
|
447
|
+
* The following workspace dependencies were updated
|
|
448
|
+
* dependencies
|
|
449
|
+
* @twin.org/core bumped from 0.0.1-next.51 to 0.0.1-next.52
|
|
450
|
+
* @twin.org/crypto bumped from 0.0.1-next.51 to 0.0.1-next.52
|
|
451
|
+
|
|
452
|
+
## [0.0.1-next.51](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.50...web-v0.0.1-next.51) (2025-03-27)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
### Miscellaneous Chores
|
|
456
|
+
|
|
457
|
+
* **web:** Synchronize repo versions
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
### Dependencies
|
|
461
|
+
|
|
462
|
+
* The following workspace dependencies were updated
|
|
463
|
+
* dependencies
|
|
464
|
+
* @twin.org/core bumped from 0.0.1-next.50 to 0.0.1-next.51
|
|
465
|
+
* @twin.org/crypto bumped from 0.0.1-next.50 to 0.0.1-next.51
|
|
466
|
+
|
|
467
|
+
## [0.0.1-next.50](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.49...web-v0.0.1-next.50) (2025-03-26)
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
### Features
|
|
471
|
+
|
|
472
|
+
* add set method for async caches ([ba34b55](https://github.com/twinfoundation/framework/commit/ba34b55e651ad56ab8fc59e139e4af631c19cda0))
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
### Dependencies
|
|
476
|
+
|
|
477
|
+
* The following workspace dependencies were updated
|
|
478
|
+
* dependencies
|
|
479
|
+
* @twin.org/core bumped from 0.0.1-next.49 to 0.0.1-next.50
|
|
480
|
+
* @twin.org/crypto bumped from 0.0.1-next.49 to 0.0.1-next.50
|
|
481
|
+
|
|
482
|
+
## 0.0.1-next.49
|
|
4
483
|
|
|
5
484
|
- Initial Release
|
|
@@ -8,37 +8,45 @@ Class to represent errors from fetch.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new FetchError**(`source`, `message`, `httpStatus`, `properties
|
|
13
|
+
> **new FetchError**(`source`, `message`, `httpStatus`, `properties?`, `inner?`): `FetchError`
|
|
14
14
|
|
|
15
15
|
Create a new instance of FetchError.
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
##### source
|
|
20
|
+
|
|
21
|
+
`string`
|
|
20
22
|
|
|
21
23
|
The source of the error.
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
##### message
|
|
26
|
+
|
|
27
|
+
`string`
|
|
24
28
|
|
|
25
29
|
The message as a code.
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
##### httpStatus
|
|
32
|
+
|
|
33
|
+
[`HttpStatusCode`](../type-aliases/HttpStatusCode.md)
|
|
28
34
|
|
|
29
35
|
The http status code.
|
|
30
36
|
|
|
31
|
-
|
|
37
|
+
##### properties?
|
|
32
38
|
|
|
33
39
|
Any additional information for the error.
|
|
34
40
|
|
|
35
|
-
|
|
41
|
+
##### inner?
|
|
42
|
+
|
|
43
|
+
`unknown`
|
|
36
44
|
|
|
37
45
|
The inner error if we have wrapped another error.
|
|
38
46
|
|
|
39
47
|
#### Returns
|
|
40
48
|
|
|
41
|
-
|
|
49
|
+
`FetchError`
|
|
42
50
|
|
|
43
51
|
#### Overrides
|
|
44
52
|
|