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

Release 4.0.0-beta.0 #24

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Release 4.0.0-beta.0 #24

merged 1 commit into from
Nov 28, 2023

Conversation

Swimburger
Copy link
Collaborator

@Swimburger Swimburger commented Nov 28, 2023

Added

  • Add browser and browser:min exports, at dist/index.umd.js and dist/index.umd.min.js. These exports are browser compatible versions of the SDK, with a few limitations. You can't use the file system and you have to use a temporary auth token with the real-time transcriber.

Changed

  • RealtimeService.sendAudio accepts audio via type ArrayBufferLike.
  • Breaking: RealtimeService.stream returns a WHATWG Streams Standard stream, instead of a Node stream. In the browser, the native web standard stream will be used.
  • ws is used as the WebSocket client as before, but in the browser, the native WebSocket client is used.
  • Rename Node SDK to JavaScript SDK as the SDK is compatible with more runtimes now.

GitOrigin-RevId: ee67feab09d8f0c6013788082e3de33fce93ccbf
@Swimburger Swimburger force-pushed the E07417BDFEA3614F5967B1520F8B2F61 branch from aa28d5f to dbdfdd4 Compare November 28, 2023 23:02
@Swimburger Swimburger merged commit a784af9 into main Nov 28, 2023
1 check passed
@Swimburger Swimburger deleted the E07417BDFEA3614F5967B1520F8B2F61 branch November 28, 2023 23:03
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.

None yet

1 participant