@daily-co/daily-js
Advanced tools
Comparing version 0.28.0 to 0.29.0-alpha.0
@@ -263,2 +263,3 @@ // Type definitions for daily-js | ||
avoidEval?: boolean; | ||
callObjectBundleUrlOverride?: string; | ||
} | ||
@@ -907,2 +908,13 @@ | ||
export interface DailyStreamingCustomLayoutConfig { | ||
preset: 'custom'; | ||
composition_id: string; | ||
composition_params?: { | ||
[key: string]: boolean | number | string; | ||
}; | ||
session_assets?: { | ||
[key: string]: string; | ||
}; | ||
} | ||
export type DailyStreamingLayoutConfig = | ||
@@ -912,3 +924,4 @@ | DailyStreamingDefaultLayoutConfig | ||
| DailyStreamingActiveParticipantLayoutConfig | ||
| DailyStreamingPortraitLayoutConfig; | ||
| DailyStreamingPortraitLayoutConfig | ||
| DailyStreamingCustomLayoutConfig; | ||
@@ -1080,3 +1093,5 @@ export type DailyRemoteMediaPlayerSettingPlay = 'play'; | ||
}): Promise<DailyDeviceInfos>; | ||
setOutputDeviceAsync(audioDevice: { outputDeviceId?: string }): Promise<DailyDeviceInfos>; | ||
setOutputDeviceAsync(audioDevice: { | ||
outputDeviceId?: string; | ||
}): Promise<DailyDeviceInfos>; | ||
setOutputDevice(audioDevice: { outputDeviceId?: string }): DailyCall; | ||
@@ -1083,0 +1098,0 @@ getInputDevices(): Promise<DailyDeviceInfos>; |
{ | ||
"name": "@daily-co/daily-js", | ||
"//": "^ COMMENT OUT 'private: true' BEFORE RUNNING NPM PUBLISH", | ||
"version": "0.28.0", | ||
"version": "0.29.0-alpha.0", | ||
"engines": { | ||
@@ -6,0 +5,0 @@ "node": ">=10.0.0" |
@@ -12,2 +12,7 @@ import { isSfuSupported } from './shared-with-pluot-core/Environment'; | ||
export function callObjectBundleUrl(meetingOrBaseUrl) { | ||
// ADVANCED: if a custom bundle URL override is specified, use that. | ||
if (window._dailyConfig && window._dailyConfig.callObjectBundleUrlOverride) { | ||
return window._dailyConfig.callObjectBundleUrlOverride; | ||
} | ||
// Take the provided URL, which is either a meeting URL (like | ||
@@ -14,0 +19,0 @@ // https://somecompany.daily.co/hello) or a base URL (like |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
555922
7375
12