Skip to content

Releases: Fastcode/nbsdecoder.js

v0.4.6

20 Aug 06:33
847eebe
Compare
Choose a tag to compare

What's Changed

  • Add missing stdexcept includes by @Bidski in #15

New Contributors

Full Changelog: v0.4.5...v0.4.6

v0.4.5

29 Jul 02:56
bce2671
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.4...v0.4.5

v0.4.4

10 Apr 07:46
4b945eb
Compare
Choose a tag to compare
  • Bundle zlib for building and linking on Windows, to fix use in Electron

v0.4.3

04 Mar 00:35
240833b
Compare
Choose a tag to compare
  • Fixes a precision error when converting JS timestamp objects to uint64_t which affected all functions that took JS timestamps. See #11.

v0.4.2

28 Feb 01:00
0606f63
Compare
Choose a tag to compare

Relaxes the minimum supported Node version back to v14.

Note: although the package should work with Node 14 and above, it is only tested with 18 and above, since Node versions less than 18 are no longer actively maintained.

v0.4.1

26 Feb 02:04
08647c5
Compare
Choose a tag to compare

This is a re-tag of v0.4.0, with a fix for the version number in package.json.

  • Added getTypeIndex() and getPacketByIndex() functions to NbsDecoder class (#8)

Note: the package is no longer tested with Node 14 and Node 16, the latter of which has been EOL since September 2023.

v0.4.0

26 Feb 02:01
a970771
Compare
Choose a tag to compare
  • Added getTypeIndex() and getPacketByIndex() functions to NbsDecoder class (#8)

Note: the package is no longer tested with Node 14 and Node 16, the latter of which has been EOL since September 2023.

v0.3.0

05 Apr 00:53
Compare
Choose a tag to compare
  • Added NbsEncoder class, for writing NBS files
  • Added NbsEncoder.close() for closing loaded decoders and releasing associated file handles

Note: the package is no longer tested with Node 12, which has been EOL since April 2022.

v0.2.0

20 Mar 05:42
Compare
Choose a tag to compare
  • Added a new method nextTimestamp():
  /**
   * Get the timestamp to seek to such that all messages of the given types are stepped by (n) steps
   *
   * @param timestamp  The current timestamp to step from
   * @param type       The type or array of types to step. If unspecified, all types will be stepped.
   * @param steps      Number of steps to move forwards (positive number) or backwards (negative number).
   *                   If 0 or unspecified, returns min or max timestamp matching the given types.
   */
  public nextTimestamp(
    timestamp: number | BigInt | NbsTimestamp,
    type?: NbsTypeSubtype | NbsTypeSubtype[],
    steps?: number
  ): NbsTimestamp;

v0.1.2

02 Mar 07:57
Compare
Choose a tag to compare
  • Rename nbs.d.tsnbsdecoder.d.ts in README