Releases: Fastcode/nbsdecoder.js
Releases · Fastcode/nbsdecoder.js
Release list
v0.4.6
v0.4.5
What's Changed
- Fix encoder file opening on Windows by @AWann2 in #13
- Fix issues building with node 22 by @TrentHouliston in #14
New Contributors
- @TrentHouliston made their first contribution in #14
Full Changelog: v0.4.4...v0.4.5
v0.4.4
- Bundle zlib for building and linking on Windows, to fix use in Electron
v0.4.3
- Fixes a precision error when converting JS timestamp objects to
uint64_twhich affected all functions that took JS timestamps. See #11.
v0.4.2
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
This is a re-tag of v0.4.0, with a fix for the version number in package.json.
- Added
getTypeIndex()andgetPacketByIndex()functions toNbsDecoderclass (#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
- Added
getTypeIndex()andgetPacketByIndex()functions toNbsDecoderclass (#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
- Added
NbsEncoderclass, 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
- 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
- Rename
nbs.d.ts→nbsdecoder.d.tsin README