Skip to content

5.4.9

Compare
Choose a tag to compare
@JiPaix JiPaix released this 04 May 14:41
· 14 commits to main since this release

Deprecated

  • Support for Node versions below 16.0.0 has been discontinued.

Features (lib)

  • Added gecos: Allows the exposure of a custom message to other clients in the "real name" field (WHOIS).
  • Added version: Enables the exposure of the xdccJS version (or a custom message) in the "version" field (WHOIS).
    • new XDCC({
        // ... host, port, etc...
        gecos: 'While many clients refer to this field as "real name," it is actually known as the GECOS field.',
        version: 'mIRC v6.35'
      });
  • Added ETA to the 'downloading' event.
    • xdccJS.on('downloading', (fileInfo, received, percentage, eta) => {
       console.log(`${eta} ms remaining`);
      });

Fixes (lib+cli)

  • The throttle parameter was overlooked in certain edge cases.

Fixes (lib)

  • The download() method's throttle option was incorrectly processed as Bytes instead of KiB.

Chores

  • Transitioned back to npm.
  • Updated eslint configuration.