@equinor/fusion-framework-module-http 5.1.4 → 5.1.5
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/CHANGELOG.md +114 -107
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,121 +1,128 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 5.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
|
|
8
|
+
- @equinor/fusion-framework-module-msal@3.0.9
|
|
9
|
+
|
|
3
10
|
## 5.1.4
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
6
13
|
|
|
7
|
-
-
|
|
14
|
+
- [#1625](https://github.com/equinor/fusion-framework/pull/1625) [`1e4ba77`](https://github.com/equinor/fusion-framework/commit/1e4ba7707d3ce5cfd9c8d6673f760523aa47a45e) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - fix import from non specified export (moduleResolution: bundler)
|
|
8
15
|
|
|
9
16
|
## 5.1.3
|
|
10
17
|
|
|
11
18
|
### Patch Changes
|
|
12
19
|
|
|
13
|
-
-
|
|
20
|
+
- [#1621](https://github.com/equinor/fusion-framework/pull/1621) [`0af3540`](https://github.com/equinor/fusion-framework/commit/0af3540340bac85a19ca3a8ec4e0ccd42b3090ee) Thanks [@odinr](https://github.com/odinr)! - **Improves error handling when processing json http response**
|
|
14
21
|
|
|
15
|
-
|
|
22
|
+
In packages/modules/http/src/errors.ts:
|
|
16
23
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
- The class HttpResponseError now has a generic parameter TResponse.
|
|
25
|
+
- Added a static property Name to the class.
|
|
26
|
+
- Added a new class HttpJsonResponseError which extends HttpResponseError and also has generic parameters TType and TResponse.
|
|
27
|
+
- Added a static property Name to the class.
|
|
28
|
+
- Added a public property data of type TType.
|
|
29
|
+
- Modified the constructor to accept an optional data parameter.
|
|
23
30
|
|
|
24
|
-
|
|
31
|
+
In packages/modules/http/src/lib/selectors/json-selector.ts:
|
|
25
32
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
33
|
+
- Added an import statement for HttpJsonResponseError.
|
|
34
|
+
- Modified the jsonSelector function to handle errors when parsing the response.
|
|
35
|
+
- Added a try-catch block.
|
|
36
|
+
- Changed the JSON parsing logic to store the parsed data in a variable data.
|
|
37
|
+
- If the response is not OK, a HttpJsonResponseError is thrown with the appropriate error message, response object, and data property.
|
|
38
|
+
- If there is an error parsing the response, a HttpJsonResponseError is thrown with the appropriate error message, response object, and cause property.
|
|
32
39
|
|
|
33
40
|
## 5.1.2
|
|
34
41
|
|
|
35
42
|
### Patch Changes
|
|
36
43
|
|
|
37
|
-
-
|
|
44
|
+
- [#1595](https://github.com/equinor/fusion-framework/pull/1595) [`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125) Thanks [@Gustav-Eikaas](https://github.com/Gustav-Eikaas)! - support for module resolution NodeNext & Bundler
|
|
38
45
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
46
|
+
- Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
|
|
47
|
+
- @equinor/fusion-framework-module@4.2.6
|
|
48
|
+
- @equinor/fusion-framework-module-msal@3.0.8
|
|
42
49
|
|
|
43
50
|
## 5.1.1
|
|
44
51
|
|
|
45
52
|
### Patch Changes
|
|
46
53
|
|
|
47
|
-
-
|
|
54
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
48
55
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
- Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
|
|
57
|
+
- @equinor/fusion-framework-module@4.2.5
|
|
58
|
+
- @equinor/fusion-framework-module-msal@3.0.7
|
|
52
59
|
|
|
53
60
|
## 5.1.0
|
|
54
61
|
|
|
55
62
|
### Minor Changes
|
|
56
63
|
|
|
57
|
-
-
|
|
64
|
+
- [#1242](https://github.com/equinor/fusion-framework/pull/1242) [`8e9e34a0`](https://github.com/equinor/fusion-framework/commit/8e9e34a06a6905d092ad8ca3f9330a3699da20fa) Thanks [@odinr](https://github.com/odinr)! - add method for executing blob requests
|
|
58
65
|
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
- added selector for extracting blob from response
|
|
67
|
+
- added function for fetching blob as stream or promise on the http client
|
|
61
68
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
```tsx
|
|
70
|
+
const data = await client.blob("/person/photo");
|
|
71
|
+
const url = URL.createObjectURL(blob);
|
|
72
|
+
return <img src={url} />;
|
|
73
|
+
```
|
|
67
74
|
|
|
68
75
|
## 5.0.6
|
|
69
76
|
|
|
70
77
|
### Patch Changes
|
|
71
78
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
79
|
+
- Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
|
|
80
|
+
- @equinor/fusion-framework-module@4.2.4
|
|
81
|
+
- @equinor/fusion-framework-module-msal@3.0.6
|
|
75
82
|
|
|
76
83
|
## 5.0.5
|
|
77
84
|
|
|
78
85
|
### Patch Changes
|
|
79
86
|
|
|
80
|
-
-
|
|
87
|
+
- [#1109](https://github.com/equinor/fusion-framework/pull/1109) [`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862) Thanks [@odinr](https://github.com/odinr)! - Change packaged manager from yarn to pnpm
|
|
81
88
|
|
|
82
|
-
|
|
89
|
+
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
83
90
|
|
|
84
|
-
|
|
91
|
+
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
85
92
|
|
|
86
|
-
-
|
|
93
|
+
- [#1145](https://github.com/equinor/fusion-framework/pull/1145) [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump rxjs from 7.5.7 to [7.8.1](https://github.com/ReactiveX/rxjs/blob/7.8.1/CHANGELOG.md)
|
|
87
94
|
|
|
88
|
-
-
|
|
95
|
+
- [#1163](https://github.com/equinor/fusion-framework/pull/1163) [`52d98701`](https://github.com/equinor/fusion-framework/commit/52d98701627e93c7284c0b9a5bfd8dab1da43bd3) Thanks [@odinr](https://github.com/odinr)! - Append `Accecpt: application/json` to request headers
|
|
89
96
|
|
|
90
|
-
|
|
97
|
+
when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
|
|
91
98
|
|
|
92
|
-
-
|
|
93
|
-
|
|
94
|
-
|
|
99
|
+
- Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
|
|
100
|
+
- @equinor/fusion-framework-module@4.2.3
|
|
101
|
+
- @equinor/fusion-framework-module-msal@3.0.5
|
|
95
102
|
|
|
96
103
|
## 5.0.4
|
|
97
104
|
|
|
98
105
|
### Patch Changes
|
|
99
106
|
|
|
100
|
-
-
|
|
107
|
+
- [#946](https://github.com/equinor/fusion-framework/pull/946) [`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352) Thanks [@odinr](https://github.com/odinr)! - Build/update typescript to 5
|
|
101
108
|
|
|
102
|
-
-
|
|
103
|
-
|
|
104
|
-
|
|
109
|
+
- Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
|
|
110
|
+
- @equinor/fusion-framework-module@4.2.1
|
|
111
|
+
- @equinor/fusion-framework-module-msal@3.0.4
|
|
105
112
|
|
|
106
113
|
## 5.0.3
|
|
107
114
|
|
|
108
115
|
### Patch Changes
|
|
109
116
|
|
|
110
|
-
-
|
|
117
|
+
- [#905](https://github.com/equinor/fusion-framework/pull/905) [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c) Thanks [@odinr](https://github.com/odinr)! - **🚧 Chore: dedupe packages**
|
|
111
118
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
119
|
+
- align all versions of typescript
|
|
120
|
+
- update types to build
|
|
121
|
+
- a couple of typecasts did not [satisfies](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#satisfies-support-in-jsdoc) and was recasted as `unknwon`, marked with `TODO`, should be fixed in future
|
|
115
122
|
|
|
116
|
-
-
|
|
117
|
-
|
|
118
|
-
|
|
123
|
+
- Updated dependencies [[`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`76b30c1e`](https://github.com/equinor/fusion-framework/commit/76b30c1e86db3db18adbe759bb1e39885de1c898), [`83ee5abf`](https://github.com/equinor/fusion-framework/commit/83ee5abf7bcab193c85980e5ae44895cd7f6f08d), [`7500ec2c`](https://github.com/equinor/fusion-framework/commit/7500ec2c9ca9b926a19539fc97c61c67f76fc8d9), [`060818eb`](https://github.com/equinor/fusion-framework/commit/060818eb04ebb9ed6deaed1f0b4530201b1181cf), [`3efbf0bb`](https://github.com/equinor/fusion-framework/commit/3efbf0bb93fc11aa158872cd6ab98a22bcfb59e5), [`a7858a1c`](https://github.com/equinor/fusion-framework/commit/a7858a1c01542e2dc94370709f122b4b99c3219c)]:
|
|
124
|
+
- @equinor/fusion-framework-module@4.2.0
|
|
125
|
+
- @equinor/fusion-framework-module-msal@3.0.3
|
|
119
126
|
|
|
120
127
|
All notable changes to this project will be documented in this file.
|
|
121
128
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -144,11 +151,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
144
151
|
|
|
145
152
|
### ⚠ BREAKING CHANGES
|
|
146
153
|
|
|
147
|
-
-
|
|
154
|
+
- **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
|
|
148
155
|
|
|
149
156
|
### Bug Fixes
|
|
150
157
|
|
|
151
|
-
-
|
|
158
|
+
- **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
|
|
152
159
|
|
|
153
160
|
## [3.0.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.2.3...@equinor/fusion-framework-module-http@3.0.0) (2023-01-27)
|
|
154
161
|
|
|
@@ -174,13 +181,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
174
181
|
|
|
175
182
|
### Features
|
|
176
183
|
|
|
177
|
-
-
|
|
184
|
+
- **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
|
|
178
185
|
|
|
179
186
|
## 2.1.8 (2022-12-06)
|
|
180
187
|
|
|
181
188
|
### Bug Fixes
|
|
182
189
|
|
|
183
|
-
-
|
|
190
|
+
- **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
|
|
184
191
|
|
|
185
192
|
## 2.1.7 (2022-12-01)
|
|
186
193
|
|
|
@@ -194,7 +201,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
194
201
|
|
|
195
202
|
### Bug Fixes
|
|
196
203
|
|
|
197
|
-
-
|
|
204
|
+
- **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
|
|
198
205
|
|
|
199
206
|
## 2.1.4 (2022-11-11)
|
|
200
207
|
|
|
@@ -204,7 +211,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
204
211
|
|
|
205
212
|
### Bug Fixes
|
|
206
213
|
|
|
207
|
-
-
|
|
214
|
+
- **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
|
|
208
215
|
|
|
209
216
|
## 2.1.2 (2022-11-03)
|
|
210
217
|
|
|
@@ -218,12 +225,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
218
225
|
|
|
219
226
|
### Features
|
|
220
227
|
|
|
221
|
-
-
|
|
222
|
-
-
|
|
228
|
+
- :necktie: remove try catch from json-selector ([fe5e2ea](https://github.com/equinor/fusion-framework/commit/fe5e2ea087cdee99403175e912eb09479b86414e))
|
|
229
|
+
- :sparkles: return undefined on status code 204 ([af1eea7](https://github.com/equinor/fusion-framework/commit/af1eea7a9ef539a44c3cab69904b4764f169caa6))
|
|
223
230
|
|
|
224
231
|
### Reverts
|
|
225
232
|
|
|
226
|
-
-
|
|
233
|
+
- :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
|
|
227
234
|
|
|
228
235
|
## 2.0.14 (2022-10-27)
|
|
229
236
|
|
|
@@ -245,7 +252,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
245
252
|
|
|
246
253
|
### Bug Fixes
|
|
247
254
|
|
|
248
|
-
-
|
|
255
|
+
- **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
|
|
249
256
|
|
|
250
257
|
## [2.0.9](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.0.8...@equinor/fusion-framework-module-http@2.0.9) (2022-09-29)
|
|
251
258
|
|
|
@@ -255,7 +262,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
255
262
|
|
|
256
263
|
### Bug Fixes
|
|
257
264
|
|
|
258
|
-
-
|
|
265
|
+
- update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
|
|
259
266
|
|
|
260
267
|
## 2.0.7 (2022-09-20)
|
|
261
268
|
|
|
@@ -265,8 +272,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
265
272
|
|
|
266
273
|
### Bug Fixes
|
|
267
274
|
|
|
268
|
-
-
|
|
269
|
-
-
|
|
275
|
+
- **module-http:** fix export ([06a490d](https://github.com/equinor/fusion-framework/commit/06a490d40e34d2074ac102ac4fcd458cadd3538a))
|
|
276
|
+
- **module-http:** improve hierarchy ([3603347](https://github.com/equinor/fusion-framework/commit/36033474991288983490f250726a551f7ce3dcbd))
|
|
270
277
|
|
|
271
278
|
## [2.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@2.0.4...@equinor/fusion-framework-module-http@2.0.5) (2022-09-14)
|
|
272
279
|
|
|
@@ -300,13 +307,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
300
307
|
|
|
301
308
|
### Features
|
|
302
309
|
|
|
303
|
-
-
|
|
310
|
+
- **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
|
|
304
311
|
|
|
305
312
|
## [2.0.0-alpha.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@1.0.2...@equinor/fusion-framework-module-http@2.0.0-alpha.0) (2022-09-12)
|
|
306
313
|
|
|
307
314
|
### Features
|
|
308
315
|
|
|
309
|
-
-
|
|
316
|
+
- **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
|
|
310
317
|
|
|
311
318
|
## 1.0.2 (2022-09-05)
|
|
312
319
|
|
|
@@ -320,23 +327,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
320
327
|
|
|
321
328
|
### ⚠ BREAKING CHANGES
|
|
322
329
|
|
|
323
|
-
-
|
|
330
|
+
- rename fetch
|
|
324
331
|
|
|
325
|
-
-
|
|
332
|
+
- fix(module-service-discovery): update http client consumer
|
|
326
333
|
|
|
327
|
-
-
|
|
334
|
+
- build: update allowed branches
|
|
328
335
|
|
|
329
|
-
-
|
|
336
|
+
- build: add conventional commit
|
|
330
337
|
|
|
331
|
-
-
|
|
338
|
+
- build: use conventionalcommits
|
|
332
339
|
|
|
333
|
-
-
|
|
340
|
+
- build(module-http): push major
|
|
334
341
|
|
|
335
|
-
-
|
|
342
|
+
- build: update deps
|
|
336
343
|
|
|
337
344
|
### Features
|
|
338
345
|
|
|
339
|
-
-
|
|
346
|
+
- rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
|
|
340
347
|
|
|
341
348
|
## 0.6.2 (2022-08-19)
|
|
342
349
|
|
|
@@ -348,44 +355,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
348
355
|
|
|
349
356
|
# [0.6.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.5.0...@equinor/fusion-framework-module-http@0.6.0) (2022-08-11)
|
|
350
357
|
|
|
351
|
-
-
|
|
358
|
+
- feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
|
|
352
359
|
|
|
353
360
|
### BREAKING CHANGES
|
|
354
361
|
|
|
355
|
-
-
|
|
362
|
+
- module.initialize now has object as arg
|
|
356
363
|
|
|
357
364
|
# 0.5.0 (2022-08-08)
|
|
358
365
|
|
|
359
366
|
### Bug Fixes
|
|
360
367
|
|
|
361
|
-
-
|
|
368
|
+
- **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
|
|
362
369
|
|
|
363
370
|
### Features
|
|
364
371
|
|
|
365
|
-
-
|
|
372
|
+
- **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
|
|
366
373
|
|
|
367
374
|
# [0.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.10...@equinor/fusion-framework-module-http@0.4.0) (2022-08-04)
|
|
368
375
|
|
|
369
|
-
-
|
|
376
|
+
- feat(module)!: allow requireing module instnce (#190) ([3a7e67e](https://github.com/equinor/fusion-framework/commit/3a7e67e9accb5185100325c92d5850a44626e498)), closes [#190](https://github.com/equinor/fusion-framework/issues/190)
|
|
370
377
|
|
|
371
378
|
### BREAKING CHANGES
|
|
372
379
|
|
|
373
|
-
-
|
|
380
|
+
- `deps` prop is remove from module object, use `await require('MODULE')`;
|
|
374
381
|
|
|
375
|
-
-
|
|
382
|
+
- feat(module)!: allow requireing module instnce
|
|
376
383
|
|
|
377
384
|
when module initiates it should be allowed to await an required module.
|
|
378
385
|
|
|
379
|
-
-
|
|
380
|
-
-
|
|
386
|
+
- add method for awaiting required module
|
|
387
|
+
- add typing for config in initialize fase
|
|
381
388
|
|
|
382
|
-
-
|
|
383
|
-
-
|
|
384
|
-
-
|
|
389
|
+
- update service discovery to await http module
|
|
390
|
+
- add service discovery client
|
|
391
|
+
- allow configuration of service discovery client
|
|
385
392
|
|
|
386
|
-
*
|
|
393
|
+
* `deps` prop is remove from module object, use `await require('MODULE')`;
|
|
387
394
|
|
|
388
|
-
*
|
|
395
|
+
* fix(module-http): add default interface for HttpClientOptions
|
|
389
396
|
|
|
390
397
|
## [0.3.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.9...@equinor/fusion-framework-module-http@0.3.10) (2022-08-01)
|
|
391
398
|
|
|
@@ -395,19 +402,19 @@ when module initiates it should be allowed to await an required module.
|
|
|
395
402
|
|
|
396
403
|
### Bug Fixes
|
|
397
404
|
|
|
398
|
-
-
|
|
405
|
+
- change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
|
|
399
406
|
|
|
400
407
|
## [0.3.8](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.7...@equinor/fusion-framework-module-http@0.3.8) (2022-07-01)
|
|
401
408
|
|
|
402
409
|
### Bug Fixes
|
|
403
410
|
|
|
404
|
-
-
|
|
411
|
+
- **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
|
|
405
412
|
|
|
406
413
|
## [0.3.7](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.6...@equinor/fusion-framework-module-http@0.3.7) (2022-07-01)
|
|
407
414
|
|
|
408
415
|
### Bug Fixes
|
|
409
416
|
|
|
410
|
-
-
|
|
417
|
+
- **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
|
|
411
418
|
|
|
412
419
|
## [0.3.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.5...@equinor/fusion-framework-module-http@0.3.6) (2022-06-30)
|
|
413
420
|
|
|
@@ -437,13 +444,13 @@ when module initiates it should be allowed to await an required module.
|
|
|
437
444
|
|
|
438
445
|
### Features
|
|
439
446
|
|
|
440
|
-
-
|
|
447
|
+
- **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
|
|
441
448
|
|
|
442
449
|
## 0.2.2 (2022-06-13)
|
|
443
450
|
|
|
444
451
|
### Bug Fixes
|
|
445
452
|
|
|
446
|
-
-
|
|
453
|
+
- **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
|
|
447
454
|
|
|
448
455
|
## 0.2.1 (2022-06-10)
|
|
449
456
|
|
|
@@ -453,7 +460,7 @@ when module initiates it should be allowed to await an required module.
|
|
|
453
460
|
|
|
454
461
|
### Features
|
|
455
462
|
|
|
456
|
-
-
|
|
463
|
+
- **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
|
|
457
464
|
|
|
458
465
|
## 0.1.1 (2022-02-09)
|
|
459
466
|
|
|
@@ -463,15 +470,15 @@ when module initiates it should be allowed to await an required module.
|
|
|
463
470
|
|
|
464
471
|
### Bug Fixes
|
|
465
472
|
|
|
466
|
-
-
|
|
467
|
-
-
|
|
468
|
-
-
|
|
469
|
-
-
|
|
470
|
-
-
|
|
473
|
+
- expose http client interface ([8660822](https://github.com/equinor/fusion-framework/commit/8660822b669e549bd454aa8a6a0adcaeb5e7917f))
|
|
474
|
+
- **module-http:** allow defaultScopes ([d476de9](https://github.com/equinor/fusion-framework/commit/d476de99e6289e60684f02bcd7b669e23f3789bb))
|
|
475
|
+
- **module-http:** fix check if config when creating client ([950ebc1](https://github.com/equinor/fusion-framework/commit/950ebc18f8f35bb7e6f97d6a98bd91d87616a94e))
|
|
476
|
+
- **module-http:** fix merge of process operators ([5a1d6d2](https://github.com/equinor/fusion-framework/commit/5a1d6d2942475c61c994f4ec26812c949cabbdf1))
|
|
477
|
+
- **module-http:** fix relative url resolve ([0d8c311](https://github.com/equinor/fusion-framework/commit/0d8c311c66b52eec22d465e0db57fa003506ab0c))
|
|
471
478
|
|
|
472
479
|
### Features
|
|
473
480
|
|
|
474
|
-
-
|
|
475
|
-
-
|
|
476
|
-
-
|
|
477
|
-
-
|
|
481
|
+
- add module for http clients ([7b02db7](https://github.com/equinor/fusion-framework/commit/7b02db7c2e34b97659bc72af7b5b31307cf55e5f))
|
|
482
|
+
- http client base uri ([233cabf](https://github.com/equinor/fusion-framework/commit/233cabfea0f2b07955670e553472427ec27a3aa0))
|
|
483
|
+
- **module-http:** add check for registered client keys ([93b42f8](https://github.com/equinor/fusion-framework/commit/93b42f88ad092e24fe4f1a216394893128d35734))
|
|
484
|
+
- **module-http:** allow selector for http requests ([ea300c8](https://github.com/equinor/fusion-framework/commit/ea300c8ad5555e4514b35ac43a4c8494461afd91))
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '5.1.
|
|
1
|
+
export const version = '5.1.5';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|