@rxdi/core 0.7.202 → 0.7.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,7 +46,7 @@ class CacheLayer {
|
|
|
46
46
|
return layerItem;
|
|
47
47
|
}
|
|
48
48
|
onExpire(key) {
|
|
49
|
-
return new rxjs_1.Observable(observer => observer.next())
|
|
49
|
+
return new rxjs_1.Observable(observer => observer.next(true))
|
|
50
50
|
.pipe((0, operators_1.timeoutWith)(this.config.maxAge, (0, rxjs_1.of)(1)), (0, operators_1.skip)(1), (0, operators_1.take)(1))
|
|
51
51
|
.subscribe(() => this.removeItem(key));
|
|
52
52
|
}
|
|
@@ -144,7 +144,7 @@ let CacheService = CacheService_1 = class CacheService {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
OnExpire(layerInstance) {
|
|
147
|
-
return new rxjs_1.Observable(observer => observer.next())
|
|
147
|
+
return new rxjs_1.Observable(observer => observer.next(true))
|
|
148
148
|
.pipe((0, operators_1.timeoutWith)(layerInstance.config.cacheFlushInterval ||
|
|
149
149
|
this.config.cacheFlushInterval, (0, rxjs_1.of)(1)), (0, operators_1.skip)(1), (0, operators_1.take)(1))
|
|
150
150
|
.subscribe(() => this.removeLayer(layerInstance));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdi/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.203",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
13
|
"start": "gapi start --local --path=./src/testing-app/main.ts",
|
|
14
|
-
"build": "tsc
|
|
14
|
+
"build": "tsc",
|
|
15
15
|
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'",
|
|
16
16
|
"pretest": "npm run lint",
|
|
17
17
|
"test-browser": "gapi testing browser",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"homepage": "https://github.com/rxdi/core/blob/master/README.md",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@abraham/reflection": "^0.8.0",
|
|
32
|
-
"rxjs": "^7.8.
|
|
32
|
+
"rxjs": "^7.8.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/jest": "^24.0.22",
|