@salesforce/lds-worker-api 1.136.3 → 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.3-9e778e08e
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.3-9e778e08e
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.3-9e778e08e
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.3-9e778e08e
16137
+ // version: 1.136.5-4301ab650
16138
16138
 
16139
16139
  /**
16140
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -29195,7 +29195,7 @@ function getTypeCacheKeys$x$1(luvio, input, fullPathFactory) {
29195
29195
  }
29196
29196
 
29197
29197
  const TTL$l = 300000;
29198
- const VERSION$N$1 = "f0c7134ce18a20d9eb4ae8e4e8ebb0fe";
29198
+ const VERSION$N$1 = "38ee38ead5262047cfa7604e8bf72d4b";
29199
29199
  const RepresentationType$v = 'AppRepresentation';
29200
29200
  function keyBuilder$17(luvio, config) {
29201
29201
  return keyPrefix$1 + '::' + RepresentationType$v + ':' + config.appId;
@@ -29366,11 +29366,6 @@ function equals$A(existing, incoming) {
29366
29366
  if (!(existing_headerColor === incoming_headerColor)) {
29367
29367
  return false;
29368
29368
  }
29369
- const existing_iconUrl = existing.iconUrl;
29370
- const incoming_iconUrl = incoming.iconUrl;
29371
- if (!(existing_iconUrl === incoming_iconUrl)) {
29372
- return false;
29373
- }
29374
29369
  const existing_label = existing.label;
29375
29370
  const incoming_label = incoming.label;
29376
29371
  if (!(existing_label === incoming_label)) {
@@ -29406,6 +29401,11 @@ function equals$A(existing, incoming) {
29406
29401
  if (equals_formFactors_items === false) {
29407
29402
  return false;
29408
29403
  }
29404
+ const existing_iconUrl = existing.iconUrl;
29405
+ const incoming_iconUrl = incoming.iconUrl;
29406
+ if (!(existing_iconUrl === incoming_iconUrl)) {
29407
+ return false;
29408
+ }
29409
29409
  const existing_mobileStartUrl = existing.mobileStartUrl;
29410
29410
  const incoming_mobileStartUrl = incoming.mobileStartUrl;
29411
29411
  if (!(existing_mobileStartUrl === incoming_mobileStartUrl)) {
@@ -43901,7 +43901,7 @@ withDefaultLuvio((luvio) => {
43901
43901
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43902
43902
  });
43903
43903
  });
43904
- // version: 1.136.3-925803f5f
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.3-9e778e08e
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.3-925803f5f
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.3-925803f5f
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.3-9e778e08e
76754
+ // version: 1.136.5-4301ab650
@@ -3803,7 +3803,7 @@
3803
3803
  }
3804
3804
  callbacks.push(callback);
3805
3805
  }
3806
- // version: 1.136.3-9e778e08e
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.3-9e778e08e
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.3-9e778e08e
16143
+ // version: 1.136.5-4301ab650
16144
16144
 
16145
16145
  /**
16146
16146
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -29201,7 +29201,7 @@
29201
29201
  }
29202
29202
 
29203
29203
  const TTL$l = 300000;
29204
- const VERSION$N$1 = "f0c7134ce18a20d9eb4ae8e4e8ebb0fe";
29204
+ const VERSION$N$1 = "38ee38ead5262047cfa7604e8bf72d4b";
29205
29205
  const RepresentationType$v = 'AppRepresentation';
29206
29206
  function keyBuilder$17(luvio, config) {
29207
29207
  return keyPrefix$1 + '::' + RepresentationType$v + ':' + config.appId;
@@ -29372,11 +29372,6 @@
29372
29372
  if (!(existing_headerColor === incoming_headerColor)) {
29373
29373
  return false;
29374
29374
  }
29375
- const existing_iconUrl = existing.iconUrl;
29376
- const incoming_iconUrl = incoming.iconUrl;
29377
- if (!(existing_iconUrl === incoming_iconUrl)) {
29378
- return false;
29379
- }
29380
29375
  const existing_label = existing.label;
29381
29376
  const incoming_label = incoming.label;
29382
29377
  if (!(existing_label === incoming_label)) {
@@ -29412,6 +29407,11 @@
29412
29407
  if (equals_formFactors_items === false) {
29413
29408
  return false;
29414
29409
  }
29410
+ const existing_iconUrl = existing.iconUrl;
29411
+ const incoming_iconUrl = incoming.iconUrl;
29412
+ if (!(existing_iconUrl === incoming_iconUrl)) {
29413
+ return false;
29414
+ }
29415
29415
  const existing_mobileStartUrl = existing.mobileStartUrl;
29416
29416
  const incoming_mobileStartUrl = incoming.mobileStartUrl;
29417
29417
  if (!(existing_mobileStartUrl === incoming_mobileStartUrl)) {
@@ -43907,7 +43907,7 @@
43907
43907
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43908
43908
  });
43909
43909
  });
43910
- // version: 1.136.3-925803f5f
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.3-9e778e08e
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.3-925803f5f
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.3-925803f5f
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.3-9e778e08e
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.3",
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",