diff --git a/build.gradle.kts b/build.gradle.kts index 0d713cd..d8bf19a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -9,7 +9,7 @@ val logback_version="1.2.10" group = "net.sergeych" -version = "0.2.2" +version = "0.2.4" repositories { mavenCentral() @@ -52,8 +52,7 @@ kotlin { dependencies { implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3") api("net.sergeych:unikrypto:1.2.2-SNAPSHOT") - api("net.sergeych:parsec3:0.4.3-SNAPSHOT") - api("net.sergeych:boss-serialization-mp:0.2.4-SNAPSHOT") + api("net.sergeych:parsec3:0.4.5") api("net.sergeych:unikrypto:1.2.5") } } diff --git a/src/commonTest/kotlin/superlogin/AccessControlObjectTest.kt b/src/commonTest/kotlin/superlogin/AccessControlObjectTest.kt index 89c1c82..bc85107 100644 --- a/src/commonTest/kotlin/superlogin/AccessControlObjectTest.kt +++ b/src/commonTest/kotlin/superlogin/AccessControlObjectTest.kt @@ -18,7 +18,7 @@ internal class AccessControlObjectTest { val pk1 = SymmetricKeys.random() val pk2 = SymmetricKeys.random() val (rk, packed1) = AccessControlObject.pack(pk1, 117) - println(rk.secret) +// println(rk.secret) val ac1 = AccessControlObject.unpackWithKey(packed1,pk1) assertNotNull(ac1) assertEquals(117, ac1.payload) diff --git a/src/jvmTest/kotlin/net/sergeych/WsServerKtTest.kt b/src/jvmTest/kotlin/net/sergeych/WsServerKtTest.kt index 6f73dd0..05cf5e4 100644 --- a/src/jvmTest/kotlin/net/sergeych/WsServerKtTest.kt +++ b/src/jvmTest/kotlin/net/sergeych/WsServerKtTest.kt @@ -59,7 +59,7 @@ data class TestSession(val s: TestStorage) : SLServerSession() { } override suspend fun loginByToken(token: ByteArray): AuthenticationResult { - println("requested login by tokeb ${token.encodeToBase64Compact()}") + println("requested login by token ${token.encodeToBase64Compact()}") println(" ${s.byToken[token.toList()]}") println(" ${s.byToken.size} / ${s.byLoginId.size}")