diff --git a/examples/ws-public-v5.ts b/examples/ws-public-v5.ts index 1feea00..99d37db 100644 --- a/examples/ws-public-v5.ts +++ b/examples/ws-public-v5.ts @@ -18,7 +18,7 @@ const logger = { * If a connection drops, the client will clean it up, respawn a fresh connection and resubscribe for you. */ -const wsClient = new WebsocketClient(); +const wsClient = new WebsocketClient({}, logger); wsClient.on('update', (data) => { console.log('raw message received ', JSON.stringify(data));