update deps

This commit is contained in:
creeper123123321 2022-12-30 07:37:01 -03:00
parent 1178c369c2
commit 776e2fb33c
3 changed files with 10 additions and 10 deletions

View File

@ -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")

View File

@ -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));
}
}
}));

View File

@ -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));
}
}
}));