@salesforce/lds-worker-api 1.166.0 → 1.167.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.166.0-76f47bcc0
773
+ // version: 1.167.0-d64aaac21
@@ -3672,7 +3672,7 @@ class Luvio {
3672
3672
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3673
3673
  }
3674
3674
  }
3675
- // engine version: 0.143.6-adb8408d
3675
+ // engine version: 0.143.8-3a44af99
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.166.0-76f47bcc0
3802
+ // version: 1.167.0-d64aaac21
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.166.0-76f47bcc0
15235
+ // version: 1.167.0-d64aaac21
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.166.0-76f47bcc0
16148
+ // version: 1.167.0-d64aaac21
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.6-adb8408d
16231
+ // engine version: 0.143.8-3a44af99
16232
16232
 
16233
16233
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16234
16234
 
@@ -44016,7 +44016,7 @@ withDefaultLuvio((luvio) => {
44016
44016
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44017
44017
  });
44018
44018
  });
44019
- // version: 1.166.0-27966ca32
44019
+ // version: 1.167.0-f09f91e9a
44020
44020
 
44021
44021
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44022
44022
 
@@ -60115,7 +60115,7 @@ register({
60115
60115
  id: '@salesforce/lds-network-adapter',
60116
60116
  instrument: instrument$1,
60117
60117
  });
60118
- // version: 1.166.0-76f47bcc0
60118
+ // version: 1.167.0-d64aaac21
60119
60119
 
60120
60120
  const { create: create$2, keys: keys$2 } = Object;
60121
60121
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -73211,7 +73211,7 @@ function mergeSelections(minimumSelections, querySelections) {
73211
73211
  const minimumSelection = minimumSelections[i];
73212
73212
  if (minimumSelection.kind === 'Field') {
73213
73213
  const existingNode = mergedSelections.find(selection => {
73214
- return selection.kind === 'Field' && (selection.name.value === minimumSelection.name.value);
73214
+ return selection.kind === 'Field' && selection.name.value === minimumSelection.name.value && (selection.directives === undefined || selection.directives.length === 0);
73215
73215
  });
73216
73216
  if (existingNode !== undefined && existingNode.kind === 'Field') { // Maybe do better type narrowing above
73217
73217
  const existingNodeHasSubselections = existingNode.selectionSet !== undefined && existingNode.selectionSet.selections.length > 0;
@@ -77597,7 +77597,7 @@ register({
77597
77597
  configuration: { ...configurationForGraphQLAdapters },
77598
77598
  instrument,
77599
77599
  });
77600
- // version: 1.166.0-27966ca32
77600
+ // version: 1.167.0-f09f91e9a
77601
77601
 
77602
77602
  // On core the unstable adapters are re-exported with different names,
77603
77603
 
@@ -79844,7 +79844,7 @@ withDefaultLuvio((luvio) => {
79844
79844
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79845
79845
  graphQLImperative = ldsAdapter;
79846
79846
  });
79847
- // version: 1.166.0-27966ca32
79847
+ // version: 1.167.0-f09f91e9a
79848
79848
 
79849
79849
  var gqlApi = /*#__PURE__*/Object.freeze({
79850
79850
  __proto__: null,
@@ -80533,4 +80533,4 @@ const { luvio } = getRuntime();
80533
80533
  setDefaultLuvio({ luvio });
80534
80534
 
80535
80535
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
80536
- // version: 1.166.0-76f47bcc0
80536
+ // version: 1.167.0-d64aaac21
@@ -3678,7 +3678,7 @@
3678
3678
  return this.environment.buildStructuredKey(namespace, representationName, idValues);
3679
3679
  }
3680
3680
  }
3681
- // engine version: 0.143.6-adb8408d
3681
+ // engine version: 0.143.8-3a44af99
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.166.0-76f47bcc0
3808
+ // version: 1.167.0-d64aaac21
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.166.0-76f47bcc0
15241
+ // version: 1.167.0-d64aaac21
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.166.0-76f47bcc0
16154
+ // version: 1.167.0-d64aaac21
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.6-adb8408d
16237
+ // engine version: 0.143.8-3a44af99
16238
16238
 
16239
16239
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16240
16240
 
@@ -44022,7 +44022,7 @@
44022
44022
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44023
44023
  });
44024
44024
  });
44025
- // version: 1.166.0-27966ca32
44025
+ // version: 1.167.0-f09f91e9a
44026
44026
 
44027
44027
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44028
44028
 
@@ -60121,7 +60121,7 @@
60121
60121
  id: '@salesforce/lds-network-adapter',
60122
60122
  instrument: instrument$1,
60123
60123
  });
60124
- // version: 1.166.0-76f47bcc0
60124
+ // version: 1.167.0-d64aaac21
60125
60125
 
60126
60126
  const { create: create$2, keys: keys$2 } = Object;
60127
60127
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -73217,7 +73217,7 @@
73217
73217
  const minimumSelection = minimumSelections[i];
73218
73218
  if (minimumSelection.kind === 'Field') {
73219
73219
  const existingNode = mergedSelections.find(selection => {
73220
- return selection.kind === 'Field' && (selection.name.value === minimumSelection.name.value);
73220
+ return selection.kind === 'Field' && selection.name.value === minimumSelection.name.value && (selection.directives === undefined || selection.directives.length === 0);
73221
73221
  });
73222
73222
  if (existingNode !== undefined && existingNode.kind === 'Field') { // Maybe do better type narrowing above
73223
73223
  const existingNodeHasSubselections = existingNode.selectionSet !== undefined && existingNode.selectionSet.selections.length > 0;
@@ -77603,7 +77603,7 @@
77603
77603
  configuration: { ...configurationForGraphQLAdapters },
77604
77604
  instrument,
77605
77605
  });
77606
- // version: 1.166.0-27966ca32
77606
+ // version: 1.167.0-f09f91e9a
77607
77607
 
77608
77608
  // On core the unstable adapters are re-exported with different names,
77609
77609
 
@@ -79850,7 +79850,7 @@
79850
79850
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
79851
79851
  graphQLImperative = ldsAdapter;
79852
79852
  });
79853
- // version: 1.166.0-27966ca32
79853
+ // version: 1.167.0-f09f91e9a
79854
79854
 
79855
79855
  var gqlApi = /*#__PURE__*/Object.freeze({
79856
79856
  __proto__: null,
@@ -80556,4 +80556,4 @@
80556
80556
  Object.defineProperty(exports, '__esModule', { value: true });
80557
80557
 
80558
80558
  }));
80559
- // version: 1.166.0-76f47bcc0
80559
+ // version: 1.167.0-d64aaac21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.166.0",
3
+ "version": "1.167.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",