@mvxiv/http-service
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12697