From 7aa9af08f677e0bc9bd717b7ddc0fc099b73818b Mon Sep 17 00:00:00 2001 From: Brian Barrow Date: Mon, 1 May 2023 14:47:16 -0600 Subject: [PATCH] added warning about deprecating browser SDK --- src/browser/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser/index.ts b/src/browser/index.ts index af4488a4..0146008d 100644 --- a/src/browser/index.ts +++ b/src/browser/index.ts @@ -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;