@equinor/fusion-framework-module-http 5.2.2 → 5.2.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/CHANGELOG.md CHANGED
@@ -1,205 +1,213 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2), [`fb424be`](https://github.com/equinor/fusion-framework/commit/fb424be24ad9349d01daef91a01c464d7b1413d2)]:
8
+ - @equinor/fusion-framework-module@4.3.1
9
+ - @equinor/fusion-framework-module-msal@3.1.1
10
+
3
11
  ## 5.2.2
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [#2073](https://github.com/equinor/fusion-framework/pull/2073) [`fab2d22`](https://github.com/equinor/fusion-framework/commit/fab2d22f56772c02b1c1e5688cea1dd376edfcb3) Thanks [@eikeland](https://github.com/eikeland)! - Removing type module in package.json
15
+ - [#2073](https://github.com/equinor/fusion-framework/pull/2073) [`fab2d22`](https://github.com/equinor/fusion-framework/commit/fab2d22f56772c02b1c1e5688cea1dd376edfcb3) Thanks [@eikeland](https://github.com/eikeland)! - Removing type module in package.json
8
16
 
9
17
  ## 5.2.1
10
18
 
11
19
  ### Patch Changes
12
20
 
13
- - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - Added test for http client, to check if configured operators are not altered
21
+ - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - Added test for http client, to check if configured operators are not altered
14
22
 
15
- - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - When adding operators to request and response handler to an http client instanstance, the values where added to the configured handlers permanently
23
+ - [#2043](https://github.com/equinor/fusion-framework/pull/2043) [`4af517f`](https://github.com/equinor/fusion-framework/commit/4af517f107f960aa1dc7459451d99e2e83d350ee) Thanks [@odinr](https://github.com/odinr)! - When adding operators to request and response handler to an http client instanstance, the values where added to the configured handlers permanently
16
24
 
17
- ```ts
18
- // create a new client from configuration
19
- const fooClient = provider.createClient("foo");
20
- fooClient.requestHandler.setHeader("x-foo", "bar");
25
+ ```ts
26
+ // create a new client from configuration
27
+ const fooClient = provider.createClient('foo');
28
+ fooClient.requestHandler.setHeader('x-foo', 'bar');
21
29
 
22
- // generate a RequestInit object
23
- const fooRequest = await lastValueFrom(
24
- fooClient.requestHandler.process({ path: "/api", uri: fooClient.uri }),
25
- );
30
+ // generate a RequestInit object
31
+ const fooRequest = await lastValueFrom(
32
+ fooClient.requestHandler.process({ path: '/api', uri: fooClient.uri }),
33
+ );
26
34
 
27
- expect((fooRequest.headers as Headers)?.get("x-foo")).toBe("bar");
35
+ expect((fooRequest.headers as Headers)?.get('x-foo')).toBe('bar');
28
36
 
29
- // create a new client from the same configuration
30
- const barClient = provider.createClient("foo");
37
+ // create a new client from the same configuration
38
+ const barClient = provider.createClient('foo');
31
39
 
32
- // generate a RequestInit object
33
- const barRequest = await lastValueFrom(
34
- barClient.requestHandler.process({ path: "/api", uri: barClient.uri }),
35
- );
40
+ // generate a RequestInit object
41
+ const barRequest = await lastValueFrom(
42
+ barClient.requestHandler.process({ path: '/api', uri: barClient.uri }),
43
+ );
36
44
 
37
- // expect the request header to not been modified
38
- // FAILED
39
- expect((barRequest.headers as Headers)?.get("x-foo")).toBeUndefined();
40
- ```
45
+ // expect the request header to not been modified
46
+ // FAILED
47
+ expect((barRequest.headers as Headers)?.get('x-foo')).toBeUndefined();
48
+ ```
41
49
 
42
- modified the `ProcessOperators` to accept operators on creation, which are clone to the instance.
50
+ modified the `ProcessOperators` to accept operators on creation, which are clone to the instance.
43
51
 
44
- ```diff
45
- --- a/packages/modules/http/src/lib/client/client.ts
46
- +++ a/packages/modules/http/src/lib/client/client.ts
47
- constructor(
48
- public uri: string,
49
- options?: Partial<HttpClientCreateOptions<TRequest, TResponse>>,
50
- ) {
51
- - this.requestHandler = options?.requestHandler ?? new HttpRequestHandler<TRequest>();
52
- + this.requestHandler = new HttpRequestHandler<TRequest>(options?.requestHandler);
53
- - this.responseHandler = options?.responseHandler ?? new HttpResponseHandler<TResponse>();
54
- + this.responseHandler = new HttpResponseHandler<TResponse>(options?.responseHandler);
55
- this._init();
56
- }
52
+ ```diff
53
+ --- a/packages/modules/http/src/lib/client/client.ts
54
+ +++ a/packages/modules/http/src/lib/client/client.ts
55
+ constructor(
56
+ public uri: string,
57
+ options?: Partial<HttpClientCreateOptions<TRequest, TResponse>>,
58
+ ) {
59
+ - this.requestHandler = options?.requestHandler ?? new HttpRequestHandler<TRequest>();
60
+ + this.requestHandler = new HttpRequestHandler<TRequest>(options?.requestHandler);
61
+ - this.responseHandler = options?.responseHandler ?? new HttpResponseHandler<TResponse>();
62
+ + this.responseHandler = new HttpResponseHandler<TResponse>(options?.responseHandler);
63
+ this._init();
64
+ }
57
65
 
58
- ```
66
+ ```
59
67
 
60
68
  ## 5.2.0
61
69
 
62
70
  ### Minor Changes
63
71
 
64
- - [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
72
+ - [#1953](https://github.com/equinor/fusion-framework/pull/1953) [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904) Thanks [@odinr](https://github.com/odinr)! - updated typescript to 5.4.2
65
73
 
66
74
  ### Patch Changes
67
75
 
68
- - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
69
- - @equinor/fusion-framework-module@4.3.0
70
- - @equinor/fusion-framework-module-msal@3.1.0
76
+ - Updated dependencies [[`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904), [`f3ae28d`](https://github.com/equinor/fusion-framework/commit/f3ae28dc6d1d5043605e07e2cd2e83ae799cd904)]:
77
+ - @equinor/fusion-framework-module@4.3.0
78
+ - @equinor/fusion-framework-module-msal@3.1.0
71
79
 
72
80
  ## 5.1.6
73
81
 
74
82
  ### Patch Changes
75
83
 
76
- - Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
77
- - @equinor/fusion-framework-module@4.2.7
78
- - @equinor/fusion-framework-module-msal@3.0.10
84
+ - Updated dependencies [[`152cf73`](https://github.com/equinor/fusion-framework/commit/152cf73d39eb32ccbaddaa6941e315c437c4972d)]:
85
+ - @equinor/fusion-framework-module@4.2.7
86
+ - @equinor/fusion-framework-module-msal@3.0.10
79
87
 
80
88
  ## 5.1.5
81
89
 
82
90
  ### Patch Changes
83
91
 
84
- - Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
85
- - @equinor/fusion-framework-module-msal@3.0.9
92
+ - Updated dependencies [[`5eab8af`](https://github.com/equinor/fusion-framework/commit/5eab8afe3c3106cc67ad14ce4cbee6c7e4e8dfb1)]:
93
+ - @equinor/fusion-framework-module-msal@3.0.9
86
94
 
87
95
  ## 5.1.4
88
96
 
89
97
  ### Patch Changes
90
98
 
91
- - [#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)
99
+ - [#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)
92
100
 
93
101
  ## 5.1.3
94
102
 
95
103
  ### Patch Changes
96
104
 
97
- - [#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**
105
+ - [#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**
98
106
 
99
- In packages/modules/http/src/errors.ts:
107
+ In packages/modules/http/src/errors.ts:
100
108
 
101
- - The class HttpResponseError now has a generic parameter TResponse.
102
- - Added a static property Name to the class.
103
- - Added a new class HttpJsonResponseError which extends HttpResponseError and also has generic parameters TType and TResponse.
104
- - Added a static property Name to the class.
105
- - Added a public property data of type TType.
106
- - Modified the constructor to accept an optional data parameter.
109
+ - The class HttpResponseError now has a generic parameter TResponse.
110
+ - Added a static property Name to the class.
111
+ - Added a new class HttpJsonResponseError which extends HttpResponseError and also has generic parameters TType and TResponse.
112
+ - Added a static property Name to the class.
113
+ - Added a public property data of type TType.
114
+ - Modified the constructor to accept an optional data parameter.
107
115
 
108
- In packages/modules/http/src/lib/selectors/json-selector.ts:
116
+ In packages/modules/http/src/lib/selectors/json-selector.ts:
109
117
 
110
- - Added an import statement for HttpJsonResponseError.
111
- - Modified the jsonSelector function to handle errors when parsing the response.
112
- - Added a try-catch block.
113
- - Changed the JSON parsing logic to store the parsed data in a variable data.
114
- - If the response is not OK, a HttpJsonResponseError is thrown with the appropriate error message, response object, and data property.
115
- - If there is an error parsing the response, a HttpJsonResponseError is thrown with the appropriate error message, response object, and cause property.
118
+ - Added an import statement for HttpJsonResponseError.
119
+ - Modified the jsonSelector function to handle errors when parsing the response.
120
+ - Added a try-catch block.
121
+ - Changed the JSON parsing logic to store the parsed data in a variable data.
122
+ - If the response is not OK, a HttpJsonResponseError is thrown with the appropriate error message, response object, and data property.
123
+ - If there is an error parsing the response, a HttpJsonResponseError is thrown with the appropriate error message, response object, and cause property.
116
124
 
117
125
  ## 5.1.2
118
126
 
119
127
  ### Patch Changes
120
128
 
121
- - [#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
129
+ - [#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
122
130
 
123
- - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
124
- - @equinor/fusion-framework-module@4.2.6
125
- - @equinor/fusion-framework-module-msal@3.0.8
131
+ - Updated dependencies [[`9c24e84`](https://github.com/equinor/fusion-framework/commit/9c24e847d041dea8384c77439e6b237f5bdb3125)]:
132
+ - @equinor/fusion-framework-module@4.2.6
133
+ - @equinor/fusion-framework-module-msal@3.0.8
126
134
 
127
135
  ## 5.1.1
128
136
 
129
137
  ### Patch Changes
130
138
 
131
- - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
139
+ - [`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc) Thanks [@odinr](https://github.com/odinr)! - force patch bump, realign missing snapshot
132
140
 
133
- - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
134
- - @equinor/fusion-framework-module@4.2.5
135
- - @equinor/fusion-framework-module-msal@3.0.7
141
+ - Updated dependencies [[`b5dfe5d2`](https://github.com/equinor/fusion-framework/commit/b5dfe5d29a249e0cca6c9589322931dfedd06acc)]:
142
+ - @equinor/fusion-framework-module@4.2.5
143
+ - @equinor/fusion-framework-module-msal@3.0.7
136
144
 
137
145
  ## 5.1.0
138
146
 
139
147
  ### Minor Changes
140
148
 
141
- - [#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
149
+ - [#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
142
150
 
143
- - added selector for extracting blob from response
144
- - added function for fetching blob as stream or promise on the http client
151
+ - added selector for extracting blob from response
152
+ - added function for fetching blob as stream or promise on the http client
145
153
 
146
- ```tsx
147
- const data = await client.blob("/person/photo");
148
- const url = URL.createObjectURL(blob);
149
- return <img src={url} />;
150
- ```
154
+ ```tsx
155
+ const data = await client.blob('/person/photo');
156
+ const url = URL.createObjectURL(blob);
157
+ return <img src={url} />;
158
+ ```
151
159
 
152
160
  ## 5.0.6
153
161
 
154
162
  ### Patch Changes
155
163
 
156
- - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
157
- - @equinor/fusion-framework-module@4.2.4
158
- - @equinor/fusion-framework-module-msal@3.0.6
164
+ - Updated dependencies [[`9076a498`](https://github.com/equinor/fusion-framework/commit/9076a49876e7a414a27557b7fb9095a67fe3a57f)]:
165
+ - @equinor/fusion-framework-module@4.2.4
166
+ - @equinor/fusion-framework-module-msal@3.0.6
159
167
 
160
168
  ## 5.0.5
161
169
 
162
170
  ### Patch Changes
163
171
 
164
- - [#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
172
+ - [#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
165
173
 
166
- conflicts of `@types/react` made random outcomes when using `yarn`
174
+ conflicts of `@types/react` made random outcomes when using `yarn`
167
175
 
168
- this change should not affect consumer of the packages, but might conflict dependent on local package manager.
176
+ this change should not affect consumer of the packages, but might conflict dependent on local package manager.
169
177
 
170
- - [#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)
178
+ - [#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)
171
179
 
172
- - [#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
180
+ - [#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
173
181
 
174
- when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
182
+ when using the `json# Change Log or `json`function on the`HttpClient`add`Accecpt: application/json` to the request header
175
183
 
176
- - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
177
- - @equinor/fusion-framework-module@4.2.3
178
- - @equinor/fusion-framework-module-msal@3.0.5
184
+ - Updated dependencies [[`7ec195d4`](https://github.com/equinor/fusion-framework/commit/7ec195d42098fec8794db13e83b71ef7753ff862), [`d276fc5d`](https://github.com/equinor/fusion-framework/commit/d276fc5d514566d05c64705076a1cb91c6a44272)]:
185
+ - @equinor/fusion-framework-module@4.2.3
186
+ - @equinor/fusion-framework-module-msal@3.0.5
179
187
 
180
188
  ## 5.0.4
181
189
 
182
190
  ### Patch Changes
183
191
 
184
- - [#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
192
+ - [#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
185
193
 
186
- - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
187
- - @equinor/fusion-framework-module@4.2.1
188
- - @equinor/fusion-framework-module-msal@3.0.4
194
+ - Updated dependencies [[`5a160d88`](https://github.com/equinor/fusion-framework/commit/5a160d88981ddfe861d391cfefe10f54dda3d352)]:
195
+ - @equinor/fusion-framework-module@4.2.1
196
+ - @equinor/fusion-framework-module-msal@3.0.4
189
197
 
190
198
  ## 5.0.3
191
199
 
192
200
  ### Patch Changes
193
201
 
194
- - [#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**
202
+ - [#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**
195
203
 
196
- - align all versions of typescript
197
- - update types to build
198
- - 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
204
+ - align all versions of typescript
205
+ - update types to build
206
+ - 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
199
207
 
200
- - 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)]:
201
- - @equinor/fusion-framework-module@4.2.0
202
- - @equinor/fusion-framework-module-msal@3.0.3
208
+ - 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)]:
209
+ - @equinor/fusion-framework-module@4.2.0
210
+ - @equinor/fusion-framework-module-msal@3.0.3
203
211
 
204
212
  All notable changes to this project will be documented in this file.
205
213
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
@@ -228,11 +236,11 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
228
236
 
229
237
  ### ⚠ BREAKING CHANGES
230
238
 
231
- - **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
239
+ - **modules/http:** `IHttpClient.execute` is removed, most likely not used, too complex to maintain
232
240
 
233
241
  ### Bug Fixes
234
242
 
235
- - **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
243
+ - **modules/http:** fix typing for json requests ([459df80](https://github.com/equinor/fusion-framework/commit/459df80bfc79426ec6507db8f06d488b6a3d0f07))
236
244
 
237
245
  ## [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)
238
246
 
@@ -258,13 +266,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
258
266
 
259
267
  ### Features
260
268
 
261
- - **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
269
+ - **http:** throw error when selector error ([dc0aa35](https://github.com/equinor/fusion-framework/commit/dc0aa35cbc44fb0503a9431ab728b81d8a3af290))
262
270
 
263
271
  ## 2.1.8 (2022-12-06)
264
272
 
265
273
  ### Bug Fixes
266
274
 
267
- - **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
275
+ - **module-http:** adding missing types on module-http iHttpClient ([ac6e81e](https://github.com/equinor/fusion-framework/commit/ac6e81e54d70b8a943466046fcbe86f6bd7c4c67))
268
276
 
269
277
  ## 2.1.7 (2022-12-01)
270
278
 
@@ -278,7 +286,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
278
286
 
279
287
  ### Bug Fixes
280
288
 
281
- - **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
289
+ - **module-http:** add headers to json request ([8223394](https://github.com/equinor/fusion-framework/commit/8223394362a24663bf65442025f0b031aa37a910))
282
290
 
283
291
  ## 2.1.4 (2022-11-11)
284
292
 
@@ -288,7 +296,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
288
296
 
289
297
  ### Bug Fixes
290
298
 
291
- - **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
299
+ - **module-auth:** make http module await auth ([18a0ed9](https://github.com/equinor/fusion-framework/commit/18a0ed947e128bf1cdc86aa45d31e73c1f8c4bbb))
292
300
 
293
301
  ## 2.1.2 (2022-11-03)
294
302
 
@@ -302,12 +310,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
302
310
 
303
311
  ### Features
304
312
 
305
- - :necktie: remove try catch from json-selector ([fe5e2ea](https://github.com/equinor/fusion-framework/commit/fe5e2ea087cdee99403175e912eb09479b86414e))
306
- - :sparkles: return undefined on status code 204 ([af1eea7](https://github.com/equinor/fusion-framework/commit/af1eea7a9ef539a44c3cab69904b4764f169caa6))
313
+ - :necktie: remove try catch from json-selector ([fe5e2ea](https://github.com/equinor/fusion-framework/commit/fe5e2ea087cdee99403175e912eb09479b86414e))
314
+ - :sparkles: return undefined on status code 204 ([af1eea7](https://github.com/equinor/fusion-framework/commit/af1eea7a9ef539a44c3cab69904b4764f169caa6))
307
315
 
308
316
  ### Reverts
309
317
 
310
- - :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
318
+ - :rewind: revert changes in json-selector ([8c448e5](https://github.com/equinor/fusion-framework/commit/8c448e5c76fb20cbd908c95f2fbd9d8d0367aad1))
311
319
 
312
320
  ## 2.0.14 (2022-10-27)
313
321
 
@@ -329,7 +337,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
329
337
 
330
338
  ### Bug Fixes
331
339
 
332
- - **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
340
+ - **module-http:** allow typing of fetch request ([de08783](https://github.com/equinor/fusion-framework/commit/de0878342d82249ffc7e1212230d0aa0e14d32cb))
333
341
 
334
342
  ## [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)
335
343
 
@@ -339,7 +347,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
339
347
 
340
348
  ### Bug Fixes
341
349
 
342
- - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
350
+ - update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
343
351
 
344
352
  ## 2.0.7 (2022-09-20)
345
353
 
@@ -349,8 +357,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
349
357
 
350
358
  ### Bug Fixes
351
359
 
352
- - **module-http:** fix export ([06a490d](https://github.com/equinor/fusion-framework/commit/06a490d40e34d2074ac102ac4fcd458cadd3538a))
353
- - **module-http:** improve hierarchy ([3603347](https://github.com/equinor/fusion-framework/commit/36033474991288983490f250726a551f7ce3dcbd))
360
+ - **module-http:** fix export ([06a490d](https://github.com/equinor/fusion-framework/commit/06a490d40e34d2074ac102ac4fcd458cadd3538a))
361
+ - **module-http:** improve hierarchy ([3603347](https://github.com/equinor/fusion-framework/commit/36033474991288983490f250726a551f7ce3dcbd))
354
362
 
355
363
  ## [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)
356
364
 
@@ -384,13 +392,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
384
392
 
385
393
  ### Features
386
394
 
387
- - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
395
+ - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
388
396
 
389
397
  ## [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)
390
398
 
391
399
  ### Features
392
400
 
393
- - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
401
+ - **module-http:** expose simple config ([94e4d6b](https://github.com/equinor/fusion-framework/commit/94e4d6bbb7fef010cd72e49242d68ed155592e11))
394
402
 
395
403
  ## 1.0.2 (2022-09-05)
396
404
 
@@ -404,23 +412,23 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
404
412
 
405
413
  ### ⚠ BREAKING CHANGES
406
414
 
407
- - rename fetch
415
+ - rename fetch
408
416
 
409
- - fix(module-service-discovery): update http client consumer
417
+ - fix(module-service-discovery): update http client consumer
410
418
 
411
- - build: update allowed branches
419
+ - build: update allowed branches
412
420
 
413
- - build: add conventional commit
421
+ - build: add conventional commit
414
422
 
415
- - build: use conventionalcommits
423
+ - build: use conventionalcommits
416
424
 
417
- - build(module-http): push major
425
+ - build(module-http): push major
418
426
 
419
- - build: update deps
427
+ - build: update deps
420
428
 
421
429
  ### Features
422
430
 
423
- - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
431
+ - rename fetch method ([#226](https://github.com/equinor/fusion-framework/issues/226)) ([f02df7c](https://github.com/equinor/fusion-framework/commit/f02df7cdd2b9098b0da49c5ea56ac3b6a17e9e32))
424
432
 
425
433
  ## 0.6.2 (2022-08-19)
426
434
 
@@ -432,44 +440,44 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
432
440
 
433
441
  # [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)
434
442
 
435
- - feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
443
+ - feat!: allow modules to displose ([32b69fb](https://github.com/equinor/fusion-framework/commit/32b69fb7cc61e78e503e67d0e77f21fb44b600b9))
436
444
 
437
445
  ### BREAKING CHANGES
438
446
 
439
- - module.initialize now has object as arg
447
+ - module.initialize now has object as arg
440
448
 
441
449
  # 0.5.0 (2022-08-08)
442
450
 
443
451
  ### Bug Fixes
444
452
 
445
- - **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
453
+ - **module-http:** expose FetchRequest ([3d14ead](https://github.com/equinor/fusion-framework/commit/3d14ead0d78b36db091c6645ff1b69101e1f911f))
446
454
 
447
455
  ### Features
448
456
 
449
- - **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
457
+ - **module-service-discovery:** resolve service to config ([3fa088d](https://github.com/equinor/fusion-framework/commit/3fa088d2ced8136447df6949928f1af9fc83407a))
450
458
 
451
459
  # [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)
452
460
 
453
- - 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)
461
+ - 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)
454
462
 
455
463
  ### BREAKING CHANGES
456
464
 
457
- - `deps` prop is remove from module object, use `await require('MODULE')`;
465
+ - `deps` prop is remove from module object, use `await require('MODULE')`;
458
466
 
459
- - feat(module)!: allow requireing module instnce
467
+ - feat(module)!: allow requireing module instnce
460
468
 
461
469
  when module initiates it should be allowed to await an required module.
462
470
 
463
- - add method for awaiting required module
464
- - add typing for config in initialize fase
471
+ - add method for awaiting required module
472
+ - add typing for config in initialize fase
465
473
 
466
- - update service discovery to await http module
467
- - add service discovery client
468
- - allow configuration of service discovery client
474
+ - update service discovery to await http module
475
+ - add service discovery client
476
+ - allow configuration of service discovery client
469
477
 
470
- * `deps` prop is remove from module object, use `await require('MODULE')`;
478
+ * `deps` prop is remove from module object, use `await require('MODULE')`;
471
479
 
472
- * fix(module-http): add default interface for HttpClientOptions
480
+ * fix(module-http): add default interface for HttpClientOptions
473
481
 
474
482
  ## [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)
475
483
 
@@ -479,19 +487,19 @@ when module initiates it should be allowed to await an required module.
479
487
 
480
488
  ### Bug Fixes
481
489
 
482
- - change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
490
+ - change typo of exports ([b049503](https://github.com/equinor/fusion-framework/commit/b049503511fb1b37b920b00aed1468ed8385a67e))
483
491
 
484
492
  ## [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)
485
493
 
486
494
  ### Bug Fixes
487
495
 
488
- - **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
496
+ - **module-http:** fix selector of client ([dcc4774](https://github.com/equinor/fusion-framework/commit/dcc477489b51aa988a97494ff553eee34404469d))
489
497
 
490
498
  ## [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)
491
499
 
492
500
  ### Bug Fixes
493
501
 
494
- - **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
502
+ - **module-http:** make rxjs dependent ([a20286f](https://github.com/equinor/fusion-framework/commit/a20286f950ff10c84605c025354cb05280c7455a))
495
503
 
496
504
  ## [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)
497
505
 
@@ -521,13 +529,13 @@ when module initiates it should be allowed to await an required module.
521
529
 
522
530
  ### Features
523
531
 
524
- - **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
532
+ - **module-http:** expose response processor ([e4551c5](https://github.com/equinor/fusion-framework/commit/e4551c549654ef25f33eef72ebc2fcc02ab552a2))
525
533
 
526
534
  ## 0.2.2 (2022-06-13)
527
535
 
528
536
  ### Bug Fixes
529
537
 
530
- - **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
538
+ - **module-http:** reutrn fallb ack config ([8ece469](https://github.com/equinor/fusion-framework/commit/8ece469e99bd64c10a7697d49fdcc5d396737ac8))
531
539
 
532
540
  ## 0.2.1 (2022-06-10)
533
541
 
@@ -537,7 +545,7 @@ when module initiates it should be allowed to await an required module.
537
545
 
538
546
  ### Features
539
547
 
540
- - **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
548
+ - **module-http:** add json support ([a6adbbb](https://github.com/equinor/fusion-framework/commit/a6adbbb36ca1391f8813be6141ef963031098764))
541
549
 
542
550
  ## 0.1.1 (2022-02-09)
543
551
 
@@ -547,15 +555,15 @@ when module initiates it should be allowed to await an required module.
547
555
 
548
556
  ### Bug Fixes
549
557
 
550
- - expose http client interface ([8660822](https://github.com/equinor/fusion-framework/commit/8660822b669e549bd454aa8a6a0adcaeb5e7917f))
551
- - **module-http:** allow defaultScopes ([d476de9](https://github.com/equinor/fusion-framework/commit/d476de99e6289e60684f02bcd7b669e23f3789bb))
552
- - **module-http:** fix check if config when creating client ([950ebc1](https://github.com/equinor/fusion-framework/commit/950ebc18f8f35bb7e6f97d6a98bd91d87616a94e))
553
- - **module-http:** fix merge of process operators ([5a1d6d2](https://github.com/equinor/fusion-framework/commit/5a1d6d2942475c61c994f4ec26812c949cabbdf1))
554
- - **module-http:** fix relative url resolve ([0d8c311](https://github.com/equinor/fusion-framework/commit/0d8c311c66b52eec22d465e0db57fa003506ab0c))
558
+ - expose http client interface ([8660822](https://github.com/equinor/fusion-framework/commit/8660822b669e549bd454aa8a6a0adcaeb5e7917f))
559
+ - **module-http:** allow defaultScopes ([d476de9](https://github.com/equinor/fusion-framework/commit/d476de99e6289e60684f02bcd7b669e23f3789bb))
560
+ - **module-http:** fix check if config when creating client ([950ebc1](https://github.com/equinor/fusion-framework/commit/950ebc18f8f35bb7e6f97d6a98bd91d87616a94e))
561
+ - **module-http:** fix merge of process operators ([5a1d6d2](https://github.com/equinor/fusion-framework/commit/5a1d6d2942475c61c994f4ec26812c949cabbdf1))
562
+ - **module-http:** fix relative url resolve ([0d8c311](https://github.com/equinor/fusion-framework/commit/0d8c311c66b52eec22d465e0db57fa003506ab0c))
555
563
 
556
564
  ### Features
557
565
 
558
- - add module for http clients ([7b02db7](https://github.com/equinor/fusion-framework/commit/7b02db7c2e34b97659bc72af7b5b31307cf55e5f))
559
- - http client base uri ([233cabf](https://github.com/equinor/fusion-framework/commit/233cabfea0f2b07955670e553472427ec27a3aa0))
560
- - **module-http:** add check for registered client keys ([93b42f8](https://github.com/equinor/fusion-framework/commit/93b42f88ad092e24fe4f1a216394893128d35734))
561
- - **module-http:** allow selector for http requests ([ea300c8](https://github.com/equinor/fusion-framework/commit/ea300c8ad5555e4514b35ac43a4c8494461afd91))
566
+ - add module for http clients ([7b02db7](https://github.com/equinor/fusion-framework/commit/7b02db7c2e34b97659bc72af7b5b31307cf55e5f))
567
+ - http client base uri ([233cabf](https://github.com/equinor/fusion-framework/commit/233cabfea0f2b07955670e553472427ec27a3aa0))
568
+ - **module-http:** add check for registered client keys ([93b42f8](https://github.com/equinor/fusion-framework/commit/93b42f88ad092e24fe4f1a216394893128d35734))
569
+ - **module-http:** allow selector for http requests ([ea300c8](https://github.com/equinor/fusion-framework/commit/ea300c8ad5555e4514b35ac43a4c8494461afd91))
@@ -1,2 +1,2 @@
1
- export const version = '5.2.2';
1
+ export const version = '5.2.3';
2
2
  //# sourceMappingURL=version.js.map