@salesforce/lds-ads-bridge 1.334.0 → 1.336.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.
@@ -481,7 +481,7 @@ const callbacks$1 = [];
481
481
  function register(r) {
482
482
  callbacks$1.forEach((callback) => callback(r));
483
483
  }
484
- // version: 1.334.0-691cf3d004
484
+ // version: 1.336.0-7d2c781c74
485
485
 
486
486
  /**
487
487
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4491,6 +4491,10 @@ let oneStoreGetObjectInfosAdapter = undefined;
4491
4491
  * Determines when to include PDL strategies for Related Lists
4492
4492
  */
4493
4493
  let relatedListsPredictionsEnabled = false;
4494
+ /**
4495
+ * Determines whether to include additional PDL strategies for Related Lists
4496
+ */
4497
+ let relatedListsPlusPredictionsEnabled = false;
4494
4498
  /**
4495
4499
  * Defines the configuration API and is exposed internally as well as externally.
4496
4500
  * Configuration for one store enabled REST adapters only.
@@ -4590,6 +4594,12 @@ const configurationForRestAdapters = {
4590
4594
  areRelatedListsPredictionsEnabled: function () {
4591
4595
  return relatedListsPredictionsEnabled === true;
4592
4596
  },
4597
+ setRelatedListsPlusPredictionsEnabled: function (f) {
4598
+ relatedListsPlusPredictionsEnabled = f;
4599
+ },
4600
+ areRelatedListsPlusPredictionsEnabled: function () {
4601
+ return relatedListsPlusPredictionsEnabled === true;
4602
+ },
4593
4603
  // createRecord
4594
4604
  getDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.getAdapter,
4595
4605
  setDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.setAdapter,
@@ -8565,7 +8575,7 @@ function getResponseCacheKeys$17(storeKeyMap, luvio, resourceParams, response) {
8565
8575
  function createResourceRequest$1g(config) {
8566
8576
  const headers = {};
8567
8577
  return {
8568
- baseUri: '/services/data/v63.0',
8578
+ baseUri: '/services/data/v64.0',
8569
8579
  basePath: '/ui-api/records/' + config.urlParams.recordId + '',
8570
8580
  method: 'get',
8571
8581
  body: null,
@@ -8942,7 +8952,7 @@ function ingestError$Q(luvio, params, error, snapshotRefresh) {
8942
8952
  function createResourceRequest$1f(config) {
8943
8953
  const headers = {};
8944
8954
  return {
8945
- baseUri: '/services/data/v63.0',
8955
+ baseUri: '/services/data/v64.0',
8946
8956
  basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
8947
8957
  method: 'get',
8948
8958
  body: null,
package/dist/adsBridge.js CHANGED
@@ -367,4 +367,4 @@ function withAdsBridge(callback) {
367
367
  }
368
368
 
369
369
  export { instrument, withAdsBridge };
370
- // version: 1.334.0-691cf3d004
370
+ // version: 1.336.0-7d2c781c74
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.334.0",
3
+ "version": "1.336.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Bridge to sync data between LDS and ADS",
6
6
  "main": "dist/adsBridge.js",
@@ -30,8 +30,8 @@
30
30
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
31
31
  },
32
32
  "devDependencies": {
33
- "@salesforce/lds-adapters-uiapi": "^1.334.0",
34
- "@salesforce/lds-uiapi-record-utils-mobile": "^1.334.0"
33
+ "@salesforce/lds-adapters-uiapi": "^1.336.0",
34
+ "@salesforce/lds-uiapi-record-utils-mobile": "^1.336.0"
35
35
  },
36
36
  "volta": {
37
37
  "extends": "../../package.json"