@salesforce/lds-worker-api 1.159.0 → 1.160.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.
@@ -770,4 +770,4 @@ if (process.env.NODE_ENV !== 'production') {
770
770
  }
771
771
 
772
772
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
773
- // version: 1.159.0-f2aa2c085
773
+ // version: 1.160.0-ff4890744
@@ -3672,7 +3672,7 @@ class Luvio {
3672
3672
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3673
3673
  }
3674
3674
  }
3675
- // engine version: 0.143.5-e5a21255
3675
+ // engine version: 0.143.6-adb8408d
3676
3676
 
3677
3677
  /**
3678
3678
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3799,7 +3799,7 @@ function withDefaultLuvio(callback) {
3799
3799
  }
3800
3800
  callbacks.push(callback);
3801
3801
  }
3802
- // version: 1.159.0-f2aa2c085
3802
+ // version: 1.160.0-ff4890744
3803
3803
 
3804
3804
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3805
3805
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15232,7 +15232,7 @@ function parseAndVisit(source) {
15232
15232
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15233
15233
  return luvioDocumentNode;
15234
15234
  }
15235
- // version: 1.159.0-f2aa2c085
15235
+ // version: 1.160.0-ff4890744
15236
15236
 
15237
15237
  function unwrap(data) {
15238
15238
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16145,7 +16145,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16145
16145
  const { apiFamily, name } = metadata;
16146
16146
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16147
16147
  }
16148
- // version: 1.159.0-f2aa2c085
16148
+ // version: 1.160.0-ff4890744
16149
16149
 
16150
16150
  /**
16151
16151
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16228,7 +16228,7 @@ var FragmentReadResultState;
16228
16228
  ({
16229
16229
  state: FragmentReadResultState.Missing,
16230
16230
  });
16231
- // engine version: 0.143.5-e5a21255
16231
+ // engine version: 0.143.6-adb8408d
16232
16232
 
16233
16233
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16234
16234
 
@@ -22174,10 +22174,10 @@ function isErrorSnapshot(snapshot) {
22174
22174
  return snapshot.state === 'Error';
22175
22175
  }
22176
22176
 
22177
- const VERSION$10$1 = "c6347b2701bb8ffb0b6ca6c027011c57";
22177
+ const VERSION$10$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
22178
22178
  const RepresentationType$K = 'ListViewSummaryRepresentation';
22179
22179
  function keyBuilder$1L(luvio, config) {
22180
- return keyPrefix$1 + '::' + RepresentationType$K + ':' + config.id;
22180
+ return keyPrefix$1 + '::' + RepresentationType$K + ':' + (config.id === null ? '' : config.id);
22181
22181
  }
22182
22182
  function keyBuilderFromType$u(luvio, object) {
22183
22183
  const keyParams = {
@@ -22219,11 +22219,6 @@ function equals$P(existing, incoming) {
22219
22219
  if (!(existing_apiName === incoming_apiName)) {
22220
22220
  return false;
22221
22221
  }
22222
- const existing_id = existing.id;
22223
- const incoming_id = incoming.id;
22224
- if (!(existing_id === incoming_id)) {
22225
- return false;
22226
- }
22227
22222
  const existing_label = existing.label;
22228
22223
  const incoming_label = incoming.label;
22229
22224
  if (!(existing_label === incoming_label)) {
@@ -22234,6 +22229,11 @@ function equals$P(existing, incoming) {
22234
22229
  if (!(existing_listUiUrl === incoming_listUiUrl)) {
22235
22230
  return false;
22236
22231
  }
22232
+ const existing_id = existing.id;
22233
+ const incoming_id = incoming.id;
22234
+ if (!(existing_id === incoming_id)) {
22235
+ return false;
22236
+ }
22237
22237
  return true;
22238
22238
  }
22239
22239
  const ingest$D$1 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -44016,7 +44016,7 @@ withDefaultLuvio((luvio) => {
44016
44016
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44017
44017
  });
44018
44018
  });
44019
- // version: 1.159.0-5eb16a449
44019
+ // version: 1.160.0-e61429b8a
44020
44020
 
44021
44021
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44022
44022
 
@@ -60050,7 +60050,7 @@ register({
60050
60050
  id: '@salesforce/lds-network-adapter',
60051
60051
  instrument: instrument$1,
60052
60052
  });
60053
- // version: 1.159.0-f2aa2c085
60053
+ // version: 1.160.0-ff4890744
60054
60054
 
60055
60055
  const { create: create$2, keys: keys$2 } = Object;
60056
60056
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -77532,7 +77532,7 @@ register({
77532
77532
  configuration: { ...configurationForGraphQLAdapters },
77533
77533
  instrument,
77534
77534
  });
77535
- // version: 1.159.0-5eb16a449
77535
+ // version: 1.160.0-e61429b8a
77536
77536
 
77537
77537
  // On core the unstable adapters are re-exported with different names,
77538
77538
 
@@ -79779,7 +79779,7 @@ withDefaultLuvio((luvio) => {
79779
79779
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79780
79780
  graphQLImperative = ldsAdapter;
79781
79781
  });
79782
- // version: 1.159.0-5eb16a449
79782
+ // version: 1.160.0-e61429b8a
79783
79783
 
79784
79784
  var gqlApi = /*#__PURE__*/Object.freeze({
79785
79785
  __proto__: null,
@@ -80468,4 +80468,4 @@ const { luvio } = getRuntime();
80468
80468
  setDefaultLuvio({ luvio });
80469
80469
 
80470
80470
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
80471
- // version: 1.159.0-f2aa2c085
80471
+ // version: 1.160.0-ff4890744
@@ -3678,7 +3678,7 @@
3678
3678
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3679
3679
  }
3680
3680
  }
3681
- // engine version: 0.143.5-e5a21255
3681
+ // engine version: 0.143.6-adb8408d
3682
3682
 
3683
3683
  /**
3684
3684
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -3805,7 +3805,7 @@
3805
3805
  }
3806
3806
  callbacks.push(callback);
3807
3807
  }
3808
- // version: 1.159.0-f2aa2c085
3808
+ // version: 1.160.0-ff4890744
3809
3809
 
3810
3810
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3811
3811
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15238,7 +15238,7 @@
15238
15238
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15239
15239
  return luvioDocumentNode;
15240
15240
  }
15241
- // version: 1.159.0-f2aa2c085
15241
+ // version: 1.160.0-ff4890744
15242
15242
 
15243
15243
  function unwrap(data) {
15244
15244
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16151,7 +16151,7 @@
16151
16151
  const { apiFamily, name } = metadata;
16152
16152
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16153
16153
  }
16154
- // version: 1.159.0-f2aa2c085
16154
+ // version: 1.160.0-ff4890744
16155
16155
 
16156
16156
  /**
16157
16157
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16234,7 +16234,7 @@
16234
16234
  ({
16235
16235
  state: FragmentReadResultState.Missing,
16236
16236
  });
16237
- // engine version: 0.143.5-e5a21255
16237
+ // engine version: 0.143.6-adb8408d
16238
16238
 
16239
16239
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16240
16240
 
@@ -22180,10 +22180,10 @@
22180
22180
  return snapshot.state === 'Error';
22181
22181
  }
22182
22182
 
22183
- const VERSION$10$1 = "c6347b2701bb8ffb0b6ca6c027011c57";
22183
+ const VERSION$10$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
22184
22184
  const RepresentationType$K = 'ListViewSummaryRepresentation';
22185
22185
  function keyBuilder$1L(luvio, config) {
22186
- return keyPrefix$1 + '::' + RepresentationType$K + ':' + config.id;
22186
+ return keyPrefix$1 + '::' + RepresentationType$K + ':' + (config.id === null ? '' : config.id);
22187
22187
  }
22188
22188
  function keyBuilderFromType$u(luvio, object) {
22189
22189
  const keyParams = {
@@ -22225,11 +22225,6 @@
22225
22225
  if (!(existing_apiName === incoming_apiName)) {
22226
22226
  return false;
22227
22227
  }
22228
- const existing_id = existing.id;
22229
- const incoming_id = incoming.id;
22230
- if (!(existing_id === incoming_id)) {
22231
- return false;
22232
- }
22233
22228
  const existing_label = existing.label;
22234
22229
  const incoming_label = incoming.label;
22235
22230
  if (!(existing_label === incoming_label)) {
@@ -22240,6 +22235,11 @@
22240
22235
  if (!(existing_listUiUrl === incoming_listUiUrl)) {
22241
22236
  return false;
22242
22237
  }
22238
+ const existing_id = existing.id;
22239
+ const incoming_id = incoming.id;
22240
+ if (!(existing_id === incoming_id)) {
22241
+ return false;
22242
+ }
22243
22243
  return true;
22244
22244
  }
22245
22245
  const ingest$D$1 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
@@ -44022,7 +44022,7 @@
44022
44022
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44023
44023
  });
44024
44024
  });
44025
- // version: 1.159.0-5eb16a449
44025
+ // version: 1.160.0-e61429b8a
44026
44026
 
44027
44027
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44028
44028
 
@@ -60056,7 +60056,7 @@
60056
60056
  id: '@salesforce/lds-network-adapter',
60057
60057
  instrument: instrument$1,
60058
60058
  });
60059
- // version: 1.159.0-f2aa2c085
60059
+ // version: 1.160.0-ff4890744
60060
60060
 
60061
60061
  const { create: create$2, keys: keys$2 } = Object;
60062
60062
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -77538,7 +77538,7 @@
77538
77538
  configuration: { ...configurationForGraphQLAdapters },
77539
77539
  instrument,
77540
77540
  });
77541
- // version: 1.159.0-5eb16a449
77541
+ // version: 1.160.0-e61429b8a
77542
77542
 
77543
77543
  // On core the unstable adapters are re-exported with different names,
77544
77544
 
@@ -79785,7 +79785,7 @@
79785
79785
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79786
79786
  graphQLImperative = ldsAdapter;
79787
79787
  });
79788
- // version: 1.159.0-5eb16a449
79788
+ // version: 1.160.0-e61429b8a
79789
79789
 
79790
79790
  var gqlApi = /*#__PURE__*/Object.freeze({
79791
79791
  __proto__: null,
@@ -80491,4 +80491,4 @@
80491
80491
  Object.defineProperty(exports, '__esModule', { value: true });
80492
80492
 
80493
80493
  }));
80494
- // version: 1.159.0-f2aa2c085
80494
+ // version: 1.160.0-ff4890744
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.159.0",
3
+ "version": "1.160.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",