@salesforce/lds-worker-api 1.313.0 → 1.314.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.
@@ -596,6 +596,11 @@ function draftIdsForResponseValue(response) {
596
596
  response.data.contentVersion.drafts.draftActionIds !== undefined) {
597
597
  return response.data.contentVersion.drafts.draftActionIds;
598
598
  }
599
+ if (response.data !== undefined &&
600
+ response.data.drafts !== undefined &&
601
+ response.data.drafts.draftActionId !== undefined) {
602
+ return [response.data.drafts.draftActionId];
603
+ }
599
604
  return undefined;
600
605
  }
601
606
  /**
@@ -1087,4 +1092,4 @@ if (process.env.NODE_ENV !== 'production') {
1087
1092
  }
1088
1093
 
1089
1094
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
1090
- // version: 1.313.0-bf88d762e3
1095
+ // version: 1.314.0-5a451c78cd