generated from deepgram/oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
Description
What is the current behavior?
What's happening that seems wrong?
I'm using Bun with the latest version of the Deepgram SDK. Every time the SDK establishes a connection, it logs "Using WS Package" to the console. The culprit is in (
| console.log(`Using WS package`); |
Steps to reproduce
- Create a new project with Bun.
- Use the Deepgram SDK for Live Streaming Transcription.
- Watch your logs, you’ll keep seeing "Using WS Package" spammed every time a connection is made.
Expected behavior
What would you expect to happen when following the steps above?
There shouldn't be any unnecessary log messages. No "Using WS Package" log should appear unless I explicitly enable some debug mode.
Please tell us about your environment
We want to make sure the problem isn't specific to your OS or language.
- Operating System/Version: Debian 12
- Language: TypeScript
- Runtime: Bun
Other information
Anything else we should know? (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for context, etc.)
The issue is here:
| console.log(`Using WS package`); |
That file just prints the log directly. It would be better if this only logged in debug mode or not at all.