Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@equinor/fusion-framework-module-service-discovery

Package Overview
Dependencies
Maintainers
3
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-service-discovery - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

## [1.0.6](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-service-discovery@1.0.5...@equinor/fusion-framework-module-service-discovery@1.0.6) (2022-09-16)
### Bug Fixes
* **module-service-discovery:** fix typing ([29941ba](https://github.com/equinor/fusion-framework/commit/29941baa3682ade7f1e15c0322b7c976488599e6))
## [1.0.5](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-service-discovery@1.0.4...@equinor/fusion-framework-module-service-discovery@1.0.5) (2022-09-14)

@@ -8,0 +17,0 @@

8

dist/types/provider.d.ts
import { IServiceDiscoveryClient } from './client';
import type { ModulesConfigurator, ModulesInstanceType } from '@equinor/fusion-framework-module';
import type { ModulesConfigurator, ModuleType } from '@equinor/fusion-framework-module';
import type { HttpClientOptions, HttpModule, IHttpClient } from '@equinor/fusion-framework-module-http';

@@ -16,7 +16,7 @@ import type { Environment, Service } from './types';

protected readonly _client: IServiceDiscoveryClient;
protected readonly _http: ModulesInstanceType<[HttpModule]>['http'];
constructor(_client: IServiceDiscoveryClient, _http: ModulesInstanceType<[HttpModule]>['http']);
protected readonly _http: ModuleType<HttpModule>;
constructor(_client: IServiceDiscoveryClient, _http: ModuleType<HttpModule>);
get environment(): Promise<Environment>;
resolveService(key: string): Promise<Service>;
createClient(name: string, opt?: Omit<HttpClientOptions, 'baseUri' | 'defaultScopes' | 'ctor'>): Promise<IHttpClient<import("@equinor/fusion-framework-module-http").FetchRequest, Response>>;
createClient(name: string, opt?: Omit<HttpClientOptions, 'baseUri' | 'defaultScopes' | 'ctor'>): Promise<IHttpClient>;
configureClient(config: ModulesConfigurator<[HttpModule]>, serviceName: string | {

@@ -23,0 +23,0 @@ key: string;

{
"name": "@equinor/fusion-framework-module-service-discovery",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -27,3 +27,3 @@ "main": "dist/esm/index.js",

"@equinor/fusion-framework-module": "^1.1.3",
"@equinor/fusion-framework-module-http": "^2.0.5"
"@equinor/fusion-framework-module-http": "^2.0.6"
},

@@ -33,3 +33,3 @@ "devDependencies": {

},
"gitHead": "4e92ef5173981f4e43bad9a2a2e53fb3f71da7a1"
"gitHead": "afbbc5036ce33357ea7f946a082282b72f86da30"
}

@@ -5,3 +5,3 @@ import { configureHttpClient } from '@equinor/fusion-framework-module-http';

import type { ModulesConfigurator, ModulesInstanceType } from '@equinor/fusion-framework-module';
import type { ModulesConfigurator, ModuleType } from '@equinor/fusion-framework-module';
import type {

@@ -39,3 +39,3 @@ HttpClientOptions,

protected readonly _client: IServiceDiscoveryClient,
protected readonly _http: ModulesInstanceType<[HttpModule]>['http']
protected readonly _http: ModuleType<HttpModule>
) {}

@@ -54,3 +54,3 @@

opt?: Omit<HttpClientOptions, 'baseUri' | 'defaultScopes' | 'ctor'>
) {
): Promise<IHttpClient> {
const service = await this.resolveService(name);

@@ -57,0 +57,0 @@ if (!service) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc