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

@equinor/fusion-framework-module-http

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-framework-module-http - npm Package Compare versions

Comparing version 0.1.0-alpha.7 to 0.1.0-alpha.9

3

dist/esm/configurator.js

@@ -12,2 +12,5 @@ import { HttpRequestHandler } from './client';

}
hasClient(name) {
return Object.keys(this._clients).includes(name);
}
configureClient(name, args) {

@@ -14,0 +17,0 @@ const argFn = typeof args === 'string' ? (x) => (x.uri = String(args)) : args;

@@ -22,2 +22,3 @@ import { HttpRequestHandler, HttpRequestInit, IHttpClient } from './client';

configureClient<T extends TClient>(name: string, onCreate: (client: T) => void): HttpClientConfigurator<TClient>;
hasClient(name: string): boolean;
}

@@ -30,4 +31,5 @@ export declare class HttpClientConfigurator<TClient extends IHttpClient> implements IHttpClientConfigurator<TClient> {

constructor(client: HttpClientConstructor<TClient>);
hasClient(name: string): boolean;
configureClient<T extends TClient>(name: string, args: string | HttpClientOptions<T> | HttpClientOptions<T>['onCreate']): HttpClientConfigurator<TClient>;
}
export default HttpClientConfigurator;

6

package.json
{
"name": "@equinor/fusion-framework-module-http",
"version": "0.1.0-alpha.7",
"version": "0.1.0-alpha.9",
"description": "",

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

"dependencies": {
"@equinor/fusion-framework-module": "^0.1.0-alpha.7"
"@equinor/fusion-framework-module": "^0.1.0-alpha.9"
},

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

},
"gitHead": "207608e4f11f66119db73a722325048e12487a0e"
"gitHead": "b12e2a8caae0b987080b7cab2aa09e9423393e54"
}

@@ -39,2 +39,4 @@ import { HttpRequestHandler, HttpRequestInit, IHttpClient } from './client';

): HttpClientConfigurator<TClient>;
hasClient(name: string): boolean;
}

@@ -61,2 +63,6 @@

hasClient(name: string): boolean {
return Object.keys(this._clients).includes(name);
}
configureClient<T extends TClient>(

@@ -63,0 +69,0 @@ name: string,

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