prefer strings for event types

This commit is contained in:
fryorcraken 2025-09-09 12:09:40 +10:00
parent 09e106aa4a
commit d8886e02d1
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -71,7 +71,7 @@ The Waku node will emit `health` events to help you know whether the node is con
This can be useful to give feedback to the user, or stop some action (e.g. sending messages) when offline:
```js
import { HealthStatus, WakuEvent } from "@waku/sdk";
import { HealthStatus } from "@waku/sdk";
node.events.addEventListener("waku:health", (event) => {
const health = event.detail;