Socket
Socket
Sign inDemoInstall

retry-axios

Package Overview
Dependencies
0
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

5

build/src/index.d.ts

@@ -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;
}
}

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc