@salesforce/lds-worker-api 1.366.0 → 1.368.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.
@@ -1118,11 +1118,9 @@ function handleInstrumentation(activity, stat, progress) {
1118
1118
  isCanceled: status === 'Canceled',
1119
1119
  };
1120
1120
  if (status === 'Error') {
1121
- activity.error(progress.message, schema, userData);
1122
- }
1123
- else if (status === 'Succeeded' || status === 'Canceled') {
1124
- activity.stop(schema, userData);
1121
+ activity.error(progress.message);
1125
1122
  }
1123
+ activity.stop(schema, userData);
1126
1124
  }
1127
1125
 
1128
1126
  const LUVIO_ADAPTER_FAMILY = /^force\/ldsAdapters/;
@@ -1224,4 +1222,4 @@ if (process.env.NODE_ENV !== 'production') {
1224
1222
  }
1225
1223
 
1226
1224
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
1227
- // version: 1.366.0-30380c7ed7
1225
+ // version: 1.368.0-20c9e0247b