From 2f18edec02b3bad58887e98b8302425dbbddd121 Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Thu, 6 Feb 2025 12:14:28 +0000 Subject: [PATCH] chore(): add logger injection to example --- examples/ws-public-v5.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ws-public-v5.ts b/examples/ws-public-v5.ts index 1feea009..99d37db3 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));