Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@schroffl schroffl released this 15 Aug 08:30
· 11 commits to master since this release

Changelog


Upgrading

If you are upgrading and just want to use the plain old TeamspeakQuery, you'll only have to make some minor changes.

# Old API
- const TeamspeakQuery = require('teamspeak-query');
- const query = new TeamspeakQuery('127.0.0.1', 10011);

# New API
# If you use the default connection options (host '127.0.0.1' on port 10011)
# you don't have to specify them explicitly
+ const TeamspeakQuery = require('teamspeak-query').Raw;
+ const query = new TeamspeakQuery({ host: '127.0.0.1', port: 10011 });