@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.
@@ -802,6 +802,7 @@ var Dispatcher = class {
802
802
  retries: storageElement.retries,
803
803
  timestamp: +new Date()
804
804
  };
805
+ requestManager.events.emitResponse(cacheKey, requestId, response, requestDetails);
805
806
  requestManager.events.emitLoading(queueKey, requestId, {
806
807
  queueKey,
807
808
  requestId,
@@ -809,7 +810,6 @@ var Dispatcher = class {
809
810
  isRetry: !!storageElement.retries,
810
811
  isOffline
811
812
  });
812
- requestManager.events.emitResponse(cacheKey, requestId, response, requestDetails);
813
813
  cache.set(request, __spreadValues(__spreadValues({}, response), requestDetails));
814
814
  this.logger.info("Request finished", { requestId, request, response, requestDetails });
815
815
  if (isCanceled) {