@daily-co/daily-js
Advanced tools
Comparing version 0.9.91 to 0.9.92
{ | ||
"name": "@daily-co/daily-js", | ||
"version": "0.9.91", | ||
"version": "0.9.92", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=10.0.0" |
@@ -82,4 +82,5 @@ | ||
export const DAILY_METHOD_DETECT_ALL_FACES = 'detect-all-faces'; | ||
export const DAILY_METHOD_ROOM = 'lib-room-info'; | ||
export const DAILY_CUSTOM_TRACK = 'daily-custom-track'; | ||
export const DAILY_UI_REQUEST_FULLSCREEN = 'request-fullscreen'; | ||
export const DAILY_UI_EXIT_FULLSCREEN = 'request-exit-fullscreen'; |
@@ -75,2 +75,3 @@ import EventEmitter from 'events'; | ||
DAILY_METHOD_DETECT_ALL_FACES, | ||
DAILY_METHOD_ROOM, | ||
DAILY_CUSTOM_TRACK, | ||
@@ -771,2 +772,16 @@ DAILY_UI_REQUEST_FULLSCREEN, | ||
async room() { | ||
if (this._meetingState !== DAILY_STATE_JOINED) { | ||
return null; | ||
} | ||
return new Promise((resolve, reject) => { | ||
let k = (msg) => { | ||
delete msg.action; | ||
delete msg.callbackStamp; | ||
resolve(msg); | ||
}; | ||
this._sendIframeMsg({ action: DAILY_METHOD_ROOM }, k); | ||
}); | ||
} | ||
// | ||
@@ -773,0 +788,0 @@ // internal methods |
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
2343536
1794