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.1.0 to 1.1.1

28

index.d.ts

@@ -6,9 +6,9 @@ import { AxiosInstance, AxiosRequestConfig } from 'axios';

setHeader(key: string, value: string): void;
get(url: string, config: AxiosRequestConfig): Promise<any>;
delete(url: string, config: AxiosRequestConfig): Promise<any>;
head(url: string, config: AxiosRequestConfig): Promise<any>;
options(url: string, config: AxiosRequestConfig): Promise<any>;
post(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
put(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
patch(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
get(url: string, config?: AxiosRequestConfig): Promise<any>;
delete(url: string, config?: AxiosRequestConfig): Promise<any>;
head(url: string, config?: AxiosRequestConfig): Promise<any>;
options(url: string, config?: AxiosRequestConfig): Promise<any>;
post(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
put(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
patch(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
request(config: AxiosRequestConfig): Promise<any>;

@@ -31,9 +31,9 @@ private readonly httpService: AxiosInstance;

setHeader(key: string, value: string): void;
get(url: string, config: AxiosRequestConfig): Promise<any>;
delete(url: string, config: AxiosRequestConfig): Promise<any>;
head(url: string, config: AxiosRequestConfig): Promise<any>;
options(url: string, config: AxiosRequestConfig): Promise<any>;
post(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
put(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
patch(url: string, payload: unknown, config: AxiosRequestConfig): Promise<any>;
get(url: string, config?: AxiosRequestConfig): Promise<any>;
delete(url: string, config?: AxiosRequestConfig): Promise<any>;
head(url: string, config?: AxiosRequestConfig): Promise<any>;
options(url: string, config?: AxiosRequestConfig): Promise<any>;
post(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
put(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
patch(url: string, payload: unknown, config?: AxiosRequestConfig): Promise<any>;
request(config: AxiosRequestConfig): Promise<any>;

@@ -40,0 +40,0 @@ }

{
"name": "@mvxiv/http-service",
"version": "1.1.0",
"version": "1.1.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