From a02f920b26324eaf187fa7bcb0fc48d128475a59 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 27 Nov 2024 18:45:01 +0200 Subject: [PATCH] feat: Move API V6 to supported (#3135) --- .../kotlin/com/wire/kalium/network/BackendMetaDataUtil.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/src/commonMain/kotlin/com/wire/kalium/network/BackendMetaDataUtil.kt b/network/src/commonMain/kotlin/com/wire/kalium/network/BackendMetaDataUtil.kt index ac9a476751..be435578cf 100644 --- a/network/src/commonMain/kotlin/com/wire/kalium/network/BackendMetaDataUtil.kt +++ b/network/src/commonMain/kotlin/com/wire/kalium/network/BackendMetaDataUtil.kt @@ -23,11 +23,11 @@ import com.wire.kalium.network.api.unbound.versioning.VersionInfoDTO // They are not truly constants as set is not a primitive type, yet are treated as one in this context @Suppress("MagicNumber") -val SupportedApiVersions = setOf(0, 1, 2, 4, 5) +val SupportedApiVersions = setOf(0, 1, 2, 4, 5, 6) // They are not truly constants as set is not a primitive type, yet are treated as one in this context @Suppress("MagicNumber") -val DevelopmentApiVersions = setOf(6, 7) +val DevelopmentApiVersions = setOf(7) // You can use scripts/generate_new_api_version.sh or gradle task network:generateNewApiVersion to // bump API version and generate all needed classes