@equinor/fusion-framework-module-http 5.1.3 → 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 +119 -106
- package/dist/esm/version.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +6 -2
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,115 +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
|
+
|
|
10
|
+
## 5.1.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
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)
|
|
15
|
+
|
|
3
16
|
## 5.1.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
|
-
-
|
|
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**
|
|
8
21
|
|
|
9
|
-
|
|
22
|
+
In packages/modules/http/src/errors.ts:
|
|
10
23
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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.
|
|
17
30
|
|
|
18
|
-
|
|
31
|
+
In packages/modules/http/src/lib/selectors/json-selector.ts:
|
|
19
32
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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.
|
|
26
39
|
|
|
27
40
|
## 5.1.2
|
|
28
41
|
|
|
29
42
|
### Patch Changes
|
|
30
43
|
|
|
31
|
-
-
|
|
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
|
|
32
45
|
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
36
49
|
|
|
37
50
|
## 5.1.1
|
|
38
51
|
|
|
39
52
|
### Patch Changes
|
|
40
53
|
|
|
41
|
-
-
|
|
54
|
+
- [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
|
|
42
55
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
|
46
59
|
|
|
47
60
|
## 5.1.0
|
|
48
61
|
|
|
49
62
|
### Minor Changes
|
|
50
63
|
|
|
51
|
-
-
|
|
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
|
|
52
65
|
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
- added selector for extracting blob from response
|
|
67
|
+
- added function for fetching blob as stream or promise on the http client
|
|
55
68
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
```tsx
|
|
70
|
+
const data = await client.blob("/person/photo");
|
|
71
|
+
const url = URL.createObjectURL(blob);
|
|
72
|
+
return <img src={url} />;
|
|
73
|
+
```
|
|
61
74
|
|
|
62
75
|
## 5.0.6
|
|
63
76
|
|
|
64
77
|
### Patch Changes
|
|
65
78
|
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
69
82
|
|
|
70
83
|
## 5.0.5
|
|
71
84
|
|
|
72
85
|
### Patch Changes
|
|
73
86
|
|
|
74
|
-
-
|
|
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
|
|
75
88
|
|
|
76
|
-
|
|
89
|
+
conflicts of `@types/react` made random outcomes when using `yarn`
|
|
77
90
|
|
|
78
|
-
|
|
91
|
+
this change should not affect consumer of the packages, but might conflict dependent on local package manager.
|
|
79
92
|
|
|
80
|
-
-
|
|
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)
|
|
81
94
|
|
|
82
|
-
-
|
|
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
|
|
83
96
|
|
|
84
|
-
|
|
97
|
+
when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
|
|
85
98
|
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
|
89
102
|
|
|
90
103
|
## 5.0.4
|
|
91
104
|
|
|
92
105
|
### Patch Changes
|
|
93
106
|
|
|
94
|
-
-
|
|
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
|
|
95
108
|
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
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
|
|
99
112
|
|
|
100
113
|
## 5.0.3
|
|
101
114
|
|
|
102
115
|
### Patch Changes
|
|
103
116
|
|
|
104
|
-
-
|
|
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**
|
|
105
118
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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
|
|
109
122
|
|
|
110
|
-
-
|
|
111
|
-
|
|
112
|
-
|
|
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
|
|
113
126
|
|
|
114
127
|
All notable changes to this project will be documented in this file.
|
|
115
128
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
@@ -138,11 +151,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
138
151
|
|
|
139
152
|
### ⚠ BREAKING CHANGES
|
|
140
153
|
|
|
141
|
-
-
|
|
154
|
+
- **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
|
|
142
155
|
|
|
143
156
|
### Bug Fixes
|
|
144
157
|
|
|
145
|
-
-
|
|
158
|
+
- **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
|
|
146
159
|
|
|
147
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)
|
|
148
161
|
|
|
@@ -168,13 +181,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
168
181
|
|
|
169
182
|
### Features
|
|
170
183
|
|
|
171
|
-
-
|
|
184
|
+
- **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
|
|
172
185
|
|
|
173
186
|
## 2.1.8 (2022-12-06)
|
|
174
187
|
|
|
175
188
|
### Bug Fixes
|
|
176
189
|
|
|
177
|
-
-
|
|
190
|
+
- **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
|
|
178
191
|
|
|
179
192
|
## 2.1.7 (2022-12-01)
|
|
180
193
|
|
|
@@ -188,7 +201,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
188
201
|
|
|
189
202
|
### Bug Fixes
|
|
190
203
|
|
|
191
|
-
-
|
|
204
|
+
- **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
|
|
192
205
|
|
|
193
206
|
## 2.1.4 (2022-11-11)
|
|
194
207
|
|
|
@@ -198,7 +211,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
198
211
|
|
|
199
212
|
### Bug Fixes
|
|
200
213
|
|
|
201
|
-
-
|
|
214
|
+
- **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
|
|
202
215
|
|
|
203
216
|
## 2.1.2 (2022-11-03)
|
|
204
217
|
|
|
@@ -212,12 +225,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
212
225
|
|
|
213
226
|
### Features
|
|
214
227
|
|
|
215
|
-
-
|
|
216
|
-
-
|
|
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))
|
|
217
230
|
|
|
218
231
|
### Reverts
|
|
219
232
|
|
|
220
|
-
-
|
|
233
|
+
- :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
|
|
221
234
|
|
|
222
235
|
## 2.0.14 (2022-10-27)
|
|
223
236
|
|
|
@@ -239,7 +252,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
239
252
|
|
|
240
253
|
### Bug Fixes
|
|
241
254
|
|
|
242
|
-
-
|
|
255
|
+
- **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
|
|
243
256
|
|
|
244
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)
|
|
245
258
|
|
|
@@ -249,7 +262,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
249
262
|
|
|
250
263
|
### Bug Fixes
|
|
251
264
|
|
|
252
|
-
-
|
|
265
|
+
- update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
|
|
253
266
|
|
|
254
267
|
## 2.0.7 (2022-09-20)
|
|
255
268
|
|
|
@@ -259,8 +272,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
259
272
|
|
|
260
273
|
### Bug Fixes
|
|
261
274
|
|
|
262
|
-
-
|
|
263
|
-
-
|
|
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))
|
|
264
277
|
|
|
265
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)
|
|
266
279
|
|
|
@@ -294,13 +307,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
294
307
|
|
|
295
308
|
### Features
|
|
296
309
|
|
|
297
|
-
-
|
|
310
|
+
- **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
|
|
298
311
|
|
|
299
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)
|
|
300
313
|
|
|
301
314
|
### Features
|
|
302
315
|
|
|
303
|
-
-
|
|
316
|
+
- **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
|
|
304
317
|
|
|
305
318
|
## 1.0.2 (2022-09-05)
|
|
306
319
|
|
|
@@ -314,23 +327,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
314
327
|
|
|
315
328
|
### ⚠ BREAKING CHANGES
|
|
316
329
|
|
|
317
|
-
-
|
|
330
|
+
- rename fetch
|
|
318
331
|
|
|
319
|
-
-
|
|
332
|
+
- fix(module-service-discovery): update http client consumer
|
|
320
333
|
|
|
321
|
-
-
|
|
334
|
+
- build: update allowed branches
|
|
322
335
|
|
|
323
|
-
-
|
|
336
|
+
- build: add conventional commit
|
|
324
337
|
|
|
325
|
-
-
|
|
338
|
+
- build: use conventionalcommits
|
|
326
339
|
|
|
327
|
-
-
|
|
340
|
+
- build(module-http): push major
|
|
328
341
|
|
|
329
|
-
-
|
|
342
|
+
- build: update deps
|
|
330
343
|
|
|
331
344
|
### Features
|
|
332
345
|
|
|
333
|
-
-
|
|
346
|
+
- rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
|
|
334
347
|
|
|
335
348
|
## 0.6.2 (2022-08-19)
|
|
336
349
|
|
|
@@ -342,44 +355,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
342
355
|
|
|
343
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)
|
|
344
357
|
|
|
345
|
-
-
|
|
358
|
+
- feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
|
|
346
359
|
|
|
347
360
|
### BREAKING CHANGES
|
|
348
361
|
|
|
349
|
-
-
|
|
362
|
+
- module.initialize now has object as arg
|
|
350
363
|
|
|
351
364
|
# 0.5.0 (2022-08-08)
|
|
352
365
|
|
|
353
366
|
### Bug Fixes
|
|
354
367
|
|
|
355
|
-
-
|
|
368
|
+
- **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
|
|
356
369
|
|
|
357
370
|
### Features
|
|
358
371
|
|
|
359
|
-
-
|
|
372
|
+
- **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
|
|
360
373
|
|
|
361
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)
|
|
362
375
|
|
|
363
|
-
-
|
|
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)
|
|
364
377
|
|
|
365
378
|
### BREAKING CHANGES
|
|
366
379
|
|
|
367
|
-
-
|
|
380
|
+
- `deps` prop is remove from module object, use `await require('MODULE')`;
|
|
368
381
|
|
|
369
|
-
-
|
|
382
|
+
- feat(module)!: allow requireing module instnce
|
|
370
383
|
|
|
371
384
|
when module initiates it should be allowed to await an required module.
|
|
372
385
|
|
|
373
|
-
-
|
|
374
|
-
-
|
|
386
|
+
- add method for awaiting required module
|
|
387
|
+
- add typing for config in initialize fase
|
|
375
388
|
|
|
376
|
-
-
|
|
377
|
-
-
|
|
378
|
-
-
|
|
389
|
+
- update service discovery to await http module
|
|
390
|
+
- add service discovery client
|
|
391
|
+
- allow configuration of service discovery client
|
|
379
392
|
|
|
380
|
-
*
|
|
393
|
+
* `deps` prop is remove from module object, use `await require('MODULE')`;
|
|
381
394
|
|
|
382
|
-
*
|
|
395
|
+
* fix(module-http): add default interface for HttpClientOptions
|
|
383
396
|
|
|
384
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)
|
|
385
398
|
|
|
@@ -389,19 +402,19 @@ when module initiates it should be allowed to await an required module.
|
|
|
389
402
|
|
|
390
403
|
### Bug Fixes
|
|
391
404
|
|
|
392
|
-
-
|
|
405
|
+
- change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
|
|
393
406
|
|
|
394
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)
|
|
395
408
|
|
|
396
409
|
### Bug Fixes
|
|
397
410
|
|
|
398
|
-
-
|
|
411
|
+
- **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
|
|
399
412
|
|
|
400
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)
|
|
401
414
|
|
|
402
415
|
### Bug Fixes
|
|
403
416
|
|
|
404
|
-
-
|
|
417
|
+
- **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
|
|
405
418
|
|
|
406
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)
|
|
407
420
|
|
|
@@ -431,13 +444,13 @@ when module initiates it should be allowed to await an required module.
|
|
|
431
444
|
|
|
432
445
|
### Features
|
|
433
446
|
|
|
434
|
-
-
|
|
447
|
+
- **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
|
|
435
448
|
|
|
436
449
|
## 0.2.2 (2022-06-13)
|
|
437
450
|
|
|
438
451
|
### Bug Fixes
|
|
439
452
|
|
|
440
|
-
-
|
|
453
|
+
- **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
|
|
441
454
|
|
|
442
455
|
## 0.2.1 (2022-06-10)
|
|
443
456
|
|
|
@@ -447,7 +460,7 @@ when module initiates it should be allowed to await an required module.
|
|
|
447
460
|
|
|
448
461
|
### Features
|
|
449
462
|
|
|
450
|
-
-
|
|
463
|
+
- **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
|
|
451
464
|
|
|
452
465
|
## 0.1.1 (2022-02-09)
|
|
453
466
|
|
|
@@ -457,15 +470,15 @@ when module initiates it should be allowed to await an required module.
|
|
|
457
470
|
|
|
458
471
|
### Bug Fixes
|
|
459
472
|
|
|
460
|
-
-
|
|
461
|
-
-
|
|
462
|
-
-
|
|
463
|
-
-
|
|
464
|
-
-
|
|
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))
|
|
465
478
|
|
|
466
479
|
### Features
|
|
467
480
|
|
|
468
|
-
-
|
|
469
|
-
-
|
|
470
|
-
-
|
|
471
|
-
-
|
|
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
|