@salesforce/lds-worker-api 1.124.6 → 1.124.7

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.
@@ -751,4 +751,4 @@ if (process.env.NODE_ENV !== 'production') {
751
751
  }
752
752
 
753
753
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
754
- // version: 1.124.6-8cacd232f
754
+ // version: 1.124.7-ce8012bd1
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
3776
3776
  }
3777
3777
  callbacks.push(callback);
3778
3778
  }
3779
- // version: 1.124.6-8cacd232f
3779
+ // version: 1.124.7-ce8012bd1
3780
3780
 
3781
3781
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3782
3782
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15200,7 +15200,7 @@ function parseAndVisit(source) {
15200
15200
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15201
15201
  return luvioDocumentNode;
15202
15202
  }
15203
- // version: 1.124.6-8cacd232f
15203
+ // version: 1.124.7-ce8012bd1
15204
15204
 
15205
15205
  function unwrap(data) {
15206
15206
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16113,7 +16113,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16113
16113
  const { apiFamily, name } = metadata;
16114
16114
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16115
16115
  }
16116
- // version: 1.124.6-8cacd232f
16116
+ // version: 1.124.7-ce8012bd1
16117
16117
 
16118
16118
  /**
16119
16119
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44347,7 +44347,7 @@ withDefaultLuvio((luvio) => {
44347
44347
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44348
44348
  });
44349
44349
  });
44350
- // version: 1.124.6-3b244264b
44350
+ // version: 1.124.7-c25b7f2a6
44351
44351
 
44352
44352
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44353
44353
 
@@ -53291,17 +53291,22 @@ async function evaluate(config, observers, settings, objectInfos, store, snapsho
53291
53291
  if (requestsDraftsField(node))
53292
53292
  return undefined;
53293
53293
  // inject the drafts node for local evaluation since server does not have the 'draft' concept
53294
- node.selectionSet.selections = [
53295
- {
53296
- kind: 'Field',
53297
- name: {
53298
- kind: 'Name',
53299
- value: '_drafts',
53300
- },
53294
+ return {
53295
+ ...node,
53296
+ selectionSet: {
53297
+ ...node.selectionSet,
53298
+ selections: [
53299
+ ...node.selectionSet.selections,
53300
+ {
53301
+ kind: 'Field',
53302
+ name: {
53303
+ kind: 'Name',
53304
+ value: '_drafts',
53305
+ },
53306
+ },
53307
+ ],
53301
53308
  },
53302
- ...node.selectionSet.selections,
53303
- ];
53304
- return node;
53309
+ };
53305
53310
  },
53306
53311
  },
53307
53312
  });
@@ -59850,7 +59855,7 @@ register({
59850
59855
  id: '@salesforce/lds-network-adapter',
59851
59856
  instrument: instrument$1,
59852
59857
  });
59853
- // version: 1.124.6-8cacd232f
59858
+ // version: 1.124.7-ce8012bd1
59854
59859
 
59855
59860
  const { create: create$2, keys: keys$2 } = Object;
59856
59861
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74115,7 +74120,7 @@ register({
74115
74120
  configuration: { ...configurationForGraphQLAdapters },
74116
74121
  instrument,
74117
74122
  });
74118
- // version: 1.124.6-3b244264b
74123
+ // version: 1.124.7-c25b7f2a6
74119
74124
 
74120
74125
  // On core the unstable adapters are re-exported with different names,
74121
74126
 
@@ -76244,7 +76249,7 @@ withDefaultLuvio((luvio) => {
76244
76249
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76245
76250
  graphQLImperative = ldsAdapter;
76246
76251
  });
76247
- // version: 1.124.6-3b244264b
76252
+ // version: 1.124.7-c25b7f2a6
76248
76253
 
76249
76254
  var gqlApi = /*#__PURE__*/Object.freeze({
76250
76255
  __proto__: null,
@@ -76926,4 +76931,4 @@ const { luvio } = getRuntime();
76926
76931
  setDefaultLuvio({ luvio });
76927
76932
 
76928
76933
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
76929
- // version: 1.124.6-8cacd232f
76934
+ // version: 1.124.7-ce8012bd1
@@ -3782,7 +3782,7 @@
3782
3782
  }
3783
3783
  callbacks.push(callback);
3784
3784
  }
3785
- // version: 1.124.6-8cacd232f
3785
+ // version: 1.124.7-ce8012bd1
3786
3786
 
3787
3787
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3788
3788
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15206,7 +15206,7 @@
15206
15206
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15207
15207
  return luvioDocumentNode;
15208
15208
  }
15209
- // version: 1.124.6-8cacd232f
15209
+ // version: 1.124.7-ce8012bd1
15210
15210
 
15211
15211
  function unwrap(data) {
15212
15212
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16119,7 +16119,7 @@
16119
16119
  const { apiFamily, name } = metadata;
16120
16120
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16121
16121
  }
16122
- // version: 1.124.6-8cacd232f
16122
+ // version: 1.124.7-ce8012bd1
16123
16123
 
16124
16124
  /**
16125
16125
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44353,7 +44353,7 @@
44353
44353
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44354
44354
  });
44355
44355
  });
44356
- // version: 1.124.6-3b244264b
44356
+ // version: 1.124.7-c25b7f2a6
44357
44357
 
44358
44358
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44359
44359
 
@@ -53297,17 +53297,22 @@
53297
53297
  if (requestsDraftsField(node))
53298
53298
  return undefined;
53299
53299
  // inject the drafts node for local evaluation since server does not have the 'draft' concept
53300
- node.selectionSet.selections = [
53301
- {
53302
- kind: 'Field',
53303
- name: {
53304
- kind: 'Name',
53305
- value: '_drafts',
53306
- },
53300
+ return {
53301
+ ...node,
53302
+ selectionSet: {
53303
+ ...node.selectionSet,
53304
+ selections: [
53305
+ ...node.selectionSet.selections,
53306
+ {
53307
+ kind: 'Field',
53308
+ name: {
53309
+ kind: 'Name',
53310
+ value: '_drafts',
53311
+ },
53312
+ },
53313
+ ],
53307
53314
  },
53308
- ...node.selectionSet.selections,
53309
- ];
53310
- return node;
53315
+ };
53311
53316
  },
53312
53317
  },
53313
53318
  });
@@ -59856,7 +59861,7 @@
59856
59861
  id: '@salesforce/lds-network-adapter',
59857
59862
  instrument: instrument$1,
59858
59863
  });
59859
- // version: 1.124.6-8cacd232f
59864
+ // version: 1.124.7-ce8012bd1
59860
59865
 
59861
59866
  const { create: create$2, keys: keys$2 } = Object;
59862
59867
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -74121,7 +74126,7 @@
74121
74126
  configuration: { ...configurationForGraphQLAdapters },
74122
74127
  instrument,
74123
74128
  });
74124
- // version: 1.124.6-3b244264b
74129
+ // version: 1.124.7-c25b7f2a6
74125
74130
 
74126
74131
  // On core the unstable adapters are re-exported with different names,
74127
74132
 
@@ -76250,7 +76255,7 @@
76250
76255
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76251
76256
  graphQLImperative = ldsAdapter;
76252
76257
  });
76253
- // version: 1.124.6-3b244264b
76258
+ // version: 1.124.7-c25b7f2a6
76254
76259
 
76255
76260
  var gqlApi = /*#__PURE__*/Object.freeze({
76256
76261
  __proto__: null,
@@ -76949,4 +76954,4 @@
76949
76954
  Object.defineProperty(exports, '__esModule', { value: true });
76950
76955
 
76951
76956
  }));
76952
- // version: 1.124.6-8cacd232f
76957
+ // version: 1.124.7-ce8012bd1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.124.6",
3
+ "version": "1.124.7",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",