Skip to content

Commit

Permalink
feat: set api v7 as supported (#3152)
Browse files Browse the repository at this point in the history
Co-authored-by: Vitor Hugo Schwaab <[email protected]>
  • Loading branch information
MohamadJaara and vitorhugods authored Dec 6, 2024
1 parent d8b69f1 commit 46ab0bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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, 6)
val SupportedApiVersions: Set<Int> = setOf(0, 1, 2, 4, 5, 6, 7)

// 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(7)
val DevelopmentApiVersions: Set<Int> = emptySet()

// You can use scripts/generate_new_api_version.sh or gradle task network:generateNewApiVersion to
// bump API version and generate all needed classes
Expand Down

0 comments on commit 46ab0bc

Please sign in to comment.