Skip to content

Commit

Permalink
feat: set api v7 as supported
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamadJaara committed Dec 6, 2024
1 parent 212ddce commit 296aa71
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 296aa71

Please sign in to comment.