You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP →

apollo-invalidation-policies

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-invalidation-policies - npm Package Compare versions

Comparing version

to
1.0.0-beta15

@@ -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