mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-02 12:53:12 +00:00
fix: createEncoder is used from the node, not from root import (#259)
This commit is contained in:
parent
c7fd46d82c
commit
0d25208562
4
docs/build/javascript/reliable-channels.md
vendored
4
docs/build/javascript/reliable-channels.md
vendored
@ -50,8 +50,6 @@ When the `defaultBootstrap` parameter is set to `true`, your node will be bootst
|
||||
Choose a [content topic](/learn/concepts/content-topics) for your application and create a message `encoder` and `decoder`:
|
||||
|
||||
```js
|
||||
import { createEncoder, createDecoder } from "@waku/sdk";
|
||||
|
||||
// Choose a content topic
|
||||
const ct = "/my-app/1/messages/proto";
|
||||
|
||||
@ -195,4 +193,4 @@ reliableChannel.addEventListener("message-acknowledged", (event) => {
|
||||
|
||||
:::tip Congratulations!
|
||||
You have successfully sent and received messages over the Waku Network using our reliable protocols such as Scalable Data Sync (SDS) and P2P Reliability.
|
||||
:::
|
||||
:::
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user