detect-audio-video
Advanced tools
Comparing version 0.18.0 to 0.19.0
@@ -208,2 +208,5 @@ const AAC_CONTENT_TYPE = 'audio/mp4; codecs="mp4a.40.2"'; | ||
function isHdrScreenSupported() { | ||
if (window.Hisense_GetSupportForHDR) { | ||
return window.Hisense_GetSupportForHDR() !== 'not support'; | ||
} | ||
try { | ||
@@ -210,0 +213,0 @@ const isHighSupported = checkDynamicRange('high'); |
@@ -0,1 +1,6 @@ | ||
declare global { | ||
interface Window { | ||
Hisense_GetSupportForHDR?: () => string; | ||
} | ||
} | ||
export declare function getDevicePixelRatio(): number; | ||
@@ -2,0 +7,0 @@ export declare function getScreenWidth(): number; |
{ | ||
"name": "detect-audio-video", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"description": "Detect audio video features", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
36063
897