axios-retry
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -7,3 +7,3 @@ import * as axios from 'axios' | ||
axiosRetryConfig?: IAxiosRetry.IAxiosRetryConfig | ||
): void; | ||
): IAxiosRetry.IAxiosRetryReturn; | ||
@@ -61,2 +61,17 @@ isNetworkError(error: Error): boolean; | ||
} | ||
export interface IAxiosRetryReturn { | ||
/** | ||
* The interceptorId for the request interceptor | ||
* | ||
* @type {number} | ||
*/ | ||
requestInterceptorId: number; | ||
/** | ||
* The interceptorId for the response interceptor | ||
* | ||
* @type {number} | ||
*/ | ||
responseInterceptorId: number; | ||
} | ||
} | ||
@@ -67,2 +82,3 @@ | ||
export type IAxiosRetryConfig = IAxiosRetry.IAxiosRetryConfig; | ||
export type IAxiosRetryReturn = IAxiosRetry.IAxiosRetryReturn; | ||
@@ -69,0 +85,0 @@ export default axiosRetry; |
{ | ||
"name": "axios-retry", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"author": "Rubén Norte <ruben.norte@softonic.com>", | ||
@@ -5,0 +5,0 @@ "description": "Axios plugin that intercepts failed requests and retries them whenever posible.", |
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
70628
880