@salesforce/lds-worker-api 1.133.0 → 1.133.2

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.
@@ -606,9 +606,8 @@
606
606
  }
607
607
  return results;
608
608
  }
609
- publish(recordId, record) {
609
+ put(recordId, record) {
610
610
  const { records, insertedIds, pendingTrimKeys, retainedIds } = this;
611
- // make sure we publish to the canonical record id in case it's been redirected
612
611
  const canonicalKey = this.getCanonicalRecordId(recordId);
613
612
  if (hasOwnProperty$3.call(records, canonicalKey) === false) {
614
613
  insertedIds[canonicalKey] = true;
@@ -621,6 +620,11 @@
621
620
  if (retainedIds[canonicalKey] === undefined) {
622
621
  pendingTrimKeys.add(canonicalKey);
623
622
  }
623
+ }
624
+ publish(recordId, record) {
625
+ // make sure we publish to the canonical record id in case it's been redirected
626
+ const canonicalKey = this.getCanonicalRecordId(recordId);
627
+ this.put(canonicalKey, record);
624
628
  this.markVisited(canonicalKey);
625
629
  // TODO: Emit event for store publish once structured keys are used everywhere.
626
630
  }
@@ -829,14 +833,7 @@
829
833
  // find and evict the canonical key
830
834
  const canonicalKey = this.getCanonicalRecordId(key);
831
835
  delete this.records[canonicalKey];
832
- this.visitedIds[canonicalKey] = true;
833
- // mark all redirects leading up to the canonical key as visited so
834
- // affected snapshots are updated
835
- let redirectKey = this.reverseRedirectKeys[canonicalKey];
836
- while (redirectKey !== undefined) {
837
- this.visitedIds[redirectKey] = true;
838
- redirectKey = this.reverseRedirectKeys[redirectKey];
839
- }
836
+ this.markVisited(canonicalKey);
840
837
  }
841
838
  /**
842
839
  * Deallocates data at the canonical key location for in-memory (L1) cache
@@ -1214,9 +1211,9 @@
1214
1211
  }
1215
1212
  return results;
1216
1213
  }
1217
- publish(recordId, record) {
1214
+ put(recordId, record) {
1218
1215
  if (typeof recordId === 'string') {
1219
- this.fallbackStringKeyInMemoryStore.publish(recordId, record);
1216
+ this.fallbackStringKeyInMemoryStore.put(recordId, record);
1220
1217
  return;
1221
1218
  }
1222
1219
  const { recordsMap, insertedIdsSet, pendingTrims, retainedIdsMap } = this;
@@ -1233,6 +1230,14 @@
1233
1230
  if (retainedIdsMap.get(canonicalKey) === undefined) {
1234
1231
  pendingTrims.add(canonicalKey);
1235
1232
  }
1233
+ }
1234
+ publish(recordId, record) {
1235
+ if (typeof recordId === 'string') {
1236
+ this.fallbackStringKeyInMemoryStore.publish(recordId, record);
1237
+ return;
1238
+ }
1239
+ const canonicalKey = this.getCanonicalRecordId(recordId);
1240
+ this.put(canonicalKey, record);
1236
1241
  this.markVisited(canonicalKey);
1237
1242
  this.emitStorePublishEvent(recordId);
1238
1243
  }
@@ -1469,14 +1474,7 @@
1469
1474
  // find and evict the canonical key
1470
1475
  const canonicalKey = this.getCanonicalRecordId(key);
1471
1476
  this.recordsMap.delete(canonicalKey);
1472
- this.visitedIdsSet.add(canonicalKey);
1473
- // mark all redirects leading up to the canonical key as visited so
1474
- // affected snapshots are updated
1475
- let redirectKey = this.reverseRedirectKeysMap.get(canonicalKey);
1476
- while (redirectKey !== undefined) {
1477
- this.visitedIdsSet.add(redirectKey);
1478
- redirectKey = this.reverseRedirectKeysMap.get(redirectKey);
1479
- }
1477
+ this.markVisited(canonicalKey);
1480
1478
  }
1481
1479
  /**
1482
1480
  * Deallocates data at the canonical key location for in-memory (L1) cache
@@ -2662,6 +2660,9 @@
2662
2660
  }
2663
2661
  const array = record[propertyName];
2664
2662
  if (array === undefined) {
2663
+ if (selection.required === false) {
2664
+ return;
2665
+ }
2665
2666
  return this.markMissing();
2666
2667
  }
2667
2668
  const sink = (data[propertyName] = []);
@@ -2786,6 +2787,9 @@
2786
2787
  }
2787
2788
  const array = record[propertyName];
2788
2789
  if (array === undefined) {
2790
+ if (selection.required === false) {
2791
+ return;
2792
+ }
2789
2793
  return this.markMissing();
2790
2794
  }
2791
2795
  const sink = (data[propertyName] = []);
@@ -2834,8 +2838,14 @@
2834
2838
  }
2835
2839
  freeze$4(sink);
2836
2840
  }
2837
- readScalarPlural(propertyName, record, data) {
2841
+ readScalarPlural(propertyName, record, data, required) {
2838
2842
  const array = record[propertyName];
2843
+ if (array === undefined) {
2844
+ if (required === false) {
2845
+ return;
2846
+ }
2847
+ return this.markMissing();
2848
+ }
2839
2849
  const sink = (data[propertyName] = []);
2840
2850
  // If the current snapshot is already know to be different from
2841
2851
  // previous snapshot, we can fast track and just copy the array
@@ -2944,7 +2954,7 @@
2944
2954
  this.readScalarMap(key, record, data, selection.required !== false);
2945
2955
  }
2946
2956
  else if (selection.plural === true) {
2947
- this.readScalarPlural(key, record, data);
2957
+ this.readScalarPlural(key, record, data, selection.required !== false);
2948
2958
  }
2949
2959
  else {
2950
2960
  this.readScalar(key, record, data, selection.required);
@@ -3172,9 +3182,14 @@
3172
3182
  // since broadcast only deals with cached recordIds
3173
3183
  this.store.broadcastNonCachedSnapshot(key, errorSnapshot);
3174
3184
  }
3185
+ // Adds the given data to the store at the given key and marks the key as visited. Will cause subscribers to rebuild.
3175
3186
  storePublish(key, data) {
3176
3187
  this.store.publish(key, data);
3177
3188
  }
3189
+ // Adds the given data to the store at the given key (does NOT mark the key as visited). Will NOT cause subscribers to rebuild. NOTE: This should really only be used by internal Luvio APIs.
3190
+ storePut(key, data) {
3191
+ this.store.put(key, data);
3192
+ }
3178
3193
  storeRedirect(existingKey, redirectKey) {
3179
3194
  this.store.redirect(existingKey, redirectKey);
3180
3195
  }
@@ -3655,7 +3670,7 @@
3655
3670
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3656
3671
  }
3657
3672
  }
3658
- // engine version: 0.138.8-480e18f2
3673
+ // engine version: 0.138.13-8fa39cd3
3659
3674
 
3660
3675
  /**
3661
3676
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3782,7 +3797,7 @@
3782
3797
  }
3783
3798
  callbacks.push(callback);
3784
3799
  }
3785
- // version: 1.133.0-640b335d9
3800
+ // version: 1.133.2-0c6b84e3c
3786
3801
 
3787
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3788
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15206,7 +15221,7 @@
15206
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15207
15222
  return luvioDocumentNode;
15208
15223
  }
15209
- // version: 1.133.0-640b335d9
15224
+ // version: 1.133.2-0c6b84e3c
15210
15225
 
15211
15226
  function unwrap(data) {
15212
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16119,7 +16134,7 @@
16119
16134
  const { apiFamily, name } = metadata;
16120
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16121
16136
  }
16122
- // version: 1.133.0-640b335d9
16137
+ // version: 1.133.2-0c6b84e3c
16123
16138
 
16124
16139
  /**
16125
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16202,7 +16217,7 @@
16202
16217
  ({
16203
16218
  state: FragmentReadResultState.Missing,
16204
16219
  });
16205
- // engine version: 0.138.8-480e18f2
16220
+ // engine version: 0.138.13-8fa39cd3
16206
16221
 
16207
16222
  const { keys: ObjectKeys$3, freeze: ObjectFreeze$3, create: ObjectCreate$3 } = Object;
16208
16223
 
@@ -19949,7 +19964,7 @@
19949
19964
  parent: path.parent,
19950
19965
  propertyName: path.propertyName,
19951
19966
  };
19952
- let incomingRecord = childNormalize(input, store.readEntry(key), recordPath, luvio, store, timestamp);
19967
+ let incomingRecord = childNormalize(input, existingRecord, recordPath, luvio, store, timestamp);
19953
19968
  // read from the store again since it might have been ingested as a nested child ref
19954
19969
  existingRecord = store.readEntry(key);
19955
19970
  incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
@@ -44419,7 +44434,7 @@
44419
44434
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44420
44435
  });
44421
44436
  });
44422
- // version: 1.133.0-64529055b
44437
+ // version: 1.133.2-56a001840
44423
44438
 
44424
44439
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44425
44440
 
@@ -45024,7 +45039,7 @@
45024
45039
  * @param pendingWriter the PendingWriter (this is going away soon)
45025
45040
  * @returns
45026
45041
  */
45027
- function publishDurableStoreEntries(durableRecords, publish, publishMetadata) {
45042
+ function publishDurableStoreEntries(durableRecords, put, publishMetadata) {
45028
45043
  const revivedKeys = new StoreKeySet();
45029
45044
  let hadUnexpectedShape = false;
45030
45045
  if (durableRecords === undefined) {
@@ -45062,7 +45077,7 @@
45062
45077
  // freeze errors on way into L1
45063
45078
  deepFreeze$2(data.error);
45064
45079
  }
45065
- publish(key, data);
45080
+ put(key, data);
45066
45081
  revivedKeys.add(key);
45067
45082
  }
45068
45083
  return { revivedKeys, hadUnexpectedShape };
@@ -45102,7 +45117,7 @@
45102
45117
  // TODO [W-10072584]: instead of implicitly using L1 we should take in
45103
45118
  // publish and publishMetadata funcs, so callers can decide where to
45104
45119
  // revive to (like they pass in how to do the buildL1Snapshot)
45105
- baseEnvironment.storePublish.bind(baseEnvironment), baseEnvironment.publishStoreMetadata.bind(baseEnvironment));
45120
+ baseEnvironment.storePut.bind(baseEnvironment), baseEnvironment.publishStoreMetadata.bind(baseEnvironment));
45106
45121
  // if the data coming back from DS had an unexpected shape then just
45107
45122
  // return the L1 snapshot
45108
45123
  if (hadUnexpectedShape === true) {
@@ -45225,16 +45240,6 @@
45225
45240
  }
45226
45241
  }
45227
45242
 
45228
- function copy(source) {
45229
- if (typeof source !== 'object' || source === null) {
45230
- return source;
45231
- }
45232
- if (isArray$5(source)) {
45233
- // TS doesn't trust that this new array is an array unless we cast it
45234
- return [...source];
45235
- }
45236
- return { ...source };
45237
- }
45238
45243
  function flushInMemoryStoreValuesToDurableStore(store, durableStore, durableStoreErrorHandler) {
45239
45244
  const durableRecords = create$5(null);
45240
45245
  const evictedRecords = create$5(null);
@@ -45253,9 +45258,7 @@
45253
45258
  }
45254
45259
  const metadata = storeMetadata[key];
45255
45260
  durableRecords[key] = {
45256
- // copy the data in case the store is mutated during the
45257
- // async setEntries call
45258
- data: copy(record),
45261
+ data: record,
45259
45262
  };
45260
45263
  if (metadata !== undefined) {
45261
45264
  durableRecords[key].metadata = {
@@ -45376,7 +45379,7 @@
45376
45379
  function makeDurable(environment, { durableStore, instrumentation }) {
45377
45380
  let ingestStagingStore = null;
45378
45381
  const durableTTLStore = new DurableTTLStore(durableStore);
45379
- const mergeKeysPromiseMap = new StoreKeyMap();
45382
+ const mergeKeysPromiseMap = new Map();
45380
45383
  // When a context store is mutated we write it to L2, which causes DS on change
45381
45384
  // event. If this instance of makeDurable caused that L2 write we can ignore that
45382
45385
  // on change event. This Set helps us do that.
@@ -60048,7 +60051,7 @@
60048
60051
  id: '@salesforce/lds-network-adapter',
60049
60052
  instrument: instrument$1,
60050
60053
  });
60051
- // version: 1.133.0-640b335d9
60054
+ // version: 1.133.2-0c6b84e3c
60052
60055
 
60053
60056
  const { create: create$2, keys: keys$2 } = Object;
60054
60057
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -60409,7 +60412,7 @@
60409
60412
  // }
60410
60413
  function mergeData$G(existingData, newData) {
60411
60414
  return {
60412
- data: ObjectAssign(existingData["data"], newData["data"]),
60415
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
60413
60416
  };
60414
60417
  }
60415
60418
  function ingest$I(astNode, state) {
@@ -60568,7 +60571,7 @@
60568
60571
  // }
60569
60572
  function mergeData$F(existingData, newData) {
60570
60573
  return {
60571
- data: ObjectAssign(existingData["data"], newData["data"]),
60574
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
60572
60575
  };
60573
60576
  }
60574
60577
  function ingest$H(astNode, state) {
@@ -60727,7 +60730,7 @@
60727
60730
  // }
60728
60731
  function mergeData$E(existingData, newData) {
60729
60732
  return {
60730
- data: ObjectAssign(existingData["data"], newData["data"]),
60733
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
60731
60734
  };
60732
60735
  }
60733
60736
  function ingest$G(astNode, state) {
@@ -60968,7 +60971,7 @@
60968
60971
  // }
60969
60972
  function mergeData$D(existingData, newData) {
60970
60973
  return {
60971
- data: ObjectAssign(existingData["data"], newData["data"]),
60974
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
60972
60975
  };
60973
60976
  }
60974
60977
  function ingest$F(astNode, state) {
@@ -61127,7 +61130,7 @@
61127
61130
  // }
61128
61131
  function mergeData$C(existingData, newData) {
61129
61132
  return {
61130
- data: ObjectAssign(existingData["data"], newData["data"]),
61133
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61131
61134
  };
61132
61135
  }
61133
61136
  function ingest$E(astNode, state) {
@@ -61354,7 +61357,7 @@
61354
61357
  // }
61355
61358
  function mergeData$B(existingData, newData) {
61356
61359
  return {
61357
- data: ObjectAssign(existingData["data"], newData["data"]),
61360
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61358
61361
  };
61359
61362
  }
61360
61363
  function ingest$D(astNode, state) {
@@ -61507,7 +61510,7 @@
61507
61510
  // }
61508
61511
  function mergeData$A(existingData, newData) {
61509
61512
  return {
61510
- data: ObjectAssign(existingData["data"], newData["data"]),
61513
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61511
61514
  };
61512
61515
  }
61513
61516
  function ingest$C(astNode, state) {
@@ -61666,7 +61669,7 @@
61666
61669
  // }
61667
61670
  function mergeData$z(existingData, newData) {
61668
61671
  return {
61669
- data: ObjectAssign(existingData["data"], newData["data"]),
61672
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61670
61673
  };
61671
61674
  }
61672
61675
  function ingest$B(astNode, state) {
@@ -61819,7 +61822,7 @@
61819
61822
  // }
61820
61823
  function mergeData$y(existingData, newData) {
61821
61824
  return {
61822
- data: ObjectAssign(existingData["data"], newData["data"]),
61825
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61823
61826
  };
61824
61827
  }
61825
61828
  function ingest$A(astNode, state) {
@@ -61978,7 +61981,7 @@
61978
61981
  // }
61979
61982
  function mergeData$x(existingData, newData) {
61980
61983
  return {
61981
- data: ObjectAssign(existingData["data"], newData["data"]),
61984
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
61982
61985
  };
61983
61986
  }
61984
61987
  function ingest$z(astNode, state) {
@@ -62137,7 +62140,7 @@
62137
62140
  // }
62138
62141
  function mergeData$w(existingData, newData) {
62139
62142
  return {
62140
- data: ObjectAssign(existingData["data"], newData["data"]),
62143
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62141
62144
  };
62142
62145
  }
62143
62146
  function ingest$y(astNode, state) {
@@ -62290,7 +62293,7 @@
62290
62293
  // }
62291
62294
  function mergeData$v(existingData, newData) {
62292
62295
  return {
62293
- data: ObjectAssign(existingData["data"], newData["data"]),
62296
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62294
62297
  };
62295
62298
  }
62296
62299
  function ingest$x(astNode, state) {
@@ -62443,7 +62446,7 @@
62443
62446
  // }
62444
62447
  function mergeData$u(existingData, newData) {
62445
62448
  return {
62446
- data: ObjectAssign(existingData["data"], newData["data"]),
62449
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62447
62450
  };
62448
62451
  }
62449
62452
  function ingest$w(astNode, state) {
@@ -62596,7 +62599,7 @@
62596
62599
  // }
62597
62600
  function mergeData$t(existingData, newData) {
62598
62601
  return {
62599
- data: ObjectAssign(existingData["data"], newData["data"]),
62602
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62600
62603
  };
62601
62604
  }
62602
62605
  function ingest$v(astNode, state) {
@@ -62749,7 +62752,7 @@
62749
62752
  // }
62750
62753
  function mergeData$s(existingData, newData) {
62751
62754
  return {
62752
- data: ObjectAssign(existingData["data"], newData["data"]),
62755
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62753
62756
  };
62754
62757
  }
62755
62758
  function ingest$u(astNode, state) {
@@ -62902,7 +62905,7 @@
62902
62905
  // }
62903
62906
  function mergeData$r(existingData, newData) {
62904
62907
  return {
62905
- data: ObjectAssign(existingData["data"], newData["data"]),
62908
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
62906
62909
  };
62907
62910
  }
62908
62911
  function ingest$t(astNode, state) {
@@ -63055,7 +63058,7 @@
63055
63058
  // }
63056
63059
  function mergeData$q(existingData, newData) {
63057
63060
  return {
63058
- data: ObjectAssign(existingData["data"], newData["data"]),
63061
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63059
63062
  };
63060
63063
  }
63061
63064
  function ingest$s(astNode, state) {
@@ -63208,7 +63211,7 @@
63208
63211
  // }
63209
63212
  function mergeData$p(existingData, newData) {
63210
63213
  return {
63211
- data: ObjectAssign(existingData["data"], newData["data"]),
63214
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63212
63215
  };
63213
63216
  }
63214
63217
  function ingest$r(astNode, state) {
@@ -63367,7 +63370,7 @@
63367
63370
  // }
63368
63371
  function mergeData$o(existingData, newData) {
63369
63372
  return {
63370
- data: ObjectAssign(existingData["data"], newData["data"]),
63373
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63371
63374
  };
63372
63375
  }
63373
63376
  function ingest$q(astNode, state) {
@@ -63520,7 +63523,7 @@
63520
63523
  // }
63521
63524
  function mergeData$n(existingData, newData) {
63522
63525
  return {
63523
- data: ObjectAssign(existingData["data"], newData["data"]),
63526
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63524
63527
  };
63525
63528
  }
63526
63529
  function ingest$p(astNode, state) {
@@ -63673,7 +63676,7 @@
63673
63676
  // }
63674
63677
  function mergeData$m(existingData, newData) {
63675
63678
  return {
63676
- data: ObjectAssign(existingData["data"], newData["data"]),
63679
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63677
63680
  };
63678
63681
  }
63679
63682
  function ingest$o(astNode, state) {
@@ -63832,7 +63835,7 @@
63832
63835
  // }
63833
63836
  function mergeData$l(existingData, newData) {
63834
63837
  return {
63835
- data: ObjectAssign(existingData["data"], newData["data"]),
63838
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63836
63839
  };
63837
63840
  }
63838
63841
  function ingest$n(astNode, state) {
@@ -63991,7 +63994,7 @@
63991
63994
  // }
63992
63995
  function mergeData$k(existingData, newData) {
63993
63996
  return {
63994
- data: ObjectAssign(existingData["data"], newData["data"]),
63997
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
63995
63998
  };
63996
63999
  }
63997
64000
  function ingest$m(astNode, state) {
@@ -64144,7 +64147,7 @@
64144
64147
  // }
64145
64148
  function mergeData$j(existingData, newData) {
64146
64149
  return {
64147
- data: ObjectAssign(existingData["data"], newData["data"]),
64150
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
64148
64151
  };
64149
64152
  }
64150
64153
  function ingest$l(astNode, state) {
@@ -65156,7 +65159,7 @@
65156
65159
  // }
65157
65160
  function mergeData$i(existingData, newData) {
65158
65161
  return {
65159
- data: ObjectAssign(existingData["data"], newData["data"]),
65162
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
65160
65163
  };
65161
65164
  }
65162
65165
  function ingest$j(astNode, state) {
@@ -65379,8 +65382,8 @@
65379
65382
  }
65380
65383
  function mergeData$h(existingData, newData) {
65381
65384
  return {
65382
- data: ObjectAssign(existingData["data"], newData["data"]),
65383
- __link: ObjectAssign(existingData["__link"] || {}, newData["__link"] || {}),
65385
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
65386
+ __link: ObjectAssign({}, existingData["__link"] || {}, newData["__link"] || {}),
65384
65387
  };
65385
65388
  }
65386
65389
  function ingest$i(astNode, state) {
@@ -66384,7 +66387,7 @@
66384
66387
  // }
66385
66388
  function mergeData$g(existingData, newData) {
66386
66389
  return {
66387
- data: ObjectAssign(existingData["data"], newData["data"]),
66390
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
66388
66391
  };
66389
66392
  }
66390
66393
  function ingest$h(astNode, state) {
@@ -66587,7 +66590,7 @@
66587
66590
  // }
66588
66591
  function mergeData$f(existingData, newData) {
66589
66592
  return {
66590
- data: ObjectAssign(existingData["data"], newData["data"]),
66593
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
66591
66594
  };
66592
66595
  }
66593
66596
  function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
@@ -66853,7 +66856,7 @@
66853
66856
  // }
66854
66857
  function mergeData$e(existingData, newData) {
66855
66858
  return {
66856
- data: ObjectAssign(existingData["data"], newData["data"]),
66859
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
66857
66860
  };
66858
66861
  }
66859
66862
  function ingest$f(astNode, state) {
@@ -67031,7 +67034,7 @@
67031
67034
  // }
67032
67035
  function mergeData$d(existingData, newData) {
67033
67036
  return {
67034
- data: ObjectAssign(existingData["data"], newData["data"]),
67037
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
67035
67038
  };
67036
67039
  }
67037
67040
  function ingest$e(astNode, state) {
@@ -67257,7 +67260,7 @@
67257
67260
  // }
67258
67261
  function mergeData$c(existingData, newData) {
67259
67262
  return {
67260
- data: ObjectAssign(existingData["data"], newData["data"]),
67263
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
67261
67264
  };
67262
67265
  }
67263
67266
  function ingest$d(astNode, state) {
@@ -67414,7 +67417,7 @@
67414
67417
  // }
67415
67418
  function mergeData$b(existingData, newData) {
67416
67419
  return {
67417
- data: ObjectAssign(existingData["data"], newData["data"]),
67420
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
67418
67421
  };
67419
67422
  }
67420
67423
  function ingest$c(astNode, state) {
@@ -67585,7 +67588,7 @@
67585
67588
  // }
67586
67589
  function mergeData$a(existingData, newData) {
67587
67590
  return {
67588
- data: ObjectAssign(existingData["data"], newData["data"]),
67591
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
67589
67592
  };
67590
67593
  }
67591
67594
  function ingest$b(astNode, state) {
@@ -67793,7 +67796,7 @@
67793
67796
  // }
67794
67797
  function mergeData$9(existingData, newData) {
67795
67798
  return {
67796
- data: ObjectAssign(existingData["data"], newData["data"]),
67799
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
67797
67800
  };
67798
67801
  }
67799
67802
  function ingest$a(astNode, state) {
@@ -68223,7 +68226,7 @@
68223
68226
  // }
68224
68227
  function mergeData$8(existingData, newData) {
68225
68228
  return {
68226
- data: ObjectAssign(existingData["data"], newData["data"]),
68229
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
68227
68230
  };
68228
68231
  }
68229
68232
  function ingest$9(astNode, state) {
@@ -68414,7 +68417,7 @@
68414
68417
  // }
68415
68418
  function mergeData$7(existingData, newData) {
68416
68419
  return {
68417
- data: ObjectAssign(existingData["data"], newData["data"]),
68420
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
68418
68421
  };
68419
68422
  }
68420
68423
  function ingest$8(astNode, state) {
@@ -68572,7 +68575,7 @@
68572
68575
  // }
68573
68576
  function mergeData$6(existingData, newData) {
68574
68577
  return {
68575
- data: ObjectAssign(existingData["data"], newData["data"]),
68578
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
68576
68579
  };
68577
68580
  }
68578
68581
  function ingest$7(astNode, state) {
@@ -69034,7 +69037,7 @@
69034
69037
  // }
69035
69038
  function mergeData$5(existingData, newData) {
69036
69039
  return {
69037
- data: ObjectAssign(existingData["data"], newData["data"]),
69040
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
69038
69041
  };
69039
69042
  }
69040
69043
  function ingest$6(astNode, state) {
@@ -69211,7 +69214,7 @@
69211
69214
  // }
69212
69215
  function mergeData$4(existingData, newData) {
69213
69216
  return {
69214
- data: ObjectAssign(existingData["data"], newData["data"]),
69217
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
69215
69218
  };
69216
69219
  }
69217
69220
  function ingest$5(astNode, state) {
@@ -69377,7 +69380,7 @@
69377
69380
  // }
69378
69381
  function mergeData$3(existingData, newData) {
69379
69382
  return {
69380
- data: ObjectAssign(existingData["data"], newData["data"]),
69383
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
69381
69384
  };
69382
69385
  }
69383
69386
  function ingest$4(astNode, state) {
@@ -69647,7 +69650,7 @@
69647
69650
  // }
69648
69651
  function mergeData$2(existingData, newData) {
69649
69652
  return {
69650
- data: ObjectAssign(existingData["data"], newData["data"]),
69653
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
69651
69654
  };
69652
69655
  }
69653
69656
  function ingest$3(astNode, state) {
@@ -69919,7 +69922,7 @@
69919
69922
  // }
69920
69923
  function mergeData$1(existingData, newData) {
69921
69924
  return {
69922
- data: ObjectAssign(existingData["data"], newData["data"]),
69925
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
69923
69926
  };
69924
69927
  }
69925
69928
  function ingest$2(astNode, state) {
@@ -70104,7 +70107,7 @@
70104
70107
  // }
70105
70108
  function mergeData(existingData, newData) {
70106
70109
  return {
70107
- data: ObjectAssign(existingData["data"], newData["data"]),
70110
+ data: ObjectAssign({}, existingData["data"], newData["data"]),
70108
70111
  };
70109
70112
  }
70110
70113
  function ingest$1(astNode, state) {
@@ -74356,7 +74359,7 @@
74356
74359
  configuration: { ...configurationForGraphQLAdapters },
74357
74360
  instrument,
74358
74361
  });
74359
- // version: 1.133.0-64529055b
74362
+ // version: 1.133.2-56a001840
74360
74363
 
74361
74364
  // On core the unstable adapters are re-exported with different names,
74362
74365
 
@@ -76485,7 +76488,7 @@
76485
76488
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76486
76489
  graphQLImperative = ldsAdapter;
76487
76490
  });
76488
- // version: 1.133.0-64529055b
76491
+ // version: 1.133.2-56a001840
76489
76492
 
76490
76493
  var gqlApi = /*#__PURE__*/Object.freeze({
76491
76494
  __proto__: null,
@@ -77194,4 +77197,4 @@
77194
77197
  Object.defineProperty(exports, '__esModule', { value: true });
77195
77198
 
77196
77199
  }));
77197
- // version: 1.133.0-640b335d9
77200
+ // version: 1.133.2-0c6b84e3c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.133.0",
3
+ "version": "1.133.2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",