@salesforce/lds-runtime-aura 1.326.0 → 1.328.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/ldsEngineCreator.js +8 -8
- package/package.json +24 -25
package/dist/ldsEngineCreator.js
CHANGED
|
@@ -22,7 +22,6 @@ import applyPredictionRequestLimit from '@salesforce/gate/lds.pdl.applyRequestLi
|
|
|
22
22
|
import { GetApexWireAdapterFactory, registerPrefetcher as registerPrefetcher$1 } from 'force/ldsAdaptersApex';
|
|
23
23
|
import { getRecordAvatarsAdapterFactory, getRecordAdapterFactory, coerceFieldIdArray, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getObjectInfosAdapterFactory, coerceObjectIdArray, getObjectInfoAdapterFactory, coerceObjectId, getRelatedListsActionsAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListRecordsByNameAdapterFactory, getListObjectInfoAdapterFactory, instrument, configuration, InMemoryRecordRepresentationQueryEvaluator, UiApiNamespace, RecordRepresentationRepresentationType, registerPrefetcher } from 'force/ldsAdaptersUiapi';
|
|
24
24
|
import { getInstrumentation } from 'o11y/client';
|
|
25
|
-
import { serviceBroker } from 'force/luvioServiceBroker5';
|
|
26
25
|
import { setServices } from 'force/luvioServiceProvisioner1';
|
|
27
26
|
import oneStoreEnabled from '@salesforce/gate/lds.oneStoreEnabled.ltng';
|
|
28
27
|
import oneStoreUiapiEnabled from '@salesforce/gate/lds.oneStoreUiapiEnabled.ltng';
|
|
@@ -2228,6 +2227,11 @@ class GetRecordAvatarsRequestStrategy extends LuvioAdapterRequestStrategy {
|
|
|
2228
2227
|
|
|
2229
2228
|
const GET_RECORD_ADAPTER_NAME = 'getRecord';
|
|
2230
2229
|
const COERCE_FIELD_ID_ARRAY_OPTIONS = { onlyQualifiedFieldNames: true };
|
|
2230
|
+
function isFieldsRequest(config) {
|
|
2231
|
+
return (config.layoutTypes === undefined &&
|
|
2232
|
+
config.modes === undefined &&
|
|
2233
|
+
(config.fields !== undefined || config.optionalFields !== undefined));
|
|
2234
|
+
}
|
|
2231
2235
|
class GetRecordRequestStrategy extends LuvioAdapterRequestStrategy {
|
|
2232
2236
|
constructor() {
|
|
2233
2237
|
super(...arguments);
|
|
@@ -2260,10 +2264,7 @@ class GetRecordRequestStrategy extends LuvioAdapterRequestStrategy {
|
|
|
2260
2264
|
}
|
|
2261
2265
|
canCombine(reqA, reqB) {
|
|
2262
2266
|
// must be same record and
|
|
2263
|
-
return
|
|
2264
|
-
// both requests are fields requests
|
|
2265
|
-
(reqA.optionalFields !== undefined || reqB.optionalFields !== undefined) &&
|
|
2266
|
-
(reqB.fields !== undefined || reqB.optionalFields !== undefined));
|
|
2267
|
+
return reqA.recordId === reqB.recordId && isFieldsRequest(reqA) && isFieldsRequest(reqB);
|
|
2267
2268
|
}
|
|
2268
2269
|
combineRequests(reqA, reqB) {
|
|
2269
2270
|
const fields = new Set();
|
|
@@ -4289,7 +4290,7 @@ function getEnvironmentSetting(name) {
|
|
|
4289
4290
|
}
|
|
4290
4291
|
return undefined;
|
|
4291
4292
|
}
|
|
4292
|
-
// version: 1.
|
|
4293
|
+
// version: 1.328.0-e51e28f7fc
|
|
4293
4294
|
|
|
4294
4295
|
const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
|
|
4295
4296
|
//TODO: Some duplication here that can be most likely moved to a util class
|
|
@@ -4961,7 +4962,6 @@ function initializeOneStore() {
|
|
|
4961
4962
|
buildServiceDescriptor$5(),
|
|
4962
4963
|
buildServiceDescriptor$8(),
|
|
4963
4964
|
];
|
|
4964
|
-
serviceBroker.publish(services);
|
|
4965
4965
|
setServices(services);
|
|
4966
4966
|
}
|
|
4967
4967
|
function initializeOnestoreUiApiAdapters() {
|
|
@@ -4989,4 +4989,4 @@ function ldsEngineCreator() {
|
|
|
4989
4989
|
}
|
|
4990
4990
|
|
|
4991
4991
|
export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
|
|
4992
|
-
// version: 1.
|
|
4992
|
+
// version: 1.328.0-f3d79bc783
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.328.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Aura runtime",
|
|
6
6
|
"main": "dist/ldsEngineCreator.js",
|
|
@@ -34,36 +34,35 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@luvio/service-
|
|
38
|
-
"@
|
|
39
|
-
"@salesforce/lds-adapters-
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.326.0",
|
|
37
|
+
"@luvio/service-provisioner": "5.17.0",
|
|
38
|
+
"@salesforce/lds-adapters-apex": "^1.328.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.328.0",
|
|
41
40
|
"@salesforce/lds-adapters-uiapi-lex": "^1.302.0",
|
|
42
|
-
"@salesforce/lds-ads-bridge": "^1.
|
|
43
|
-
"@salesforce/lds-aura-storage": "^1.
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
45
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
46
|
-
"@salesforce/lds-network-aura": "^1.
|
|
47
|
-
"@salesforce/lds-network-fetch-with-jwt": "^1.
|
|
41
|
+
"@salesforce/lds-ads-bridge": "^1.328.0",
|
|
42
|
+
"@salesforce/lds-aura-storage": "^1.328.0",
|
|
43
|
+
"@salesforce/lds-bindings": "^1.328.0",
|
|
44
|
+
"@salesforce/lds-instrumentation": "^1.328.0",
|
|
45
|
+
"@salesforce/lds-network-aura": "^1.328.0",
|
|
46
|
+
"@salesforce/lds-network-fetch-with-jwt": "^1.328.0",
|
|
48
47
|
"jwt-encode": "1.0.1"
|
|
49
48
|
},
|
|
50
49
|
"dependencies": {
|
|
51
|
-
"@luvio/command-aura-network": "5.
|
|
52
|
-
"@luvio/command-aura-resource-cache-control": "5.
|
|
53
|
-
"@luvio/command-fetch-network": "5.
|
|
54
|
-
"@luvio/command-network": "5.
|
|
55
|
-
"@luvio/command-sse": "5.
|
|
56
|
-
"@luvio/command-streaming": "5.
|
|
50
|
+
"@luvio/command-aura-network": "5.17.0",
|
|
51
|
+
"@luvio/command-aura-resource-cache-control": "5.17.0",
|
|
52
|
+
"@luvio/command-fetch-network": "5.17.0",
|
|
53
|
+
"@luvio/command-network": "5.17.0",
|
|
54
|
+
"@luvio/command-sse": "5.17.0",
|
|
55
|
+
"@luvio/command-streaming": "5.17.0",
|
|
57
56
|
"@luvio/network-adapter-composable": "0.156.5",
|
|
58
57
|
"@luvio/network-adapter-fetch": "0.156.5",
|
|
59
|
-
"@luvio/service-aura-network": "5.
|
|
60
|
-
"@luvio/service-cache": "5.
|
|
61
|
-
"@luvio/service-cache-control": "5.
|
|
62
|
-
"@luvio/service-fetch-network": "5.
|
|
63
|
-
"@luvio/service-instrument-command": "5.
|
|
64
|
-
"@luvio/service-store": "5.
|
|
65
|
-
"@luvio/utils": "5.
|
|
66
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.
|
|
58
|
+
"@luvio/service-aura-network": "5.17.0",
|
|
59
|
+
"@luvio/service-cache": "5.17.0",
|
|
60
|
+
"@luvio/service-cache-control": "5.17.0",
|
|
61
|
+
"@luvio/service-fetch-network": "5.17.0",
|
|
62
|
+
"@luvio/service-instrument-command": "5.17.0",
|
|
63
|
+
"@luvio/service-store": "5.17.0",
|
|
64
|
+
"@luvio/utils": "5.17.0",
|
|
65
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.328.0"
|
|
67
66
|
},
|
|
68
67
|
"luvioBundlesize": [
|
|
69
68
|
{
|