@salesforce/lds-ads-bridge 1.314.0 → 1.315.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.314.0-5a451c78cd
484
+ // version: 1.315.0-8ef4c90baf
485
485
 
486
486
  /**
487
487
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -8490,9 +8490,9 @@ function isRestrictedPathCondition(existingPath, path) {
8490
8490
  (existingPath.includes('/records') && path.includes('/record-ui')));
8491
8491
  }
8492
8492
 
8493
- const createResourceRequest$1g = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8493
+ const createResourceRequest$1h = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8494
8494
  return {
8495
- ...createResourceRequest$1f(config),
8495
+ ...createResourceRequest$1g(config),
8496
8496
  fulfill: fulfill,
8497
8497
  };
8498
8498
  };
@@ -8505,7 +8505,7 @@ function keyBuilder$3z(luvio, params) {
8505
8505
  function getResponseCacheKeys$17(storeKeyMap, luvio, resourceParams, response) {
8506
8506
  getTypeCacheKeys$2h(storeKeyMap, luvio, response);
8507
8507
  }
8508
- function createResourceRequest$1f(config) {
8508
+ function createResourceRequest$1g(config) {
8509
8509
  const headers = {};
8510
8510
  return {
8511
8511
  baseUri: '/services/data/v63.0',
@@ -8564,7 +8564,7 @@ function prepareRequest$7(luvio, config) {
8564
8564
  fields,
8565
8565
  optionalFields: optionalFields.length > 0 ? optionalFields : undefined,
8566
8566
  });
8567
- const request = createResourceRequest$1g(resourceParams);
8567
+ const request = createResourceRequest$1h(resourceParams);
8568
8568
  return { request, key, allTrackedFields, resourceParams };
8569
8569
  }
8570
8570
  function ingestSuccess$X(luvio, config, key, allTrackedFields, response, serverRequestCount) {
@@ -8882,7 +8882,7 @@ function ingestError$Q(luvio, params, error, snapshotRefresh) {
8882
8882
  luvio.storeIngestError(key, errorSnapshot);
8883
8883
  return errorSnapshot;
8884
8884
  }
8885
- function createResourceRequest$1e(config) {
8885
+ function createResourceRequest$1f(config) {
8886
8886
  const headers = {};
8887
8887
  return {
8888
8888
  baseUri: '/services/data/v63.0',
@@ -8996,7 +8996,7 @@ function onFetchResponseError$T(luvio, config, resourceParams, response) {
8996
8996
  }
8997
8997
  function buildNetworkSnapshot$1a(luvio, config, serverRequestCount = 0, options) {
8998
8998
  const resourceParams = createResourceParams$14(config);
8999
- const request = createResourceRequest$1e(resourceParams);
8999
+ const request = createResourceRequest$1f(resourceParams);
9000
9000
  return luvio.dispatchResourceRequest(request, options).then((response) => {
9001
9001
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$S(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
9002
9002
  const cache = new StoreKeyMap();
@@ -9047,7 +9047,7 @@ const ingest$2c = (input, path, luvio, store, timestamp) => {
9047
9047
  return result;
9048
9048
  };
9049
9049
 
9050
- const adapterName$10 = 'getListUiByApiName';
9050
+ const adapterName$_ = 'getListUiByApiName';
9051
9051
  const getListUiByApiName_ConfigPropertyMetadata = [
9052
9052
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
9053
9053
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
@@ -9057,9 +9057,9 @@ const getListUiByApiName_ConfigPropertyMetadata = [
9057
9057
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
9058
9058
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
9059
9059
  ];
9060
- const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$10, getListUiByApiName_ConfigPropertyMetadata);
9060
+ const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$_, getListUiByApiName_ConfigPropertyMetadata);
9061
9061
 
9062
- const adapterName$$ = 'getListUiByListViewId';
9062
+ const adapterName$Z = 'getListUiByListViewId';
9063
9063
  const getListUiByListViewId_ConfigPropertyMetadata = [
9064
9064
  generateParamConfigMetadata('listViewId', true, 0 /* UrlParameter */, 0 /* String */),
9065
9065
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -9068,9 +9068,9 @@ const getListUiByListViewId_ConfigPropertyMetadata = [
9068
9068
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
9069
9069
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
9070
9070
  ];
9071
- const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$$, getListUiByListViewId_ConfigPropertyMetadata);
9071
+ const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getListUiByListViewId_ConfigPropertyMetadata);
9072
9072
 
9073
- const adapterName$Z = 'getMruListUi';
9073
+ const adapterName$X = 'getMruListUi';
9074
9074
  const getMruListUi_ConfigPropertyMetadata = [
9075
9075
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
9076
9076
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -9079,7 +9079,7 @@ const getMruListUi_ConfigPropertyMetadata = [
9079
9079
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
9080
9080
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
9081
9081
  ];
9082
- const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getMruListUi_ConfigPropertyMetadata);
9082
+ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getMruListUi_ConfigPropertyMetadata);
9083
9083
  // make local copies of the adapter configs so we can ignore other getListUi config parameters to match
9084
9084
  // lds222 behavior
9085
9085
  ({
package/dist/adsBridge.js CHANGED
@@ -367,4 +367,4 @@ function withAdsBridge(callback) {
367
367
  }
368
368
 
369
369
  export { instrument, withAdsBridge };
370
- // version: 1.314.0-5a451c78cd
370
+ // version: 1.315.0-8ef4c90baf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.314.0",
3
+ "version": "1.315.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.314.0",
34
- "@salesforce/lds-uiapi-record-utils-mobile": "^1.314.0"
33
+ "@salesforce/lds-adapters-uiapi": "^1.315.0",
34
+ "@salesforce/lds-uiapi-record-utils-mobile": "^1.315.0"
35
35
  },
36
36
  "volta": {
37
37
  "extends": "../../package.json"