Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: unconditional process reference #292

Merged

Conversation

msopacua
Copy link
Contributor

@msopacua msopacua commented May 20, 2024

The process global does not exist in the browser and therefore throws an error if one tries to create a client in the browser.
Fix it in a way that's compatible with any (future) engine that doesn't have a process global.

closes #290

process does not exist in the browser and therefore throws an error if
one tries to create a client in the browser.
Fix it in a way that's compatible with any (future) engine that doesn't
have a process global.
@lukeocodes
Copy link
Contributor

Thank you for your contribution!

@lukeocodes lukeocodes merged commit bd51da7 into deepgram:main May 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'node' of undefined
2 participants