Skip to content

Commit

Permalink
chore(): add logger injection to example
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Feb 6, 2025
1 parent 57b1a72 commit 2f18ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ws-public-v5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 2f18ede

Please sign in to comment.