Commit Graph

5 Commits

Author SHA1 Message Date
CosminPerRam ad9adff06c
Move to ES6 module (#357)
* Redo imports and exports for lib

* Redo imports and exports for bim

* Redo imports and exports for games

* Remove remaining module.exports

* Use export default in lib

* Use export default in protocols

* Fix import in genreadme.js

* Make package module and solve __dirname

* Fix minecraft protocol imports

* Fix imports on games and make binary runnable

* Renamed protocol class exports to lowercase

* Export promises class as default

* Update README.md to use imports instead of require

* Update CHANGELOG to mention the changes.

* Remove Valve unused imports

* Fix iconv import
2023-09-14 23:28:31 +03:00
Michael Morrison 5c2d15df49 Remove complex `players` setter overload (3.0.8) 2021-12-09 18:08:36 -06:00
Smith 6354e34d18 handle ambiguity of the setters (players, bots)
* cases where the protocol overwrites the property with a prepared Players instance (eg.: minecraft & gamespy3)
2021-12-09 22:56:24 +01:00
Smith e6db2a9b72 fix undef prop 2021-12-09 22:27:44 +01:00
Michael Morrison f70112d092 * Properly handle non-indexed team names in gamespy1 Fixes #213
* Rename raw.steamappid and raw.gameid to raw.appId in steam protocol
* Don't query valve rules by default, unless requestRules option is set Fixes #176
2021-02-25 01:58:35 -06:00