Skip to content

Commit

Permalink
Merge pull request #6 from holochain-open-dev/build/version-bump
Browse files Browse the repository at this point in the history
Build/version bump
  • Loading branch information
mattyg committed Aug 9, 2023
2 parents 297edd4 + 61cae15 commit 8739f47
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/hc_zome_yjs_coordinator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
14 changes: 8 additions & 6 deletions crates/hc_zome_yjs_coordinator/src/document_to_statevectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ pub fn create_statevector_for_document(
Ok(sv)
}


#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct CreateStatevectorForDocumentSignal {
pub provenance: AgentPubKey,
Expand All @@ -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(())
}
Expand Down
4 changes: 2 additions & 2 deletions crates/hc_zome_yjs_integrity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 8739f47

Please sign in to comment.