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 2.0.7 to 2.0.8

9

CHANGELOG.md

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

## 2.0.8 (2022-09-27)
### Bug Fixes
* update registering of configuration ([20942ce](https://github.com/equinor/fusion-framework/commit/20942ce1c7a853ea3b55c031a242646e378db8c9))
## 2.0.7 (2022-09-20)

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

4

dist/types/module.d.ts

@@ -8,4 +8,4 @@ import { HttpClientMsal } from './lib/client';

export declare const module: HttpModule;
export declare const configureHttp: (configure: (config: ModuleConfigType<HttpModule>, ref?: any) => void) => IModuleConfigurator<HttpModule>;
export declare const configureHttpClient: (name: string, args: HttpClientOptions) => IModuleConfigurator<HttpModule>;
export declare const configureHttp: <TRef = unknown>(configure: (config: ModuleConfigType<HttpModule>, ref?: TRef | undefined) => void) => IModuleConfigurator<HttpModule, TRef>;
export declare const configureHttpClient: <TRef = unknown>(name: string, args: HttpClientOptions) => IModuleConfigurator<HttpModule, TRef>;
declare module '@equinor/fusion-framework-module' {

@@ -12,0 +12,0 @@ interface Modules {

{
"name": "@equinor/fusion-framework-module-http",
"version": "2.0.7",
"version": "2.0.8",
"description": "",

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

"dependencies": {
"@equinor/fusion-framework-module": "^1.2.0",
"@equinor/fusion-framework-module": "^1.2.1",
"rxjs": "^7.5.6"

@@ -52,3 +52,3 @@ },

},
"gitHead": "2cd29e53f0f29582cdf98b18699d6aa0f171f7fe"
"gitHead": "6948015d0a835b16e75699fcd0b317e54fa93eef"
}

@@ -0,1 +1,2 @@

/* eslint-disable @typescript-eslint/no-explicit-any */
import { HttpClientMsal } from './lib/client';

@@ -28,6 +29,6 @@ import { IHttpClientConfigurator, HttpClientConfigurator, HttpClientOptions } from './configurator';

export const configureHttp = (
export const configureHttp = <TRef = unknown>(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
configure: (config: ModuleConfigType<HttpModule>, ref?: any) => void
): IModuleConfigurator<HttpModule> => ({
configure: (config: ModuleConfigType<HttpModule>, ref?: TRef) => void
): IModuleConfigurator<HttpModule, TRef> => ({
module,

@@ -37,6 +38,6 @@ configure,

export const configureHttpClient = (
export const configureHttpClient = <TRef = unknown>(
name: string,
args: HttpClientOptions
): IModuleConfigurator<HttpModule> => ({
): IModuleConfigurator<HttpModule, TRef> => ({
module,

@@ -43,0 +44,0 @@ configure: (config: ModuleConfigType<HttpModule>) => {

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