@luvio/environments 0.61.0 → 0.61.1
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.
|
@@ -912,13 +912,7 @@ function makeDurable(environment, { durableStore, instrumentation }) {
|
|
|
912
912
|
return buildStaleWhileRevalidateImplementation({
|
|
913
913
|
validateNotDisposed,
|
|
914
914
|
reviveSnapshotWithCachePolicy,
|
|
915
|
-
},
|
|
916
|
-
// TODO[@W-10077764]: remove staleDuration once Komaci switches to cache-then-network
|
|
917
|
-
'staleDurationSeconds' in cachePolicy
|
|
918
|
-
? cachePolicy.staleDurationSeconds
|
|
919
|
-
: cachePolicy.staleDuration
|
|
920
|
-
//cachePolicy.staleDurationSeconds
|
|
921
|
-
);
|
|
915
|
+
}, cachePolicy.staleDurationSeconds);
|
|
922
916
|
case 'cache-and-network':
|
|
923
917
|
return buildCacheAndNetworkImplementation({
|
|
924
918
|
validateNotDisposed,
|
|
@@ -915,13 +915,7 @@
|
|
|
915
915
|
return buildStaleWhileRevalidateImplementation({
|
|
916
916
|
validateNotDisposed,
|
|
917
917
|
reviveSnapshotWithCachePolicy,
|
|
918
|
-
},
|
|
919
|
-
// TODO[@W-10077764]: remove staleDuration once Komaci switches to cache-then-network
|
|
920
|
-
'staleDurationSeconds' in cachePolicy
|
|
921
|
-
? cachePolicy.staleDurationSeconds
|
|
922
|
-
: cachePolicy.staleDuration
|
|
923
|
-
//cachePolicy.staleDurationSeconds
|
|
924
|
-
);
|
|
918
|
+
}, cachePolicy.staleDurationSeconds);
|
|
925
919
|
case 'cache-and-network':
|
|
926
920
|
return buildCacheAndNetworkImplementation({
|
|
927
921
|
validateNotDisposed,
|
|
@@ -957,13 +957,7 @@
|
|
|
957
957
|
return buildStaleWhileRevalidateImplementation({
|
|
958
958
|
validateNotDisposed: validateNotDisposed,
|
|
959
959
|
reviveSnapshotWithCachePolicy: reviveSnapshotWithCachePolicy,
|
|
960
|
-
},
|
|
961
|
-
// TODO[@W-10077764]: remove staleDuration once Komaci switches to cache-then-network
|
|
962
|
-
'staleDurationSeconds' in cachePolicy
|
|
963
|
-
? cachePolicy.staleDurationSeconds
|
|
964
|
-
: cachePolicy.staleDuration
|
|
965
|
-
//cachePolicy.staleDurationSeconds
|
|
966
|
-
);
|
|
960
|
+
}, cachePolicy.staleDurationSeconds);
|
|
967
961
|
case 'cache-and-network':
|
|
968
962
|
return buildCacheAndNetworkImplementation({
|
|
969
963
|
validateNotDisposed: validateNotDisposed,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luvio/environments",
|
|
3
|
-
"version": "0.61.
|
|
3
|
+
"version": "0.61.1",
|
|
4
4
|
"description": "Luvio Environments",
|
|
5
5
|
"main": "dist/umd/es2018/environments.js",
|
|
6
6
|
"module": "dist/es/es2018/environments.js",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"dist/"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@luvio/engine": "0.61.
|
|
19
|
+
"@luvio/engine": "0.61.1"
|
|
20
20
|
}
|
|
21
21
|
}
|