@salesforce/lds-runtime-mobile 1.162.1 → 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 +4 -3
- package/package.json +1 -1
- package/sfdc/main.js +4 -3
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
|
|
15237
|
+
cachePolicy.staleDurationSeconds >= Number.MAX_SAFE_INTEGER) {
|
|
15238
15238
|
localBuildCachedSnapshot = hoistUnfulfilledToStale;
|
|
15239
15239
|
}
|
|
15240
|
-
if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) &&
|
|
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.
|
|
16137
|
+
// version: 1.163.0-02054d65d
|
package/package.json
CHANGED
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
|
|
15237
|
+
cachePolicy.staleDurationSeconds >= Number.MAX_SAFE_INTEGER) {
|
|
15238
15238
|
localBuildCachedSnapshot = hoistUnfulfilledToStale;
|
|
15239
15239
|
}
|
|
15240
|
-
if (eagerEvalDefaultCachePolicy.isOpen({ fallback: false }) &&
|
|
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.
|
|
16137
|
+
// version: 1.163.0-02054d65d
|