Releases: AssemblyAI/assemblyai-node-sdk
Releases · AssemblyAI/assemblyai-node-sdk
v3.1.0
Added
- Add
AssemblyAI.transcripts.waitUntilReady
function to wait until a transcript is ready, meaningstatus
iscompleted
orerror
. - Add
chars_per_caption
parameter toAssemblyAI.transcripts.subtitles
function. - Add
input_text
property to LeMUR functions. Instead of usingtranscript_ids
, you can useinput_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
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 usingfetch
, 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 theTranscriptUtterance
type, and removedchannel
property.
Full Changelog: v3.0.0...v3.0.1
v3.0.0
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
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
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