Skip to content

Releases: AssemblyAI/assemblyai-node-sdk

v3.1.0

16 Nov 17:32
3a25491
Compare
Choose a tag to compare

Added

  • Add AssemblyAI.transcripts.waitUntilReady function to wait until a transcript is ready, meaning status is completed or error.
  • Add chars_per_caption parameter to AssemblyAI.transcripts.subtitles function.
  • Add input_text property to LeMUR functions. Instead of using transcript_ids, you can use input_text to provide custom formatted transcripts as input to LeMUR.

Changed

  • Change default timeout from 3 minutes to infinite (-1). Fixes #17

Fixed

  • Correctly serialize the keywords for client.transcripts.wordSearch.
  • Use more widely compatible syntax for wildcard exporting types. Fixes #18.

Full Changelog: v3.0.1...v3.1.0

v3.0.1

30 Oct 18:36
5e244bc
Compare
Choose a tag to compare

What's Changed

Changed

  • The SDK uses fetch instead of Axios. This removes the Axios dependency. Axios relies on XMLHttpRequest which isn't supported in Cloudflare Workers, Deno, Bun, etc. By using fetch, the SDK is now more compatible on the forementioned runtimes.

Fixed

  • The SDK uses relative imports instead of using path aliases, to make the library transpilable with tsc for consumers. Fixes #14.
  • Added speaker property to the TranscriptUtterance type, and removed channel property.

Full Changelog: v3.0.0...v3.0.1

v3.0.0

24 Oct 16:19
387b1ac
Compare
Choose a tag to compare

Changed

  • AssemblyAI.files.upload accepts streams and buffers, in addition to a string (path to file).

Removed

  • Breaking: The module does not have a default export anymore, because of inconsistent functionality across module systems. Instead, use AssemblyAI as a named import like this: import { AssemblyAI } from 'assemblyai'.

Full Changelog: v2.0.2...v3.0.0

v2.0.2

13 Oct 21:23
ea15913
Compare
Choose a tag to compare

What's Changed

  • AssemblyAI.transcripts.wordSearch searches for keywords in the transcript.
  • AssemblyAI.lemur.purgeRequestData deletes data related to your LeMUR request.
  • RealtimeService.stream creates a writable stream that you can write audio data to instead of using RealtimeService.sendAudio.
  • Fix where the AssemblyAI class would be exported as default named export instead in certain module systems.

Full Changelog: v2.0.1...v2.0.2

v2.0.1

10 Oct 14:15
0af79d3
Compare
Choose a tag to compare

What's Changed

  • Release TS SDK 2.0 in #8
    • Add transcript API client
    • Add LeMUR API client
    • Add real-time transcript client

Full Changelog: https://github.com/AssemblyAI/assemblyai-node-sdk/commits/v2.0.1