@daily-co/daily-js
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -153,2 +153,3 @@ // Type definitions for daily-js | ||
byUser?: boolean; | ||
byRemoteRequest?: boolean; | ||
byBandwidth?: boolean; | ||
@@ -328,3 +329,2 @@ }; | ||
| 'left-meeting' | ||
| 'recording-started' | ||
| 'recording-stopped' | ||
@@ -382,2 +382,8 @@ | 'recording-stats' | ||
export interface DailyEventObjectRecordingStarted { | ||
action: Extract<DailyEvent, 'recording-started'>; | ||
local?: boolean; | ||
recordingId?: string; | ||
} | ||
export interface DailyEventObjectMouseEvent { | ||
@@ -471,2 +477,4 @@ action: Extract< | ||
? DailyEventObjectTrack | ||
: T extends DailyEventObjectRecordingStarted['action'] | ||
? DailyEventObjectRecordingStarted | ||
: T extends DailyEventObjectMouseEvent['action'] | ||
@@ -516,2 +524,3 @@ ? DailyEventObjectMouseEvent | ||
preset: 'default'; | ||
maxCamStreams?: number; | ||
} | ||
@@ -518,0 +527,0 @@ |
{ | ||
"name": "@daily-co/daily-js", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -106,3 +106,4 @@ import ScriptMessageChannel from './ScriptMessageChannel'; | ||
forwardPackagedMessageToCallMachine(msg, iframe, newCallFrameId) { | ||
msg.callFrameId = newCallFrameId; | ||
const newMsg = { ...msg }; | ||
newMsg.callFrameId = newCallFrameId; | ||
const w = iframe ? iframe.contentWindow : window; | ||
@@ -113,3 +114,3 @@ // console.log( | ||
// ); | ||
w.postMessage(msg, '*'); | ||
w.postMessage(newMsg, '*'); | ||
} | ||
@@ -116,0 +117,0 @@ |
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
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
391698
4601