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 0.1.0-alpha.10 to 0.1.0-alpha.11

1

dist/esm/configurator.js
export class ServiceDiscoveryConfigurator {
clientKey = 'service_discovery';
uri = '/_discovery/environments/current';
baseUrl = '';
}
//# sourceMappingURL=configurator.js.map

10

dist/esm/module.js

@@ -8,10 +8,6 @@ import { ServiceDiscoveryConfigurator } from './configurator';

postConfigure: (config) => {
const { clientKey, baseUrl } = config.serviceDiscovery;
if (config.http.hasClient(clientKey) && baseUrl) {
console.warn(`http is already configure for key [${clientKey}], overriding existing endpoint`);
config.http.configureClient(clientKey, baseUrl);
const { clientKey } = config.serviceDiscovery;
if (!config.http.hasClient(clientKey)) {
console.warn(`missing http config for [${clientKey}]`);
}
else {
config.http.configureClient(clientKey, baseUrl);
}
},

@@ -18,0 +14,0 @@ };

export interface IServiceDiscoveryConfigurator {
clientKey: string;
uri: string;
baseUrl: string;
}

@@ -9,3 +8,2 @@ export declare class ServiceDiscoveryConfigurator implements IServiceDiscoveryConfigurator {

uri: string;
baseUrl: string;
}
{
"name": "@equinor/fusion-framework-module-service-discovery",
"version": "0.1.0-alpha.10",
"version": "0.1.0-alpha.11",
"description": "",

@@ -24,4 +24,4 @@ "main": "./dist/esm/index.js",

"dependencies": {
"@equinor/fusion-framework-module": "^0.1.0-alpha.10",
"@equinor/fusion-framework-module-http": "^0.1.0-alpha.10"
"@equinor/fusion-framework-module": "^0.1.0-alpha.11",
"@equinor/fusion-framework-module-http": "^0.1.0-alpha.11"
},

@@ -36,3 +36,3 @@ "types": "index.d.ts",

},
"gitHead": "7a8db468f01ac70310a38f529a4e9afc112d39af"
"gitHead": "aa21f8cf7a5470f9a41739e945af3b1ac63bc857"
}

@@ -6,3 +6,2 @@ export interface IServiceDiscoveryConfigurator {

uri: string;
baseUrl: string;
}

@@ -13,3 +12,2 @@

uri = '/_discovery/environments/current';
baseUrl = '';
}

@@ -23,10 +23,5 @@ import { IServiceDiscoveryConfigurator, ServiceDiscoveryConfigurator } from './configurator';

postConfigure: (config) => {
const { clientKey, baseUrl } = config.serviceDiscovery;
if (config.http.hasClient(clientKey) && baseUrl) {
console.warn(
`http is already configure for key [${clientKey}], overriding existing endpoint`
);
config.http.configureClient(clientKey, baseUrl);
} else {
config.http.configureClient(clientKey, baseUrl);
const { clientKey } = config.serviceDiscovery;
if (!config.http.hasClient(clientKey)) {
console.warn(`missing http config for [${clientKey}]`);
}

@@ -33,0 +28,0 @@ },

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

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