@luvio/environments 0.59.0 → 0.59.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.
@@ -764,7 +764,7 @@ function makeDurable(environment, { durableStore, instrumentation }) {
764
764
  return buildStaleWhileRevalidateImplementation({
765
765
  validateNotDisposed,
766
766
  reviveSnapshotWithCachePolicy,
767
- }, cachePolicy.staleDuration);
767
+ }, cachePolicy.staleDurationSeconds);
768
768
  default: {
769
769
  if (process.env.NODE_ENV !== 'production') {
770
770
  throw new Error(`unrecognized cache policy: ${JSON.stringify(cachePolicy)}`);
@@ -767,7 +767,7 @@
767
767
  return buildStaleWhileRevalidateImplementation({
768
768
  validateNotDisposed,
769
769
  reviveSnapshotWithCachePolicy,
770
- }, cachePolicy.staleDuration);
770
+ }, cachePolicy.staleDurationSeconds);
771
771
  default: {
772
772
  if (process.env.NODE_ENV !== 'production') {
773
773
  throw new Error(`unrecognized cache policy: ${JSON.stringify(cachePolicy)}`);
@@ -809,7 +809,7 @@
809
809
  return buildStaleWhileRevalidateImplementation({
810
810
  validateNotDisposed: validateNotDisposed,
811
811
  reviveSnapshotWithCachePolicy: reviveSnapshotWithCachePolicy,
812
- }, cachePolicy.staleDuration);
812
+ }, cachePolicy.staleDurationSeconds);
813
813
  default: {
814
814
  if (process.env.NODE_ENV !== 'production') {
815
815
  throw new Error("unrecognized cache policy: " + JSON.stringify(cachePolicy));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luvio/environments",
3
- "version": "0.59.0",
3
+ "version": "0.59.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.59.0"
19
+ "@luvio/engine": "0.59.1"
20
20
  }
21
21
  }