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

@mvxiv/http-service

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mvxiv/http-service - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

28

module.d.ts

@@ -1,1 +0,27 @@

// TODO :)
import { AxiosInstance } from 'axios'
declare module "BaseService" {
export class BaseService {
constructor(httpService: any);
setHeader(key: any, value: any): void;
get(url: any, config: any): void;
delete(url: any, config: any): void;
head(url: any, config: any): void;
options(url: any, config: any): void;
post(url: any, payload: any, config: any): void;
put(url: any, payload: any, config: any): void;
patch(url: any, payload: any, cofig: any): void;
request(config: any): void;
#private;
}
}
declare module "http-service" {
export function useHttpService(config: object, interceptors?: object | undefined): {
httpService: AxiosInstance;
defineService: Function;
setHeader: Function;
};
}
declare module "ioc" {
export function autobindDecorator(service: any): any;
export function createApiServiceContainer(serviceList: Object, httpConfig: Object, httpInterceptors?: Object | undefined): any;
}

2

package.json
{
"name": "@mvxiv/http-service",
"version": "1.0.0",
"version": "1.0.1",
"description": "Http service for frontend build upon axios",

@@ -5,0 +5,0 @@ "repository": {

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