@salesforce/lds-runtime-aura 1.367.0 → 1.369.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 +11 -6
- package/dist/types/main.d.ts +2 -2
- package/package.json +12 -12
package/dist/ldsEngineCreator.js
CHANGED
|
@@ -2710,7 +2710,7 @@ var TypeCheckShapes;
|
|
|
2710
2710
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
2711
2711
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
2712
2712
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
2713
|
-
// engine version: 0.158.
|
|
2713
|
+
// engine version: 0.158.7-bafe2646
|
|
2714
2714
|
|
|
2715
2715
|
const { keys: keys$1 } = Object;
|
|
2716
2716
|
|
|
@@ -5697,7 +5697,7 @@ function getEnvironmentSetting(name) {
|
|
|
5697
5697
|
}
|
|
5698
5698
|
return undefined;
|
|
5699
5699
|
}
|
|
5700
|
-
// version: 1.
|
|
5700
|
+
// version: 1.369.0-7bf258f54c
|
|
5701
5701
|
|
|
5702
5702
|
const forceRecordTransactionsDisabled = getEnvironmentSetting(EnvironmentSettings.ForceRecordTransactionsDisabled);
|
|
5703
5703
|
//TODO: Some duplication here that can be most likely moved to a util class
|
|
@@ -6503,12 +6503,17 @@ function buildPredictorForContext(context) {
|
|
|
6503
6503
|
}
|
|
6504
6504
|
const currentContext = __lexPrefetcher.context;
|
|
6505
6505
|
let isSameContext = false;
|
|
6506
|
-
if (RecordHomePage.handlesContext(currentContext)) {
|
|
6506
|
+
if (RecordHomePage.handlesContext(currentContext) && RecordHomePage.handlesContext(context)) {
|
|
6507
6507
|
isSameContext =
|
|
6508
6508
|
currentContext.actionName === context.actionName &&
|
|
6509
6509
|
currentContext.objectApiName === context.objectApiName &&
|
|
6510
|
-
currentContext.recordId === context.recordId
|
|
6511
|
-
|
|
6510
|
+
currentContext.recordId === context.recordId;
|
|
6511
|
+
}
|
|
6512
|
+
else if (ObjectHomePage.handlesContext(currentContext) &&
|
|
6513
|
+
ObjectHomePage.handlesContext(context)) {
|
|
6514
|
+
isSameContext =
|
|
6515
|
+
currentContext.objectApiName === context.objectApiName &&
|
|
6516
|
+
currentContext.listViewApiName === context.listViewApiName;
|
|
6512
6517
|
}
|
|
6513
6518
|
// // This chunk configures which page we're going to use to try and preload.
|
|
6514
6519
|
__lexPrefetcher.context = context;
|
|
@@ -6618,4 +6623,4 @@ function ldsEngineCreator() {
|
|
|
6618
6623
|
}
|
|
6619
6624
|
|
|
6620
6625
|
export { LexRequestStrategy, PdlRequestPriority, buildPredictorForContext, ldsEngineCreator as default, initializeLDS, initializeOneStore, registerRequestStrategy, saveRequestAsPrediction, unregisterRequestStrategy, whenPredictionsReady };
|
|
6621
|
-
// version: 1.
|
|
6626
|
+
// version: 1.369.0-b61b56bd49
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RecordHomePageContext } from './predictive-loading';
|
|
1
|
+
import { ObjectHomePageContext, type RecordHomePageContext } from './predictive-loading';
|
|
2
2
|
import type { LexRequestStrategy } from './predictive-loading/request-strategy/lex-request-strategy';
|
|
3
3
|
import { type LexRequest } from './predictive-loading/lex';
|
|
4
4
|
export { PdlRequestPriority } from './predictive-loading';
|
|
@@ -42,7 +42,7 @@ export declare function saveRequestAsPrediction(request: LexRequest): void;
|
|
|
42
42
|
* of when those predictions are completed.
|
|
43
43
|
* - getPredictionSummary: Returns the count of exact and similar prediction requests
|
|
44
44
|
*/
|
|
45
|
-
export declare function buildPredictorForContext(context: RecordHomePageContext): {
|
|
45
|
+
export declare function buildPredictorForContext(context: RecordHomePageContext | ObjectHomePageContext): {
|
|
46
46
|
hasPredictions(): boolean;
|
|
47
47
|
watchPageLoadForPredictions(): void;
|
|
48
48
|
runPredictions(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-aura",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.369.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS engine for Aura runtime",
|
|
6
6
|
"main": "dist/ldsEngineCreator.js",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@luvio/service-provisioner": "5.43.1",
|
|
38
38
|
"@luvio/tools-core": "5.43.1",
|
|
39
|
-
"@salesforce/lds-adapters-apex": "^1.
|
|
40
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
39
|
+
"@salesforce/lds-adapters-apex": "^1.369.0",
|
|
40
|
+
"@salesforce/lds-adapters-uiapi": "^1.369.0",
|
|
41
41
|
"@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": "^1.
|
|
42
|
+
"@salesforce/lds-ads-bridge": "^1.369.0",
|
|
43
|
+
"@salesforce/lds-aura-storage": "^1.369.0",
|
|
44
|
+
"@salesforce/lds-bindings": "^1.369.0",
|
|
45
|
+
"@salesforce/lds-instrumentation": "^1.369.0",
|
|
46
|
+
"@salesforce/lds-network-aura": "^1.369.0",
|
|
47
|
+
"@salesforce/lds-network-fetch": "^1.369.0",
|
|
48
48
|
"jwt-encode": "1.0.1"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"@luvio/command-network": "5.43.1",
|
|
58
58
|
"@luvio/command-sse": "5.43.1",
|
|
59
59
|
"@luvio/command-streaming": "5.43.1",
|
|
60
|
-
"@luvio/network-adapter-composable": "0.158.
|
|
61
|
-
"@luvio/network-adapter-fetch": "0.158.
|
|
60
|
+
"@luvio/network-adapter-composable": "0.158.7",
|
|
61
|
+
"@luvio/network-adapter-fetch": "0.158.7",
|
|
62
62
|
"@luvio/service-aura-network": "5.43.1",
|
|
63
63
|
"@luvio/service-cache": "5.43.1",
|
|
64
64
|
"@luvio/service-cache-control": "5.43.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@luvio/service-pubsub": "5.43.1",
|
|
69
69
|
"@luvio/service-store": "5.43.1",
|
|
70
70
|
"@luvio/utils": "5.43.1",
|
|
71
|
-
"@salesforce/lds-adapters-uiapi-lex": "^1.
|
|
71
|
+
"@salesforce/lds-adapters-uiapi-lex": "^1.369.0"
|
|
72
72
|
},
|
|
73
73
|
"luvioBundlesize": [
|
|
74
74
|
{
|