@kitql/client
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -37,7 +37,7 @@ export declare type ClientSettings = { | ||
*/ | ||
cache: number; | ||
cache?: number; | ||
/** | ||
* overwrite the default cache policy | ||
*/ | ||
policy: 'cache-first' | 'cache-and-network' | 'network-only' | 'cache-only'; | ||
policy?: 'cache-first' | 'cache-and-network' | 'network-only' | 'cache-only'; | ||
}; | ||
@@ -97,5 +97,5 @@ export declare type RequestParameters<V> = { | ||
variables: any; | ||
cacheKey: any; | ||
cache: any; | ||
browser: any; | ||
cacheKey: string; | ||
cache: number | null; | ||
browser: boolean; | ||
}): ResponseResult<D, V> | null; | ||
@@ -102,0 +102,0 @@ request<D, V>({ skFetch, document, variables, cacheKey, browser }: { |
{ | ||
"name": "@kitql/client", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@kitql/helper": "0.1.5", |
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
32887