From 01298436439154492f342ae16fa31ae91ca6acea Mon Sep 17 00:00:00 2001 From: Jean-Philippe ALLEGRO <26584973+JiPaix@users.noreply.github.com> Date: Sat, 4 May 2024 08:37:35 +0200 Subject: [PATCH] release 5.2.0 --- CHANGELOG.md | 13 ++++++++++++- package.json | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb03490..fc07806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,18 @@ # Changelog +## [v5.2.0](https://github.com/jipaix/xdccjs/tree/v5.2.0) +### feat(lib) +* add eta to the 'downloading' event + * ```js + xdccJS.on('downloading', (fileInfo, received, percentage, eta) => { + console.log(`${eta} ms remaining`) + }) + ``` +### fix(lib) +* `download()` throttle's option was treated as Bytes instead of KiB +--- ## [v5.1.5](https://github.com/jipaix/xdccjs/tree/v5.1.5) ### feat(lib) -* add add throttle/ipv6 status to `Job.show()` +* add throttle/ipv6 status to `Job.show()` ### fix(lib) * `download()` throttle's option was treated as Bytes instead of KiB --- diff --git a/package.json b/package.json index 3138526..3d2f4a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xdccjs", - "version": "5.1.5", + "version": "5.2.0", "description": "download files from XDCC bots on IRC, complete implementation of the XDCC protocol", "engines": { "node": ">=14.0.0"