Skip to content

Commit 7aa9af0

Browse files
committed
added warning about deprecating browser SDK
1 parent 7ba3fe8 commit 7aa9af0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/browser/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export class Deepgram {
2626
scopes: Scopes;
2727

2828
constructor(apiKey: string, apiUrl?: string, requireSSL?: boolean) {
29+
console.warn("Deepgram Browser SDK will be deprecated in the future and is no longer receiving support. Please use the Node SDK instead in your backend code and connect to it.")
2930
this._apiKey = apiKey;
3031
this._apiUrl = apiUrl || DefaultOptions.apiUrl;
3132
this._requireSSL = requireSSL || DefaultOptions.requireSSL;

0 commit comments

Comments
 (0)