@@ -23,12 +23,12 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
2323import { getRefererInfo } from '../src/refererDetection.js' ;
2424import { getViewportSize } from '../libraries/viewport/viewport.js' ;
2525
26- const NM_VERSION = '4.4.0 ' ;
26+ const NM_VERSION = '4.4.1 ' ;
2727const PBJS_VERSION = 'v$prebid.version$' ;
2828const GVLID = 1060 ;
2929const BIDDER_CODE = 'nextMillennium' ;
3030const ENDPOINT = 'https://pbs.nextmillmedia.com/openrtb2/auction' ;
31- const TEST_ENDPOINT = 'https://test.pbs .nextmillmedia.com/openrtb2/auction' ;
31+ const TEST_ENDPOINT = 'https://dev.pbsa .nextmillmedia.com/openrtb2/auction' ;
3232const SYNC_ENDPOINT = 'https://cookies.nextmillmedia.com/sync?gdpr={{.GDPR}}&gdpr_consent={{.GDPRConsent}}&us_privacy={{.USPrivacy}}&gpp={{.GPP}}&gpp_sid={{.GPPSID}}&type={{.TYPE_PIXEL}}' ;
3333const REPORT_ENDPOINT = 'https://report2.hb.brainlyads.com/statistics/metric' ;
3434const TIME_TO_LIVE = 360 ;
@@ -37,7 +37,6 @@ const DEFAULT_TMAX = 1500;
3737
3838const VIDEO_PARAMS_DEFAULT = {
3939 api : undefined ,
40- context : undefined ,
4140 delivery : undefined ,
4241 linearity : undefined ,
4342 maxduration : undefined ,
@@ -273,8 +272,8 @@ export function getExtNextMilImp(bid) {
273272 nextMillennium : {
274273 nm_version : NM_VERSION ,
275274 pbjs_version : PBJS_VERSION ,
276- refresh_count : window ?. nmmRefreshCounts ?. [ bid . adUnitCode ] || 0 ,
277- scrollTop : window ? .pageYOffset || getWinDimensions ( ) ? .document ? .documentElement ? .scrollTop ,
275+ refresh_count : window ?. nmmRefreshCounts [ bid . adUnitCode ] || 0 ,
276+ scrollTop : window . pageYOffset || getWinDimensions ( ) . document . documentElement . scrollTop ,
278277 } ,
279278 } ;
280279
@@ -528,7 +527,7 @@ function getSua() {
528527 if ( ! ( brands && platform ) ) return undefined ;
529528
530529 return {
531- brands,
530+ browsers : brands ,
532531 mobile : Number ( ! ! mobile ) ,
533532 platform : ( platform && { brand : platform } ) || undefined ,
534533 } ;
0 commit comments