@salesforce/lds-runtime-mobile 1.162.0 → 1.163.0

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.
package/dist/main.js CHANGED
@@ -15234,10 +15234,11 @@ function makeEnvironmentGraphqlAware(environment) {
15234
15234
  if (eagerEvalStaleWhileRevalidate.isOpen({ fallback: false }) &&
15235
15235
  cachePolicy &&
15236
15236
  cachePolicy.type === 'stale-while-revalidate' &&
15237
- cachePolicy.staleDurationSeconds === Number.MAX_SAFE_INTEGER) {
15237
+ cachePolicy.staleDurationSeconds >= Number.MAX_SAFE_INTEGER) {
15238
15238
  localBuildCachedSnapshot = hoistUnfulfilledToStale;
15239
15239
  }
15240
- if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) && cachePolicy === undefined) {
15240
+ if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) &&
15241
+ (cachePolicy === undefined || cachePolicy === null)) {
15241
15242
  localBuildCachedSnapshot = hoistUnfulfilledToStale;
15242
15243
  }
15243
15244
  return environment.applyCachePolicy(luvio, adapterRequestContext, buildSnapshotContext, localBuildCachedSnapshot, buildNetworkSnapshot);
@@ -16133,4 +16134,4 @@ register({
16133
16134
  });
16134
16135
 
16135
16136
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
16136
- // version: 1.162.0-156102959
16137
+ // version: 1.163.0-02054d65d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-mobile",
3
- "version": "1.162.0",
3
+ "version": "1.163.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS runtime for mobile/hybrid environments.",
6
6
  "main": "dist/main.js",
package/sfdc/main.js CHANGED
@@ -15234,10 +15234,11 @@ function makeEnvironmentGraphqlAware(environment) {
15234
15234
  if (eagerEvalStaleWhileRevalidate.isOpen({ fallback: false }) &&
15235
15235
  cachePolicy &&
15236
15236
  cachePolicy.type === 'stale-while-revalidate' &&
15237
- cachePolicy.staleDurationSeconds === Number.MAX_SAFE_INTEGER) {
15237
+ cachePolicy.staleDurationSeconds >= Number.MAX_SAFE_INTEGER) {
15238
15238
  localBuildCachedSnapshot = hoistUnfulfilledToStale;
15239
15239
  }
15240
- if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) && cachePolicy === undefined) {
15240
+ if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) &&
15241
+ (cachePolicy === undefined || cachePolicy === null)) {
15241
15242
  localBuildCachedSnapshot = hoistUnfulfilledToStale;
15242
15243
  }
15243
15244
  return environment.applyCachePolicy(luvio, adapterRequestContext, buildSnapshotContext, localBuildCachedSnapshot, buildNetworkSnapshot);
@@ -16133,4 +16134,4 @@ register({
16133
16134
  });
16134
16135
 
16135
16136
  export { getRuntime, registerReportObserver, reportGraphqlQueryParseError };
16136
- // version: 1.162.0-156102959
16137
+ // version: 1.163.0-02054d65d