@vtex/api
Advanced tools
Comparing version 0.20.1 to 0.20.2
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _axiosRetry = require('axios-retry'); | ||
var _axiosRetry2 = _interopRequireDefault(_axiosRetry); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -20,2 +24,3 @@ | ||
const handleResponse = (_ref) => { | ||
@@ -47,2 +52,4 @@ let data = _ref.data, | ||
(0, _axiosRetry2.default)(http); | ||
http.interceptors.response.use(handleResponse, err => { | ||
@@ -49,0 +56,0 @@ try { |
{ | ||
"name": "@vtex/api", | ||
"version": "0.20.1", | ||
"version": "0.20.2", | ||
"description": "VTEX I/O API client", | ||
@@ -32,2 +32,3 @@ "main": "./lib/index.js", | ||
"axios": "^0.14.0", | ||
"axios-retry": "^1.2.0", | ||
"mime-types": "^2.1.12", | ||
@@ -34,0 +35,0 @@ "multipart-stream": "^2.0.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
530
178021
5
32
1
+ Addedaxios-retry@^1.2.0
+ Addedaxios-retry@1.3.1(transitive)
+ Addedis-retry-allowed@1.2.0(transitive)