apollo-invalidation-policies
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
1.0.0-beta15 (Dan Reynolds) | ||
- Fix bug where a renew-on-read policy would try to update the cache time for entities not present in the cache | ||
1.0.0-beta14 (Dan Reynolds) | ||
@@ -2,0 +6,0 @@ |
@@ -194,3 +194,6 @@ "use strict"; | ||
if (helpers_1.isQuery(dataId) && storeFieldName) { | ||
entity.storeFieldNames.entries[storeFieldName].cacheTime = cacheTime; | ||
const storeFieldNameEntry = entity.storeFieldNames.entries[storeFieldName]; | ||
if (storeFieldNameEntry) { | ||
storeFieldNameEntry.cacheTime = cacheTime; | ||
} | ||
} | ||
@@ -197,0 +200,0 @@ else { |
{ | ||
"name": "apollo-invalidation-policies", | ||
"version": "1.0.0-beta14", | ||
"version": "1.0.0-beta15", | ||
"description": "An extension to the InMemoryCache from Apollo for type-based invalidation policies.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
569641
0.06%1663
0.18%