@epic-web/cachified
Advanced tools
Comparing version 5.1.3 to 5.2.0
@@ -160,2 +160,11 @@ import type { CreateReporter, Reporter } from './reporter'; | ||
reporter?: never; | ||
/** | ||
* Promises passed to `waitUntil` represent background tasks which must be | ||
* completed before the server can shutdown. e.g. swr cache revalidation | ||
* | ||
* Useful for serverless environments such as Cloudflare Workers. | ||
* | ||
* Default: `undefined` | ||
*/ | ||
waitUntil?: (promise: Promise<unknown>) => void; | ||
} | ||
@@ -162,0 +171,0 @@ export type CachifiedOptionsWithSchema<Value, InternalValue> = Omit<CachifiedOptions<Value>, 'checkValue' | 'getFreshValue'> & { |
{ | ||
"name": "@epic-web/cachified", | ||
"version": "5.1.3", | ||
"version": "5.2.0", | ||
"description": "neat wrapper for various caches", | ||
@@ -53,4 +53,4 @@ "main": "dist/index.cjs", | ||
"typescript": "5.4.5", | ||
"zod": "3.23.0" | ||
"zod": "3.23.5" | ||
} | ||
} |
@@ -232,2 +232,11 @@ <div> | ||
staleRefreshTimeout?: number; | ||
/** | ||
* Promises passed to `waitUntil` represent background tasks which must be | ||
* completed before the server can shutdown. e.g. swr cache revalidation | ||
* | ||
* Useful for serverless environments such as Cloudflare Workers. | ||
* | ||
* Default: `undefined` | ||
*/ | ||
waitUntil?: (promise: Promise<unknown>) => void; | ||
} | ||
@@ -234,0 +243,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
163014
1555
732