Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

assemblyai

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assemblyai - npm Package Versions

1
46

3.1.2

Diff

robot-assemblyai
published 3.1.1 •

Changelog

Source

[3.1.1] - 2023-11-21

Added

  • Add client.transcripts.transcribe function to transcribe an audio file with polling until transcript status is completed or error. This function takes an audio option which can be an audio file URL, path, stream, or buffer.
  • Add client.transcripts.submit function to queue a transcript. You can use client.transcripts.waitUntilReady to poll the transcript returned by submit. This function also takes an audio option which can be an audio file URL, path, stream, or buffer.

Changed

  • Deprecated client.transcripts.create in favor of transcribe and submit, to be more consistent with other AssemblyAI SDKs.
  • Renamed types
    • Renamed Parameters type suffix with Params type suffix
    • Renamed CreateTranscriptParameters to TranscriptParams
    • Renamed CreateTranscriptOptionalParameters to TranscriptOptionalParams.
  • Added deprecated aliases for the forementioned types
  • Improved type docs
robot-assemblyai
published 3.1.0 •

Changelog

Source

[3.1.0] - 2023-11-16

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.
robot-assemblyai
published 3.0.1 •

Changelog

Source

[3.0.1] - 2023-10-30

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.
robot-assemblyai
published 3.0.0 •

Changelog

Source

[3.0.0] - 2023-10-24

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'.
robot-assemblyai
published 2.0.2 •

Changelog

Source

[2.0.2] - 2023-10-13

Added

  • 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``.

Fixed

  • The AssemblyAI class would be exported as default named export instead in certain module systems.
robot-assemblyai
published 2.0.2-beta •

robot-assemblyai
published 2.0.1 •

Changelog

Source

[2.0.1] - 2023-10-10

Re-implement the Node SDK in TypeScript and add all AssemblyAI APIs.

Added

  • Transcript API client
  • LeMUR API client
  • Real-time transcript client
robot-assemblyai
published 2.0.1-beta •

robot-assemblyai
published 2.0.0-beta •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc