@salesforce/lds-worker-api 1.157.1 → 1.158.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.157.1-a0df85006
773
+ // version: 1.158.0-8b4924803
@@ -3799,7 +3799,7 @@ function withDefaultLuvio(callback) {
3799
3799
  }
3800
3800
  callbacks.push(callback);
3801
3801
  }
3802
- // version: 1.157.1-a0df85006
3802
+ // version: 1.158.0-8b4924803
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.157.1-a0df85006
15235
+ // version: 1.158.0-8b4924803
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.157.1-a0df85006
16148
+ // version: 1.158.0-8b4924803
16149
16149
 
16150
16150
  /**
16151
16151
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -28105,7 +28105,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
28105
28105
  buildCachedSnapshotCachePolicy$z, buildNetworkSnapshotCachePolicy$A);
28106
28106
  };
28107
28107
 
28108
- function validate$10(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28108
+ function validate$11(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28109
28109
  const v_error = (() => {
28110
28110
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28111
28111
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28493,7 +28493,7 @@ function typeCheckConfig$K(untrustedConfig) {
28493
28493
  const untrustedConfig_relatedListsActionParameters_array = [];
28494
28494
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28495
28495
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28496
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$10(untrustedConfig_relatedListsActionParameters_item);
28496
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$11(untrustedConfig_relatedListsActionParameters_item);
28497
28497
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28498
28498
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28499
28499
  }
@@ -36055,7 +36055,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
36055
36055
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36056
36056
  };
36057
36057
 
36058
- function validate$t(obj, path = 'ListOrderedByInfoInputRepresentation') {
36058
+ function validate$u(obj, path = 'ListOrderedByInfoInputRepresentation') {
36059
36059
  const v_error = (() => {
36060
36060
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36061
36061
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36074,7 +36074,7 @@ function validate$t(obj, path = 'ListOrderedByInfoInputRepresentation') {
36074
36074
  return v_error === undefined ? null : v_error;
36075
36075
  }
36076
36076
 
36077
- function validate$s(obj, path = 'ListUserPreferenceInputRepresentation') {
36077
+ function validate$t(obj, path = 'ListUserPreferenceInputRepresentation') {
36078
36078
  const v_error = (() => {
36079
36079
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36080
36080
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36207,7 +36207,7 @@ function typeCheckConfig$o(untrustedConfig) {
36207
36207
  const untrustedConfig_orderedByInfo_array = [];
36208
36208
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36209
36209
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36210
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$t(untrustedConfig_orderedByInfo_item);
36210
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedByInfo_item);
36211
36211
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36212
36212
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36213
36213
  }
@@ -36215,7 +36215,7 @@ function typeCheckConfig$o(untrustedConfig) {
36215
36215
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36216
36216
  }
36217
36217
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36218
- const referenceListUserPreferenceInputRepresentationValidationError = validate$s(untrustedConfig_userPreferences);
36218
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$t(untrustedConfig_userPreferences);
36219
36219
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36220
36220
  config.userPreferences = untrustedConfig_userPreferences;
36221
36221
  }
@@ -36947,7 +36947,7 @@ function typeCheckConfig$l(untrustedConfig) {
36947
36947
  const untrustedConfig_orderedBy_array = [];
36948
36948
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36949
36949
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36950
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$t(untrustedConfig_orderedBy_item);
36950
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedBy_item);
36951
36951
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36952
36952
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36953
36953
  }
@@ -36991,7 +36991,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
36991
36991
  };
36992
36992
  };
36993
36993
 
36994
- function validate$q(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36994
+ function validate$r(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36995
36995
  const v_error = (() => {
36996
36996
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36997
36997
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37960,7 +37960,7 @@ function typeCheckConfig$k(untrustedConfig) {
37960
37960
  const untrustedConfig_relatedListParameters_array = [];
37961
37961
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37962
37962
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37963
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$q(untrustedConfig_relatedListParameters_item);
37963
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$r(untrustedConfig_relatedListParameters_item);
37964
37964
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37965
37965
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37966
37966
  }
@@ -39172,7 +39172,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
39172
39172
  };
39173
39173
 
39174
39174
  const TTL$6 = 200;
39175
- const VERSION$8$1 = "9760c93d10288bb6889882c757514189";
39175
+ const VERSION$8$1 = "da21e889922062e90012ba48c4a733e2";
39176
39176
  const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
39177
39177
  function keyBuilder$f$1(luvio, config) {
39178
39178
  return keyPrefix$1 + '::' + RepresentationType$9 + ':' + config.query;
@@ -44016,7 +44016,7 @@ withDefaultLuvio((luvio) => {
44016
44016
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44017
44017
  });
44018
44018
  });
44019
- // version: 1.157.1-633c9f497
44019
+ // version: 1.158.0-9275eaa3c
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.157.1-a0df85006
60053
+ // version: 1.158.0-8b4924803
60054
60054
 
60055
60055
  const { create: create$2, keys: keys$2 } = Object;
60056
60056
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -80895,7 +80895,7 @@ register({
80895
80895
  configuration: { ...configurationForGraphQLAdapters },
80896
80896
  instrument,
80897
80897
  });
80898
- // version: 1.157.1-633c9f497
80898
+ // version: 1.158.0-9275eaa3c
80899
80899
 
80900
80900
  // On core the unstable adapters are re-exported with different names,
80901
80901
 
@@ -83142,7 +83142,7 @@ withDefaultLuvio((luvio) => {
83142
83142
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
83143
83143
  graphQLImperative = ldsAdapter;
83144
83144
  });
83145
- // version: 1.157.1-633c9f497
83145
+ // version: 1.158.0-9275eaa3c
83146
83146
 
83147
83147
  var gqlApi = /*#__PURE__*/Object.freeze({
83148
83148
  __proto__: null,
@@ -83831,4 +83831,4 @@ const { luvio } = getRuntime();
83831
83831
  setDefaultLuvio({ luvio });
83832
83832
 
83833
83833
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
83834
- // version: 1.157.1-a0df85006
83834
+ // version: 1.158.0-8b4924803
@@ -3805,7 +3805,7 @@
3805
3805
  }
3806
3806
  callbacks.push(callback);
3807
3807
  }
3808
- // version: 1.157.1-a0df85006
3808
+ // version: 1.158.0-8b4924803
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.157.1-a0df85006
15241
+ // version: 1.158.0-8b4924803
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.157.1-a0df85006
16154
+ // version: 1.158.0-8b4924803
16155
16155
 
16156
16156
  /**
16157
16157
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -28111,7 +28111,7 @@
28111
28111
  buildCachedSnapshotCachePolicy$z, buildNetworkSnapshotCachePolicy$A);
28112
28112
  };
28113
28113
 
28114
- function validate$10(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28114
+ function validate$11(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28115
28115
  const v_error = (() => {
28116
28116
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28117
28117
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28499,7 +28499,7 @@
28499
28499
  const untrustedConfig_relatedListsActionParameters_array = [];
28500
28500
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28501
28501
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28502
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$10(untrustedConfig_relatedListsActionParameters_item);
28502
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$11(untrustedConfig_relatedListsActionParameters_item);
28503
28503
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28504
28504
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28505
28505
  }
@@ -36061,7 +36061,7 @@
36061
36061
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36062
36062
  };
36063
36063
 
36064
- function validate$t(obj, path = 'ListOrderedByInfoInputRepresentation') {
36064
+ function validate$u(obj, path = 'ListOrderedByInfoInputRepresentation') {
36065
36065
  const v_error = (() => {
36066
36066
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36067
36067
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36080,7 +36080,7 @@
36080
36080
  return v_error === undefined ? null : v_error;
36081
36081
  }
36082
36082
 
36083
- function validate$s(obj, path = 'ListUserPreferenceInputRepresentation') {
36083
+ function validate$t(obj, path = 'ListUserPreferenceInputRepresentation') {
36084
36084
  const v_error = (() => {
36085
36085
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36086
36086
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36213,7 +36213,7 @@
36213
36213
  const untrustedConfig_orderedByInfo_array = [];
36214
36214
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36215
36215
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36216
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$t(untrustedConfig_orderedByInfo_item);
36216
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedByInfo_item);
36217
36217
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36218
36218
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36219
36219
  }
@@ -36221,7 +36221,7 @@
36221
36221
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36222
36222
  }
36223
36223
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36224
- const referenceListUserPreferenceInputRepresentationValidationError = validate$s(untrustedConfig_userPreferences);
36224
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$t(untrustedConfig_userPreferences);
36225
36225
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36226
36226
  config.userPreferences = untrustedConfig_userPreferences;
36227
36227
  }
@@ -36953,7 +36953,7 @@
36953
36953
  const untrustedConfig_orderedBy_array = [];
36954
36954
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36955
36955
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36956
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$t(untrustedConfig_orderedBy_item);
36956
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedBy_item);
36957
36957
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36958
36958
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36959
36959
  }
@@ -36997,7 +36997,7 @@
36997
36997
  };
36998
36998
  };
36999
36999
 
37000
- function validate$q(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
37000
+ function validate$r(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
37001
37001
  const v_error = (() => {
37002
37002
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
37003
37003
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37966,7 +37966,7 @@
37966
37966
  const untrustedConfig_relatedListParameters_array = [];
37967
37967
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37968
37968
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37969
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$q(untrustedConfig_relatedListParameters_item);
37969
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$r(untrustedConfig_relatedListParameters_item);
37970
37970
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37971
37971
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37972
37972
  }
@@ -39178,7 +39178,7 @@
39178
39178
  };
39179
39179
 
39180
39180
  const TTL$6 = 200;
39181
- const VERSION$8$1 = "9760c93d10288bb6889882c757514189";
39181
+ const VERSION$8$1 = "da21e889922062e90012ba48c4a733e2";
39182
39182
  const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
39183
39183
  function keyBuilder$f$1(luvio, config) {
39184
39184
  return keyPrefix$1 + '::' + RepresentationType$9 + ':' + config.query;
@@ -44022,7 +44022,7 @@
44022
44022
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44023
44023
  });
44024
44024
  });
44025
- // version: 1.157.1-633c9f497
44025
+ // version: 1.158.0-9275eaa3c
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.157.1-a0df85006
60059
+ // version: 1.158.0-8b4924803
60060
60060
 
60061
60061
  const { create: create$2, keys: keys$2 } = Object;
60062
60062
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -80901,7 +80901,7 @@
80901
80901
  configuration: { ...configurationForGraphQLAdapters },
80902
80902
  instrument,
80903
80903
  });
80904
- // version: 1.157.1-633c9f497
80904
+ // version: 1.158.0-9275eaa3c
80905
80905
 
80906
80906
  // On core the unstable adapters are re-exported with different names,
80907
80907
 
@@ -83148,7 +83148,7 @@
83148
83148
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
83149
83149
  graphQLImperative = ldsAdapter;
83150
83150
  });
83151
- // version: 1.157.1-633c9f497
83151
+ // version: 1.158.0-9275eaa3c
83152
83152
 
83153
83153
  var gqlApi = /*#__PURE__*/Object.freeze({
83154
83154
  __proto__: null,
@@ -83854,4 +83854,4 @@
83854
83854
  Object.defineProperty(exports, '__esModule', { value: true });
83855
83855
 
83856
83856
  }));
83857
- // version: 1.157.1-a0df85006
83857
+ // version: 1.158.0-8b4924803
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.157.1",
3
+ "version": "1.158.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",