@salesforce/lds-runtime-mobile 1.424.0 → 1.425.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 +16 -8
- package/package.json +34 -34
- package/sfdc/main.js +16 -8
package/dist/main.js
CHANGED
|
@@ -58779,7 +58779,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
58779
58779
|
},
|
|
58780
58780
|
};
|
|
58781
58781
|
}
|
|
58782
|
-
// version: 1.
|
|
58782
|
+
// version: 1.425.0-7665d4cffc
|
|
58783
58783
|
|
|
58784
58784
|
/**
|
|
58785
58785
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -58805,7 +58805,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
58805
58805
|
},
|
|
58806
58806
|
};
|
|
58807
58807
|
}
|
|
58808
|
-
// version: 1.
|
|
58808
|
+
// version: 1.425.0-7665d4cffc
|
|
58809
58809
|
|
|
58810
58810
|
/*!
|
|
58811
58811
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -60628,6 +60628,11 @@ function setDifference(setA, setB) {
|
|
|
60628
60628
|
}
|
|
60629
60629
|
return differenceSet;
|
|
60630
60630
|
}
|
|
60631
|
+
function addAllToSet(targetSet, sourceSet) {
|
|
60632
|
+
for (const element of sourceSet) {
|
|
60633
|
+
targetSet.add(element);
|
|
60634
|
+
}
|
|
60635
|
+
}
|
|
60631
60636
|
function resolvedPromiseLike(result) {
|
|
60632
60637
|
if (isPromiseLike(result)) {
|
|
60633
60638
|
return result.then((nextResult) => nextResult);
|
|
@@ -60928,15 +60933,18 @@ class DurableCacheInclusionPolicy extends CacheInclusionPolicyService {
|
|
|
60928
60933
|
if (readResult.isOk()) {
|
|
60929
60934
|
return readResult;
|
|
60930
60935
|
}
|
|
60931
|
-
const
|
|
60932
|
-
if (alreadyRevivedKeys && setDifference(
|
|
60936
|
+
const missingKeys = recordableCache.missingKeysRead;
|
|
60937
|
+
if (alreadyRevivedKeys && setDifference(missingKeys, alreadyRevivedKeys).size === 0) {
|
|
60933
60938
|
return readResult;
|
|
60934
60939
|
}
|
|
60935
|
-
return this.revive(
|
|
60936
|
-
|
|
60940
|
+
return this.revive(missingKeys, l1).then((revivedKeys) => {
|
|
60941
|
+
const newlyRevived = alreadyRevivedKeys ? setDifference(revivedKeys, alreadyRevivedKeys) : revivedKeys;
|
|
60942
|
+
if (newlyRevived.size === 0) {
|
|
60937
60943
|
return readResult;
|
|
60938
60944
|
}
|
|
60939
|
-
|
|
60945
|
+
const allRevived = new Set(alreadyRevivedKeys ?? []);
|
|
60946
|
+
addAllToSet(allRevived, revivedKeys);
|
|
60947
|
+
return this.read({ l1, readFromL1, alreadyRevivedKeys: allRevived });
|
|
60940
60948
|
});
|
|
60941
60949
|
});
|
|
60942
60950
|
}
|
|
@@ -61457,4 +61465,4 @@ register({
|
|
|
61457
61465
|
});
|
|
61458
61466
|
|
|
61459
61467
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
61460
|
-
// version: 1.
|
|
61468
|
+
// version: 1.425.0-c433405ee2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-mobile",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.425.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS runtime for mobile/hybrid environments.",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,44 +32,44 @@
|
|
|
32
32
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@conduit-client/service-bindings-imperative": "3.
|
|
36
|
-
"@conduit-client/service-bindings-lwc": "3.
|
|
37
|
-
"@conduit-client/service-provisioner": "3.
|
|
38
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
39
|
-
"@salesforce/lds-bindings": "^1.
|
|
40
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
41
|
-
"@salesforce/lds-luvio-service": "^1.
|
|
42
|
-
"@salesforce/lds-luvio-uiapi-records-service": "^1.
|
|
35
|
+
"@conduit-client/service-bindings-imperative": "3.17.3",
|
|
36
|
+
"@conduit-client/service-bindings-lwc": "3.17.3",
|
|
37
|
+
"@conduit-client/service-provisioner": "3.17.3",
|
|
38
|
+
"@salesforce/lds-adapters-uiapi": "^1.425.0",
|
|
39
|
+
"@salesforce/lds-bindings": "^1.425.0",
|
|
40
|
+
"@salesforce/lds-instrumentation": "^1.425.0",
|
|
41
|
+
"@salesforce/lds-luvio-service": "^1.425.0",
|
|
42
|
+
"@salesforce/lds-luvio-uiapi-records-service": "^1.425.0",
|
|
43
43
|
"@salesforce/user": "0.0.21",
|
|
44
44
|
"o11y": "250.7.0",
|
|
45
45
|
"o11y_schema": "256.126.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@conduit-client/command-aura-network": "3.
|
|
49
|
-
"@conduit-client/command-aura-normalized-cache-control": "3.
|
|
50
|
-
"@conduit-client/command-aura-resource-cache-control": "3.
|
|
51
|
-
"@conduit-client/command-fetch-network": "3.
|
|
52
|
-
"@conduit-client/command-http-normalized-cache-control": "3.
|
|
53
|
-
"@conduit-client/command-network": "3.
|
|
54
|
-
"@conduit-client/service-cache": "3.
|
|
55
|
-
"@conduit-client/service-cache-control": "3.
|
|
56
|
-
"@conduit-client/service-cache-inclusion-policy": "3.
|
|
57
|
-
"@conduit-client/service-fetch-network": "3.
|
|
58
|
-
"@conduit-client/service-instrument-command": "3.
|
|
59
|
-
"@conduit-client/service-instrumentation": "3.
|
|
60
|
-
"@conduit-client/service-pubsub": "3.
|
|
61
|
-
"@conduit-client/service-store": "3.
|
|
62
|
-
"@conduit-client/utils": "3.
|
|
63
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
64
|
-
"@salesforce/lds-drafts": "^1.
|
|
65
|
-
"@salesforce/lds-durable-records": "^1.
|
|
66
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
67
|
-
"@salesforce/lds-network-nimbus": "^1.
|
|
68
|
-
"@salesforce/lds-store-binary": "^1.
|
|
69
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
70
|
-
"@salesforce/lds-store-sql": "^1.
|
|
71
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
72
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
48
|
+
"@conduit-client/command-aura-network": "3.17.3",
|
|
49
|
+
"@conduit-client/command-aura-normalized-cache-control": "3.17.3",
|
|
50
|
+
"@conduit-client/command-aura-resource-cache-control": "3.17.3",
|
|
51
|
+
"@conduit-client/command-fetch-network": "3.17.3",
|
|
52
|
+
"@conduit-client/command-http-normalized-cache-control": "3.17.3",
|
|
53
|
+
"@conduit-client/command-network": "3.17.3",
|
|
54
|
+
"@conduit-client/service-cache": "3.17.3",
|
|
55
|
+
"@conduit-client/service-cache-control": "3.17.3",
|
|
56
|
+
"@conduit-client/service-cache-inclusion-policy": "3.17.3",
|
|
57
|
+
"@conduit-client/service-fetch-network": "3.17.3",
|
|
58
|
+
"@conduit-client/service-instrument-command": "3.17.3",
|
|
59
|
+
"@conduit-client/service-instrumentation": "3.17.3",
|
|
60
|
+
"@conduit-client/service-pubsub": "3.17.3",
|
|
61
|
+
"@conduit-client/service-store": "3.17.3",
|
|
62
|
+
"@conduit-client/utils": "3.17.3",
|
|
63
|
+
"@salesforce/lds-adapters-graphql": "^1.425.0",
|
|
64
|
+
"@salesforce/lds-drafts": "^1.425.0",
|
|
65
|
+
"@salesforce/lds-durable-records": "^1.425.0",
|
|
66
|
+
"@salesforce/lds-network-adapter": "^1.425.0",
|
|
67
|
+
"@salesforce/lds-network-nimbus": "^1.425.0",
|
|
68
|
+
"@salesforce/lds-store-binary": "^1.425.0",
|
|
69
|
+
"@salesforce/lds-store-nimbus": "^1.425.0",
|
|
70
|
+
"@salesforce/lds-store-sql": "^1.425.0",
|
|
71
|
+
"@salesforce/lds-utils-adapters": "^1.425.0",
|
|
72
|
+
"@salesforce/nimbus-plugin-lds": "^1.425.0",
|
|
73
73
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
74
74
|
"wait-for-expect": "^3.0.2"
|
|
75
75
|
},
|
package/sfdc/main.js
CHANGED
|
@@ -58779,7 +58779,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
58779
58779
|
},
|
|
58780
58780
|
};
|
|
58781
58781
|
}
|
|
58782
|
-
// version: 1.
|
|
58782
|
+
// version: 1.425.0-7665d4cffc
|
|
58783
58783
|
|
|
58784
58784
|
/**
|
|
58785
58785
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -58805,7 +58805,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
58805
58805
|
},
|
|
58806
58806
|
};
|
|
58807
58807
|
}
|
|
58808
|
-
// version: 1.
|
|
58808
|
+
// version: 1.425.0-7665d4cffc
|
|
58809
58809
|
|
|
58810
58810
|
/*!
|
|
58811
58811
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -60628,6 +60628,11 @@ function setDifference(setA, setB) {
|
|
|
60628
60628
|
}
|
|
60629
60629
|
return differenceSet;
|
|
60630
60630
|
}
|
|
60631
|
+
function addAllToSet(targetSet, sourceSet) {
|
|
60632
|
+
for (const element of sourceSet) {
|
|
60633
|
+
targetSet.add(element);
|
|
60634
|
+
}
|
|
60635
|
+
}
|
|
60631
60636
|
function resolvedPromiseLike(result) {
|
|
60632
60637
|
if (isPromiseLike(result)) {
|
|
60633
60638
|
return result.then((nextResult) => nextResult);
|
|
@@ -60928,15 +60933,18 @@ class DurableCacheInclusionPolicy extends CacheInclusionPolicyService {
|
|
|
60928
60933
|
if (readResult.isOk()) {
|
|
60929
60934
|
return readResult;
|
|
60930
60935
|
}
|
|
60931
|
-
const
|
|
60932
|
-
if (alreadyRevivedKeys && setDifference(
|
|
60936
|
+
const missingKeys = recordableCache.missingKeysRead;
|
|
60937
|
+
if (alreadyRevivedKeys && setDifference(missingKeys, alreadyRevivedKeys).size === 0) {
|
|
60933
60938
|
return readResult;
|
|
60934
60939
|
}
|
|
60935
|
-
return this.revive(
|
|
60936
|
-
|
|
60940
|
+
return this.revive(missingKeys, l1).then((revivedKeys) => {
|
|
60941
|
+
const newlyRevived = alreadyRevivedKeys ? setDifference(revivedKeys, alreadyRevivedKeys) : revivedKeys;
|
|
60942
|
+
if (newlyRevived.size === 0) {
|
|
60937
60943
|
return readResult;
|
|
60938
60944
|
}
|
|
60939
|
-
|
|
60945
|
+
const allRevived = new Set(alreadyRevivedKeys ?? []);
|
|
60946
|
+
addAllToSet(allRevived, revivedKeys);
|
|
60947
|
+
return this.read({ l1, readFromL1, alreadyRevivedKeys: allRevived });
|
|
60940
60948
|
});
|
|
60941
60949
|
});
|
|
60942
60950
|
}
|
|
@@ -61457,4 +61465,4 @@ register({
|
|
|
61457
61465
|
});
|
|
61458
61466
|
|
|
61459
61467
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, ingest$1o as ingestDenormalizedRecordRepresentation, initializeOneStore, registerReportObserver, reportGraphqlQueryParseError };
|
|
61460
|
-
// version: 1.
|
|
61468
|
+
// version: 1.425.0-c433405ee2
|