@travetto/cache
Advanced tools
Comparing version 1.0.0-beta.7 to 1.0.0-beta.8
@@ -40,4 +40,4 @@ { | ||
}, | ||
"version": "1.0.0-beta.7", | ||
"gitHead": "c7b05ae030aab28c52b83c27bf5bb9f047226231" | ||
"version": "1.0.0-beta.8", | ||
"gitHead": "7d7456ee47e29cdad700479f34187a9c5763aa69" | ||
} |
@@ -32,3 +32,3 @@ import { CacheConfig, CoreCacheConfig } from './types'; | ||
static async evict(config: CacheConfig, cache: CacheStore, target: any, fn: Function, params: any[]) { | ||
const key = this.generateKey(cache, config, params); | ||
const key = this.generateKey(config, cache, params); | ||
const val = await fn.apply(target, params); | ||
@@ -35,0 +35,0 @@ await cache.delete(key); |