mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
fix(core): reassign version to make sure the type is string (#735)
* fix(core): reassign version to make sure the type is string * docs: update CHANGELOG.md * docs: update CHANGELOG.md
This commit is contained in:
parent
27709572c9
commit
7823b2da12
2 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
* Feat: SCP: Secret Laboratory (2020) - Added support (#715, thanks @Draakoor)
|
||||
* Fix: Farming Simulator handle possible missing mod attribute (By @yellowfromseegg #723)
|
||||
* Fix: BeamMP would not match on given port (#730)
|
||||
* Fix: version field would sometimes be a Number type (#735)
|
||||
|
||||
## 5.3.1
|
||||
* Fix: HTTP requests would end up making more retries than needed due to got's internal retry mechanism (#690, thanks @RattleSN4K3)
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ export default class Core extends EventEmitter {
|
|||
state.name = (state.name || '').trim()
|
||||
state.connect = state.connect || `${state.gameHost || options.host || options.address}:${state.gamePort || options.port}`
|
||||
state.ping = this.shortestRTT
|
||||
state.version = String(state.version) // #734 - we should eventually do this for the entire query schema
|
||||
|
||||
delete state.gameHost
|
||||
delete state.gamePort
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue