@hyper-fetch/core 5.0.0 → 5.0.2

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.
package/dist/index.d.ts CHANGED
@@ -594,6 +594,7 @@ type DispatcherStorageType = {
594
594
  type RunningRequestValueType = {
595
595
  requestId: string;
596
596
  request: RequestInstance;
597
+ timestamp: number;
597
598
  };
598
599
 
599
600
  declare const getDispatcherDrainedEventKey: (key: string) => string;
package/dist/index.esm.js CHANGED
@@ -731,7 +731,7 @@ var Dispatcher = class {
731
731
  };
732
732
  this.addRunningRequest = (queueKey, requestId, request) => {
733
733
  const runningRequests = this.getRunningRequests(queueKey);
734
- runningRequests.push({ requestId, request });
734
+ runningRequests.push({ requestId, request, timestamp: Date.now() });
735
735
  this.runningRequests.set(queueKey, runningRequests);
736
736
  };
737
737
  this.hasRunningRequests = (queueKey) => {