@salesforce/lds-ads-bridge 1.247.0 → 1.249.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.
@@ -16,12 +16,15 @@ var SnapshotState;
16
16
  const { create: create$1, entries, freeze: freeze$1, keys: keys$2, values } = Object;
17
17
  const { isArray: isArray$1 } = Array;
18
18
  const { parse: parse$1, stringify: stringify$1 } = JSON;
19
+ const WeakSetCtor = WeakSet;
19
20
 
21
+ const deeplyFrozen = new WeakSetCtor();
20
22
  function deepFreeze(value) {
21
- // No need to freeze primitives
22
- if (typeof value !== 'object' || value === null) {
23
+ // No need to freeze primitives or already frozen stuff
24
+ if (typeof value !== 'object' || value === null || deeplyFrozen.has(value)) {
23
25
  return;
24
26
  }
27
+ deeplyFrozen.add(value);
25
28
  if (isArray$1(value)) {
26
29
  for (let i = 0, len = value.length; i < len; i += 1) {
27
30
  deepFreeze(value[i]);
@@ -427,7 +430,7 @@ function createResourceParamsImpl(config, configMetadata) {
427
430
  }
428
431
  return resourceParams;
429
432
  }
430
- // engine version: 0.151.0-f29c1c57
433
+ // engine version: 0.152.2-f6f687b3
431
434
 
432
435
  /**
433
436
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -475,7 +478,7 @@ const callbacks$1 = [];
475
478
  function register(r) {
476
479
  callbacks$1.forEach((callback) => callback(r));
477
480
  }
478
- // version: 1.247.0-4fe38c091
481
+ // version: 1.249.0-11c3e1ed5
479
482
 
480
483
  /**
481
484
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4950,7 +4953,7 @@ function validate$1L(obj, path = 'RecordTypeInfoRepresentation') {
4950
4953
  })();
4951
4954
  return v_error === undefined ? null : v_error;
4952
4955
  }
4953
- const select$2_ = function RecordTypeInfoRepresentationSelect() {
4956
+ const select$2$ = function RecordTypeInfoRepresentationSelect() {
4954
4957
  return {
4955
4958
  kind: 'Fragment',
4956
4959
  version: VERSION$2o,
@@ -5100,7 +5103,7 @@ function validate$1K(obj, path = 'FieldValueRepresentation') {
5100
5103
  return v_error === undefined ? null : v_error;
5101
5104
  }
5102
5105
  const RepresentationType$Y = 'FieldValueRepresentation';
5103
- const select$2Z = function FieldValueRepresentationSelect() {
5106
+ const select$2_ = function FieldValueRepresentationSelect() {
5104
5107
  return {
5105
5108
  kind: 'Fragment',
5106
5109
  version: VERSION$2n,
@@ -5114,7 +5117,7 @@ const select$2Z = function FieldValueRepresentationSelect() {
5114
5117
  name: 'value',
5115
5118
  kind: 'Link',
5116
5119
  nullable: true,
5117
- fragment: select$2X()
5120
+ fragment: select$2Y()
5118
5121
  }
5119
5122
  ]
5120
5123
  };
@@ -5358,7 +5361,7 @@ function normalize$Q(input, existing, path, luvio, store, timestamp) {
5358
5361
  }
5359
5362
  return input;
5360
5363
  }
5361
- const select$2Y = function RecordCollectionRepresentationSelect() {
5364
+ const select$2Z = function RecordCollectionRepresentationSelect() {
5362
5365
  return {
5363
5366
  kind: 'Fragment',
5364
5367
  version: VERSION$2m,
@@ -5396,7 +5399,7 @@ const select$2Y = function RecordCollectionRepresentationSelect() {
5396
5399
  name: 'records',
5397
5400
  kind: 'Link',
5398
5401
  plural: true,
5399
- fragment: select$2X()
5402
+ fragment: select$2Y()
5400
5403
  }
5401
5404
  ]
5402
5405
  };
@@ -5729,8 +5732,8 @@ function dynamicNormalize$5(ingestParams) {
5729
5732
  return input;
5730
5733
  };
5731
5734
  }
5732
- const select$2X = function RecordRepresentationSelect() {
5733
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2_();
5735
+ const select$2Y = function RecordRepresentationSelect() {
5736
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5734
5737
  return {
5735
5738
  kind: 'Fragment',
5736
5739
  version: VERSION$2l,
@@ -5747,13 +5750,13 @@ const select$2X = function RecordRepresentationSelect() {
5747
5750
  name: 'childRelationships',
5748
5751
  kind: 'Link',
5749
5752
  map: true,
5750
- fragment: select$2Y()
5753
+ fragment: select$2Z()
5751
5754
  },
5752
5755
  {
5753
5756
  name: 'fields',
5754
5757
  kind: 'Link',
5755
5758
  map: true,
5756
- fragment: select$2Z()
5759
+ fragment: select$2_()
5757
5760
  },
5758
5761
  {
5759
5762
  name: 'id',
@@ -5789,15 +5792,15 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5789
5792
  name: 'childRelationships',
5790
5793
  kind: 'Link',
5791
5794
  map: true,
5792
- fragment: select$2Y()
5795
+ fragment: select$2Z()
5793
5796
  } : params.childRelationships;
5794
5797
  const fieldsPathSelection = params.fields === undefined ? {
5795
5798
  name: 'fields',
5796
5799
  kind: 'Link',
5797
5800
  map: true,
5798
- fragment: select$2Z()
5801
+ fragment: select$2_()
5799
5802
  } : params.fields;
5800
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2_();
5803
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5801
5804
  return {
5802
5805
  kind: 'Fragment',
5803
5806
  version: VERSION$2l,
@@ -7594,22 +7597,12 @@ function _markMissingPath(record, path) {
7594
7597
  const fieldValueRepresentation = record.object('fields');
7595
7598
  const fieldName = path.shift();
7596
7599
  if (fieldValueRepresentation.isUndefined(fieldName) === true) {
7597
- // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7598
- // an undefined/non-present __ref if isMissing is present
7599
- fieldValueRepresentation.write(fieldName, {
7600
- __ref: undefined,
7601
- isMissing: true,
7602
- });
7600
+ writeMissingFieldToStore(fieldValueRepresentation, fieldName);
7603
7601
  return;
7604
7602
  }
7605
7603
  const link = fieldValueRepresentation.link(fieldName);
7606
7604
  if (link.isPending()) {
7607
- // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7608
- // an undefined/non-present __ref if isMissing is present
7609
- fieldValueRepresentation.write(fieldName, {
7610
- __ref: undefined,
7611
- isMissing: true,
7612
- });
7605
+ writeMissingFieldToStore(fieldValueRepresentation, fieldName);
7613
7606
  }
7614
7607
  else if (path.length > 0 && link.isMissing() === false) {
7615
7608
  const fieldValue = link.follow();
@@ -7625,6 +7618,19 @@ function _markMissingPath(record, path) {
7625
7618
  }
7626
7619
  }
7627
7620
  }
7621
+ /**
7622
+ * Graph Node Directly modifies store entries, which is generally a non-starter.
7623
+ * Until we can refactor this mess, you need to use this function to safely mark the RecordRepresentation
7624
+ * as a seenId in the store when you perform this mutation.
7625
+ */
7626
+ function writeMissingFieldToStore(field, fieldName) {
7627
+ // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7628
+ // an undefined/non-present __ref if isMissing is present
7629
+ field.write(fieldName, {
7630
+ __ref: undefined,
7631
+ isMissing: true,
7632
+ });
7633
+ }
7628
7634
  /**
7629
7635
  * Tells you if an objectApiName is supported by UI API or not.
7630
7636
  * Note: Luvio does not currently support all the entities, the list is limited to UI API supported entities
@@ -7746,7 +7752,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7746
7752
  };
7747
7753
  }
7748
7754
  else {
7749
- buildNetworkSnapshot$15(luvio, {
7755
+ buildNetworkSnapshot$17(luvio, {
7750
7756
  recordId: incoming.id,
7751
7757
  optionalFields: convertTrieToFields(incomingTrackedFieldsTrieRoot),
7752
7758
  });
@@ -7756,8 +7762,11 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7756
7762
  return existing;
7757
7763
  }
7758
7764
  function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7759
- const incomingNode = luvio.wrapNormalizedGraphNode(incoming);
7760
- const existingNode = luvio.wrapNormalizedGraphNode(existing);
7765
+ const recordKey = keyBuilder$3b(luvio, {
7766
+ recordId: incoming.id,
7767
+ });
7768
+ const incomingNode = luvio.wrapNormalizedGraphNode(incoming, recordKey);
7769
+ const existingNode = luvio.wrapNormalizedGraphNode(existing, recordKey);
7761
7770
  const incomingTrackedFieldsTrieRoot = {
7762
7771
  name: incoming.apiName,
7763
7772
  children: {},
@@ -7766,9 +7775,6 @@ function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7766
7775
  name: existing.apiName,
7767
7776
  children: {},
7768
7777
  };
7769
- const recordKey = keyBuilder$3b(luvio, {
7770
- recordId: incoming.id,
7771
- });
7772
7778
  const trackedFieldsConfig = {
7773
7779
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMergeConflict(),
7774
7780
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
@@ -8142,9 +8148,9 @@ function isRestrictedPathCondition(existingPath, path) {
8142
8148
  (existingPath.includes('/records') && path.includes('/record-ui')));
8143
8149
  }
8144
8150
 
8145
- const createResourceRequest$1a = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8151
+ const createResourceRequest$1c = function getUiApiRecordsByRecordIdCreateResourceRequest(config) {
8146
8152
  return {
8147
- ...createResourceRequest$19(config),
8153
+ ...createResourceRequest$1b(config),
8148
8154
  fulfill: fulfill,
8149
8155
  };
8150
8156
  };
@@ -8154,10 +8160,10 @@ function keyBuilder$3a(luvio, params) {
8154
8160
  recordId: params.urlParams.recordId
8155
8161
  });
8156
8162
  }
8157
- function getResponseCacheKeys$11(storeKeyMap, luvio, resourceParams, response) {
8163
+ function getResponseCacheKeys$13(storeKeyMap, luvio, resourceParams, response) {
8158
8164
  getTypeCacheKeys$1X(storeKeyMap, luvio, response);
8159
8165
  }
8160
- function createResourceRequest$19(config) {
8166
+ function createResourceRequest$1b(config) {
8161
8167
  const headers = {};
8162
8168
  return {
8163
8169
  baseUri: '/services/data/v60.0',
@@ -8181,7 +8187,7 @@ const getRecord_ConfigPropertyMetadata = [
8181
8187
  generateParamConfigMetadata('pageSize', false, 1 /* QueryParameter */, 3 /* Integer */),
8182
8188
  generateParamConfigMetadata('updateMru', false, 1 /* QueryParameter */, 1 /* Boolean */),
8183
8189
  ];
8184
- const createResourceParams$11 = /*#__PURE__*/ createResourceParams(getRecord_ConfigPropertyMetadata);
8190
+ const createResourceParams$12 = /*#__PURE__*/ createResourceParams(getRecord_ConfigPropertyMetadata);
8185
8191
 
8186
8192
  // used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
8187
8193
  function buildRecordSelector(luvio, recordId, fields, optionalFields) {
@@ -8199,27 +8205,27 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
8199
8205
  function buildSnapshotRefresh$5(luvio, config) {
8200
8206
  return {
8201
8207
  config,
8202
- resolve: () => buildNetworkSnapshot$15(luvio, config),
8208
+ resolve: () => buildNetworkSnapshot$17(luvio, config),
8203
8209
  };
8204
8210
  }
8205
8211
  function prepareRequest$6(luvio, config) {
8206
8212
  const { recordId, fields } = config;
8207
8213
  // Should this go into the coersion logic?
8208
- const key = keyBuilder$3a(luvio, createResourceParams$11(config));
8214
+ const key = keyBuilder$3a(luvio, createResourceParams$12(config));
8209
8215
  const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
8210
8216
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
8211
8217
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
8212
8218
  }, config.optionalFields);
8213
8219
  const optionalFields = fields === undefined ? allTrackedFields : difference(allTrackedFields, fields);
8214
- const resourceParams = createResourceParams$11({
8220
+ const resourceParams = createResourceParams$12({
8215
8221
  recordId,
8216
8222
  fields,
8217
8223
  optionalFields: optionalFields.length > 0 ? optionalFields : undefined,
8218
8224
  });
8219
- const request = createResourceRequest$1a(resourceParams);
8225
+ const request = createResourceRequest$1c(resourceParams);
8220
8226
  return { request, key, allTrackedFields, resourceParams };
8221
8227
  }
8222
- function ingestSuccess$S(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8228
+ function ingestSuccess$U(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8223
8229
  const { body } = response;
8224
8230
  const fields = config.fields === undefined ? [] : config.fields;
8225
8231
  const optionalFields = config.optionalFields === undefined ? [] : config.optionalFields;
@@ -8233,7 +8239,7 @@ function ingestSuccess$S(luvio, config, key, allTrackedFields, response, serverR
8233
8239
  return luvio.storeLookup(buildRecordSelector(luvio, config.recordId, fields, optionalFields), buildSnapshotRefresh$5(luvio, config));
8234
8240
  }
8235
8241
  function onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount) {
8236
- const snapshot = ingestSuccess$S(luvio, config, key, allTrackedFields, response, serverRequestCount);
8242
+ const snapshot = ingestSuccess$U(luvio, config, key, allTrackedFields, response, serverRequestCount);
8237
8243
  return luvio.storeBroadcast().then(() => snapshot);
8238
8244
  }
8239
8245
  function ingestError$O(luvio, config, key, err) {
@@ -8245,7 +8251,7 @@ function onResourceError(luvio, config, key, err) {
8245
8251
  const errorSnapshot = ingestError$O(luvio, config, key, err);
8246
8252
  return luvio.storeBroadcast().then(() => errorSnapshot);
8247
8253
  }
8248
- function buildNetworkSnapshot$15(luvio, config, serverRequestCount = 0, options) {
8254
+ function buildNetworkSnapshot$17(luvio, config, serverRequestCount = 0, options) {
8249
8255
  const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
8250
8256
  return luvio.dispatchResourceRequest(request, options).then((response) => {
8251
8257
  return luvio.handleSuccessResponse(() => {
@@ -8262,7 +8268,7 @@ function buildNetworkSnapshot$15(luvio, config, serverRequestCount = 0, options)
8262
8268
  return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
8263
8269
  }, () => {
8264
8270
  const cache = new StoreKeyMap();
8265
- getResponseCacheKeys$11(cache, luvio, resourceParams, response.body);
8271
+ getResponseCacheKeys$13(cache, luvio, resourceParams, response.body);
8266
8272
  return cache;
8267
8273
  });
8268
8274
  }, (err) => {
@@ -8279,7 +8285,7 @@ function isSingleBatchRecordResponse(response) {
8279
8285
  const VERSION$2k = "98cce53b8d13b1883d001bbdaab24383";
8280
8286
 
8281
8287
  const nonCachedErrors$8 = ObjectCreate$1(null);
8282
- function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
8288
+ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
8283
8289
  const childSnapshotDataResponses = [];
8284
8290
  let seenRecords = new StoreKeySet();
8285
8291
  let snapshotState = 'Fulfilled';
@@ -8301,7 +8307,7 @@ function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, chi
8301
8307
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
8302
8308
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
8303
8309
  }, childResourceParams.queryParams.optionalFields);
8304
- const childSnapshot = ingestSuccess$S(luvio, {
8310
+ const childSnapshot = ingestSuccess$U(luvio, {
8305
8311
  recordId: childResourceParams.urlParams.recordId,
8306
8312
  fields: childResourceParams.queryParams.fields,
8307
8313
  optionalFields: childResourceParams.queryParams.optionalFields,
@@ -8500,7 +8506,7 @@ function createChildResourceParams$c(resourceParams) {
8500
8506
  function keyBuilder$39(luvio, params) {
8501
8507
  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 + ')';
8502
8508
  }
8503
- function getResponseCacheKeys$10(keys, luvio, resourceParams, response) {
8509
+ function getResponseCacheKeys$12(keys, luvio, resourceParams, response) {
8504
8510
  const childEnvelopes = response.results;
8505
8511
  const childResourceParamsArray = createChildResourceParams$c(resourceParams);
8506
8512
  if (process.env.NODE_ENV !== 'production') {
@@ -8514,7 +8520,7 @@ function getResponseCacheKeys$10(keys, luvio, resourceParams, response) {
8514
8520
  const childResult = childEnvelopes[index];
8515
8521
  const { statusCode: childStatusCode, result: childBody } = childResult;
8516
8522
  if (childStatusCode === 200) {
8517
- getResponseCacheKeys$11(keys, luvio, childResourceParams, childBody);
8523
+ getResponseCacheKeys$13(keys, luvio, childResourceParams, childBody);
8518
8524
  }
8519
8525
  else if (childStatusCode === 404) {
8520
8526
  const childKey = keyBuilder$3a(luvio, childResourceParams);
@@ -8532,7 +8538,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
8532
8538
  luvio.storeIngestError(key, errorSnapshot);
8533
8539
  return errorSnapshot;
8534
8540
  }
8535
- function createResourceRequest$18(config) {
8541
+ function createResourceRequest$1a(config) {
8536
8542
  const headers = {};
8537
8543
  return {
8538
8544
  baseUri: '/services/data/v60.0',
@@ -8546,7 +8552,7 @@ function createResourceRequest$18(config) {
8546
8552
  };
8547
8553
  }
8548
8554
 
8549
- function createResourceParams$10(config) {
8555
+ function createResourceParams$11(config) {
8550
8556
  const { records: configRecords } = config;
8551
8557
  const recordIds = [];
8552
8558
  const resourceConfigFields = [];
@@ -8600,7 +8606,7 @@ function createChildResourceParams$b(config) {
8600
8606
 
8601
8607
  function adapterFragment$L(luvio, config) {
8602
8608
  const childResources = createChildResourceParams$b(config);
8603
- const resourceParams = createResourceParams$10(config);
8609
+ const resourceParams = createResourceParams$11(config);
8604
8610
  return selectChildResourceParams$8(luvio, childResources, resourceParams);
8605
8611
  }
8606
8612
 
@@ -8617,7 +8623,7 @@ function onFetchResponseSuccess$P(luvio, config, resourceParams, response, serve
8617
8623
  }
8618
8624
  const snapshotStateFulfilled = 'Fulfilled';
8619
8625
  const key = keyBuilder$39(luvio, resourceParams);
8620
- const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
8626
+ const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
8621
8627
  const snapshot = {
8622
8628
  recordId: key,
8623
8629
  data: childSnapshotData,
@@ -8630,7 +8636,7 @@ function onFetchResponseSuccess$P(luvio, config, resourceParams, response, serve
8630
8636
  },
8631
8637
  refresh: {
8632
8638
  config,
8633
- resolve: () => buildNetworkSnapshot$14(luvio, config, serverRequestCount, snapshotRefreshOptions),
8639
+ resolve: () => buildNetworkSnapshot$16(luvio, config, serverRequestCount, snapshotRefreshOptions),
8634
8640
  },
8635
8641
  variables: {},
8636
8642
  };
@@ -8640,17 +8646,17 @@ function onFetchResponseSuccess$P(luvio, config, resourceParams, response, serve
8640
8646
  function onFetchResponseError$Q(luvio, config, resourceParams, response) {
8641
8647
  const snapshot = ingestError$N(luvio, resourceParams, response, {
8642
8648
  config,
8643
- resolve: () => buildNetworkSnapshot$14(luvio, config, 0, snapshotRefreshOptions),
8649
+ resolve: () => buildNetworkSnapshot$16(luvio, config, 0, snapshotRefreshOptions),
8644
8650
  });
8645
8651
  return luvio.storeBroadcast().then(() => snapshot);
8646
8652
  }
8647
- function buildNetworkSnapshot$14(luvio, config, serverRequestCount = 0, options) {
8648
- const resourceParams = createResourceParams$10(config);
8649
- const request = createResourceRequest$18(resourceParams);
8653
+ function buildNetworkSnapshot$16(luvio, config, serverRequestCount = 0, options) {
8654
+ const resourceParams = createResourceParams$11(config);
8655
+ const request = createResourceRequest$1a(resourceParams);
8650
8656
  return luvio.dispatchResourceRequest(request, options).then((response) => {
8651
8657
  return luvio.handleSuccessResponse(() => onFetchResponseSuccess$P(luvio, config, resourceParams, response, serverRequestCount + 1), () => {
8652
8658
  const cache = new StoreKeyMap();
8653
- getResponseCacheKeys$10(cache, luvio, resourceParams, response.body);
8659
+ getResponseCacheKeys$12(cache, luvio, resourceParams, response.body);
8654
8660
  return cache;
8655
8661
  });
8656
8662
  }, (response) => {
@@ -8671,7 +8677,7 @@ function resolveConflict(luvio, map) {
8671
8677
  recordId,
8672
8678
  optionalFields: convertTrieToFields(map.conflicts[recordId].trackedFields),
8673
8679
  };
8674
- buildNetworkSnapshot$15(luvio, config, map.serverRequestCount);
8680
+ buildNetworkSnapshot$17(luvio, config, map.serverRequestCount);
8675
8681
  }
8676
8682
  else {
8677
8683
  const records = reduce.call(ids, (acc, id) => {
@@ -8683,7 +8689,7 @@ function resolveConflict(luvio, map) {
8683
8689
  return acc;
8684
8690
  }, []);
8685
8691
  const config = { records };
8686
- buildNetworkSnapshot$14(luvio, config, map.serverRequestCount);
8692
+ buildNetworkSnapshot$16(luvio, config, map.serverRequestCount);
8687
8693
  }
8688
8694
  }
8689
8695
  const ingest$1T = (input, path, luvio, store, timestamp) => {
@@ -8697,7 +8703,7 @@ const ingest$1T = (input, path, luvio, store, timestamp) => {
8697
8703
  return result;
8698
8704
  };
8699
8705
 
8700
- const adapterName$X = 'getListUiByApiName';
8706
+ const adapterName$Z = 'getListUiByApiName';
8701
8707
  const getListUiByApiName_ConfigPropertyMetadata = [
8702
8708
  generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
8703
8709
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
@@ -8707,9 +8713,9 @@ const getListUiByApiName_ConfigPropertyMetadata = [
8707
8713
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8708
8714
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8709
8715
  ];
8710
- const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$X, getListUiByApiName_ConfigPropertyMetadata);
8716
+ const getListUiByApiName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Z, getListUiByApiName_ConfigPropertyMetadata);
8711
8717
 
8712
- const adapterName$W = 'getListUiByListViewId';
8718
+ const adapterName$Y = 'getListUiByListViewId';
8713
8719
  const getListUiByListViewId_ConfigPropertyMetadata = [
8714
8720
  generateParamConfigMetadata('listViewId', true, 0 /* UrlParameter */, 0 /* String */),
8715
8721
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -8718,9 +8724,9 @@ const getListUiByListViewId_ConfigPropertyMetadata = [
8718
8724
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8719
8725
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8720
8726
  ];
8721
- const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getListUiByListViewId_ConfigPropertyMetadata);
8727
+ const getListUiByListViewId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$Y, getListUiByListViewId_ConfigPropertyMetadata);
8722
8728
 
8723
- const adapterName$U = 'getMruListUi';
8729
+ const adapterName$W = 'getMruListUi';
8724
8730
  const getMruListUi_ConfigPropertyMetadata = [
8725
8731
  generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
8726
8732
  generateParamConfigMetadata('fields', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
@@ -8729,7 +8735,7 @@ const getMruListUi_ConfigPropertyMetadata = [
8729
8735
  generateParamConfigMetadata('pageToken', false, 1 /* QueryParameter */, 0 /* String */),
8730
8736
  generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */, true, getFieldApiNamesArray),
8731
8737
  ];
8732
- const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$U, getMruListUi_ConfigPropertyMetadata);
8738
+ const getMruListUi_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$W, getMruListUi_ConfigPropertyMetadata);
8733
8739
  // make local copies of the adapter configs so we can ignore other getListUi config parameters to match
8734
8740
  // lds222 behavior
8735
8741
  ({
package/dist/adsBridge.js CHANGED
@@ -372,4 +372,4 @@ function withAdsBridge(callback) {
372
372
  }
373
373
 
374
374
  export { instrument, withAdsBridge };
375
- // version: 1.247.0-4fe38c091
375
+ // version: 1.249.0-11c3e1ed5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.247.0",
3
+ "version": "1.249.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",