1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00

Merge pull request #455 from anyproto/GO-5667-update-protocol-version

GO-5667: Update proto versions
This commit is contained in:
Mikhail Rakhmanov 2025-05-21 13:42:10 +02:00 committed by GitHub
commit c86f0c0dc8
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -31,13 +31,14 @@ var (
// ProtoVersion 4 - new sync compatible version
// ProtoVersion 5 - sync with no entry space
// ProtoVersion 6 - sync with key value messages
CompatibleVersion = uint32(4)
ProtoVersion = uint32(5)
KeyValueVersion = uint32(6)
// ProtoVersion 7 - sync with new invites
CompatibleVersion = uint32(5)
ProtoVersion = uint32(6)
NewInvitesVersion = uint32(7)
)
var (
compatibleVersions = []uint32{CompatibleVersion, ProtoVersion, KeyValueVersion}
compatibleVersions = []uint32{CompatibleVersion, ProtoVersion, NewInvitesVersion}
)
func New() SecureService {