mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
update deps
This commit is contained in:
parent
1178c369c2
commit
776e2fb33c
@ -59,14 +59,14 @@ dependencies {
|
||||
implementation(kotlin("stdlib-jdk8"))
|
||||
implementation(kotlin("reflect"))
|
||||
|
||||
val vvVer = "4.5.0"
|
||||
val vbVer = "4.5.0"
|
||||
val vvVer = "4.5.2-SNAPSHOT"
|
||||
val vbVer = "4.5.2-SNAPSHOT"
|
||||
val vrVer = "9e4ac93"
|
||||
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
|
||||
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
|
||||
implementation("com.github.ViaVersion.ViaRewind:viarewind-all:$vrVer") { isTransitive = false }
|
||||
|
||||
val nettyVer = "4.1.85.Final"
|
||||
val nettyVer = "4.1.86.Final"
|
||||
implementation("io.netty:netty-handler-proxy:$nettyVer")
|
||||
implementation("io.netty:netty-resolver-dns:$nettyVer")
|
||||
implementation("io.netty:netty-transport-native-epoll:$nettyVer:linux-aarch_64")
|
||||
@ -93,7 +93,7 @@ dependencies {
|
||||
implementation("org.jline:jline-terminal-jansi:3.21.0")
|
||||
implementation("org.slf4j:slf4j-api:$slf4jVer")
|
||||
|
||||
val ktorVersion = "2.1.3"
|
||||
val ktorVersion = "2.2.1"
|
||||
implementation("io.ktor:ktor-network-tls-certificates-jvm:$ktorVersion")
|
||||
implementation("io.ktor:ktor-server-websockets:$ktorVersion")
|
||||
implementation("io.ktor:ktor-server-netty-jvm:$ktorVersion")
|
||||
|
@ -429,7 +429,7 @@ class McAccount {
|
||||
}
|
||||
return Promise.resolve();
|
||||
})
|
||||
.catch(e => addToast("Failed to refresh token!", e));
|
||||
.catch(e => addToast("Failed to refresh mc token!", e));
|
||||
}
|
||||
}
|
||||
class MicrosoftAccount extends McAccount {
|
||||
@ -556,11 +556,11 @@ $(() => myMSALObj.handleRedirectPromise().then((resp) => {
|
||||
let accNew = new MicrosoftAccount("", "", "", resp.account.username);
|
||||
accNew.refresh()
|
||||
.then(() => addActiveAccount(accNew))
|
||||
.catch(e => addToast("Failed to get token", e));
|
||||
.catch(e => addToast("Failed to get mc token", e));
|
||||
}
|
||||
else {
|
||||
found.refresh()
|
||||
.catch(e => addToast("Failed to refresh token", e));
|
||||
.catch(e => addToast("Failed to refresh mc token", e));
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
@ -478,7 +478,7 @@ class McAccount {
|
||||
}
|
||||
return Promise.resolve();
|
||||
})
|
||||
.catch(e => addToast("Failed to refresh token!", e));
|
||||
.catch(e => addToast("Failed to refresh mc token!", e));
|
||||
}
|
||||
}
|
||||
|
||||
@ -621,10 +621,10 @@ $(() => myMSALObj.handleRedirectPromise().then((resp: any) => {
|
||||
let accNew = new MicrosoftAccount("", "", "", resp.account.username);
|
||||
accNew.refresh()
|
||||
.then(() => addActiveAccount(accNew))
|
||||
.catch(e => addToast("Failed to get token", e));
|
||||
.catch(e => addToast("Failed to get mc token", e));
|
||||
} else {
|
||||
found.refresh()
|
||||
.catch(e => addToast("Failed to refresh token", e));
|
||||
.catch(e => addToast("Failed to refresh mc token", e));
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user