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.3.10 to 0.4.0

28

CHANGELOG.md

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

# [0.4.0](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.10...@equinor/fusion-framework-module-http@0.4.0) (2022-08-04)
* feat(module)!: allow requireing module instnce (#190) ([3a7e67e](https://github.com/equinor/fusion-framework/commit/3a7e67e9accb5185100325c92d5850a44626e498)), closes [#190](https://github.com/equinor/fusion-framework/issues/190)
### BREAKING CHANGES
* `deps` prop is remove from module object, use `await require('MODULE')`;
* feat(module)!: allow requireing module instnce
when module initiates it should be allowed to await an required module.
- add method for awaiting required module
- add typing for config in initialize fase
- update service discovery to await http module
- add service discovery client
- allow configuration of service discovery client
* `deps` prop is remove from module object, use `await require('MODULE')`;
* fix(module-http): add default interface for HttpClientOptions
## [0.3.10](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-module-http@0.3.9...@equinor/fusion-framework-module-http@0.3.10) (2022-08-01)

@@ -8,0 +36,0 @@

2

dist/types/configurator.d.ts

@@ -8,3 +8,3 @@ import { HttpRequestHandler, FetchRequest, IHttpClient, HttpResponseHandler } from './client';

}
export interface HttpClientOptions<TClient extends IHttpClient> {
export interface HttpClientOptions<TClient extends IHttpClient = IHttpClient> {
baseUri?: string;

@@ -11,0 +11,0 @@ defaultScopes?: string[];

{
"name": "@equinor/fusion-framework-module-http",
"version": "0.3.10",
"version": "0.4.0",
"description": "",

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

"dependencies": {
"@equinor/fusion-framework-module": "^0.2.8",
"@equinor/fusion-framework-module": "^0.3.0",
"rxjs": "^7.5.5"

@@ -33,3 +33,3 @@ },

},
"gitHead": "db8d65b393e368a87840015939e321b7cc707259"
"gitHead": "65221b1abaf4e12d55349ddde5492c8facada168"
}

@@ -14,3 +14,3 @@ import { HttpRequestHandler, FetchRequest, IHttpClient, HttpResponseHandler } from './client';

export interface HttpClientOptions<TClient extends IHttpClient> {
export interface HttpClientOptions<TClient extends IHttpClient = IHttpClient> {
baseUri?: string;

@@ -17,0 +17,0 @@ defaultScopes?: string[];

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