remove this.

This commit is contained in:
fryorcraken 2025-08-28 15:42:30 +10:00
parent 96d65b0f94
commit 1a976da10f
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -56,8 +56,8 @@ import { createEncoder, createDecoder } from "@waku/sdk";
const contentTopic = "/my-app/1/messages/proto";
// Create a message encoder and decoder
const encoder = this.node.createEncoder({ contentTopic: this.contentTopic });
const decoder = this.node.createDecoder({ contentTopic: this.contentTopic });
const encoder = node.createEncoder({ contentTopic: this.contentTopic });
const decoder = node.createDecoder({ contentTopic: this.contentTopic });
```
You can also use [`@waku/message-encryption`](/guides/js-waku/message-encryption) to encrypt and decrypt messages using Waku libraries.