feat(sync): protocol v2 for the put_type_def and put_module_data ops

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-26 16:08:33 +01:00
1 parent c9ebb4fd30
commit 523f3b28fa
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
use synapse_core::{Backlink, Block, Op, OpRecord, Page};
/// Bumped on incompatible changes. Sent as `X-Synapse-Protocol` by clients.
pub const PROTOCOL_VERSION: u32 = 1;
pub const PROTOCOL_VERSION: u32 = 2;
pub const HEADER_PROTOCOL: &str = "x-synapse-protocol";
/// Bytes already stored of a partially uploaded blob (response header).
pub const HEADER_UPLOAD_OFFSET: &str = "upload-offset";