@deepgram/sdk 5.4.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.global.js +474 -18
- package/dist/cjs/BaseClient.d.ts +3 -0
- package/dist/cjs/BaseClient.js +20 -2
- package/dist/cjs/CustomClient.d.ts +75 -6
- package/dist/cjs/CustomClient.js +421 -15
- package/dist/cjs/api/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.d.ts +7 -3
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.js +1 -7
- package/dist/cjs/api/resources/listen/resources/v1/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/Client.js +2 -1
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.ts +2 -2
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.ts +2 -2
- package/dist/cjs/api/resources/listen/resources/v1/types/DiarizeModel.d.ts +5 -0
- package/dist/cjs/api/{types/CreateKeyV1RequestOne.js → resources/listen/resources/v1/types/DiarizeModel.js} +5 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/index.js +1 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Client.js +2 -1
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.ts +2 -1
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.js +5 -1
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.ts +4 -0
- package/dist/cjs/api/types/DeepgramListenProviderV2.d.ts +7 -1
- package/dist/cjs/api/types/ListenV1Diarize.d.ts +1 -1
- package/dist/cjs/api/types/ListenV1Diarize.js +1 -1
- package/dist/cjs/api/types/ListenV2ProfanityFilter.d.ts +6 -0
- package/dist/cjs/api/types/ListenV2ProfanityFilter.js +9 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/auth/HeaderAuthProvider.js +2 -1
- package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
- package/dist/cjs/core/auth/AuthProvider.js +7 -0
- package/dist/cjs/core/auth/index.d.ts +1 -1
- package/dist/cjs/core/auth/index.js +3 -1
- package/dist/cjs/core/fetcher/getResponseBody.js +11 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +4 -1
- package/dist/cjs/core/fetcher/signals.js +9 -1
- package/dist/cjs/errors/DeepgramError.js +1 -1
- package/dist/cjs/errors/DeepgramTimeoutError.js +1 -1
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +3 -0
- package/dist/esm/BaseClient.mjs +20 -2
- package/dist/esm/CustomClient.d.mts +75 -6
- package/dist/esm/CustomClient.mjs +421 -15
- package/dist/esm/api/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.d.mts +7 -3
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentListenProvider.mjs +1 -7
- package/dist/esm/api/resources/listen/resources/v1/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v1/client/Client.mjs +2 -1
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.mts +2 -2
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.mts +2 -2
- package/dist/esm/api/resources/listen/resources/v1/types/DiarizeModel.d.mts +5 -0
- package/dist/esm/api/resources/listen/resources/v1/types/DiarizeModel.mjs +5 -0
- package/dist/esm/api/resources/listen/resources/v1/types/index.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v1/types/index.mjs +1 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Client.mjs +2 -1
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.mts +2 -1
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.mjs +5 -1
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.mts +4 -0
- package/dist/esm/api/types/DeepgramListenProviderV2.d.mts +7 -1
- package/dist/esm/api/types/ListenV1Diarize.d.mts +1 -1
- package/dist/esm/api/types/ListenV1Diarize.mjs +1 -1
- package/dist/esm/api/types/ListenV2ProfanityFilter.d.mts +6 -0
- package/dist/esm/api/types/ListenV2ProfanityFilter.mjs +6 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/auth/HeaderAuthProvider.mjs +2 -1
- package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -1
- package/dist/esm/core/auth/index.d.mts +1 -1
- package/dist/esm/core/auth/index.mjs +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +11 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +4 -1
- package/dist/esm/core/fetcher/signals.mjs +9 -1
- package/dist/esm/errors/DeepgramError.mjs +1 -1
- package/dist/esm/errors/DeepgramTimeoutError.mjs +1 -1
- package/dist/esm/index.d.mts +2 -0
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/CreateKeyV1RequestOne.d.ts +0 -1
- package/dist/esm/api/types/CreateKeyV1RequestOne.d.mts +0 -1
- package/dist/esm/api/types/CreateKeyV1RequestOne.mjs +0 -2
|
@@ -13,6 +13,7 @@ export declare namespace V2Client {
|
|
|
13
13
|
eot_timeout_ms?: Deepgram.ListenV2EotTimeoutMs | undefined;
|
|
14
14
|
keyterm?: Deepgram.ListenV2Keyterm;
|
|
15
15
|
language_hint?: Deepgram.ListenV2LanguageHint;
|
|
16
|
+
profanity_filter?: Deepgram.ListenV2ProfanityFilter;
|
|
16
17
|
mip_opt_out?: Deepgram.ListenV2MipOptOut | undefined;
|
|
17
18
|
tag?: Deepgram.ListenV2Tag | undefined;
|
|
18
19
|
Authorization: string;
|
|
@@ -21,7 +21,7 @@ export class V2Client {
|
|
|
21
21
|
connect(args) {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
var _a, _b, _c;
|
|
24
|
-
const { model, encoding, sample_rate: sampleRate, eager_eot_threshold: eagerEotThreshold, eot_threshold: eotThreshold, eot_timeout_ms: eotTimeoutMs, keyterm, language_hint: languageHint, mip_opt_out: mipOptOut, tag, protocols, queryParams, headers, debug, reconnectAttempts, connectionTimeoutInSeconds, abortSignal, } = args;
|
|
24
|
+
const { model, encoding, sample_rate: sampleRate, eager_eot_threshold: eagerEotThreshold, eot_threshold: eotThreshold, eot_timeout_ms: eotTimeoutMs, keyterm, language_hint: languageHint, profanity_filter: profanityFilter, mip_opt_out: mipOptOut, tag, protocols, queryParams, headers, debug, reconnectAttempts, connectionTimeoutInSeconds, abortSignal, } = args;
|
|
25
25
|
const _queryParams = {
|
|
26
26
|
model,
|
|
27
27
|
encoding: encoding != null ? encoding : undefined,
|
|
@@ -55,6 +55,7 @@ export class V2Client {
|
|
|
55
55
|
? languageHint
|
|
56
56
|
: toJson(languageHint)
|
|
57
57
|
: undefined,
|
|
58
|
+
profanity_filter: profanityFilter != null ? profanityFilter : undefined,
|
|
58
59
|
mip_opt_out: mipOptOut != null ? (typeof mipOptOut === "string" ? mipOptOut : toJson(mipOptOut)) : undefined,
|
|
59
60
|
tag: tag != null ? (typeof tag === "string" ? tag : toJson(tag)) : undefined,
|
|
60
61
|
};
|
|
@@ -3,10 +3,11 @@ export interface ListenV2CloseStream {
|
|
|
3
3
|
type: ListenV2CloseStream.Type;
|
|
4
4
|
}
|
|
5
5
|
export declare namespace ListenV2CloseStream {
|
|
6
|
-
/** Message type identifier */
|
|
7
6
|
const Type: {
|
|
7
|
+
/** @deprecated Use "CloseStream". Retained for backward compatibility. */
|
|
8
8
|
readonly Finalize: "Finalize";
|
|
9
9
|
readonly CloseStream: "CloseStream";
|
|
10
|
+
/** @deprecated Use "CloseStream". Retained for backward compatibility. */
|
|
10
11
|
readonly KeepAlive: "KeepAlive";
|
|
11
12
|
};
|
|
12
13
|
type Type = (typeof Type)[keyof typeof Type] | string;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
export var ListenV2CloseStream;
|
|
3
3
|
(function (ListenV2CloseStream) {
|
|
4
|
-
|
|
4
|
+
// A CloseStream message's `type` is always "CloseStream". `Finalize`/`KeepAlive` are
|
|
5
|
+
// deprecated and retained only for backward compatibility; they will be removed in the
|
|
6
|
+
// next major. Frozen in .fernignore.
|
|
5
7
|
ListenV2CloseStream.Type = {
|
|
8
|
+
/** @deprecated Use "CloseStream". Retained for backward compatibility. */
|
|
6
9
|
Finalize: "Finalize",
|
|
7
10
|
CloseStream: "CloseStream",
|
|
11
|
+
/** @deprecated Use "CloseStream". Retained for backward compatibility. */
|
|
8
12
|
KeepAlive: "KeepAlive",
|
|
9
13
|
};
|
|
10
14
|
})(ListenV2CloseStream || (ListenV2CloseStream = {}));
|
|
@@ -66,6 +66,10 @@ export declare namespace ListenV2TurnInfo {
|
|
|
66
66
|
word: string;
|
|
67
67
|
/** Confidence that this word was transcribed correctly */
|
|
68
68
|
confidence: number;
|
|
69
|
+
/** The start time of the word */
|
|
70
|
+
start?: number | undefined;
|
|
71
|
+
/** The end time of the word */
|
|
72
|
+
end?: number | undefined;
|
|
69
73
|
}
|
|
70
74
|
}
|
|
71
75
|
}
|
|
@@ -5,7 +5,13 @@ export interface DeepgramListenProviderV2 {
|
|
|
5
5
|
version?: "v2" | undefined;
|
|
6
6
|
/** Model to use for speech to text using the V2 API (e.g. flux-general-en, flux-general-multi) */
|
|
7
7
|
model: string;
|
|
8
|
-
/**
|
|
8
|
+
/** An array of one or more BCP-47 language codes to bias the model toward specific languages. Only supported when model is flux-general-multi. Without hints, the model auto-detects the spoken language. See the Language Prompting guide for details. */
|
|
9
|
+
language_hints?: string[] | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use `language_hints` instead. Backward-compat shim: the 2026-06-16 regen
|
|
12
|
+
* renamed this field to `language_hints`. The singular `language_hint` was never honored
|
|
13
|
+
* by the API, so this is kept only so existing call sites keep compiling; prefer `language_hints`.
|
|
14
|
+
*/
|
|
9
15
|
language_hint?: DeepgramListenProviderV2.LanguageHint | undefined;
|
|
10
16
|
/** Prompt keyterm recognition to improve Keyword Recall Rate */
|
|
11
17
|
keyterms?: string[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Defaults to `false`. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0 */
|
|
1
|
+
/** Deprecated. Use `diarize_model` instead. Defaults to `false`. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0 */
|
|
2
2
|
export declare const ListenV1Diarize: {
|
|
3
3
|
readonly True: "true";
|
|
4
4
|
readonly False: "false";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
/** Defaults to `false`. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0 */
|
|
2
|
+
/** Deprecated. Use `diarize_model` instead. Defaults to `false`. Recognize speaker changes. Each word in the transcript will be assigned a speaker number starting at 0 */
|
|
3
3
|
export const ListenV1Diarize = {
|
|
4
4
|
True: "true",
|
|
5
5
|
False: "false",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Profanity Filter looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely. */
|
|
2
|
+
export declare const ListenV2ProfanityFilter: {
|
|
3
|
+
readonly True: "true";
|
|
4
|
+
readonly False: "false";
|
|
5
|
+
};
|
|
6
|
+
export type ListenV2ProfanityFilter = (typeof ListenV2ProfanityFilter)[keyof typeof ListenV2ProfanityFilter] | string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Profanity Filter looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely. */
|
|
3
|
+
export const ListenV2ProfanityFilter = {
|
|
4
|
+
True: "true",
|
|
5
|
+
False: "false",
|
|
6
|
+
};
|
|
@@ -84,6 +84,7 @@ export * from "./ListenV2Keyterm.mjs";
|
|
|
84
84
|
export * from "./ListenV2LanguageHint.mjs";
|
|
85
85
|
export * from "./ListenV2MipOptOut.mjs";
|
|
86
86
|
export * from "./ListenV2Model.mjs";
|
|
87
|
+
export * from "./ListenV2ProfanityFilter.mjs";
|
|
87
88
|
export * from "./ListenV2SampleRate.mjs";
|
|
88
89
|
export * from "./ListenV2Tag.mjs";
|
|
89
90
|
export * from "./ListModelsV1Response.mjs";
|
|
@@ -84,6 +84,7 @@ export * from "./ListenV2Keyterm.mjs";
|
|
|
84
84
|
export * from "./ListenV2LanguageHint.mjs";
|
|
85
85
|
export * from "./ListenV2MipOptOut.mjs";
|
|
86
86
|
export * from "./ListenV2Model.mjs";
|
|
87
|
+
export * from "./ListenV2ProfanityFilter.mjs";
|
|
87
88
|
export * from "./ListenV2SampleRate.mjs";
|
|
88
89
|
export * from "./ListenV2Tag.mjs";
|
|
89
90
|
export * from "./ListModelsV1Response.mjs";
|
|
@@ -13,6 +13,7 @@ import * as errors from "../errors/index.mjs";
|
|
|
13
13
|
const PARAM_KEY = "apiKey";
|
|
14
14
|
const ENV_HEADER_KEY = "DEEPGRAM_API_KEY";
|
|
15
15
|
const HEADER_NAME = "Authorization";
|
|
16
|
+
const HEADER_PREFIX = "Token ";
|
|
16
17
|
export class HeaderAuthProvider {
|
|
17
18
|
constructor(options) {
|
|
18
19
|
this.options = options;
|
|
@@ -31,7 +32,7 @@ export class HeaderAuthProvider {
|
|
|
31
32
|
});
|
|
32
33
|
}
|
|
33
34
|
return {
|
|
34
|
-
headers: { [HEADER_NAME]: headerValue },
|
|
35
|
+
headers: { [HEADER_NAME]: `${HEADER_PREFIX}${headerValue}` },
|
|
35
36
|
};
|
|
36
37
|
});
|
|
37
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export { type AuthProvider, isAuthProvider } from "./AuthProvider.mjs";
|
|
2
2
|
export type { AuthRequest } from "./AuthRequest.mjs";
|
|
3
3
|
export { BasicAuth } from "./BasicAuth.mjs";
|
|
4
4
|
export { BearerToken } from "./BearerToken.mjs";
|
|
@@ -9,6 +9,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { fromJson } from "../json.mjs";
|
|
11
11
|
import { getBinaryResponse } from "./BinaryResponse.mjs";
|
|
12
|
+
// Pins the upstream Response so undici's FinalizationRegistry can't GC it and cancel the body stream.
|
|
13
|
+
function retainResponse(target, response) {
|
|
14
|
+
Object.defineProperty(target, "__fern_response_ref", {
|
|
15
|
+
value: response,
|
|
16
|
+
enumerable: false,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: false,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
12
21
|
export function getResponseBody(response, responseType) {
|
|
13
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14
23
|
switch (responseType) {
|
|
@@ -28,6 +37,7 @@ export function getResponseBody(response, responseType) {
|
|
|
28
37
|
},
|
|
29
38
|
};
|
|
30
39
|
}
|
|
40
|
+
retainResponse(response.body, response);
|
|
31
41
|
return response.body;
|
|
32
42
|
case "streaming":
|
|
33
43
|
if (response.body == null) {
|
|
@@ -39,6 +49,7 @@ export function getResponseBody(response, responseType) {
|
|
|
39
49
|
},
|
|
40
50
|
};
|
|
41
51
|
}
|
|
52
|
+
retainResponse(response.body, response);
|
|
42
53
|
return response.body;
|
|
43
54
|
case "text":
|
|
44
55
|
return yield response.text();
|
|
@@ -11,6 +11,9 @@ const INITIAL_RETRY_DELAY = 1000; // in milliseconds
|
|
|
11
11
|
const MAX_RETRY_DELAY = 60000; // in milliseconds
|
|
12
12
|
const DEFAULT_MAX_RETRIES = 2;
|
|
13
13
|
const JITTER_FACTOR = 0.2; // 20% random jitter
|
|
14
|
+
function isRetryableStatusCode(statusCode) {
|
|
15
|
+
return [408, 429].includes(statusCode) || statusCode >= 500;
|
|
16
|
+
}
|
|
14
17
|
function addPositiveJitter(delay) {
|
|
15
18
|
const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR;
|
|
16
19
|
return delay * jitterMultiplier;
|
|
@@ -50,7 +53,7 @@ export function requestWithRetries(requestFn_1) {
|
|
|
50
53
|
return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
|
|
51
54
|
let response = yield requestFn();
|
|
52
55
|
for (let i = 0; i < maxRetries; ++i) {
|
|
53
|
-
if (
|
|
56
|
+
if (isRetryableStatusCode(response.status)) {
|
|
54
57
|
const delay = getRetryDelayFromHeaders(response, i);
|
|
55
58
|
yield new Promise((resolve) => setTimeout(resolve, delay));
|
|
56
59
|
response = yield requestFn();
|
|
@@ -10,11 +10,19 @@ export function anySignal(...args) {
|
|
|
10
10
|
for (const signal of signals) {
|
|
11
11
|
if (signal.aborted) {
|
|
12
12
|
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
|
13
|
-
|
|
13
|
+
return controller.signal;
|
|
14
14
|
}
|
|
15
15
|
signal.addEventListener("abort", () => controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason), {
|
|
16
16
|
signal: controller.signal,
|
|
17
17
|
});
|
|
18
|
+
// Re-check after adding listener: the signal may have aborted
|
|
19
|
+
// between the initial `signal.aborted` check and the `addEventListener`
|
|
20
|
+
// call above. If it did, the abort event was already dispatched and
|
|
21
|
+
// the listener will never fire — we must manually abort.
|
|
22
|
+
if (signal.aborted) {
|
|
23
|
+
controller.abort(signal === null || signal === void 0 ? void 0 : signal.reason);
|
|
24
|
+
return controller.signal;
|
|
25
|
+
}
|
|
18
26
|
}
|
|
19
27
|
return controller.signal;
|
|
20
28
|
}
|
|
@@ -7,7 +7,7 @@ export class DeepgramError extends Error {
|
|
|
7
7
|
if (Error.captureStackTrace) {
|
|
8
8
|
Error.captureStackTrace(this, this.constructor);
|
|
9
9
|
}
|
|
10
|
-
this.name =
|
|
10
|
+
this.name = "DeepgramError";
|
|
11
11
|
this.statusCode = statusCode;
|
|
12
12
|
this.body = body;
|
|
13
13
|
this.rawResponse = rawResponse;
|
|
@@ -6,7 +6,7 @@ export class DeepgramTimeoutError extends Error {
|
|
|
6
6
|
if (Error.captureStackTrace) {
|
|
7
7
|
Error.captureStackTrace(this, this.constructor);
|
|
8
8
|
}
|
|
9
|
-
this.name =
|
|
9
|
+
this.name = "DeepgramTimeoutError";
|
|
10
10
|
if ((opts === null || opts === void 0 ? void 0 : opts.cause) != null) {
|
|
11
11
|
this.cause = opts.cause;
|
|
12
12
|
}
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -4,6 +4,8 @@ export * from "./api/resources/index.mjs";
|
|
|
4
4
|
export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
5
5
|
export { DeepgramClient as DefaultDeepgramClient } from "./Client.mjs";
|
|
6
6
|
export { CustomDeepgramClient as DeepgramClient } from "./CustomClient.mjs";
|
|
7
|
+
export type { CustomDeepgramClientOptions } from "./CustomClient.mjs";
|
|
7
8
|
export { DeepgramEnvironment, type DeepgramEnvironmentUrls } from "./environments.mjs";
|
|
8
9
|
export { DeepgramError, DeepgramTimeoutError } from "./errors/index.mjs";
|
|
10
|
+
export * from "./transport.mjs";
|
|
9
11
|
export * from "./exports.mjs";
|
package/dist/esm/index.mjs
CHANGED
|
@@ -9,4 +9,5 @@ export { DeepgramClient as DefaultDeepgramClient } from "./Client.mjs";
|
|
|
9
9
|
export { CustomDeepgramClient as DeepgramClient } from "./CustomClient.mjs";
|
|
10
10
|
export { DeepgramEnvironment } from "./environments.mjs";
|
|
11
11
|
export { DeepgramError, DeepgramTimeoutError } from "./errors/index.mjs";
|
|
12
|
+
export * from "./transport.mjs";
|
|
12
13
|
export * from "./exports.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "5.
|
|
1
|
+
export declare const SDK_VERSION = "5.5.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "5.
|
|
1
|
+
export const SDK_VERSION = "5.5.0"; // x-release-please-version
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CreateKeyV1RequestOne = unknown;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CreateKeyV1RequestOne = unknown;
|