Skip to content

Commit

Permalink
drop "experimental"
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed Dec 11, 2024
1 parent 2172e10 commit 6c59989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/client/src/StreamVideoClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,11 @@ export class StreamVideoClient {
if (typeof apiKeyOrArgs === 'string') {
logLevel = opts?.logLevel || logLevel;
logger = opts?.logger || logger;
if (opts?.expertimental_enableTimerWorker) enableTimerWorker();
if (opts?.enableTimerWorker) enableTimerWorker();
} else {
logLevel = apiKeyOrArgs.options?.logLevel || logLevel;
logger = apiKeyOrArgs.options?.logger || logger;
if (apiKeyOrArgs.options?.expertimental_enableTimerWorker)
enableTimerWorker();
if (apiKeyOrArgs.options?.enableTimerWorker) enableTimerWorker();
}

setLogger(logger, logLevel);
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/coordinator/connection/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export type StreamClientOptions = Partial<AxiosRequestConfig> & {
* Create Web Worker to initiate timer events like health checks. Can possibly prevent
* timer throttling issues in inactive browser tabs.
*/
expertimental_enableTimerWorker?: boolean;
enableTimerWorker?: boolean;
};

export type TokenProvider = () => Promise<string>;
Expand Down

0 comments on commit 6c59989

Please sign in to comment.