retry-axios
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -70,1 +70,6 @@ import { AxiosError, AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
export declare function getConfig(err: AxiosError): RetryConfig | undefined; | ||
declare module 'axios' { | ||
interface AxiosRequestConfig { | ||
raxConfig?: RetryConfig; | ||
} | ||
} |
{ | ||
"name": "retry-axios", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Retry HTTP requests with Axios.", | ||
@@ -5,0 +5,0 @@ "main": "./build/src/index.js", |
@@ -18,6 +18,2 @@ # retry-axios | ||
### Note: | ||
Currenlty, this library will not work with `axios 0.19.0` because of a known bug in axios itself. See more details [bug](https://github.com/axios/axios/issues/2203) | ||
## Usage | ||
@@ -30,3 +26,3 @@ | ||
const rax = require('retry-axios'); | ||
const { axios } = require('axios'); | ||
const axios = require('axios'); | ||
``` | ||
@@ -33,0 +29,0 @@ |
256
30520
147