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:
parent
c37a139fba
commit
dc2c7dacfc
1 changed files with 5 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue