Comparing version 2.1.2 to 2.1.3
@@ -96,11 +96,11 @@ import { AxiosInstance, AxiosRequestConfig, AxiosError, CancelTokenStatic } from 'axios' | ||
any: <T, U = T>(config: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
get: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
delete: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
head: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
post: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
put: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
patch: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
link: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
unlink: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig) => Promise<ApiResponse<T, U>> | ||
any: <T, U = T>(config: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
get: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
delete: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
head: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
post: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
put: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
patch: <T, U = T>(url: string, data?: any, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
link: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
unlink: <T, U = T>(url: string, params?: {}, axiosConfig?: AxiosRequestConfig<T>) => Promise<ApiResponse<T, U>> | ||
} | ||
@@ -107,0 +107,0 @@ |
{ | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"author": "Steve Kellock <steve@kellock.ca>", | ||
@@ -4,0 +4,0 @@ "ava": { |
@@ -119,3 +119,3 @@ # Apisauce | ||
api.unlink('/images/my_dog.jpg', {}, { headers: { Link: '<http://example.com/profiles/joe>; rel="tag"' } }) | ||
api.any({ method: 'GET' url: '/product', params: { id: 1 } }) | ||
api.any({ method: 'GET', url: '/product', params: { id: 1 } }) | ||
``` | ||
@@ -122,0 +122,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
46051
0