@salesforce/lds-worker-api 1.181.0 → 1.182.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.181.0-ca3a0a3cc
773
+ // version: 1.182.0-d98a9db97
@@ -3799,7 +3799,7 @@ function withDefaultLuvio(callback) {
3799
3799
  }
3800
3800
  callbacks.push(callback);
3801
3801
  }
3802
- // version: 1.181.0-ca3a0a3cc
3802
+ // version: 1.182.0-d98a9db97
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.181.0-ca3a0a3cc
15235
+ // version: 1.182.0-d98a9db97
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.181.0-ca3a0a3cc
16148
+ // version: 1.182.0-d98a9db97
16149
16149
 
16150
16150
  /**
16151
16151
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44444,7 +44444,7 @@ withDefaultLuvio((luvio) => {
44444
44444
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44445
44445
  });
44446
44446
  });
44447
- // version: 1.181.0-fd5b8e93e
44447
+ // version: 1.182.0-84968af24
44448
44448
 
44449
44449
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44450
44450
 
@@ -50353,7 +50353,7 @@ class AbstractResourceRequestActionHandler {
50353
50353
  shouldRetry = true;
50354
50354
  break;
50355
50355
  case 409 /* IdempotentWriteSpecificHttpStatusCode.Conflict */: {
50356
- const errorCode = JSON.parse(response.body)[0].errorCode;
50356
+ const errorCode = response.body[0].errorCode;
50357
50357
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
50358
50358
  updatedAction.data.headers = updatedAction.data.headers || {};
50359
50359
  updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
@@ -60664,7 +60664,7 @@ register({
60664
60664
  id: '@salesforce/lds-network-adapter',
60665
60665
  instrument: instrument$1,
60666
60666
  });
60667
- // version: 1.181.0-ca3a0a3cc
60667
+ // version: 1.182.0-d98a9db97
60668
60668
 
60669
60669
  const { create: create$2, keys: keys$2 } = Object;
60670
60670
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -78007,7 +78007,7 @@ register({
78007
78007
  configuration: { ...configurationForGraphQLAdapters },
78008
78008
  instrument,
78009
78009
  });
78010
- // version: 1.181.0-fd5b8e93e
78010
+ // version: 1.182.0-84968af24
78011
78011
 
78012
78012
  // On core the unstable adapters are re-exported with different names,
78013
78013
 
@@ -80254,7 +80254,7 @@ withDefaultLuvio((luvio) => {
80254
80254
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
80255
80255
  graphQLImperative = ldsAdapter;
80256
80256
  });
80257
- // version: 1.181.0-fd5b8e93e
80257
+ // version: 1.182.0-84968af24
80258
80258
 
80259
80259
  var gqlApi = /*#__PURE__*/Object.freeze({
80260
80260
  __proto__: null,
@@ -80943,4 +80943,4 @@ const { luvio } = getRuntime();
80943
80943
  setDefaultLuvio({ luvio });
80944
80944
 
80945
80945
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
80946
- // version: 1.181.0-ca3a0a3cc
80946
+ // version: 1.182.0-d98a9db97
@@ -3805,7 +3805,7 @@
3805
3805
  }
3806
3806
  callbacks.push(callback);
3807
3807
  }
3808
- // version: 1.181.0-ca3a0a3cc
3808
+ // version: 1.182.0-d98a9db97
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.181.0-ca3a0a3cc
15241
+ // version: 1.182.0-d98a9db97
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.181.0-ca3a0a3cc
16154
+ // version: 1.182.0-d98a9db97
16155
16155
 
16156
16156
  /**
16157
16157
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -44450,7 +44450,7 @@
44450
44450
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
44451
44451
  });
44452
44452
  });
44453
- // version: 1.181.0-fd5b8e93e
44453
+ // version: 1.182.0-84968af24
44454
44454
 
44455
44455
  var caseSensitiveUserId = '005B0000000GR4OIAW';
44456
44456
 
@@ -50359,7 +50359,7 @@
50359
50359
  shouldRetry = true;
50360
50360
  break;
50361
50361
  case 409 /* IdempotentWriteSpecificHttpStatusCode.Conflict */: {
50362
- const errorCode = JSON.parse(response.body)[0].errorCode;
50362
+ const errorCode = response.body[0].errorCode;
50363
50363
  if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
50364
50364
  updatedAction.data.headers = updatedAction.data.headers || {};
50365
50365
  updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
@@ -60670,7 +60670,7 @@
60670
60670
  id: '@salesforce/lds-network-adapter',
60671
60671
  instrument: instrument$1,
60672
60672
  });
60673
- // version: 1.181.0-ca3a0a3cc
60673
+ // version: 1.182.0-d98a9db97
60674
60674
 
60675
60675
  const { create: create$2, keys: keys$2 } = Object;
60676
60676
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -78013,7 +78013,7 @@
78013
78013
  configuration: { ...configurationForGraphQLAdapters },
78014
78014
  instrument,
78015
78015
  });
78016
- // version: 1.181.0-fd5b8e93e
78016
+ // version: 1.182.0-84968af24
78017
78017
 
78018
78018
  // On core the unstable adapters are re-exported with different names,
78019
78019
 
@@ -80260,7 +80260,7 @@
80260
80260
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
80261
80261
  graphQLImperative = ldsAdapter;
80262
80262
  });
80263
- // version: 1.181.0-fd5b8e93e
80263
+ // version: 1.182.0-84968af24
80264
80264
 
80265
80265
  var gqlApi = /*#__PURE__*/Object.freeze({
80266
80266
  __proto__: null,
@@ -80966,4 +80966,4 @@
80966
80966
  Object.defineProperty(exports, '__esModule', { value: true });
80967
80967
 
80968
80968
  }));
80969
- // version: 1.181.0-ca3a0a3cc
80969
+ // version: 1.182.0-d98a9db97
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.181.0",
3
+ "version": "1.182.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",