Skip to content

Releases: deepgram/deepgram-js-sdk

v1.2.1

04 Feb 02:11
2514269
Compare
Choose a tag to compare

Fixed

  • Fixed a bug that caused real-time transcriptions to not close correctly. This would result in the user not received the final transcription.

v1.2.0

13 Jan 00:37
15d9bc7
Compare
Choose a tag to compare

Updated

  • Updated the keys.create function to allow new expirationDate or timeToLive values. These are optional and one at most can be provided. Providing both will throw an error.

v1.1.0

04 Nov 19:56
463d777
Compare
Choose a tag to compare

Added

  • Prerecorded transcription responses can now be used to generate WebVTT and SRT caption files. Example:

    const response = await deepgram.transcription.preRecorded(
      { url: "URL_TO_FILE" },
      {
        punctuate: true,
        utterances: true,
      }
    );
    const webVTT = response.toWebVTT();
    const SRT = response.toSRT();

    The utterances feature is required to use this functionality.

1.0.3

29 Oct 15:24
0162107
Compare
Choose a tag to compare

Added

  • In addition to a Url and Buffer, trascricription.preRecorded now accepts a
    ReadStream as a source of the file to transcribe.

Updated

  • Removed a console log that occurred when an HTTP request ended

v1.0.2

15 Jul 00:42
e83c6d1
Compare
Choose a tag to compare

Added

  • deepgram.projects.update will now update a project
  • Prerecorded transcription responses now include utterances

Updated

  • The project type has been modified to the following:
{
  project_id: string;
  name?: string;
  company?: string;
};
  • The key type has been modified to the following:
{
  api_key_id: string;
  key?: string;
  comment: string;
  created: string;
  scopes: Array<string>;
};
  • The usage request type has been modified to the following:
{
  request_id: string;
  created: string;
  path: string;
  accessor: string;
  response?: UsageRequestDetail | UsageRequestMessage;
  callback?: UsageCallback;
};

v1.0.1

08 Jul 03:42
a35d86e
Compare
Choose a tag to compare

Fixed

  • Fixed issue with live transcription auth

v1.0.0

08 Jul 02:33
3e307c1
Compare
Choose a tag to compare

Added

Live transcription

  • deepgram.transcription.live now manages a websocket connection to Deepgram's API
    for live transcription

Projects

  • deepgram.projects allows listing projects or getting a specific project from
    your Deepgram account

Updated

Pre-recorded transcription

  • deepgram.batch has been moved to deepgram.transcription.preRecorded
  • Type of source parameter of pre-recorded transcriptions has changed. You can now
    send one of two types of objects: { url: YOUR_FILES_URL } or
    { buffer: BUFFER_OF_YOUR_FILE, mimetype: FILES_MIME_TYPE }

API Key management

  • All deepgram.keys methods now require a projectId.
  • deepgram.keys.create now requires an additional parameter scopes. This is a
    string array specifying the scopes available to the newly created API key

v0.6.5

11 May 16:06
259feee
Compare
Choose a tag to compare
v0.6.5 Pre-release
Pre-release
Updated README to denote alpha status

v0.6.4

04 May 23:58
9827fec
Compare
Choose a tag to compare
v0.6.4 Pre-release
Pre-release
0.6.4 release

v0.6.3

04 May 22:40
1f1345d
Compare
Choose a tag to compare
v0.6.3 Pre-release
Pre-release
Update package.json