@capriza/http-utils
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -11,3 +11,3 @@ var axios = require('axios'); | ||
this.baseURL = options.baseUrl; | ||
this.http = axios.create({ | ||
this.http = axios.create(Object.assign(options.requestConfig || {}, { | ||
baseURL: options.baseUrl, | ||
@@ -20,3 +20,3 @@ timeout: options.requestTimeout || 30000, | ||
} | ||
}); | ||
})); | ||
} | ||
@@ -23,0 +23,0 @@ |
{ | ||
"name": "@capriza/http-utils", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "HTTP Request utils that handles, request-response, errors, concurrency, priority and authentication", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20098