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
172
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.7 to 2.0.0

13

CHANGELOG.md

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

## 2.0.0 (2022-09-26)
### ⚠ BREAKING CHANGES
* **module-service-discovery:** order of arguments for configuring client in service discovery
### Bug Fixes
* **module-service-discovery:** change order of arguments ([a1240c6](https://github.com/equinor/fusion-framework/commit/a1240c6360da5e919623bc31a51ced4c5ce1c2e3))
## 1.0.7 (2022-09-20)

@@ -8,0 +21,0 @@

2

dist/esm/provider.js

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

}
async configureClient(config, serviceName) {
async configureClient(serviceName, config) {
const { key, alias } = typeof serviceName === 'string'

@@ -29,0 +29,0 @@ ? { key: serviceName, alias: serviceName }

@@ -9,6 +9,6 @@ import { IServiceDiscoveryClient } from './client';

createClient(name: string, opt?: Omit<HttpClientOptions, 'baseUri' | 'defaultScopes' | 'ctor'>): Promise<IHttpClient>;
configureClient(config: ModulesConfigurator<[HttpModule]>, serviceName: string | {
configureClient(serviceName: string | {
key: string;
alias: string;
}): Promise<void>;
}, config: ModulesConfigurator<[HttpModule]>): Promise<void>;
}

@@ -22,6 +22,6 @@ export declare class ServiceDiscoveryProvider implements IServiceDiscoveryProvider {

createClient(name: string, opt?: Omit<HttpClientOptions, 'baseUri' | 'defaultScopes' | 'ctor'>): Promise<IHttpClient>;
configureClient(config: ModulesConfigurator<[HttpModule]>, serviceName: string | {
configureClient(serviceName: string | {
key: string;
alias: string;
}): Promise<void>;
}, config: ModulesConfigurator<[HttpModule]>): Promise<void>;
}
{
"name": "@equinor/fusion-framework-module-service-discovery",
"version": "1.0.7",
"version": "2.0.0",
"description": "",

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

},
"gitHead": "2cd29e53f0f29582cdf98b18699d6aa0f171f7fe"
"gitHead": "1229a13067401b03c90943213c5fab8bf2098547"
}

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

configureClient(
serviceName: string | { key: string; alias: string },
config: ModulesConfigurator<[HttpModule]>,
serviceName: string | { key: string; alias: string }
): Promise<void>;

@@ -66,4 +66,4 @@ }

public async configureClient(
serviceName: string | { key: string; alias: string },
config: ModulesConfigurator<[HttpModule]>,
serviceName: string | { key: string; alias: string }
): Promise<void> {

@@ -70,0 +70,0 @@ const { key, alias } =

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