cf-workers-query
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -0,1 +1,12 @@ | ||
## 0.6.1 (2024-09-02) | ||
### 🩹 Fixes | ||
- **create-query:** correctly display warning context ([50a50dc](https://github.com/anymaniax/cf-workers-query/commit/50a50dc)) | ||
### ❤️ Thank You | ||
- Victor Bury | ||
## 0.6.0 (2024-09-02) | ||
@@ -2,0 +13,0 @@ |
{ | ||
"name": "cf-workers-query", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Automatically cache and revalidate data in Cloudflare Workers. Using the Cache API and Execution Context", |
@@ -14,3 +14,3 @@ import { getCFExecutionContext } from './context'; | ||
const context = (executionCtx ?? getCFExecutionContext()); | ||
if (context && !!staleTime) { | ||
if (!context && !!staleTime) { | ||
console.warn('Context not found, staleTime will be ignored'); | ||
@@ -17,0 +17,0 @@ } |
23500