@daily-co/daily-js
Advanced tools
Comparing version 0.9.992-beta.7 to 0.9.992-beta.8
@@ -126,5 +126,11 @@ // This is a work-in-progress and incomplete, and not yet exposed through | ||
export type DailyTrackSubscriptionOptions = | ||
| boolean | ||
| "avatar" | ||
| { audio?: boolean; video?: boolean; screenVideo?: boolean }; | ||
export interface DailyParticipantUpdateOptions { | ||
setAudio?: boolean; | ||
setVideo?: boolean; | ||
setSubscribedTracks?: DailyTrackSubscriptionOptions; | ||
eject?: true; | ||
@@ -131,0 +137,0 @@ styles?: DailyParticipantCss; |
{ | ||
"name": "@daily-co/daily-js", | ||
"version": "0.9.992-beta.7", | ||
"version": "0.9.992-beta.8", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -646,2 +646,6 @@ import EventEmitter from 'events'; | ||
async load(properties) { | ||
if (!this.needsLoad()) { | ||
return; | ||
} | ||
if (properties) { | ||
@@ -716,2 +720,5 @@ this.validateProperties(properties); | ||
newCss = !!(this.properties.cssFile || this.properties.cssText); | ||
// Validate that url we're using to join() doesn't conflict with the url | ||
// we used to load() | ||
if (properties.url) { | ||
@@ -740,2 +747,7 @@ if (this._callObjectMode) { | ||
} | ||
// Validate and assign properties to this.properties, for use by call | ||
// machine | ||
this.validateProperties(properties); | ||
this.properties = { ...this.properties, ...properties }; | ||
} | ||
@@ -742,0 +754,0 @@ if (this._meetingState === DAILY_STATE_JOINED || |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
979229
31
3073
16