@salesforce/lds-runtime-aura 1.259.0 → 1.261.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.
@@ -203,11 +203,15 @@ class ApplicationPredictivePrefetcher {
203
203
  async predict() {
204
204
  const exactPageRequests = (await this.repository.getPageRequests(this.context)) || [];
205
205
  const similarPageRequests = await this.getSimilarPageRequests();
206
- const predictedRequests = this.requestRunner.reduceRequests([
207
- ...exactPageRequests,
208
- ...similarPageRequests,
209
- ...this.page.getAlwaysRunRequests(),
210
- ]);
206
+ const alwaysRequests = this.page.getAlwaysRunRequests();
207
+ const predictedRequests = [
208
+ ...alwaysRequests,
209
+ ...this.requestRunner.reduceRequests([
210
+ ...exactPageRequests,
211
+ ...similarPageRequests,
212
+ ...this.page.getAlwaysRunRequests(),
213
+ ]),
214
+ ];
211
215
  this.queuedPredictionRequests.push(...predictedRequests);
212
216
  return Promise.all(predictedRequests.map((request) => this.requestRunner.runRequest(request))).then();
213
217
  }
@@ -1611,4 +1615,4 @@ function ldsEngineCreator() {
1611
1615
  }
1612
1616
 
1613
1617
  export { buildPredictorForContext, ldsEngineCreator as default, initializeLDS, predictiveLoadPage };
1614
- // version: 1.259.0-921ca6033
1618
+ // version: 1.261.0-faaa0c74a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-runtime-aura",
3
- "version": "1.259.0",
3
+ "version": "1.261.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS engine for Aura runtime",
6
6
  "main": "dist/ldsEngineCreator.js",
@@ -34,13 +34,13 @@
34
34
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-aura"
35
35
  },
36
36
  "devDependencies": {
37
- "@salesforce/lds-adapters-uiapi": "^1.259.0",
38
- "@salesforce/lds-ads-bridge": "^1.259.0",
39
- "@salesforce/lds-aura-storage": "^1.259.0",
40
- "@salesforce/lds-bindings": "^1.259.0",
41
- "@salesforce/lds-instrumentation": "^1.259.0",
42
- "@salesforce/lds-network-aura": "^1.259.0",
43
- "@salesforce/lds-network-fetch-with-jwt": "^1.259.0"
37
+ "@salesforce/lds-adapters-uiapi": "^1.261.0",
38
+ "@salesforce/lds-ads-bridge": "^1.261.0",
39
+ "@salesforce/lds-aura-storage": "^1.261.0",
40
+ "@salesforce/lds-bindings": "^1.261.0",
41
+ "@salesforce/lds-instrumentation": "^1.261.0",
42
+ "@salesforce/lds-network-aura": "^1.261.0",
43
+ "@salesforce/lds-network-fetch-with-jwt": "^1.261.0"
44
44
  },
45
45
  "dependencies": {
46
46
  "@luvio/network-adapter-composable": "0.154.4"
@@ -49,7 +49,7 @@
49
49
  {
50
50
  "path": "./dist/ldsEngineCreator.js",
51
51
  "maxSize": {
52
- "none": "63 kB",
52
+ "none": "65 kB",
53
53
  "min": "28 kB",
54
54
  "compressed": "13 kB"
55
55
  }