@equinor/fusion-framework-module-service-discovery
Advanced tools
Comparing version 8.0.1 to 8.0.2
# Change Log | ||
## 8.0.2 | ||
### Patch Changes | ||
- Updated dependencies [[`21db01b`](https://github.com/equinor/fusion-framework/commit/21db01bbe5113b07aaa715d554378561e1a5223d)]: | ||
- @equinor/fusion-query@5.1.4 | ||
## 8.0.1 | ||
@@ -4,0 +11,0 @@ |
@@ -22,6 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
// check if http module has a client with key 'service_discovery' | ||
const httpProvider = yield init.requireInstance('http'); | ||
if (httpProvider.hasClient('service_discovery')) { | ||
this.configureServiceDiscoveryClientByClientKey('service_discovery'); | ||
// if discoveryClient is not configured, check if http module has a client with key 'service_discovery' | ||
if (!this._has('discoveryClient')) { | ||
// check if http module has a client with key 'service_discovery' | ||
const httpProvider = yield init.requireInstance('http'); | ||
if (httpProvider.hasClient('service_discovery')) { | ||
this.configureServiceDiscoveryClientByClientKey('service_discovery'); | ||
} | ||
} | ||
@@ -28,0 +31,0 @@ // convert parent to promise |
// Generated by genversion. | ||
export const version = '8.0.1'; | ||
export const version = '8.0.2'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,1 +0,1 @@ | ||
export declare const version = "8.0.1"; | ||
export declare const version = "8.0.2"; |
{ | ||
"name": "@equinor/fusion-framework-module-service-discovery", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "", | ||
@@ -28,4 +28,4 @@ "main": "dist/esm/index.js", | ||
"@equinor/fusion-framework-module": "^4.3.5", | ||
"@equinor/fusion-query": "^5.1.3", | ||
"@equinor/fusion-framework-module-http": "^6.2.0" | ||
"@equinor/fusion-framework-module-http": "^6.2.0", | ||
"@equinor/fusion-query": "^5.1.4" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -27,6 +27,9 @@ import { from, lastValueFrom, ObservableInput } from 'rxjs'; | ||
// check if http module has a client with key 'service_discovery' | ||
const httpProvider = await init.requireInstance('http'); | ||
if (httpProvider.hasClient('service_discovery')) { | ||
this.configureServiceDiscoveryClientByClientKey('service_discovery'); | ||
// if discoveryClient is not configured, check if http module has a client with key 'service_discovery' | ||
if (!this._has('discoveryClient')) { | ||
// check if http module has a client with key 'service_discovery' | ||
const httpProvider = await init.requireInstance('http'); | ||
if (httpProvider.hasClient('service_discovery')) { | ||
this.configureServiceDiscoveryClientByClientKey('service_discovery'); | ||
} | ||
} | ||
@@ -33,0 +36,0 @@ |
// Generated by genversion. | ||
export const version = '8.0.1'; | ||
export const version = '8.0.2'; |
Sorry, the diff of this file is not supported yet
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
233271
1135
Updated@equinor/fusion-query@^5.1.4