@salesforce/lds-worker-api 1.136.4 → 1.136.5

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.
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
761
761
  }
762
762
 
763
763
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
764
- // version: 1.136.4-be22a02bc
764
+ // version: 1.136.5-4301ab650
@@ -3797,7 +3797,7 @@ function withDefaultLuvio(callback) {
3797
3797
  }
3798
3798
  callbacks.push(callback);
3799
3799
  }
3800
- // version: 1.136.4-be22a02bc
3800
+ // version: 1.136.5-4301ab650
3801
3801
 
3802
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3803
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15221,7 +15221,7 @@ function parseAndVisit(source) {
15221
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15222
15222
  return luvioDocumentNode;
15223
15223
  }
15224
- // version: 1.136.4-be22a02bc
15224
+ // version: 1.136.5-4301ab650
15225
15225
 
15226
15226
  function unwrap(data) {
15227
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16134,7 +16134,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16134
16134
  const { apiFamily, name } = metadata;
16135
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16136
16136
  }
16137
- // version: 1.136.4-be22a02bc
16137
+ // version: 1.136.5-4301ab650
16138
16138
 
16139
16139
  /**
16140
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -43901,7 +43901,7 @@ withDefaultLuvio((luvio) => {
43901
43901
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43902
43902
  });
43903
43903
  });
43904
- // version: 1.136.4-1b206f2a8
43904
+ // version: 1.136.5-9eb467125
43905
43905
 
43906
43906
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43907
43907
 
@@ -49685,6 +49685,8 @@ class AbstractResourceRequestActionHandler {
49685
49685
  };
49686
49686
  // overlay metadata
49687
49687
  merged.metadata = { ...targetMetadata, ...sourceMetadata };
49688
+ // put status back to pending to auto upload if queue is active and targed is at the head.
49689
+ merged.status = DraftActionStatus.Pending;
49688
49690
  return merged;
49689
49691
  }
49690
49692
  shouldDeleteActionByTagOnRemoval(action) {
@@ -59512,7 +59514,7 @@ register({
59512
59514
  id: '@salesforce/lds-network-adapter',
59513
59515
  instrument: instrument$1,
59514
59516
  });
59515
- // version: 1.136.4-be22a02bc
59517
+ // version: 1.136.5-4301ab650
59516
59518
 
59517
59519
  const { create: create$2, keys: keys$2 } = Object;
59518
59520
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -73946,7 +73948,7 @@ register({
73946
73948
  configuration: { ...configurationForGraphQLAdapters },
73947
73949
  instrument,
73948
73950
  });
73949
- // version: 1.136.4-1b206f2a8
73951
+ // version: 1.136.5-9eb467125
73950
73952
 
73951
73953
  // On core the unstable adapters are re-exported with different names,
73952
73954
 
@@ -76057,7 +76059,7 @@ withDefaultLuvio((luvio) => {
76057
76059
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76058
76060
  graphQLImperative = ldsAdapter;
76059
76061
  });
76060
- // version: 1.136.4-1b206f2a8
76062
+ // version: 1.136.5-9eb467125
76061
76063
 
76062
76064
  var gqlApi = /*#__PURE__*/Object.freeze({
76063
76065
  __proto__: null,
@@ -76749,4 +76751,4 @@ const { luvio } = getRuntime();
76749
76751
  setDefaultLuvio({ luvio });
76750
76752
 
76751
76753
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
76752
- // version: 1.136.4-be22a02bc
76754
+ // version: 1.136.5-4301ab650
@@ -3803,7 +3803,7 @@
3803
3803
  }
3804
3804
  callbacks.push(callback);
3805
3805
  }
3806
- // version: 1.136.4-be22a02bc
3806
+ // version: 1.136.5-4301ab650
3807
3807
 
3808
3808
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3809
3809
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15227,7 +15227,7 @@
15227
15227
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15228
15228
  return luvioDocumentNode;
15229
15229
  }
15230
- // version: 1.136.4-be22a02bc
15230
+ // version: 1.136.5-4301ab650
15231
15231
 
15232
15232
  function unwrap(data) {
15233
15233
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16140,7 +16140,7 @@
16140
16140
  const { apiFamily, name } = metadata;
16141
16141
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16142
16142
  }
16143
- // version: 1.136.4-be22a02bc
16143
+ // version: 1.136.5-4301ab650
16144
16144
 
16145
16145
  /**
16146
16146
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -43907,7 +43907,7 @@
43907
43907
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43908
43908
  });
43909
43909
  });
43910
- // version: 1.136.4-1b206f2a8
43910
+ // version: 1.136.5-9eb467125
43911
43911
 
43912
43912
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43913
43913
 
@@ -49691,6 +49691,8 @@
49691
49691
  };
49692
49692
  // overlay metadata
49693
49693
  merged.metadata = { ...targetMetadata, ...sourceMetadata };
49694
+ // put status back to pending to auto upload if queue is active and targed is at the head.
49695
+ merged.status = DraftActionStatus.Pending;
49694
49696
  return merged;
49695
49697
  }
49696
49698
  shouldDeleteActionByTagOnRemoval(action) {
@@ -59518,7 +59520,7 @@
59518
59520
  id: '@salesforce/lds-network-adapter',
59519
59521
  instrument: instrument$1,
59520
59522
  });
59521
- // version: 1.136.4-be22a02bc
59523
+ // version: 1.136.5-4301ab650
59522
59524
 
59523
59525
  const { create: create$2, keys: keys$2 } = Object;
59524
59526
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -73952,7 +73954,7 @@
73952
73954
  configuration: { ...configurationForGraphQLAdapters },
73953
73955
  instrument,
73954
73956
  });
73955
- // version: 1.136.4-1b206f2a8
73957
+ // version: 1.136.5-9eb467125
73956
73958
 
73957
73959
  // On core the unstable adapters are re-exported with different names,
73958
73960
 
@@ -76063,7 +76065,7 @@
76063
76065
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
76064
76066
  graphQLImperative = ldsAdapter;
76065
76067
  });
76066
- // version: 1.136.4-1b206f2a8
76068
+ // version: 1.136.5-9eb467125
76067
76069
 
76068
76070
  var gqlApi = /*#__PURE__*/Object.freeze({
76069
76071
  __proto__: null,
@@ -76772,4 +76774,4 @@
76772
76774
  Object.defineProperty(exports, '__esModule', { value: true });
76773
76775
 
76774
76776
  }));
76775
- // version: 1.136.4-be22a02bc
76777
+ // version: 1.136.5-4301ab650
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.136.4",
3
+ "version": "1.136.5",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",