@nuxtjs/axios
Advanced tools
Comparing version 3.1.0 to 3.1.2
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="3.1.2"></a> | ||
## [3.1.2](https://github.com/nuxt/modules/compare/@nuxtjs/axios@3.1.0...@nuxtjs/axios@3.1.2) (2017-08-05) | ||
### Bug Fixes | ||
* **axios:** fix requestInterceptor serialization with babel (#108) ([d62946a](https://github.com/nuxt/modules/commit/d62946a)), closes [#108](https://github.com/nuxt/modules/issues/108) | ||
<a name="3.1.0"></a> | ||
@@ -8,0 +19,0 @@ # [3.1.0](https://github.com/nuxt/modules/compare/@nuxtjs/axios@3.0.1...@nuxtjs/axios@3.1.0) (2017-07-31) |
{ | ||
"name": "@nuxtjs/axios", | ||
"version": "3.1.0", | ||
"version": "3.1.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -140,3 +140,3 @@ import Axios from 'axios' | ||
// Custom request interceptor | ||
const reqInter = <%= serialize(options.requestInterceptor).replace('requestInterceptor(', 'function(') %> | ||
const reqInter = <%= serialize(options.requestInterceptor).replace('requestInterceptor(', 'function(').replace('function function', 'function') %> | ||
axios.interceptors.request.use( | ||
@@ -143,0 +143,0 @@ (config) => reqInter(config, ctx) |
@@ -199,3 +199,3 @@ # Axios | ||
Please notice that, `API_URL` is saved into bundle on build, CANNOT be changed | ||
on runtime! You may use [proxy](../proxy) module for dynamically route api requests to different backend on test/staging/production. | ||
on runtime! You may use [proxy](../proxy) module to dynamically route api requests on test/staging/production. | ||
@@ -202,0 +202,0 @@ **Example: (`nuxt.config.js`)** |
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
20913