@nuxtjs/axios
Advanced tools
Comparing version 5.13.0 to 5.13.1
@@ -5,2 +5,10 @@ # Changelog | ||
### [5.13.1](https://github.com/nuxt-community/axios-module/compare/v5.13.0...v5.13.1) (2021-02-08) | ||
### Bug Fixes | ||
* **types:** add missing type for `create()` ([#475](https://github.com/nuxt-community/axios-module/issues/475)) ([62f17ca](https://github.com/nuxt-community/axios-module/commit/62f17ca2ba005a74762f67b004ebcc7b612425ac)) | ||
* **types:** update interceptors type ([#476](https://github.com/nuxt-community/axios-module/issues/476)) ([ecfab9a](https://github.com/nuxt-community/axios-module/commit/ecfab9a7cf655737af46dd02ba013c5600b81e82)) | ||
## [5.13.0](https://github.com/nuxt-community/axios-module/compare/v5.12.5...v5.13.0) (2021-02-01) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@nuxtjs/axios", | ||
"version": "5.13.0", | ||
"version": "5.13.1", | ||
"description": "Secure and easy Axios integration with Nuxt.js", | ||
@@ -26,3 +26,3 @@ "repository": "nuxt-community/axios-module", | ||
"axios-retry": "^3.1.9", | ||
"consola": "^2.15.0", | ||
"consola": "^2.15.3", | ||
"defu": "^3.2.2" | ||
@@ -29,0 +29,0 @@ }, |
@@ -20,7 +20,9 @@ import { AxiosError, AxiosRequestConfig, AxiosResponse, AxiosStatic } from 'axios' | ||
onRequest(callback: (config: AxiosRequestConfig) => void): void | ||
onResponse<T = any>(callback: (response: AxiosResponse<T>) => void): void | ||
onError(callback: (error: AxiosError) => void): void | ||
onRequestError(callback: (error: AxiosError) => void): void | ||
onResponseError(callback: (error: AxiosError) => void): void | ||
onRequest(callback: (config: AxiosRequestConfig) => void | AxiosRequestConfig | Promise<AxiosRequestConfig>): void | ||
onResponse<T = any>(callback: (response: AxiosResponse<T>) => void | AxiosResponse<T> | Promise<AxiosResponse<T>> ): void | ||
onError(callback: (error: AxiosError) => any): void | ||
onRequestError(callback: (error: AxiosError) => any): void | ||
onResponseError(callback: (error: AxiosError) => any): void | ||
create(options?: AxiosRequestConfig): NuxtAxiosInstance | ||
} | ||
@@ -27,0 +29,0 @@ |
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
47074
406
Updatedconsola@^2.15.3