@equinor/fusion-framework-module-http
Advanced tools
Comparing version 0.3.10 to 0.4.0
@@ -6,2 +6,30 @@ # Change Log | ||
# [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) | ||
* 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) | ||
### BREAKING CHANGES | ||
* `deps` prop is remove from module object, use `await require('MODULE')`; | ||
* feat(module)!: allow requireing module instnce | ||
when module initiates it should be allowed to await an required module. | ||
- add method for awaiting required module | ||
- add typing for config in initialize fase | ||
- update service discovery to await http module | ||
- add service discovery client | ||
- allow configuration of service discovery client | ||
* `deps` prop is remove from module object, use `await require('MODULE')`; | ||
* fix(module-http): add default interface for HttpClientOptions | ||
## [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) | ||
@@ -8,0 +36,0 @@ |
@@ -8,3 +8,3 @@ import { HttpRequestHandler, FetchRequest, IHttpClient, HttpResponseHandler } from './client'; | ||
} | ||
export interface HttpClientOptions<TClient extends IHttpClient> { | ||
export interface HttpClientOptions<TClient extends IHttpClient = IHttpClient> { | ||
baseUri?: string; | ||
@@ -11,0 +11,0 @@ defaultScopes?: string[]; |
{ | ||
"name": "@equinor/fusion-framework-module-http", | ||
"version": "0.3.10", | ||
"version": "0.4.0", | ||
"description": "", | ||
@@ -26,3 +26,3 @@ "main": "dist/esm/index.js", | ||
"dependencies": { | ||
"@equinor/fusion-framework-module": "^0.2.8", | ||
"@equinor/fusion-framework-module": "^0.3.0", | ||
"rxjs": "^7.5.5" | ||
@@ -33,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "db8d65b393e368a87840015939e321b7cc707259" | ||
"gitHead": "65221b1abaf4e12d55349ddde5492c8facada168" | ||
} |
@@ -14,3 +14,3 @@ import { HttpRequestHandler, FetchRequest, IHttpClient, HttpResponseHandler } from './client'; | ||
export interface HttpClientOptions<TClient extends IHttpClient> { | ||
export interface HttpClientOptions<TClient extends IHttpClient = IHttpClient> { | ||
baseUri?: string; | ||
@@ -17,0 +17,0 @@ defaultScopes?: string[]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117174
+ Added@equinor/fusion-framework-module@0.3.0(transitive)
- Removed@equinor/fusion-framework-module@0.2.8(transitive)