perf: revise core class and make it cleaner (#548)

* feat: rework core protocol a bit

* feat: transform some strings to literals

* feat: check if a param is a promise with instanceof

* fix: shortest RTT not registering properly

* feat: use another optional chaining

* fix: grammatic error in comment

* docs: add CHANGELOG line

* fix: move a start time indicator closer to the source
This commit is contained in:
CosminPerRam 2024-02-24 18:26:48 +02:00 committed by GitHub
parent 6bfc3426e7
commit 6b85c6bc0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 62 additions and 72 deletions

View file

@ -9,6 +9,7 @@
* Assetto Corsa - Fixed how `state.numplayers` is set (By @podrivo #538)
* TeamSpeak 2 - Fixed how `state.name` is set (By @podrivo #544)
* Grand Theft Auto: San Andreas OpenMP - Fixed `state.players` returning an empty array (By @Focus04 #547)
* Perf: Re-write of the `core` class.
## 5.0.0-beta.2
* Fixed support for projects using `require`.