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

Add new version

This commit is contained in:
mcrakhman 2024-09-30 16:00:53 +02:00
parent 70214fec8a
commit 387671a5e7
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -29,12 +29,14 @@ var (
// ProtoVersion 2 - acl compatible version // ProtoVersion 2 - acl compatible version
// ProtoVersion 3 - acl with breaking changes / multiplayer // ProtoVersion 3 - acl with breaking changes / multiplayer
// ProtoVersion 4 - new sync compatible version // ProtoVersion 4 - new sync compatible version
CompatibleVersion = uint32(3) // ProtoVersion 5 - sync with no entry space
ProtoVersion = uint32(4) CompatibleVersion = uint32(3)
ProtoVersion = uint32(4)
NoEntrySpaceVersion = uint32(5)
) )
var ( var (
compatibleVersions = []uint32{CompatibleVersion, ProtoVersion} compatibleVersions = []uint32{CompatibleVersion, ProtoVersion, NoEntrySpaceVersion}
) )
func New() SecureService { func New() SecureService {