Comparing version 3.0.10 to 3.0.11
@@ -50,3 +50,3 @@ import ProgressStatusFile, { DownloadStatus } from "./progress-status-file.js"; | ||
.reduce((acc, bytes) => acc + bytes, 0); | ||
const partNotFinishedYet = this._progress.part < this.file.parts.length - 1; | ||
const partNotFinishedYet = this._downloadStatus !== DownloadStatus.Finished; | ||
const chunksBytes = (partNotFinishedYet ? activeDownloadBytes : 0) + previousPartsBytes; | ||
@@ -53,0 +53,0 @@ return Math.min(chunksBytes + streamingBytes, this.downloadSize); |
{ | ||
"name": "ipull", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "The only file downloader you'll ever need. For node.js and the browser, CLI and library for fast and reliable file downloads.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
239888