1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

Update proto versions

This commit is contained in:
Mikhail Rakhmanov 2025-05-21 13:36:40 +02:00
parent c37a139fba
commit dc2c7dacfc
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

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