Version 1.2.0
✨ New features:
- TA Network API now has a logo!
- New
WatchNowMessage
class allows you to fetch data from the "Watch-now" menu. - Support for decoding items (video names & links) from the "Watch-now" menu.
- The
Decoder
class now has an optionaloptions
argument, giving you better control over the output:const options = { clean: true // Provide a clean output (remove empty objects, nulls, etc). }; const decoder = new Decoder(tree, options);
- The
LoginServerConnection
class now has anoptions
argument too:(You can find more info about these options in the readme)const options = { authenticate: true, // Automatically authenticate upon connection. decoder: { // (Passed to the internal Decoder) clean: true } }; const connection = new LoginServerConnection('hirez', credentials, options);