@salesforce/lds-ads-bridge 1.280.0 → 1.281.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.
@@ -479,7 +479,7 @@ const callbacks$1 = [];
479
479
  function register(r) {
480
480
  callbacks$1.forEach((callback) => callback(r));
481
481
  }
482
- // version: 1.280.0-92c104b03
482
+ // version: 1.281.0-9a56a08f0
483
483
 
484
484
  /**
485
485
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4930,7 +4930,7 @@ function toSortedStringArray(value) {
4930
4930
  return undefined;
4931
4931
  }
4932
4932
 
4933
- const VERSION$2l = "d1e589a127fb1060c89070cdb6f500b2";
4933
+ const VERSION$2r = "d1e589a127fb1060c89070cdb6f500b2";
4934
4934
  function validate$1W(obj, path = 'RecordTypeInfoRepresentation') {
4935
4935
  const v_error = (() => {
4936
4936
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -4964,10 +4964,10 @@ function validate$1W(obj, path = 'RecordTypeInfoRepresentation') {
4964
4964
  })();
4965
4965
  return v_error === undefined ? null : v_error;
4966
4966
  }
4967
- const select$2$ = function RecordTypeInfoRepresentationSelect() {
4967
+ const select$35 = function RecordTypeInfoRepresentationSelect() {
4968
4968
  return {
4969
4969
  kind: 'Fragment',
4970
- version: VERSION$2l,
4970
+ version: VERSION$2r,
4971
4971
  private: [],
4972
4972
  selections: [
4973
4973
  {
@@ -5022,7 +5022,7 @@ function equals$16(existing, incoming) {
5022
5022
  return true;
5023
5023
  }
5024
5024
 
5025
- const VERSION$2k = "195d918987a35f45e1aa4dce9a11d8c5";
5025
+ const VERSION$2q = "195d918987a35f45e1aa4dce9a11d8c5";
5026
5026
  function validate$1V(obj, path = 'FieldValueRepresentation') {
5027
5027
  const v_error = (() => {
5028
5028
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5114,10 +5114,10 @@ function validate$1V(obj, path = 'FieldValueRepresentation') {
5114
5114
  return v_error === undefined ? null : v_error;
5115
5115
  }
5116
5116
  const RepresentationType$$ = 'FieldValueRepresentation';
5117
- const select$2_ = function FieldValueRepresentationSelect() {
5117
+ const select$34 = function FieldValueRepresentationSelect() {
5118
5118
  return {
5119
5119
  kind: 'Fragment',
5120
- version: VERSION$2k,
5120
+ version: VERSION$2q,
5121
5121
  private: [],
5122
5122
  selections: [
5123
5123
  {
@@ -5128,7 +5128,7 @@ const select$2_ = function FieldValueRepresentationSelect() {
5128
5128
  name: 'value',
5129
5129
  kind: 'Link',
5130
5130
  nullable: true,
5131
- fragment: select$2Y()
5131
+ fragment: select$32()
5132
5132
  }
5133
5133
  ]
5134
5134
  };
@@ -5151,7 +5151,7 @@ function equals$15(existing, incoming) {
5151
5151
  }
5152
5152
  return true;
5153
5153
  }
5154
- function getTypeCacheKeys$1$(rootKeySet, luvio, input, fullPathFactory) {
5154
+ function getTypeCacheKeys$25(rootKeySet, luvio, input, fullPathFactory) {
5155
5155
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5156
5156
  const rootKey = fullPathFactory();
5157
5157
  rootKeySet.set(rootKey, {
@@ -5160,12 +5160,12 @@ function getTypeCacheKeys$1$(rootKeySet, luvio, input, fullPathFactory) {
5160
5160
  mergeable: false
5161
5161
  });
5162
5162
  if (input.value !== null && typeof input.value === 'object') {
5163
- getTypeCacheKeys$1_(rootKeySet, luvio, input.value);
5163
+ getTypeCacheKeys$24(rootKeySet, luvio, input.value);
5164
5164
  }
5165
5165
  }
5166
5166
 
5167
5167
  // we override the generated so we can set "mergeable: true" on the root key
5168
- const getTypeCacheKeys$1_ = (rootKeySet, luvio, input, _fullPathFactory) => {
5168
+ const getTypeCacheKeys$24 = (rootKeySet, luvio, input, _fullPathFactory) => {
5169
5169
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5170
5170
  const rootKey = keyBuilderFromType$C(luvio, input);
5171
5171
  rootKeySet.set(rootKey, {
@@ -5178,20 +5178,20 @@ const getTypeCacheKeys$1_ = (rootKeySet, luvio, input, _fullPathFactory) => {
5178
5178
  const input_childRelationships_length = input_childRelationships_keys.length;
5179
5179
  for (let i = 0; i < input_childRelationships_length; i++) {
5180
5180
  const key = input_childRelationships_keys[i];
5181
- getTypeCacheKeys$1Z(rootKeySet, luvio, input_childRelationships[key], () => rootKey + '__childRelationships' + '__' + key);
5181
+ getTypeCacheKeys$23(rootKeySet, luvio, input_childRelationships[key], () => rootKey + '__childRelationships' + '__' + key);
5182
5182
  }
5183
5183
  const input_fields = input.fields;
5184
5184
  const input_fields_keys = keys$1(input_fields);
5185
5185
  const input_fields_length = input_fields_keys.length;
5186
5186
  for (let i = 0; i < input_fields_length; i++) {
5187
5187
  const key = input_fields_keys[i];
5188
- getTypeCacheKeys$1$(rootKeySet, luvio, input_fields[key], () => rootKey + '__fields__' + key);
5188
+ getTypeCacheKeys$25(rootKeySet, luvio, input_fields[key], () => rootKey + '__fields__' + key);
5189
5189
  }
5190
5190
  return rootKeySet;
5191
5191
  };
5192
5192
 
5193
5193
  const TTL$E = 120000;
5194
- const VERSION$2j = "79cb5ac9f44542f683d00245fdfe500d";
5194
+ const VERSION$2p = "79cb5ac9f44542f683d00245fdfe500d";
5195
5195
  function validate$1U(obj, path = 'RecordCollectionRepresentation') {
5196
5196
  const v_error = (() => {
5197
5197
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5359,7 +5359,7 @@ function normalize$S(input, existing, path, luvio, store, timestamp) {
5359
5359
  for (let i = 0; i < input_records.length; i++) {
5360
5360
  const input_records_item = input_records[i];
5361
5361
  let input_records_item_id = input_records_id + '__' + i;
5362
- input_records[i] = ingest$1V(input_records_item, {
5362
+ input_records[i] = ingest$1$(input_records_item, {
5363
5363
  fullPath: input_records_item_id,
5364
5364
  propertyName: i,
5365
5365
  parent: {
@@ -5372,10 +5372,10 @@ function normalize$S(input, existing, path, luvio, store, timestamp) {
5372
5372
  }
5373
5373
  return input;
5374
5374
  }
5375
- const select$2Z = function RecordCollectionRepresentationSelect() {
5375
+ const select$33 = function RecordCollectionRepresentationSelect() {
5376
5376
  return {
5377
5377
  kind: 'Fragment',
5378
- version: VERSION$2j,
5378
+ version: VERSION$2p,
5379
5379
  private: [],
5380
5380
  selections: [
5381
5381
  {
@@ -5410,7 +5410,7 @@ const select$2Z = function RecordCollectionRepresentationSelect() {
5410
5410
  name: 'records',
5411
5411
  kind: 'Link',
5412
5412
  plural: true,
5413
- fragment: select$2Y()
5413
+ fragment: select$32()
5414
5414
  }
5415
5415
  ]
5416
5416
  };
@@ -5463,7 +5463,7 @@ function equals$14(existing, incoming) {
5463
5463
  }
5464
5464
  return true;
5465
5465
  }
5466
- const ingest$1W = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5466
+ const ingest$20 = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5467
5467
  if (process.env.NODE_ENV !== 'production') {
5468
5468
  const validateError = validate$1U(input);
5469
5469
  if (validateError !== null) {
@@ -5472,10 +5472,10 @@ const ingest$1W = function RecordCollectionRepresentationIngest(input, path, luv
5472
5472
  }
5473
5473
  const key = path.fullPath;
5474
5474
  const ttlToUse = TTL$E;
5475
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$2j, RepresentationType$_, equals$14);
5475
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$2p, RepresentationType$_, equals$14);
5476
5476
  return createLink$1(key);
5477
5477
  };
5478
- function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
5478
+ function getTypeCacheKeys$23(rootKeySet, luvio, input, fullPathFactory) {
5479
5479
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
5480
5480
  const rootKey = fullPathFactory();
5481
5481
  rootKeySet.set(rootKey, {
@@ -5485,7 +5485,7 @@ function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
5485
5485
  });
5486
5486
  const input_records_length = input.records.length;
5487
5487
  for (let i = 0; i < input_records_length; i++) {
5488
- getTypeCacheKeys$1_(rootKeySet, luvio, input.records[i]);
5488
+ getTypeCacheKeys$24(rootKeySet, luvio, input.records[i]);
5489
5489
  }
5490
5490
  }
5491
5491
 
@@ -5500,7 +5500,7 @@ const keyBuilderFromType$D = function RecordRepresentationKeyBuilderFromType(luv
5500
5500
  };
5501
5501
 
5502
5502
  const TTL$D = 30000;
5503
- const VERSION$2i = "98c5b18512e48ca8d28727549507e4ba";
5503
+ const VERSION$2o = "98c5b18512e48ca8d28727549507e4ba";
5504
5504
  function validate$1T(obj, path = 'RecordRepresentation') {
5505
5505
  const v_error = (() => {
5506
5506
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5691,14 +5691,14 @@ function validate$1T(obj, path = 'RecordRepresentation') {
5691
5691
  return v_error === undefined ? null : v_error;
5692
5692
  }
5693
5693
  const RepresentationType$Z = 'RecordRepresentation';
5694
- function keyBuilder$3i(luvio, config) {
5694
+ function keyBuilder$3n(luvio, config) {
5695
5695
  return keyPrefix + '::' + RepresentationType$Z + ':' + config.recordId;
5696
5696
  }
5697
5697
  function keyBuilderFromType$C(luvio, object) {
5698
5698
  const keyParams = {
5699
5699
  recordId: object.id
5700
5700
  };
5701
- return keyBuilder$3i(luvio, keyParams);
5701
+ return keyBuilder$3n(luvio, keyParams);
5702
5702
  }
5703
5703
  function dynamicNormalize$5(ingestParams) {
5704
5704
  return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
@@ -5743,11 +5743,11 @@ function dynamicNormalize$5(ingestParams) {
5743
5743
  return input;
5744
5744
  };
5745
5745
  }
5746
- const select$2Y = function RecordRepresentationSelect() {
5747
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5746
+ const select$32 = function RecordRepresentationSelect() {
5747
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$35();
5748
5748
  return {
5749
5749
  kind: 'Fragment',
5750
- version: VERSION$2i,
5750
+ version: VERSION$2o,
5751
5751
  private: [
5752
5752
  'eTag',
5753
5753
  'weakEtag'
@@ -5761,13 +5761,13 @@ const select$2Y = function RecordRepresentationSelect() {
5761
5761
  name: 'childRelationships',
5762
5762
  kind: 'Link',
5763
5763
  map: true,
5764
- fragment: select$2Z()
5764
+ fragment: select$33()
5765
5765
  },
5766
5766
  {
5767
5767
  name: 'fields',
5768
5768
  kind: 'Link',
5769
5769
  map: true,
5770
- fragment: select$2_()
5770
+ fragment: select$34()
5771
5771
  },
5772
5772
  {
5773
5773
  name: 'id',
@@ -5803,18 +5803,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5803
5803
  name: 'childRelationships',
5804
5804
  kind: 'Link',
5805
5805
  map: true,
5806
- fragment: select$2Z()
5806
+ fragment: select$33()
5807
5807
  } : params.childRelationships;
5808
5808
  const fieldsPathSelection = params.fields === undefined ? {
5809
5809
  name: 'fields',
5810
5810
  kind: 'Link',
5811
5811
  map: true,
5812
- fragment: select$2_()
5812
+ fragment: select$34()
5813
5813
  } : params.fields;
5814
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5814
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$35();
5815
5815
  return {
5816
5816
  kind: 'Fragment',
5817
- version: VERSION$2i,
5817
+ version: VERSION$2o,
5818
5818
  private: [
5819
5819
  'eTag',
5820
5820
  'weakEtag'
@@ -7432,7 +7432,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7432
7432
  kind: 'Fragment',
7433
7433
  private: ['eTag', 'weakEtag'],
7434
7434
  selections: createRecordSelection(childFieldDefinition),
7435
- version: VERSION$2i,
7435
+ version: VERSION$2o,
7436
7436
  },
7437
7437
  };
7438
7438
  }
@@ -7442,7 +7442,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7442
7442
  required: childFieldDefinition.optional === true ? false : undefined,
7443
7443
  fragment: {
7444
7444
  kind: 'Fragment',
7445
- version: VERSION$2k,
7445
+ version: VERSION$2q,
7446
7446
  private: [],
7447
7447
  selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
7448
7448
  },
@@ -7913,7 +7913,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7913
7913
  return existing;
7914
7914
  }
7915
7915
  function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7916
- const recordKey = keyBuilder$3i(luvio, {
7916
+ const recordKey = keyBuilder$3n(luvio, {
7917
7917
  recordId: incoming.id,
7918
7918
  });
7919
7919
  const incomingNode = luvio.wrapNormalizedGraphNode(incoming, recordKey);
@@ -8174,7 +8174,7 @@ function createFieldsIngestion(fieldsTrie, optionalFieldsTrie, recordConflictMap
8174
8174
  }
8175
8175
  function createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
8176
8176
  return dynamicNormalize$5({
8177
- childRelationships: ingest$1W,
8177
+ childRelationships: ingest$20,
8178
8178
  fields: createFieldsIngestion(fieldsTrie, optionalFieldsTrie, recordConflictMap),
8179
8179
  });
8180
8180
  }
@@ -8210,7 +8210,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8210
8210
  ttl: TTL$D,
8211
8211
  representationName: RepresentationType$Z,
8212
8212
  namespace: keyPrefix,
8213
- version: VERSION$2i,
8213
+ version: VERSION$2o,
8214
8214
  ingestionTimestamp: timestamp,
8215
8215
  });
8216
8216
  return createLink$1(key);
@@ -8307,13 +8307,13 @@ const createResourceRequest$1f = function getUiApiRecordsByRecordIdCreateResourc
8307
8307
  };
8308
8308
  };
8309
8309
 
8310
- function keyBuilder$3h(luvio, params) {
8311
- return keyBuilder$3i(luvio, {
8310
+ function keyBuilder$3m(luvio, params) {
8311
+ return keyBuilder$3n(luvio, {
8312
8312
  recordId: params.urlParams.recordId
8313
8313
  });
8314
8314
  }
8315
8315
  function getResponseCacheKeys$16(storeKeyMap, luvio, resourceParams, response) {
8316
- getTypeCacheKeys$1_(storeKeyMap, luvio, response);
8316
+ getTypeCacheKeys$24(storeKeyMap, luvio, response);
8317
8317
  }
8318
8318
  function createResourceRequest$1e(config) {
8319
8319
  const headers = {};
@@ -8344,12 +8344,12 @@ const createResourceParams$14 = /*#__PURE__*/ createResourceParams(getRecord_Con
8344
8344
  // used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
8345
8345
  function buildRecordSelector(luvio, recordId, fields, optionalFields) {
8346
8346
  return {
8347
- recordId: keyBuilder$3i(luvio, { recordId }),
8347
+ recordId: keyBuilder$3n(luvio, { recordId }),
8348
8348
  node: {
8349
8349
  kind: 'Fragment',
8350
8350
  private: ['eTag', 'weakEtag'],
8351
8351
  selections: buildSelectionFromFields(fields, optionalFields),
8352
- version: VERSION$2i,
8352
+ version: VERSION$2o,
8353
8353
  },
8354
8354
  variables: {},
8355
8355
  };
@@ -8363,7 +8363,7 @@ function buildSnapshotRefresh$5(luvio, config) {
8363
8363
  function prepareRequest$7(luvio, config) {
8364
8364
  const { recordId, fields } = config;
8365
8365
  // Should this go into the coersion logic?
8366
- const key = keyBuilder$3h(luvio, createResourceParams$14(config));
8366
+ const key = keyBuilder$3m(luvio, createResourceParams$14(config));
8367
8367
  const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
8368
8368
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
8369
8369
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
@@ -8436,7 +8436,7 @@ function isSingleBatchRecordResponse(response) {
8436
8436
  response.results.length === 1);
8437
8437
  }
8438
8438
 
8439
- const VERSION$2h = "98cce53b8d13b1883d001bbdaab24383";
8439
+ const VERSION$2n = "98cce53b8d13b1883d001bbdaab24383";
8440
8440
 
8441
8441
  const nonCachedErrors$8 = ObjectCreate$1(null);
8442
8442
  function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
@@ -8446,7 +8446,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
8446
8446
  const now = Date.now();
8447
8447
  for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
8448
8448
  const childResourceParams = childResourceParamsArray[index];
8449
- const childKey = keyBuilder$3h(luvio, childResourceParams);
8449
+ const childKey = keyBuilder$3m(luvio, childResourceParams);
8450
8450
  const result = childEnvelopes[index];
8451
8451
  const { statusCode: childStatusCode, result: childBody } = result;
8452
8452
  if (childStatusCode === 200) {
@@ -8533,11 +8533,11 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
8533
8533
  read: (reader) => {
8534
8534
  // Top-level 404 lookup
8535
8535
  const compositeSnapshot = luvio.storeLookup({
8536
- recordId: keyBuilder$3g(luvio, resourceParams),
8536
+ recordId: keyBuilder$3l(luvio, resourceParams),
8537
8537
  node: {
8538
8538
  kind: 'Fragment',
8539
8539
  private: [],
8540
- version: VERSION$2h,
8540
+ version: VERSION$2n,
8541
8541
  },
8542
8542
  variables: {},
8543
8543
  });
@@ -8557,7 +8557,7 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
8557
8557
  reader.enterPath(i);
8558
8558
  reader.enterPath(envelopeBodyPath);
8559
8559
  const childResource = childResources[i];
8560
- const childKey = keyBuilder$3h(luvio, childResource);
8560
+ const childKey = keyBuilder$3m(luvio, childResource);
8561
8561
  const isMissingDataBeforeChildRead = reader.getIsDataMissing();
8562
8562
  const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
8563
8563
  reader.exitPath();
@@ -8657,7 +8657,7 @@ function createChildResourceParams$c(resourceParams) {
8657
8657
  }
8658
8658
  return childConfigs;
8659
8659
  }
8660
- function keyBuilder$3g(luvio, params) {
8660
+ function keyBuilder$3l(luvio, params) {
8661
8661
  return keyPrefix + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
8662
8662
  }
8663
8663
  function getResponseCacheKeys$15(keys, luvio, resourceParams, response) {
@@ -8677,7 +8677,7 @@ function getResponseCacheKeys$15(keys, luvio, resourceParams, response) {
8677
8677
  getResponseCacheKeys$16(keys, luvio, childResourceParams, childBody);
8678
8678
  }
8679
8679
  else if (childStatusCode === 404) {
8680
- const childKey = keyBuilder$3h(luvio, childResourceParams);
8680
+ const childKey = keyBuilder$3m(luvio, childResourceParams);
8681
8681
  keys.set(childKey, {
8682
8682
  namespace: keyPrefix,
8683
8683
  representationName: RepresentationType$Z,
@@ -8687,7 +8687,7 @@ function getResponseCacheKeys$15(keys, luvio, resourceParams, response) {
8687
8687
  }
8688
8688
  }
8689
8689
  function ingestError$P(luvio, params, error, snapshotRefresh) {
8690
- const key = keyBuilder$3g(luvio, params);
8690
+ const key = keyBuilder$3l(luvio, params);
8691
8691
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
8692
8692
  luvio.storeIngestError(key, errorSnapshot);
8693
8693
  return errorSnapshot;
@@ -8776,7 +8776,7 @@ function onFetchResponseSuccess$R(luvio, config, resourceParams, response, serve
8776
8776
  }
8777
8777
  }
8778
8778
  const snapshotStateFulfilled = 'Fulfilled';
8779
- const key = keyBuilder$3g(luvio, resourceParams);
8779
+ const key = keyBuilder$3l(luvio, resourceParams);
8780
8780
  const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
8781
8781
  const snapshot = {
8782
8782
  recordId: key,
@@ -8846,7 +8846,7 @@ function resolveConflict(luvio, map) {
8846
8846
  buildNetworkSnapshot$19(luvio, config, map.serverRequestCount);
8847
8847
  }
8848
8848
  }
8849
- const ingest$1V = (input, path, luvio, store, timestamp) => {
8849
+ const ingest$1$ = (input, path, luvio, store, timestamp) => {
8850
8850
  const conflictMap = {
8851
8851
  conflicts: {},
8852
8852
  serverRequestCount: 0,
@@ -8924,7 +8924,7 @@ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationCon
8924
8924
  },
8925
8925
  });
8926
8926
  const RepresentationType$S = 'ObjectInfoRepresentation';
8927
- function keyBuilder$31(luvio, config) {
8927
+ function keyBuilder$36(luvio, config) {
8928
8928
  return keyPrefix + '::' + RepresentationType$S + ':' + config.apiName;
8929
8929
  }
8930
8930
 
@@ -8966,12 +8966,12 @@ ObjectCreate$1(null);
8966
8966
 
8967
8967
  ObjectCreate$1(null);
8968
8968
 
8969
- const VERSION$1I = "8d2032474fb4fabdf5cf4042be9042d9";
8970
- const select$1W = function WorkStepPicklistValueAttributeRepresentationSelect() {
8971
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8969
+ const VERSION$1O = "8d2032474fb4fabdf5cf4042be9042d9";
8970
+ const select$20 = function WorkStepPicklistValueAttributeRepresentationSelect() {
8971
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1Y();
8972
8972
  return {
8973
8973
  kind: 'Fragment',
8974
- version: VERSION$1I,
8974
+ version: VERSION$1O,
8975
8975
  private: [],
8976
8976
  selections: [
8977
8977
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -8987,12 +8987,12 @@ const select$1W = function WorkStepPicklistValueAttributeRepresentationSelect()
8987
8987
  };
8988
8988
  };
8989
8989
 
8990
- const VERSION$1H = "53893a219bc0888951863f2c44317cac";
8991
- const select$1V = function LeadStatusPicklistValueAttributesRepresentationSelect() {
8992
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8990
+ const VERSION$1N = "53893a219bc0888951863f2c44317cac";
8991
+ const select$1$ = function LeadStatusPicklistValueAttributesRepresentationSelect() {
8992
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1Y();
8993
8993
  return {
8994
8994
  kind: 'Fragment',
8995
- version: VERSION$1H,
8995
+ version: VERSION$1N,
8996
8996
  private: [],
8997
8997
  selections: [
8998
8998
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -9004,12 +9004,12 @@ const select$1V = function LeadStatusPicklistValueAttributesRepresentationSelect
9004
9004
  };
9005
9005
  };
9006
9006
 
9007
- const VERSION$1G = "4818ec07c499784571c1012ead048c88";
9008
- const select$1U = function CaseStatusPicklistValueAttributesRepresentationSelect() {
9009
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
9007
+ const VERSION$1M = "4818ec07c499784571c1012ead048c88";
9008
+ const select$1_ = function CaseStatusPicklistValueAttributesRepresentationSelect() {
9009
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1Y();
9010
9010
  return {
9011
9011
  kind: 'Fragment',
9012
- version: VERSION$1G,
9012
+ version: VERSION$1M,
9013
9013
  private: [],
9014
9014
  selections: [
9015
9015
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -9021,12 +9021,12 @@ const select$1U = function CaseStatusPicklistValueAttributesRepresentationSelect
9021
9021
  };
9022
9022
  };
9023
9023
 
9024
- const VERSION$1F = "950a3a962acbd2b128f937d4c055a9d6";
9025
- const select$1T = function OpportunityStagePicklistValueAttributesRepresentationSelect() {
9026
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
9024
+ const VERSION$1L = "950a3a962acbd2b128f937d4c055a9d6";
9025
+ const select$1Z = function OpportunityStagePicklistValueAttributesRepresentationSelect() {
9026
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1Y();
9027
9027
  return {
9028
9028
  kind: 'Fragment',
9029
- version: VERSION$1F,
9029
+ version: VERSION$1L,
9030
9030
  private: [],
9031
9031
  selections: [
9032
9032
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -9057,12 +9057,12 @@ var DiscriminatorValues$4;
9057
9057
  DiscriminatorValues["CaseStatus"] = "CaseStatus";
9058
9058
  DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
9059
9059
  })(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
9060
- const VERSION$1E = "bd523b2343366edfc25a2dbee2c4e986";
9060
+ const VERSION$1K = "bd523b2343366edfc25a2dbee2c4e986";
9061
9061
  const selectChildren$2 = function AbstractPicklistValueAttributesRepresentationSelectChildren() {
9062
- const workStepPicklistValueAttributeRepresentationSelections = select$1W();
9063
- const leadStatusPicklistValueAttributesRepresentationSelections = select$1V();
9064
- const caseStatusPicklistValueAttributesRepresentationSelections = select$1U();
9065
- const opportunityStagePicklistValueAttributesRepresentationSelections = select$1T();
9062
+ const workStepPicklistValueAttributeRepresentationSelections = select$20();
9063
+ const leadStatusPicklistValueAttributesRepresentationSelections = select$1$();
9064
+ const caseStatusPicklistValueAttributesRepresentationSelections = select$1_();
9065
+ const opportunityStagePicklistValueAttributesRepresentationSelections = select$1Z();
9066
9066
  return {
9067
9067
  kind: 'Fragment',
9068
9068
  union: true,
@@ -9075,10 +9075,10 @@ const selectChildren$2 = function AbstractPicklistValueAttributesRepresentationS
9075
9075
  }
9076
9076
  };
9077
9077
  };
9078
- const select$1S = function AbstractPicklistValueAttributesRepresentationSelect() {
9078
+ const select$1Y = function AbstractPicklistValueAttributesRepresentationSelect() {
9079
9079
  return {
9080
9080
  kind: 'Fragment',
9081
- version: VERSION$1E,
9081
+ version: VERSION$1K,
9082
9082
  private: [],
9083
9083
  selections: [
9084
9084
  {
@@ -9089,12 +9089,12 @@ const select$1S = function AbstractPicklistValueAttributesRepresentationSelect()
9089
9089
  };
9090
9090
  };
9091
9091
 
9092
- const VERSION$1D = "9e2a16a80378487f557124c771201cf9";
9093
- const select$1R = function PicklistValueRepresentationSelect() {
9092
+ const VERSION$1J = "9e2a16a80378487f557124c771201cf9";
9093
+ const select$1X = function PicklistValueRepresentationSelect() {
9094
9094
  const AbstractPicklistValueAttributesRepresentation__unionSelections = selectChildren$2();
9095
9095
  return {
9096
9096
  kind: 'Fragment',
9097
- version: VERSION$1D,
9097
+ version: VERSION$1J,
9098
9098
  private: [],
9099
9099
  selections: [
9100
9100
  {
@@ -9121,12 +9121,12 @@ const select$1R = function PicklistValueRepresentationSelect() {
9121
9121
  ]
9122
9122
  };
9123
9123
  };
9124
- const VERSION$1C = "0a361a49370acb4c6a31721a2057649a";
9125
- const select$1Q = function PicklistValuesRepresentationSelect() {
9126
- const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$1R();
9124
+ const VERSION$1I = "0a361a49370acb4c6a31721a2057649a";
9125
+ const select$1W = function PicklistValuesRepresentationSelect() {
9126
+ const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$1X();
9127
9127
  return {
9128
9128
  kind: 'Fragment',
9129
- version: VERSION$1C,
9129
+ version: VERSION$1I,
9130
9130
  private: [
9131
9131
  'eTag'
9132
9132
  ],
@@ -9156,7 +9156,7 @@ const select$1Q = function PicklistValuesRepresentationSelect() {
9156
9156
  };
9157
9157
  };
9158
9158
 
9159
- select$1Q().selections;
9159
+ select$1W().selections;
9160
9160
 
9161
9161
  var DiscriminatorValues$3;
9162
9162
  (function (DiscriminatorValues) {
@@ -9286,7 +9286,7 @@ function getShallowRecord(luvio, storeRecordId) {
9286
9286
  */
9287
9287
  function getObjectMetadata(luvio, record) {
9288
9288
  const { data: objectInfo } = luvio.storeLookup({
9289
- recordId: keyBuilder$31(luvio, { apiName: record.apiName }),
9289
+ recordId: keyBuilder$36(luvio, { apiName: record.apiName }),
9290
9290
  node: {
9291
9291
  kind: 'Fragment',
9292
9292
  private: ['eTag'],
@@ -9327,7 +9327,7 @@ function getObjectMetadata(luvio, record) {
9327
9327
  function fixRecordTypes(luvio, record) {
9328
9328
  // non-master record types should always be correct
9329
9329
  if (record.recordTypeId === MAIN_RECORD_TYPE_ID) {
9330
- const key = keyBuilder$3i(luvio, { recordId: record.id });
9330
+ const key = keyBuilder$3n(luvio, { recordId: record.id });
9331
9331
  const recordNode = luvio.getNode(key);
9332
9332
  if (isGraphNode(recordNode) && recordNode.scalar('recordTypeId') !== MAIN_RECORD_TYPE_ID) {
9333
9333
  // ignore bogus incoming record type information & keep what we have
@@ -9400,7 +9400,7 @@ class AdsBridge {
9400
9400
  // Don't let incorrect ADS/RecordGVP recordTypeIds replace a valid record type in our store
9401
9401
  // with the master record type. See W-7302870 for details.
9402
9402
  fixRecordTypes(luvio, recordCopy);
9403
- luvio.storeIngest(INGEST_KEY, ingest$1V, recordCopy);
9403
+ luvio.storeIngest(INGEST_KEY, ingest$1$, recordCopy);
9404
9404
  }
9405
9405
  }
9406
9406
  if (didIngestRecord === true) {
@@ -9413,7 +9413,7 @@ class AdsBridge {
9413
9413
  */
9414
9414
  evict(recordId) {
9415
9415
  const { luvio } = this;
9416
- const key = keyBuilder$3i(luvio, { recordId });
9416
+ const key = keyBuilder$3n(luvio, { recordId });
9417
9417
  return this.lockLdsRecordEmit(() => {
9418
9418
  luvio.storeEvict(key);
9419
9419
  luvio.storeBroadcast();
@@ -9428,7 +9428,7 @@ class AdsBridge {
9428
9428
  */
9429
9429
  getTrackedFieldsForRecord(recordId) {
9430
9430
  const { luvio } = this;
9431
- const storeRecordId = keyBuilder$3i(luvio, { recordId });
9431
+ const storeRecordId = keyBuilder$3n(luvio, { recordId });
9432
9432
  const recordNode = luvio.getNode(storeRecordId);
9433
9433
  if (!isGraphNode(recordNode)) {
9434
9434
  return Promise.resolve([]);
package/dist/adsBridge.js CHANGED
@@ -371,4 +371,4 @@ function withAdsBridge(callback) {
371
371
  }
372
372
 
373
373
  export { instrument, withAdsBridge };
374
- // version: 1.280.0-92c104b03
374
+ // version: 1.281.0-9a56a08f0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.280.0",
3
+ "version": "1.281.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",
@@ -29,7 +29,7 @@
29
29
  "release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-ads-bridge"
30
30
  },
31
31
  "devDependencies": {
32
- "@salesforce/lds-adapters-uiapi": "^1.280.0",
33
- "@salesforce/lds-uiapi-record-utils": "^1.280.0"
32
+ "@salesforce/lds-adapters-uiapi": "^1.281.0",
33
+ "@salesforce/lds-uiapi-record-utils": "^1.281.0"
34
34
  }
35
35
  }