Skip to content

Commit abbaa6a

Browse files
committed
docs: refresh stale snippets for holochain 0.6.1 / client 0.20.4
- dev-setup.md: bump example holochain version output to 0.6.1 - stories/3.1-frontend-setup.mdx: AppAgentWebsocket was renamed to AppWebsocket in @holochain/client; update the setup snippet so it compiles against 0.20.4
1 parent 71d82f0 commit abbaa6a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dev-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ holochain --version
2121
Should give something like:
2222

2323
```bash
24-
holochain 0.1.3
24+
holochain 0.6.1
2525
```
2626

2727
## Install

stories/3.1-frontend-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ npm install @holochain-open-dev/profiles -w ui
2626

2727
```js
2828
import { ProfilesStore, ProfilesClient } from "@holochain-open-dev/profiles";
29-
import { AppWebsocket, AppAgentWebsocket } from "@holochain/client";
29+
import { AppWebsocket } from "@holochain/client";
3030

3131
async function setupProfilesStore() {
32-
const client = await AppAgentWebsocket.connect('', '')
32+
const client = await AppWebsocket.connect()
3333

3434
// TODO: change "MY_CELL_ROLE" for the roleId that you can find in your "happ.yaml"
3535
const profilesStore = new ProfilesStore(new ProfilesClient(client, '<MY_CELL_ROLE>'), {

0 commit comments

Comments
 (0)