We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d3baf commit ded84d7Copy full SHA for ded84d7
index.html
@@ -796,8 +796,9 @@
796
createLightNode,
797
ReliableChannelEvent,
798
ReliableChannel,
799
- HealthStatus
800
- } from 'https://unpkg.com/@waku/[email protected]/bundle/index.js';
+ HealthStatus,
+ WakuEvent
801
+ } from './waku-sdk-bundle.js';
802
803
// Define protobuf schema
804
const protoSchema = `
@@ -1361,7 +1362,7 @@
1361
1362
if (!this.node || !this.node.events) return;
1363
1364
// Listen for health status changes
- this.node.events.addEventListener('waku:health', (event) => {
1365
+ this.node.events.addEventListener(WakuEvent.Health, (event) => {
1366
this.handleHealthChange(event.detail);
1367
});
1368
}
0 commit comments