Skip to content

v4.0.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Swimburger Swimburger released this 28 Nov 23:05
· 79 commits to main since this release
52eadc2

What's Changed

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.

Full Changelog: v3.1.3...v4.0.0-beta.0