modules/conversantBidAdapter.js
function getDevice() {
  const language = navigator.language ? 'language' : 'userLanguage';
  return {
    h: screen.height,
    w: screen.width,
    dnt: getDNT() ? 1 : 0,
    language: navigator[language].split('-')[0],
    make: navigator.vendor ? navigator.vendor : '',
    ua: navigator.userAgent
  };
}
function getDevice() {
  const language = navigator.language ? 'language' : 'userLanguage';
  return {
    h: screen.height,
    w: screen.width,
    dnt: getDNT() ? 1 : 0,
    language: navigator[language].split('-')[0],
    make: navigator.vendor ? navigator.vendor : '',
    ua: navigator.userAgent
  };
}
function getDevice ( ) { const language = navigator . language ? 'language' : 'userLanguage' ; return { h : screen . height , w : screen . width , dnt : getDNT ( ) ? 1 : 0 , language : navigator [ language ] . split ( '-' ) [ 0 ] , make : navigator . vendor ? navigator . vendor : '' , ua : navigator . userAgent } ; }
Return openrtb device object that includes ua, width, and height.

@returns {Device} Openrtb device object
Return openrtb device object that includes ua width and height .