Skip to content

Commit

Permalink
Merge pull request #125 from deepgram/browser-deprecation-warning
Browse files Browse the repository at this point in the history
added warning about deprecating browser SDK
  • Loading branch information
briancbarrow authored May 1, 2023
2 parents 656763a + 7aa9af0 commit ca42de8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class Deepgram {
scopes: Scopes;

constructor(apiKey: string, apiUrl?: string, requireSSL?: boolean) {
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.")
this._apiKey = apiKey;
this._apiUrl = apiUrl || DefaultOptions.apiUrl;
this._requireSSL = requireSSL || DefaultOptions.requireSSL;
Expand Down

0 comments on commit ca42de8

Please sign in to comment.