axios-cache-interceptor
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -1,2 +0,2 @@ | ||
import type { AxiosInstance } from 'axios'; | ||
import type { Axios } from 'axios'; | ||
import type { AxiosCacheInstance } from './axios'; | ||
@@ -22,3 +22,3 @@ import type { CacheInstance, CacheProperties } from './cache'; | ||
*/ | ||
export declare function setupCache(axios: AxiosInstance, options?: CacheOptions): AxiosCacheInstance; | ||
export declare function setupCache(axios: Axios, options?: CacheOptions): AxiosCacheInstance; | ||
//# sourceMappingURL=create.d.ts.map |
{ | ||
"name": "axios-cache-interceptor", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Cache interceptor for axios", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
import type { AxiosInstance } from 'axios'; | ||
import type { Axios } from 'axios'; | ||
import { defaultHeaderInterpreter } from '../header/interpreter'; | ||
@@ -29,3 +29,3 @@ import { defaultRequestInterceptor } from '../interceptors/request'; | ||
*/ | ||
export function setupCache(axios: AxiosInstance, options: CacheOptions = {}): AxiosCacheInstance { | ||
export function setupCache(axios: Axios, options: CacheOptions = {}): AxiosCacheInstance { | ||
const axiosCache = axios as AxiosCacheInstance; | ||
@@ -32,0 +32,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
470158