# Changelog

v1.1.5

NPM

  • 🛠️ Fixed latency being returned as null instead of zero.

v1.1.4

NPM

  • 🟢 Added lookup option protocolVersion to send requests as different Minecraft versions.

v1.1.3

NPM

  • 🛠️ Fixed Issue #1 of not being able to catch errors, by rejecting network errors instead of throwing them.

v1.1.2

NPM

  • 🛠️ Changed imports to prefix with node: so this package can be properly used with Deno.
  • ⚙️ Standardized quotes from single quotes to double quotes

v1.1.1

NPM

  • 🛠️ Fixed a bug which prevented users from .catch-ing errors thrown from the .lookup function. Any errors that cannot be caught in minecraftstatuspinger should be reported to issues.

  • 🛠️ Fixed a bug where the custom DNS lookup wouldn't properly deliver the DNS data to the createConnection socket, resulting from createConnection asking for either all IPs (array) or just the first one (object) which I needed to return differently.

v1.1.0

NPM

  • 🟢 Added lookup option disableJSONParse to completely skip parsing JSON.
  • ⚙️ Renamed primary lookup option hostname to host, hostname stays as an alias.

all versions