diff --git a/Cargo.lock b/Cargo.lock index c59bd69..06aed77 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -798,7 +798,7 @@ checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" [[package]] name = "hc_zome_yjs_coordinator" -version = "0.0.2" +version = "0.0.3" dependencies = [ "hc_zome_yjs_integrity", "hdk", @@ -807,7 +807,7 @@ dependencies = [ [[package]] name = "hc_zome_yjs_integrity" -version = "0.0.2" +version = "0.0.3" dependencies = [ "hdi", "serde", diff --git a/crates/hc_zome_yjs_coordinator/Cargo.toml b/crates/hc_zome_yjs_coordinator/Cargo.toml index 587a728..608d77a 100644 --- a/crates/hc_zome_yjs_coordinator/Cargo.toml +++ b/crates/hc_zome_yjs_coordinator/Cargo.toml @@ -6,17 +6,17 @@ authors = [ description = "Holochain provider for yjs" license = "Apache-2.0" keywords = ["holochain", "yjs", "collaboration", "crdt"] -version = "0.0.2" +version = "0.0.3" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] name = "hc_zome_yjs_coordinator" -version = "0.0.2" +version = "0.0.3" [dependencies] hdk = { workspace = true } serde = { workspace = true } -hc_zome_yjs_integrity = { path = "../hc_zome_yjs_integrity", version = "0.0.2" } +hc_zome_yjs_integrity = { path = "../hc_zome_yjs_integrity", version = "0.0.3" } diff --git a/crates/hc_zome_yjs_coordinator/src/document_to_statevectors.rs b/crates/hc_zome_yjs_coordinator/src/document_to_statevectors.rs index 88685b4..719c167 100644 --- a/crates/hc_zome_yjs_coordinator/src/document_to_statevectors.rs +++ b/crates/hc_zome_yjs_coordinator/src/document_to_statevectors.rs @@ -87,7 +87,6 @@ pub fn create_statevector_for_document( Ok(sv) } - #[derive(Serialize, Deserialize, Debug, Clone)] pub struct CreateStatevectorForDocumentSignal { pub provenance: AgentPubKey, @@ -100,11 +99,14 @@ pub fn remote_signal_statevector_for_document( ) -> ExternResult<()> { let mypubkey = agent_info()?.agent_initial_pubkey; let agents = get_other_agents_for_document(input.clone().document_hash)?; - remote_signal(CreateStatevectorForDocumentSignal { - provenance: mypubkey, - document_hash: input.document_hash, - statevector: input.statevector - }, agents)?; + remote_signal( + CreateStatevectorForDocumentSignal { + provenance: mypubkey, + document_hash: input.document_hash, + statevector: input.statevector, + }, + agents, + )?; Ok(()) } diff --git a/crates/hc_zome_yjs_integrity/Cargo.toml b/crates/hc_zome_yjs_integrity/Cargo.toml index 9cf19ae..1e3325b 100644 --- a/crates/hc_zome_yjs_integrity/Cargo.toml +++ b/crates/hc_zome_yjs_integrity/Cargo.toml @@ -6,13 +6,13 @@ authors = [ description = "Holochain provider for yjs" license = "Apache-2.0" keywords = ["holochain", "yjs", "collaboration", "crdt"] -version = "0.0.2" +version = "0.0.3" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] name = "hc_zome_yjs_integrity" -version = "0.0.2" +version = "0.0.3" [dependencies] hdi = { workspace = true } diff --git a/package-lock.json b/package-lock.json index bbe1f57..b51354a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "y-holochain", - "version": "0.0.4", + "version": "0.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "y-holochain", - "version": "0.0.4", + "version": "0.0.5", "hasInstallScript": true, "license": "Apache 2.0", "workspaces": [ diff --git a/package.json b/package.json index 1a06cd8..6da9aeb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "y-holochain", - "version": "0.0.4", + "version": "0.0.5", "description": "holochain provider for yjs", "author": "Build Your Web App", "license": "Apache 2.0",