Skip to content

Commit 296bbe4

Browse files
committed
fix: createEncoder is used from the node, not from root import
1 parent c7fd46d commit 296bbe4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/build/javascript/reliable-channels.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ When the `defaultBootstrap` parameter is set to `true`, your node will be bootst
5050
Choose a [content topic](/learn/concepts/content-topics) for your application and create a message `encoder` and `decoder`:
5151

5252
```js
53-
import { createEncoder, createDecoder } from "@waku/sdk";
54-
5553
// Choose a content topic
5654
const ct = "/my-app/1/messages/proto";
5755

@@ -195,4 +193,4 @@ reliableChannel.addEventListener("message-acknowledged", (event) => {
195193

196194
:::tip Congratulations!
197195
You have successfully sent and received messages over the Waku Network using our reliable protocols such as Scalable Data Sync (SDS) and P2P Reliability.
198-
:::
196+
:::

0 commit comments

Comments
 (0)