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

v2 translation hypothesis, conditionally import audioWorkerUrl method using import.meta #735

Merged
merged 3 commits into from
Sep 25, 2023

Conversation

glharper
Copy link
Member

@glharper glharper commented Sep 22, 2023

  • add handling for v2 translation hypothesis messages
  • React Native customers can't use import.meta, and customers not using browser microphone functionality don't need to deal with import.meta related errors. This conditionally loads the import.meta code if needed, not at SDK library load time.

@glharper
Copy link
Member Author

glharper commented Sep 22, 2023

With this change, the jest.mock additions to our tests may not be needed anymore. Will update PR if that turns out to be the case.
EDIT: updated.

@glharper glharper changed the title conditionally import audioWorkerUrl method using import.meta v2 translation hypothesis, conditionally import audioWorkerUrl method using import.meta Sep 25, 2023
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.

2 participants