release 5.3.1

This commit is contained in:
Nick Krecklow
2020-05-05 23:45:04 -05:00
parent 4c2c8492b8
commit 49379acc77
6 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,13 @@
const MOJANG_STATUS_BASE_CLASS = 'header-button header-button-group'
const MOJANG_SERVICE_NAMES = ['Auth', 'Sessions', 'API', 'Skins']
export class MojangUpdater {
updateStatus (services) {
for (const name of Object.keys(services)) {
this.updateServiceStatus(name, services[name])
for (const name of MOJANG_SERVICE_NAMES) {
if (services[name]) {
this.updateServiceStatus(name, services[name])
}
}
}