Skip to content

Commit

Permalink
Updated to hc 0.3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 19, 2024
1 parent c413d29 commit 96516ef
Show file tree
Hide file tree
Showing 24 changed files with 919 additions and 767 deletions.
1,055 changes: 436 additions & 619 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ members = ["zomes/*/*"]
resolver = "2"

[workspace.dependencies]
hdi = "0.3.6"
hdk = "0.2.6"
hdi = "0.4.0-beta-dev.30"
hdk = "0.3.0-beta-dev.34"

[profile.dev]
opt-level = "z"
Expand Down
6 changes: 3 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"start": "vite --clearScreen false --port $UI_PORT"
},
"dependencies": {
"@holochain-open-dev/profiles": "^0.17.3",
"@holochain-open-dev/stores": "^0.8.3",
"@holochain-open-dev/profiles": "^0.300.0-dev.0",
"@holochain-open-dev/stores": "^0.300.0-dev.1",
"@holochain-syn/core": "file:../packages/core",
"@holochain-syn/text-editor": "file:../packages/text-editor",
"@holochain/client": "^0.16.1",
"@holochain/client": "^0.17.0-dev.7",
"@lit/context": "^1.0.0",
"lit": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion demo/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}
}
onMount(async () => {
const client = await createClient();
let client = await createClient();
profilesStore = new ProfilesStore(new ProfilesClient(client, 'syn-test'));
await initSyn(client);
});
Expand Down
4 changes: 1 addition & 3 deletions demo/src/syn.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ export function textSlice(sessionStore) {
}

export async function createClient() {
//const url = `ws://localhost:${process.env.HC_PORT}`;

const client = await AppAgentWebsocket.connect(undefined, 'syn');
const client = await AppAgentWebsocket.connect('syn');

return client;
}
60 changes: 30 additions & 30 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
inputs = {
nixpkgs.follows = "holochain/nixpkgs";

versions.url = "github:holochain/holochain?dir=versions/0_2";
versions.url = "github:holochain/holochain?dir=versions/weekly";

holochain = {
url = "github:holochain/holochain";
Expand Down
Loading

0 comments on commit 96516ef

Please sign in to comment.