You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use type-only imports for Node.js stream module
- Changed 'import { Readable } from "stream"' to 'import type { Readable } from "stream"' in:
- src/packages/AbstractRestClient.ts
- src/lib/types/DeepgramSource.ts
- src/lib/helpers.ts
- Updated isReadStreamSource to use duck typing instead of instanceof check
- This prevents bundler errors in browser environments (React, Vite, etc)
- Maintains full type safety while removing runtime dependency on Node.js stream module
0 commit comments