@equinor/fusion-framework-module-service-discovery
Advanced tools
Comparing version 7.1.9 to 7.1.10
# Change Log | ||
## 7.1.10 | ||
### Patch Changes | ||
- [#2333](https://github.com/equinor/fusion-framework/pull/2333) [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1) Thanks [@odinr](https://github.com/odinr)! - Updated `TypeScript` to 5.5.3 | ||
- [#2320](https://github.com/equinor/fusion-framework/pull/2320) [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee) Thanks [@odinr](https://github.com/odinr)! - Removed the `removeComments` option from the `tsconfig.base.json` file. | ||
Removing the `removeComments` option allows TypeScript to preserve comments in the compiled JavaScript output. This can be beneficial for several reasons: | ||
1. Improved debugging: Preserved comments can help developers understand the code better during debugging sessions. | ||
2. Documentation: JSDoc comments and other important code documentation will be retained in the compiled output. | ||
3. Source map accuracy: Keeping comments can lead to more accurate source maps, which is crucial for debugging and error tracking. | ||
No action is required from consumers of the library. This change affects the build process and doesn't introduce any breaking changes or new features. | ||
Before: | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"module": "ES2022", | ||
"target": "ES6", | ||
"incremental": true, | ||
"removeComments": true, | ||
"preserveConstEnums": true, | ||
"sourceMap": true, | ||
"moduleResolution": "node" | ||
} | ||
} | ||
``` | ||
After: | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"module": "ES2022", | ||
"target": "ES6", | ||
"incremental": true, | ||
"preserveConstEnums": true, | ||
"sourceMap": true, | ||
"moduleResolution": "node" | ||
} | ||
} | ||
``` | ||
This change ensures that comments are preserved in the compiled output, potentially improving the development and debugging experience for users of the Fusion Framework. | ||
- Updated dependencies [[`2f74edc`](https://github.com/equinor/fusion-framework/commit/2f74edcd4a3ea2b87d69f0fd63492145c3c01663), [`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`86d55b8`](https://github.com/equinor/fusion-framework/commit/86d55b8d27a572f3f62170b1e72aceda54f955e1), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`788d0b9`](https://github.com/equinor/fusion-framework/commit/788d0b93edc25e5b682d88c58614560c204c1af9), [`29ff796`](https://github.com/equinor/fusion-framework/commit/29ff796ebb3a643c604e4153b6798bde5992363c), [`1dd85f3`](https://github.com/equinor/fusion-framework/commit/1dd85f3a408a73df556d1812a5f280945cc100ee), [`5e20ce1`](https://github.com/equinor/fusion-framework/commit/5e20ce17af709f0443b7110bfc952ff8d8d81dee)]: | ||
- @equinor/fusion-framework-module@4.3.2 | ||
- @equinor/fusion-query@5.1.0 | ||
- @equinor/fusion-framework-module-http@6.0.1 | ||
## 7.1.9 | ||
@@ -4,0 +58,0 @@ |
@@ -35,2 +35,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
constructor({ http, endpoint }) { | ||
// TODO - make better | ||
_ServiceDiscoveryClient_query.set(this, void 0); | ||
@@ -45,2 +46,3 @@ this.http = http; | ||
expire: 5 * 60 * 1000, | ||
// queueOperator: (_) => ($) => $.pipe(throttleTime(100)), | ||
}), "f"); | ||
@@ -47,0 +49,0 @@ } |
@@ -0,1 +1,5 @@ | ||
/** | ||
* [[include:module-service-discovery/README.MD]] | ||
* @module | ||
*/ | ||
export * from './types'; | ||
@@ -2,0 +6,0 @@ export { ServiceDiscoveryConfigurator } from './configurator'; |
@@ -14,4 +14,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { moduleName } from './constants'; | ||
/** | ||
* Configure http-client | ||
*/ | ||
export const module = { | ||
name: moduleName, | ||
// deps: ['http'], | ||
configure: () => new ServiceDiscoveryConfigurator({ | ||
@@ -18,0 +22,0 @@ clientCtor: ServiceDiscoveryClient, |
@@ -1,2 +0,3 @@ | ||
export const version = '7.1.9'; | ||
// Generated by genversion. | ||
export const version = '7.1.10'; | ||
//# sourceMappingURL=version.js.map |
@@ -5,2 +5,3 @@ import { ModulesInstanceType } from '@equinor/fusion-framework-module'; | ||
export interface IServiceDiscoveryConfigurator { | ||
/** name of HttpClient */ | ||
clientKey?: string; | ||
@@ -7,0 +8,0 @@ endpoint?: string; |
@@ -0,1 +1,5 @@ | ||
/** | ||
* [[include:module-service-discovery/README.MD]] | ||
* @module | ||
*/ | ||
export * from './types'; | ||
@@ -2,0 +6,0 @@ export { IServiceDiscoveryConfigurator, ServiceDiscoveryConfigurator } from './configurator'; |
@@ -9,2 +9,5 @@ import { IServiceDiscoveryConfigurator } from './configurator'; | ||
]>; | ||
/** | ||
* Configure http-client | ||
*/ | ||
export declare const module: ServiceDiscoveryModule; | ||
@@ -11,0 +14,0 @@ export declare const setupServiceDiscoveryModule: (config: ModulesConfigType<[ServiceDiscoveryModule]>, callback: (config: IServiceDiscoveryConfigurator) => void) => void | Promise<void>; |
@@ -6,3 +6,10 @@ import { IServiceDiscoveryClient } from './client'; | ||
export interface IServiceDiscoveryProvider { | ||
/** | ||
* Try to resolve services for requested key | ||
*/ | ||
resolveService(key: string): Promise<Service>; | ||
/** | ||
* service environment | ||
* this might throw error if no environment is loaded | ||
*/ | ||
readonly environment: Environment; | ||
@@ -9,0 +16,0 @@ resolveServices(): Promise<Environment>; |
@@ -1,1 +0,1 @@ | ||
export declare const version = "7.1.9"; | ||
export declare const version = "7.1.10"; |
{ | ||
"name": "@equinor/fusion-framework-module-service-discovery", | ||
"version": "7.1.9", | ||
"version": "7.1.10", | ||
"description": "", | ||
@@ -26,8 +26,8 @@ "main": "dist/esm/index.js", | ||
"rxjs": "^7.8.1", | ||
"@equinor/fusion-framework-module": "^4.3.1", | ||
"@equinor/fusion-framework-module-http": "^6.0.0", | ||
"@equinor/fusion-query": "^5.0.5" | ||
"@equinor/fusion-framework-module": "^4.3.2", | ||
"@equinor/fusion-framework-module-http": "^6.0.1", | ||
"@equinor/fusion-query": "^5.1.0" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.4.2" | ||
"typescript": "^5.5.3" | ||
}, | ||
@@ -34,0 +34,0 @@ "scripts": { |
// Generated by genversion. | ||
export const version = '7.1.9'; | ||
export const version = '7.1.10'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
625
195280
+ Addedchalk@5.4.0(transitive)
- Removedchalk@5.4.1(transitive)
Updated@equinor/fusion-query@^5.1.0