@hyper-fetch/core 5.7.5 → 5.7.6-beta.1

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.
@@ -906,6 +906,7 @@ var Dispatcher = class {
906
906
  retries: storageElement.retries,
907
907
  timestamp: +new Date()
908
908
  };
909
+ requestManager.events.emitResponse(cacheKey, requestId, response, requestDetails);
909
910
  requestManager.events.emitLoading(queueKey, requestId, {
910
911
  queueKey,
911
912
  requestId,
@@ -913,7 +914,6 @@ var Dispatcher = class {
913
914
  isRetry: !!storageElement.retries,
914
915
  isOffline
915
916
  });
916
- requestManager.events.emitResponse(cacheKey, requestId, response, requestDetails);
917
917
  cache.set(request, __spreadValues(__spreadValues({}, response), requestDetails));
918
918
  this.logger.info("Request finished", { requestId, request, response, requestDetails });
919
919
  if (isCanceled) {