ngx-cacheable
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -97,3 +97,3 @@ import { Observable, of } from 'rxjs'; | ||
*/ | ||
_cachePairs.splice(_cachePairs.indexOf(_foundCachePair, 1)); | ||
_cachePairs.splice(_cachePairs.indexOf(_foundCachePair), 1); | ||
_foundCachePair = null; | ||
@@ -125,3 +125,4 @@ } else if (_cacheConfig.slidingExpiration) { | ||
_observableCachePairs.splice( | ||
_observableCachePairs.indexOf(_observableCachePairToRemove, 1) | ||
_observableCachePairs.indexOf(_observableCachePairToRemove), | ||
1 | ||
); | ||
@@ -128,0 +129,0 @@ }), |
{ | ||
"name": "ngx-cacheable", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Rx Observable cache decorator", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
90164
1597