@luvio/environments 0.73.7 → 0.73.8

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.
@@ -723,7 +723,10 @@ function makeDurable(environment, { durableStore, instrumentation }) {
723
723
  return entries;
724
724
  });
725
725
  };
726
- environment.defaultCachePolicy = buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER);
726
+ environment.defaultCachePolicy = {
727
+ type: 'stale-while-revalidate',
728
+ implementation: buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER),
729
+ };
727
730
  return create(environment, {
728
731
  publishStoreMetadata: { value: publishStoreMetadata },
729
732
  storeIngest: { value: storeIngest },
@@ -727,7 +727,10 @@
727
727
  return entries;
728
728
  });
729
729
  };
730
- environment.defaultCachePolicy = engine.buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER);
730
+ environment.defaultCachePolicy = {
731
+ type: 'stale-while-revalidate',
732
+ implementation: engine.buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER),
733
+ };
731
734
  return create(environment, {
732
735
  publishStoreMetadata: { value: publishStoreMetadata },
733
736
  storeIngest: { value: storeIngest },
@@ -766,7 +766,10 @@
766
766
  return entries;
767
767
  });
768
768
  };
769
- environment.defaultCachePolicy = engine.buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER);
769
+ environment.defaultCachePolicy = {
770
+ type: 'stale-while-revalidate',
771
+ implementation: engine.buildStaleWhileRevalidateImplementation(Number.MAX_SAFE_INTEGER),
772
+ };
770
773
  return create(environment, {
771
774
  publishStoreMetadata: { value: publishStoreMetadata },
772
775
  storeIngest: { value: storeIngest },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luvio/environments",
3
- "version": "0.73.7",
3
+ "version": "0.73.8",
4
4
  "description": "Luvio Environments",
5
5
  "main": "dist/umd/es2018/environments.js",
6
6
  "module": "dist/es/es2018/environments.js",
@@ -27,7 +27,7 @@
27
27
  "dist/"
28
28
  ],
29
29
  "dependencies": {
30
- "@luvio/engine": "0.73.7"
30
+ "@luvio/engine": "0.73.8"
31
31
  },
32
32
  "bundlesize": [
33
33
  {