prebid.js 6.6.0 → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/.eslintrc.js +8 -1
  2. package/allowedModules.js +4 -7
  3. package/integrationExamples/gpt/amp/creative.html +11 -33
  4. package/integrationExamples/gpt/{haloRtdProvider_example.html → hadronRtdProvider_example.html} +9 -9
  5. package/integrationExamples/gpt/idImportLibrary_example.html +2 -2
  6. package/integrationExamples/gpt/userId_example.html +2 -2
  7. package/integrationExamples/gpt/weboramaRtdProvider_example.html +154 -115
  8. package/integrationExamples/gpt/x-domain/creative.html +63 -29
  9. package/modules/.submodules.json +3 -0
  10. package/modules/adagioBidAdapter.js +1 -9
  11. package/modules/adagioBidAdapter.md +1 -1
  12. package/modules/adbookpspBidAdapter.js +29 -12
  13. package/modules/adhashBidAdapter.js +4 -4
  14. package/modules/adkernelBidAdapter.js +2 -2
  15. package/modules/adlooxAnalyticsAdapter.js +1 -1
  16. package/modules/adlooxRtdProvider.js +1 -1
  17. package/modules/adnowBidAdapter.js +1 -1
  18. package/modules/adnuntiusRtdProvider.js +96 -0
  19. package/modules/adnuntiusRtdProvider.md +41 -0
  20. package/modules/adomikAnalyticsAdapter.js +2 -2
  21. package/modules/adotBidAdapter.js +1 -1
  22. package/modules/adpod.js +14 -17
  23. package/modules/adrelevantisBidAdapter.js +2 -2
  24. package/modules/adtargetBidAdapter.js +1 -1
  25. package/modules/adtelligentBidAdapter.js +1 -1
  26. package/modules/advangelistsBidAdapter.js +2 -2
  27. package/modules/adxpremiumAnalyticsAdapter.js +1 -1
  28. package/modules/adyoulikeBidAdapter.js +1 -1
  29. package/modules/afpBidAdapter.js +1 -1
  30. package/modules/appnexusBidAdapter.js +16 -4
  31. package/modules/asealBidAdapter.js +58 -0
  32. package/modules/asealBidAdapter.md +52 -0
  33. package/modules/beachfrontBidAdapter.js +2 -2
  34. package/modules/betweenBidAdapter.js +1 -1
  35. package/modules/bidViewability.js +1 -1
  36. package/modules/bluebillywigBidAdapter.js +1 -1
  37. package/modules/brandmetricsRtdProvider.js +168 -0
  38. package/modules/brandmetricsRtdProvider.md +40 -0
  39. package/modules/bridgewellBidAdapter.js +1 -1
  40. package/modules/browsiRtdProvider.js +2 -2
  41. package/modules/cleanmedianetBidAdapter.js +1 -1
  42. package/modules/colossussspBidAdapter.js +12 -8
  43. package/modules/colossussspBidAdapter.md +15 -1
  44. package/modules/compassBidAdapter.js +1 -1
  45. package/modules/connectIdSystem.js +1 -1
  46. package/modules/consentManagement.js +2 -3
  47. package/modules/consumableBidAdapter.md +1 -1
  48. package/modules/conversantBidAdapter.js +7 -0
  49. package/modules/craftBidAdapter.js +2 -2
  50. package/modules/criteoBidAdapter.js +10 -1
  51. package/modules/currency.js +27 -5
  52. package/modules/cwireBidAdapter.js +1 -1
  53. package/modules/dailyhuntBidAdapter.js +1 -1
  54. package/modules/dchain.js +1 -1
  55. package/modules/displayioBidAdapter.js +157 -0
  56. package/modules/displayioBidAdapter.md +148 -0
  57. package/modules/dspxBidAdapter.js +69 -29
  58. package/modules/dspxBidAdapter.md +2 -1
  59. package/modules/e_volutionBidAdapter.js +158 -0
  60. package/modules/emx_digitalBidAdapter.js +2 -2
  61. package/modules/fluctBidAdapter.js +0 -1
  62. package/modules/gamoshiBidAdapter.js +1 -1
  63. package/modules/gdprEnforcement.js +2 -2
  64. package/modules/glomexBidAdapter.js +1 -1
  65. package/modules/gnetBidAdapter.js +3 -3
  66. package/modules/gnetBidAdapter.md +4 -4
  67. package/modules/goldbachBidAdapter.js +2 -2
  68. package/modules/gptPreAuction.js +1 -1
  69. package/modules/gridBidAdapter.js +15 -1
  70. package/modules/gumgumBidAdapter.js +57 -43
  71. package/modules/hadronIdSystem.js +96 -0
  72. package/modules/hadronIdSystem.md +35 -0
  73. package/modules/hadronRtdProvider.js +254 -0
  74. package/modules/hadronRtdProvider.md +126 -0
  75. package/modules/haloIdSystem.md +4 -35
  76. package/modules/haloRtdProvider.md +3 -126
  77. package/modules/hybridBidAdapter.js +1 -1
  78. package/modules/improvedigitalBidAdapter.js +6 -1
  79. package/modules/insticatorBidAdapter.js +1 -1
  80. package/modules/interactiveOffersBidAdapter.js +9 -6
  81. package/modules/intersectionRtdProvider.js +1 -1
  82. package/modules/ixBidAdapter.js +2 -2
  83. package/modules/jwplayerRtdProvider.js +72 -7
  84. package/modules/jwplayerRtdProvider.md +27 -11
  85. package/modules/kargoBidAdapter.js +2 -2
  86. package/modules/livewrappedBidAdapter.js +1 -1
  87. package/modules/lunamediahbBidAdapter.js +32 -4
  88. package/modules/malltvBidAdapter.js +7 -3
  89. package/modules/malltvBidAdapter.md +64 -51
  90. package/modules/mass.js +3 -5
  91. package/modules/mediakeysBidAdapter.js +2 -2
  92. package/modules/medianetAnalyticsAdapter.js +2 -2
  93. package/modules/medianetRtdProvider.js +1 -1
  94. package/modules/mediasquareBidAdapter.js +1 -0
  95. package/modules/nextMillenniumBidAdapter.js +1 -0
  96. package/modules/nextrollBidAdapter.js +1 -1
  97. package/modules/oguryBidAdapter.js +7 -14
  98. package/modules/onetagBidAdapter.js +1 -1
  99. package/modules/openwebBidAdapter.js +1 -1
  100. package/modules/openxAnalyticsAdapter.js +2 -2
  101. package/modules/openxBidAdapter.js +1 -1
  102. package/modules/parrableIdSystem.js +1 -1
  103. package/modules/permutiveRtdProvider.js +1 -1
  104. package/modules/pilotxBidAdapter.js +147 -0
  105. package/modules/pilotxBidAdapter.md +50 -0
  106. package/modules/pixfutureBidAdapter.js +2 -2
  107. package/modules/prebidServerBidAdapter/index.js +63 -41
  108. package/modules/priceFloors.js +15 -14
  109. package/modules/pubmaticBidAdapter.js +1 -1
  110. package/modules/quantcastBidAdapter.js +1 -1
  111. package/modules/reconciliationRtdProvider.js +1 -1
  112. package/modules/richaudienceBidAdapter.js +7 -2
  113. package/modules/riseBidAdapter.js +17 -6
  114. package/modules/roxotAnalyticsAdapter.js +1 -1
  115. package/modules/rtbhouseBidAdapter.js +1 -1
  116. package/modules/rtdModule/index.js +9 -11
  117. package/modules/rubiconAnalyticsAdapter.js +8 -2
  118. package/modules/rubiconBidAdapter.js +1 -1
  119. package/modules/saambaaBidAdapter.js +420 -420
  120. package/modules/seedingAllianceBidAdapter.js +3 -3
  121. package/modules/sharethroughBidAdapter.js +12 -17
  122. package/modules/sigmoidAnalyticsAdapter.js +1 -1
  123. package/modules/sirdataRtdProvider.js +1 -1
  124. package/modules/sizeMappingV2.js +2 -9
  125. package/modules/smarticoBidAdapter.js +1 -1
  126. package/modules/sortableAnalyticsAdapter.js +5 -4
  127. package/modules/sovrnAnalyticsAdapter.js +2 -2
  128. package/modules/sovrnBidAdapter.js +93 -18
  129. package/modules/sovrnBidAdapter.md +80 -2
  130. package/modules/sspBCBidAdapter.js +54 -21
  131. package/modules/synacormediaBidAdapter.js +32 -11
  132. package/modules/targetVideoBidAdapter.js +1 -1
  133. package/modules/telariaBidAdapter.js +22 -29
  134. package/modules/trustpidSystem.js +197 -0
  135. package/modules/trustpidSystem.md +45 -0
  136. package/modules/undertoneBidAdapter.js +17 -1
  137. package/modules/userId/eids.js +16 -1
  138. package/modules/userId/eids.md +10 -2
  139. package/modules/userId/index.js +2 -2
  140. package/modules/userId/userId.md +17 -2
  141. package/modules/ventesBidAdapter.js +1 -1
  142. package/modules/verizonMediaIdSystem.js +1 -1
  143. package/modules/vibrantmediaBidAdapter.js +220 -0
  144. package/modules/vibrantmediaBidAdapter.md +92 -0
  145. package/modules/viewability.js +177 -0
  146. package/modules/viewability.md +87 -0
  147. package/modules/viewdeosDXBidAdapter.js +1 -1
  148. package/modules/voxBidAdapter.js +1 -1
  149. package/modules/waardexBidAdapter.js +1 -1
  150. package/modules/weboramaRtdProvider.js +264 -34
  151. package/modules/weboramaRtdProvider.md +110 -40
  152. package/modules/widespaceBidAdapter.js +2 -2
  153. package/modules/winrBidAdapter.js +7 -7
  154. package/modules/yahoosspBidAdapter.js +3 -1
  155. package/modules/yieldlabBidAdapter.js +1 -1
  156. package/modules/yieldmoBidAdapter.js +2 -2
  157. package/modules/yieldoneBidAdapter.js +6 -0
  158. package/modules/yuktamediaAnalyticsAdapter.js +1 -1
  159. package/package.json +3 -1
  160. package/plugins/poly/arrayFrom.js +3 -0
  161. package/plugins/poly/find.js +3 -0
  162. package/plugins/poly/findIndex.js +3 -0
  163. package/plugins/poly/includes.js +3 -0
  164. package/plugins/poly/package.json +8 -0
  165. package/src/Renderer.js +1 -1
  166. package/src/adRendering.js +38 -0
  167. package/src/adapterManager.js +33 -28
  168. package/src/adapters/bidderFactory.js +13 -11
  169. package/src/adloader.js +3 -2
  170. package/src/auction.js +140 -117
  171. package/src/auctionIndex.js +85 -0
  172. package/src/auctionManager.js +4 -1
  173. package/src/bidderSettings.js +69 -0
  174. package/src/bidfactory.js +18 -6
  175. package/src/config.js +3 -4
  176. package/src/cpmBucketManager.js +1 -1
  177. package/src/native.js +30 -22
  178. package/src/prebid.js +4 -20
  179. package/src/secureCreatives.js +133 -49
  180. package/src/sizeMapping.js +1 -1
  181. package/src/storageManager.js +1 -1
  182. package/src/targeting.js +13 -4
  183. package/src/userSync.js +1 -1
  184. package/src/utils.js +16 -19
  185. package/src/video.js +11 -12
  186. package/src/videoCache.js +10 -9
  187. package/test/fixtures/fixtures.js +2 -1
  188. package/test/helpers/indexStub.js +28 -0
  189. package/test/helpers/syncPromise.js +71 -0
  190. package/test/spec/auctionmanager_spec.js +269 -90
  191. package/test/spec/config_spec.js +24 -1
  192. package/test/spec/e2e/longform/basic_w_bidderSettings.spec.js +1 -1
  193. package/test/spec/e2e/longform/basic_w_custom_adserver_translation.spec.js +1 -1
  194. package/test/spec/e2e/longform/basic_w_priceGran.spec.js +1 -1
  195. package/test/spec/e2e/longform/basic_w_requireExactDuration.spec.js +1 -1
  196. package/test/spec/e2e/longform/basic_wo_brandCategoryExclusion.spec.js +1 -1
  197. package/test/spec/e2e/longform/basic_wo_requireExactDuration.spec.js +1 -1
  198. package/test/spec/modules/adagioBidAdapter_spec.js +0 -10
  199. package/test/spec/modules/adbookpspBidAdapter_spec.js +17 -3
  200. package/test/spec/modules/adhashBidAdapter_spec.js +2 -2
  201. package/test/spec/modules/adnuntiusRtdProvider_spec.js +145 -0
  202. package/test/spec/modules/adpod_spec.js +91 -156
  203. package/test/spec/modules/afpBidAdapter_spec.js +1 -1
  204. package/test/spec/modules/appnexusBidAdapter_spec.js +27 -0
  205. package/test/spec/modules/asealBidAdapter_spec.js +144 -0
  206. package/test/spec/modules/brandmetricsRtdProvider_spec.js +191 -0
  207. package/test/spec/modules/colossussspBidAdapter_spec.js +5 -2
  208. package/test/spec/modules/conversantBidAdapter_spec.js +54 -2
  209. package/test/spec/modules/criteoBidAdapter_spec.js +21 -0
  210. package/test/spec/modules/currency_spec.js +36 -15
  211. package/test/spec/modules/deepintentDpesIdsystem_spec.js +1 -1
  212. package/test/spec/modules/displayioBidAdapter_spec.js +239 -0
  213. package/test/spec/modules/dspxBidAdapter_spec.js +20 -15
  214. package/test/spec/modules/e_volutionBidAdapter_spec.js +242 -0
  215. package/test/spec/modules/eids_spec.js +2 -2
  216. package/test/spec/modules/eplanningAnalyticsAdapter_spec.js +1 -1
  217. package/test/spec/modules/fintezaAnalyticsAdapter_spec.js +1 -1
  218. package/test/spec/modules/gnetBidAdapter_spec.js +6 -6
  219. package/test/spec/modules/gridBidAdapter_spec.js +18 -0
  220. package/test/spec/modules/gumgumBidAdapter_spec.js +49 -3
  221. package/test/spec/modules/hadronIdSystem_spec.js +57 -0
  222. package/test/spec/modules/hadronRtdProvider_spec.js +762 -0
  223. package/test/spec/modules/idxIdSystem_spec.js +1 -1
  224. package/test/spec/modules/improvedigitalBidAdapter_spec.js +19 -0
  225. package/test/spec/modules/jwplayerRtdProvider_spec.js +195 -2
  226. package/test/spec/modules/kargoBidAdapter_spec.js +1 -1
  227. package/test/spec/modules/lunamediahbBidAdapter_spec.js +27 -1
  228. package/test/spec/modules/mass_spec.js +2 -14
  229. package/test/spec/modules/mediakeysBidAdapter_spec.js +1 -1
  230. package/test/spec/modules/multibid_spec.js +1 -1
  231. package/test/spec/modules/oguryBidAdapter_spec.js +63 -5
  232. package/test/spec/modules/onetagBidAdapter_spec.js +1 -1
  233. package/test/spec/modules/openxAnalyticsAdapter_spec.js +1 -1
  234. package/test/spec/modules/parrableIdSystem_spec.js +1 -1
  235. package/test/spec/modules/pilotxBidAdapter_spec.js +244 -0
  236. package/test/spec/modules/prebidServerBidAdapter_spec.js +43 -6
  237. package/test/spec/modules/priceFloors_spec.js +37 -24
  238. package/test/spec/modules/pubmaticBidAdapter_spec.js +40 -0
  239. package/test/spec/modules/realTimeDataModule_spec.js +51 -2
  240. package/test/spec/modules/riseBidAdapter_spec.js +30 -4
  241. package/test/spec/modules/rubiconAnalyticsAdapter_spec.js +61 -1
  242. package/test/spec/modules/rubiconBidAdapter_spec.js +1 -1
  243. package/test/spec/modules/sharethroughBidAdapter_spec.js +91 -6
  244. package/test/spec/modules/sortableAnalyticsAdapter_spec.js +2 -3
  245. package/test/spec/modules/sovrnBidAdapter_spec.js +413 -333
  246. package/test/spec/modules/sspBCBidAdapter_spec.js +7 -7
  247. package/test/spec/modules/stroeerCoreBidAdapter_spec.js +1 -1
  248. package/test/spec/modules/synacormediaBidAdapter_spec.js +70 -0
  249. package/test/spec/modules/telariaBidAdapter_spec.js +1 -3
  250. package/test/spec/modules/trustpidSystem_spec.js +232 -0
  251. package/test/spec/modules/undertoneBidAdapter_spec.js +55 -2
  252. package/test/spec/modules/userId_spec.js +40 -40
  253. package/test/spec/modules/vibrantmediaBidAdapter_spec.js +1237 -0
  254. package/test/spec/modules/viewability_spec.js +280 -0
  255. package/test/spec/modules/weboramaRtdProvider_spec.js +536 -20
  256. package/test/spec/modules/widespaceBidAdapter_spec.js +1 -1
  257. package/test/spec/modules/yahoosspBidAdapter_spec.js +10 -0
  258. package/test/spec/modules/yieldoneBidAdapter_spec.js +33 -0
  259. package/test/spec/modules/zeotapIdPlusIdSystem_spec.js +1 -1
  260. package/test/spec/native_spec.js +62 -40
  261. package/test/spec/sizeMapping_spec.js +1 -1
  262. package/test/spec/unit/core/adapterManager_spec.js +24 -2
  263. package/test/spec/unit/core/auctionIndex_spec.js +129 -0
  264. package/test/spec/unit/core/bidderFactory_spec.js +65 -12
  265. package/test/spec/unit/core/bidderSettings_spec.js +123 -0
  266. package/test/spec/unit/core/targeting_spec.js +93 -0
  267. package/test/spec/unit/pbjs_api_spec.js +81 -43
  268. package/test/spec/unit/secureCreatives_spec.js +143 -24
  269. package/test/spec/videoCache_spec.js +18 -19
  270. package/test/spec/video_spec.js +51 -61
  271. package/webpack.conf.js +1 -1
@@ -23,7 +23,7 @@ import {
23
23
  setConsentConfig
24
24
  } from 'modules/consentManagement.js';
25
25
  import {server} from 'test/mocks/xhr.js';
26
- import find from 'core-js-pure/features/array/find.js';
26
+ import find from 'prebidjs-polyfill/find.js';
27
27
  import {unifiedIdSubmodule} from 'modules/unifiedIdSystem.js';
28
28
  import {britepoolIdSubmodule} from 'modules/britepoolIdSystem.js';
29
29
  import {id5IdSubmodule} from 'modules/id5IdSystem.js';
@@ -36,7 +36,7 @@ import {nextrollIdSubmodule} from 'modules/nextrollIdSystem.js';
36
36
  import {intentIqIdSubmodule} from 'modules/intentIqIdSystem.js';
37
37
  import {zeotapIdPlusSubmodule} from 'modules/zeotapIdPlusIdSystem.js';
38
38
  import {sharedIdSystemSubmodule} from 'modules/sharedIdSystem.js';
39
- import {haloIdSubmodule} from 'modules/haloIdSystem.js';
39
+ import {hadronIdSubmodule} from 'modules/hadronIdSystem.js';
40
40
  import {pubProvidedIdSubmodule} from 'modules/pubProvidedIdSystem.js';
41
41
  import {criteoIdSubmodule} from 'modules/criteoIdSystem.js';
42
42
  import {mwOpenLinkIdSubModule} from 'modules/mwOpenLinkIdSystem.js';
@@ -625,7 +625,7 @@ describe('User ID', function () {
625
625
  });
626
626
 
627
627
  it('config with 24 configurations should result in 24 submodules add', function () {
628
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, liveIntentIdSubmodule, britepoolIdSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
628
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, liveIntentIdSubmodule, britepoolIdSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
629
629
  init(config);
630
630
  config.setConfig({
631
631
  userSync: {
@@ -658,8 +658,8 @@ describe('User ID', function () {
658
658
  name: 'intentIqId',
659
659
  storage: {name: 'intentIqId', type: 'cookie'}
660
660
  }, {
661
- name: 'haloId',
662
- storage: {name: 'haloId', type: 'cookie'}
661
+ name: 'hadronId',
662
+ storage: {name: 'hadronId', type: 'cookie'}
663
663
  }, {
664
664
  name: 'zeotapIdPlus'
665
665
  }, {
@@ -700,7 +700,7 @@ describe('User ID', function () {
700
700
  });
701
701
 
702
702
  it('config syncDelay updates module correctly', function () {
703
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
703
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
704
704
 
705
705
  init(config);
706
706
  config.setConfig({
@@ -716,7 +716,7 @@ describe('User ID', function () {
716
716
  });
717
717
 
718
718
  it('config auctionDelay updates module correctly', function () {
719
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
719
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
720
720
  init(config);
721
721
  config.setConfig({
722
722
  userSync: {
@@ -731,7 +731,7 @@ describe('User ID', function () {
731
731
  });
732
732
 
733
733
  it('config auctionDelay defaults to 0 if not a number', function () {
734
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
734
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, netIdSubmodule, nextrollIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, pubProvidedIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, flocIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
735
735
  init(config);
736
736
  config.setConfig({
737
737
  userSync: {
@@ -1639,28 +1639,28 @@ describe('User ID', function () {
1639
1639
  }, {adUnits});
1640
1640
  });
1641
1641
 
1642
- it('test hook from haloId html5', function (done) {
1642
+ it('test hook from hadronId html5', function (done) {
1643
1643
  // simulate existing browser local storage values
1644
- localStorage.setItem('haloId', JSON.stringify({'haloId': 'random-ls-identifier'}));
1645
- localStorage.setItem('haloId_exp', '');
1644
+ localStorage.setItem('hadronId', JSON.stringify({'hadronId': 'random-ls-identifier'}));
1645
+ localStorage.setItem('hadronId_exp', '');
1646
1646
 
1647
- setSubmoduleRegistry([haloIdSubmodule]);
1647
+ setSubmoduleRegistry([hadronIdSubmodule]);
1648
1648
  init(config);
1649
- config.setConfig(getConfigMock(['haloId', 'haloId', 'html5']));
1649
+ config.setConfig(getConfigMock(['hadronId', 'hadronId', 'html5']));
1650
1650
 
1651
1651
  requestBidsHook(function () {
1652
1652
  adUnits.forEach(unit => {
1653
1653
  unit.bids.forEach(bid => {
1654
- expect(bid).to.have.deep.nested.property('userId.haloId');
1655
- expect(bid.userId.haloId).to.equal('random-ls-identifier');
1654
+ expect(bid).to.have.deep.nested.property('userId.hadronId');
1655
+ expect(bid.userId.hadronId).to.equal('random-ls-identifier');
1656
1656
  expect(bid.userIdAsEids[0]).to.deep.equal({
1657
1657
  source: 'audigent.com',
1658
1658
  uids: [{id: 'random-ls-identifier', atype: 1}]
1659
1659
  });
1660
1660
  });
1661
1661
  });
1662
- localStorage.removeItem('haloId');
1663
- localStorage.removeItem('haloId_exp', '');
1662
+ localStorage.removeItem('hadronId');
1663
+ localStorage.removeItem('hadronId_exp', '');
1664
1664
  done();
1665
1665
  }, {adUnits});
1666
1666
  });
@@ -1858,7 +1858,7 @@ describe('User ID', function () {
1858
1858
  }, {adUnits});
1859
1859
  });
1860
1860
 
1861
- it('test hook when pubCommonId, unifiedId, id5Id, identityLink, britepoolId, intentIqId, zeotapIdPlus, netId, haloId, Criteo, UID 2.0, admixerId, amxId, dmdId, kpuid, qid and mwOpenLinkId have data to pass', function (done) {
1861
+ it('test hook when pubCommonId, unifiedId, id5Id, identityLink, britepoolId, intentIqId, zeotapIdPlus, netId, hadronId, Criteo, UID 2.0, admixerId, amxId, dmdId, kpuid, qid and mwOpenLinkId have data to pass', function (done) {
1862
1862
  coreStorage.setCookie('pubcid', 'testpubcid', (new Date(Date.now() + 5000).toUTCString()));
1863
1863
  coreStorage.setCookie('unifiedid', JSON.stringify({'TDID': 'testunifiedid'}), (new Date(Date.now() + 5000).toUTCString()));
1864
1864
  coreStorage.setCookie('id5id', JSON.stringify({'universal_uid': 'testid5id'}), (new Date(Date.now() + 5000).toUTCString()));
@@ -1868,7 +1868,7 @@ describe('User ID', function () {
1868
1868
  coreStorage.setCookie('netId', JSON.stringify({'netId': 'testnetId'}), (new Date(Date.now() + 5000).toUTCString()));
1869
1869
  coreStorage.setCookie('intentIqId', 'testintentIqId', (new Date(Date.now() + 5000).toUTCString()));
1870
1870
  coreStorage.setCookie('IDP', btoa(JSON.stringify('zeotapId')), (new Date(Date.now() + 5000).toUTCString()));
1871
- coreStorage.setCookie('haloId', JSON.stringify({'haloId': 'testHaloId'}), (new Date(Date.now() + 5000).toUTCString()));
1871
+ coreStorage.setCookie('hadronId', JSON.stringify({'hadronId': 'testHadronId'}), (new Date(Date.now() + 5000).toUTCString()));
1872
1872
  coreStorage.setCookie('storage_criteo', JSON.stringify({'criteoId': 'test_bidid'}), (new Date(Date.now() + 5000).toUTCString()));
1873
1873
  coreStorage.setCookie('mwol', JSON.stringify({eid: 'XX-YY-ZZ-123'}), (new Date(Date.now() + 5000).toUTCString()));
1874
1874
  coreStorage.setCookie('uid2id', 'Sample_AD_Token', (new Date(Date.now() + 5000).toUTCString()));
@@ -1881,7 +1881,7 @@ describe('User ID', function () {
1881
1881
  // qid only supports localStorage
1882
1882
  localStorage.setItem('qid', 'testqid');
1883
1883
  localStorage.setItem('qid_exp', (new Date(Date.now() + 5000)).toUTCString());
1884
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, britepoolIdSubmodule, netIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
1884
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, britepoolIdSubmodule, netIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, criteoIdSubmodule, mwOpenLinkIdSubModule, tapadIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
1885
1885
  init(config);
1886
1886
  config.setConfig(getConfigMock(['pubCommonId', 'pubcid', 'cookie'],
1887
1887
  ['unifiedId', 'unifiedid', 'cookie'],
@@ -1892,7 +1892,7 @@ describe('User ID', function () {
1892
1892
  ['netId', 'netId', 'cookie'],
1893
1893
  ['intentIqId', 'intentIqId', 'cookie'],
1894
1894
  ['zeotapIdPlus', 'IDP', 'cookie'],
1895
- ['haloId', 'haloId', 'cookie'],
1895
+ ['hadronId', 'hadronId', 'cookie'],
1896
1896
  ['criteo', 'storage_criteo', 'cookie'],
1897
1897
  ['mwOpenLinkId', 'mwol', 'cookie'],
1898
1898
  ['tapadId', 'tapad_id', 'cookie'],
@@ -1933,9 +1933,9 @@ describe('User ID', function () {
1933
1933
  // also check that zeotapIdPlus id data was copied to bid
1934
1934
  expect(bid).to.have.deep.nested.property('userId.IDP');
1935
1935
  expect(bid.userId.IDP).to.equal('zeotapId');
1936
- // also check that haloId id was copied to bid
1937
- expect(bid).to.have.deep.nested.property('userId.haloId');
1938
- expect(bid.userId.haloId).to.equal('testHaloId');
1936
+ // also check that hadronId id was copied to bid
1937
+ expect(bid).to.have.deep.nested.property('userId.hadronId');
1938
+ expect(bid.userId.hadronId).to.equal('testHadronId');
1939
1939
  // also check that criteo id was copied to bid
1940
1940
  expect(bid).to.have.deep.nested.property('userId.criteoId');
1941
1941
  expect(bid.userId.criteoId).to.equal('test_bidid');
@@ -1974,7 +1974,7 @@ describe('User ID', function () {
1974
1974
  coreStorage.setCookie('netId', '', EXPIRED_COOKIE_DATE);
1975
1975
  coreStorage.setCookie('intentIqId', '', EXPIRED_COOKIE_DATE);
1976
1976
  coreStorage.setCookie('IDP', '', EXPIRED_COOKIE_DATE);
1977
- coreStorage.setCookie('haloId', '', EXPIRED_COOKIE_DATE);
1977
+ coreStorage.setCookie('hadronId', '', EXPIRED_COOKIE_DATE);
1978
1978
  coreStorage.setCookie('storage_criteo', '', EXPIRED_COOKIE_DATE);
1979
1979
  coreStorage.setCookie('mwol', '', EXPIRED_COOKIE_DATE);
1980
1980
  coreStorage.setCookie('uid2id', '', EXPIRED_COOKIE_DATE);
@@ -1989,7 +1989,7 @@ describe('User ID', function () {
1989
1989
  }, {adUnits});
1990
1990
  });
1991
1991
 
1992
- it('test hook when pubCommonId, unifiedId, id5Id, britepoolId, dmdId, intentIqId, zeotapIdPlus, criteo, netId, haloId, UID 2.0, admixerId, kpuid and mwOpenLinkId have their modules added before and after init', function (done) {
1992
+ it('test hook when pubCommonId, unifiedId, id5Id, britepoolId, dmdId, intentIqId, zeotapIdPlus, criteo, netId, hadronId, UID 2.0, admixerId, kpuid and mwOpenLinkId have their modules added before and after init', function (done) {
1993
1993
  coreStorage.setCookie('pubcid', 'testpubcid', (new Date(Date.now() + 5000).toUTCString()));
1994
1994
  coreStorage.setCookie('unifiedid', JSON.stringify({'TDID': 'cookie-value-add-module-variations'}), new Date(Date.now() + 5000).toUTCString());
1995
1995
  coreStorage.setCookie('id5id', JSON.stringify({'universal_uid': 'testid5id'}), (new Date(Date.now() + 5000).toUTCString()));
@@ -1998,7 +1998,7 @@ describe('User ID', function () {
1998
1998
  coreStorage.setCookie('netId', JSON.stringify({'netId': 'testnetId'}), (new Date(Date.now() + 5000).toUTCString()));
1999
1999
  coreStorage.setCookie('intentIqId', 'testintentIqId', (new Date(Date.now() + 5000).toUTCString()));
2000
2000
  coreStorage.setCookie('IDP', btoa(JSON.stringify('zeotapId')), (new Date(Date.now() + 5000).toUTCString()));
2001
- coreStorage.setCookie('haloId', JSON.stringify({'haloId': 'testHaloId'}), (new Date(Date.now() + 5000).toUTCString()));
2001
+ coreStorage.setCookie('hadronId', JSON.stringify({'hadronId': 'testHadronId'}), (new Date(Date.now() + 5000).toUTCString()));
2002
2002
  coreStorage.setCookie('dmdId', 'testdmdId', (new Date(Date.now() + 5000).toUTCString()));
2003
2003
  coreStorage.setCookie('storage_criteo', JSON.stringify({'criteoId': 'test_bidid'}), (new Date(Date.now() + 5000).toUTCString()));
2004
2004
  coreStorage.setCookie('mwol', JSON.stringify({eid: 'XX-YY-ZZ-123'}), (new Date(Date.now() + 5000).toUTCString()));
@@ -2022,7 +2022,7 @@ describe('User ID', function () {
2022
2022
  attachIdSystem(netIdSubmodule);
2023
2023
  attachIdSystem(intentIqIdSubmodule);
2024
2024
  attachIdSystem(zeotapIdPlusSubmodule);
2025
- attachIdSystem(haloIdSubmodule);
2025
+ attachIdSystem(hadronIdSubmodule);
2026
2026
  attachIdSystem(dmdIdSubmodule);
2027
2027
  attachIdSystem(criteoIdSubmodule);
2028
2028
  attachIdSystem(mwOpenLinkIdSubModule);
@@ -2040,7 +2040,7 @@ describe('User ID', function () {
2040
2040
  ['netId', 'netId', 'cookie'],
2041
2041
  ['intentIqId', 'intentIqId', 'cookie'],
2042
2042
  ['zeotapIdPlus', 'IDP', 'cookie'],
2043
- ['haloId', 'haloId', 'cookie'],
2043
+ ['hadronId', 'hadronId', 'cookie'],
2044
2044
  ['dmdId', 'dmdId', 'cookie'],
2045
2045
  ['criteo', 'storage_criteo', 'cookie'],
2046
2046
  ['mwOpenLinkId', 'mwol', 'cookie'],
@@ -2078,9 +2078,9 @@ describe('User ID', function () {
2078
2078
  // also check that zeotapIdPlus id data was copied to bid
2079
2079
  expect(bid).to.have.deep.nested.property('userId.IDP');
2080
2080
  expect(bid.userId.IDP).to.equal('zeotapId');
2081
- // also check that haloId id data was copied to bid
2082
- expect(bid).to.have.deep.nested.property('userId.haloId');
2083
- expect(bid.userId.haloId).to.equal('testHaloId');
2081
+ // also check that hadronId id data was copied to bid
2082
+ expect(bid).to.have.deep.nested.property('userId.hadronId');
2083
+ expect(bid.userId.hadronId).to.equal('testHadronId');
2084
2084
  // also check that dmdId id data was copied to bid
2085
2085
  expect(bid).to.have.deep.nested.property('userId.dmdId');
2086
2086
  expect(bid.userId.dmdId).to.equal('testdmdId');
@@ -2116,7 +2116,7 @@ describe('User ID', function () {
2116
2116
  coreStorage.setCookie('netId', '', EXPIRED_COOKIE_DATE);
2117
2117
  coreStorage.setCookie('intentIqId', '', EXPIRED_COOKIE_DATE);
2118
2118
  coreStorage.setCookie('IDP', '', EXPIRED_COOKIE_DATE);
2119
- coreStorage.setCookie('haloId', '', EXPIRED_COOKIE_DATE);
2119
+ coreStorage.setCookie('hadronId', '', EXPIRED_COOKIE_DATE);
2120
2120
  coreStorage.setCookie('dmdId', '', EXPIRED_COOKIE_DATE);
2121
2121
  coreStorage.setCookie('storage_criteo', '', EXPIRED_COOKIE_DATE);
2122
2122
  coreStorage.setCookie('mwol', '', EXPIRED_COOKIE_DATE);
@@ -2166,7 +2166,7 @@ describe('User ID', function () {
2166
2166
  coreStorage.setCookie('netId', JSON.stringify({'netId': 'testnetId'}), new Date(Date.now() + 5000).toUTCString());
2167
2167
  coreStorage.setCookie('intentIqId', 'testintentIqId', (new Date(Date.now() + 5000).toUTCString()));
2168
2168
  coreStorage.setCookie('IDP', btoa(JSON.stringify('zeotapId')), (new Date(Date.now() + 5000).toUTCString()));
2169
- coreStorage.setCookie('haloId', JSON.stringify({'haloId': 'testHaloId'}), (new Date(Date.now() + 5000).toUTCString()));
2169
+ coreStorage.setCookie('hadronId', JSON.stringify({'hadronId': 'testHadronId'}), (new Date(Date.now() + 5000).toUTCString()));
2170
2170
  coreStorage.setCookie('admixerId', 'testadmixerId', new Date(Date.now() + 5000).toUTCString());
2171
2171
  coreStorage.setCookie('deepintentId', 'testdeepintentId', new Date(Date.now() + 5000).toUTCString());
2172
2172
  coreStorage.setCookie('MOCKID', JSON.stringify({'MOCKID': '123456778'}), new Date(Date.now() + 5000).toUTCString());
@@ -2177,7 +2177,7 @@ describe('User ID', function () {
2177
2177
  localStorage.setItem('qid', 'testqid');
2178
2178
  localStorage.setItem('qid_exp', new Date(Date.now() + 5000).toUTCString())
2179
2179
 
2180
- setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, britepoolIdSubmodule, netIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, haloIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
2180
+ setSubmoduleRegistry([sharedIdSystemSubmodule, unifiedIdSubmodule, id5IdSubmodule, identityLinkSubmodule, britepoolIdSubmodule, netIdSubmodule, intentIqIdSubmodule, zeotapIdPlusSubmodule, hadronIdSubmodule, uid2IdSubmodule, admixerIdSubmodule, deepintentDpesSubmodule, dmdIdSubmodule, akamaiDAPIdSubmodule, amxIdSubmodule, kinessoIdSubmodule, adqueryIdSubmodule]);
2181
2181
  init(config);
2182
2182
 
2183
2183
  config.setConfig({
@@ -2202,7 +2202,7 @@ describe('User ID', function () {
2202
2202
  }, {
2203
2203
  name: 'zeotapIdPlus'
2204
2204
  }, {
2205
- name: 'haloId', storage: {name: 'haloId', type: 'cookie'}
2205
+ name: 'hadronId', storage: {name: 'hadronId', type: 'cookie'}
2206
2206
  }, {
2207
2207
  name: 'admixerId', storage: {name: 'admixerId', type: 'cookie'}
2208
2208
  }, {
@@ -2268,9 +2268,9 @@ describe('User ID', function () {
2268
2268
  // also check that zeotapIdPlus id data was copied to bid
2269
2269
  expect(bid).to.have.deep.nested.property('userId.IDP');
2270
2270
  expect(bid.userId.IDP).to.equal('zeotapId');
2271
- // also check that haloId id data was copied to bid
2272
- expect(bid).to.have.deep.nested.property('userId.haloId');
2273
- expect(bid.userId.haloId).to.equal('testHaloId');
2271
+ // also check that hadronId id data was copied to bid
2272
+ expect(bid).to.have.deep.nested.property('userId.hadronId');
2273
+ expect(bid.userId.hadronId).to.equal('testHadronId');
2274
2274
  expect(bid.userId.uid2).to.deep.equal({
2275
2275
  id: 'Sample_AD_Token'
2276
2276
  });
@@ -2302,7 +2302,7 @@ describe('User ID', function () {
2302
2302
  coreStorage.setCookie('netId', '', EXPIRED_COOKIE_DATE);
2303
2303
  coreStorage.setCookie('intentIqId', '', EXPIRED_COOKIE_DATE);
2304
2304
  coreStorage.setCookie('IDP', '', EXPIRED_COOKIE_DATE);
2305
- coreStorage.setCookie('haloId', '', EXPIRED_COOKIE_DATE);
2305
+ coreStorage.setCookie('hadronId', '', EXPIRED_COOKIE_DATE);
2306
2306
  coreStorage.setCookie('dmdId', '', EXPIRED_COOKIE_DATE);
2307
2307
  coreStorage.setCookie('admixerId', '', EXPIRED_COOKIE_DATE);
2308
2308
  coreStorage.setCookie('deepintentId', '', EXPIRED_COOKIE_DATE);