* Update index.d.ts to more closely match API.md
* Update to fit more in line with my API.md
Reorder things for my additions and reorders in API.md
* Update API.md from index.d.ts
* Explain writeChannel
* Clarified on all TODOs
* Add fakeHost to client options
* Reorder index.d.ts
* Fix me forgetting options.fakeHost instead of just fakeHost
Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
* Update index.d.ts to more closely match API.md
* Update to fit more in line with my API.md
Reorder things for my additions and reorders in API.md
* Update API.md from index.d.ts
* Explain writeChannel
* Clarified on all TODOs
Co-authored-by: u9g <43508353+u9g@users.noreply.github.com>
* Add `beforeLogin` event on server
* optional function passin instead of emitted event
* Add documentation and bump version
* undo release push
* add test for `beforeLogin`
* Added promised based ping
* made it possible too use both promises and callbacks
* Forgot too mention the callback is optional
* Tests
* Promisify the ping function
* Added Server#.writeToClients()
* Documented server.writeToClients()
* Added test for Server#writeToClients()
* Bad arguments for Promise.all()
* Fixed tests
* Fixed tests
* Fixed tests
* Updated tests
* Reverted timeout to the normal
* add node-fetch and @xboxreplay/xboxlive-auth for microsoft/xbox auth
* decide which authentication to use based on options;
if options.auth === 'microsoft' then use microsoft/xbox auth, else use Yggdrasil until they kill that.
* push working auth
* commentary
* eslint does not like me :(
* User-Agent works just fine without version
* linting = 95% of development
* revert changes to encrypt.js
* set haveCredentials to whether or not we have a token.
Technically this will always be true so...?
* eslint
* mod+create: api + example
* mod: readme.md