@schibsted/advertory 2.60.2 → 2.61.1

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 (152) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +6 -1
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +6 -1
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftenpostenv2/es/index.css +1 -0
  7. package/core/{e24v2 → aftenpostenv2}/es/index.d.ts +6 -1
  8. package/core/aftenpostenv2/es/index.js +1 -0
  9. package/{sites/e24v2 → core/aftenpostenv2}/es/package.json +1 -1
  10. package/core/aftonbladet/es/index.css +1 -1
  11. package/core/aftonbladet/es/index.d.ts +6 -1
  12. package/core/aftonbladet/es/index.js +1 -1
  13. package/core/aftonbladet/index.d.ts +6 -1
  14. package/core/aftonbladet/index.js +1 -1
  15. package/core/aftonbladetv2/es/index.css +1 -1
  16. package/core/aftonbladetv2/es/index.d.ts +6 -1
  17. package/core/aftonbladetv2/es/index.js +1 -1
  18. package/core/bt/es/index.css +1 -1
  19. package/core/bt/es/index.d.ts +6 -1
  20. package/core/bt/es/index.js +1 -1
  21. package/core/bt/index.d.ts +6 -1
  22. package/core/bt/index.js +1 -1
  23. package/core/e24/es/index.css +1 -1
  24. package/core/e24/es/index.d.ts +6 -1
  25. package/core/e24/es/index.js +1 -1
  26. package/core/e24/index.d.ts +6 -1
  27. package/core/e24/index.js +1 -1
  28. package/core/fotbollskanalen/es/index.css +1 -1
  29. package/core/fotbollskanalen/es/index.d.ts +6 -1
  30. package/core/fotbollskanalen/es/index.js +1 -1
  31. package/core/fotbollskanalen/index.d.ts +6 -1
  32. package/core/fotbollskanalen/index.js +1 -1
  33. package/core/godare/index.d.ts +6 -1
  34. package/core/godare/index.js +1 -1
  35. package/core/godt/index.d.ts +6 -1
  36. package/core/godt/index.js +1 -1
  37. package/core/klart/index.d.ts +6 -1
  38. package/core/klart/index.js +1 -1
  39. package/core/koket/es/index.css +1 -1
  40. package/core/koket/es/index.d.ts +6 -1
  41. package/core/koket/es/index.js +1 -1
  42. package/core/koket/index.d.ts +6 -1
  43. package/core/koket/index.js +1 -1
  44. package/core/kompakt/index.d.ts +6 -1
  45. package/core/kompakt/index.js +1 -1
  46. package/core/minmote/index.d.ts +6 -1
  47. package/core/minmote/index.js +1 -1
  48. package/core/pent/index.d.ts +6 -1
  49. package/core/pent/index.js +1 -1
  50. package/core/sa/es/index.css +1 -1
  51. package/core/sa/es/index.d.ts +6 -1
  52. package/core/sa/es/index.js +1 -1
  53. package/core/sa/index.d.ts +6 -1
  54. package/core/sa/index.js +1 -1
  55. package/core/svd/es/index.css +1 -1
  56. package/core/svd/es/index.d.ts +6 -1
  57. package/core/svd/es/index.js +1 -1
  58. package/core/svd/index.d.ts +6 -1
  59. package/core/svd/index.js +1 -1
  60. package/core/svdv2/es/index.css +1 -1
  61. package/core/svdv2/es/index.d.ts +6 -1
  62. package/core/svdv2/es/index.js +1 -1
  63. package/core/tek/index.d.ts +6 -1
  64. package/core/tek/index.js +1 -1
  65. package/core/tv4/es/index.d.ts +6 -1
  66. package/core/tv4/es/index.js +1 -1
  67. package/core/tv4/index.d.ts +6 -1
  68. package/core/tv4/index.js +1 -1
  69. package/core/tvnu/index.d.ts +6 -1
  70. package/core/tvnu/index.js +1 -1
  71. package/core/vg/es/index.css +1 -1
  72. package/core/vg/es/index.d.ts +6 -1
  73. package/core/vg/es/index.js +1 -1
  74. package/core/vg/index.d.ts +6 -1
  75. package/core/vg/index.js +1 -1
  76. package/core/vgv2/es/index.css +1 -1
  77. package/core/vgv2/es/index.d.ts +6 -1
  78. package/core/vgv2/es/index.js +1 -1
  79. package/features/ad-native/index.d.ts +6 -0
  80. package/features/dr-edition/es/index.d.ts +6 -0
  81. package/features/dr-edition/index.d.ts +6 -0
  82. package/features/tracker/index.d.ts +6 -0
  83. package/package.json +1 -1
  84. package/sites/aftenposten/es/index.css +1 -1
  85. package/sites/aftenpostenv2/es/index.css +1 -0
  86. package/sites/{e24v2 → aftenpostenv2}/es/index.d.ts +6 -10
  87. package/sites/aftenpostenv2/es/index.js +1 -0
  88. package/{core/e24v2 → sites/aftenpostenv2}/es/package.json +1 -1
  89. package/sites/aftonbladet/es/index.css +1 -1
  90. package/sites/aftonbladetv2/es/index.css +1 -1
  91. package/sites/bt/es/index.css +1 -1
  92. package/sites/e24/es/index.css +1 -1
  93. package/sites/e24/es/index.d.ts +5 -1
  94. package/sites/e24/es/index.js +1 -1
  95. package/sites/e24/index.d.ts +5 -1
  96. package/sites/e24/index.js +1 -1
  97. package/sites/fotbollskanalen/es/index.css +1 -1
  98. package/sites/sa/es/index.css +1 -1
  99. package/sites/svd/es/index.css +1 -1
  100. package/sites/svdv2/es/index.css +1 -1
  101. package/sites/tv4/es/index.css +1 -1
  102. package/sites/vg/es/index.css +1 -1
  103. package/sites/vgv2/es/index.css +1 -1
  104. package/styles/aftenpostenv2/styles.css +1 -0
  105. package/styles/e24/styles.css +1 -1
  106. package/styles/svdv2/styles.css +1 -1
  107. package/types/core/interface/config.d.ts +6 -0
  108. package/types/features/ad-native/sites/aftenpostenv2/aftenposten-init.d.ts +4 -0
  109. package/types/features/ad-native/sites/aftenpostenv2/index.d.ts +6 -0
  110. package/types/features/ad-native/sites/aftenpostenv2/templates/content/index.d.ts +4 -0
  111. package/types/features/ad-native/sites/aftenpostenv2/templates/index.d.ts +3 -0
  112. package/types/features/ad-native/sites/aftenpostenv2/templates/recirc/index.d.ts +4 -0
  113. package/types/features/widescreen-switching/constants.d.ts +3 -0
  114. package/types/features/widescreen-switching/query-widescreen.d.ts +3 -0
  115. package/types/features/widescreen-switching/query-widescreen.test.d.ts +1 -0
  116. package/types/interface/global.d.ts +0 -1
  117. package/types/sites/aftenpostenv2/formats/Netboard/index.d.ts +3 -0
  118. package/types/sites/{e24v2/formats/Brandboard → aftenpostenv2/formats/Skyscraper}/index.d.ts +1 -1
  119. package/types/sites/aftenpostenv2/formats/Wallpaper/index.d.ts +2 -0
  120. package/types/sites/aftenpostenv2/formats/helpers.d.ts +4 -0
  121. package/types/sites/{e24v2 → aftenpostenv2}/formats/index.d.ts +2 -5
  122. package/types/sites/aftenpostenv2/index.d.ts +4 -0
  123. package/types/sites/aftenpostenv2/prepare-page-options.test.d.ts +1 -0
  124. package/types/sites/aftenpostenv2/prepare-tag.d.ts +3 -0
  125. package/types/sites/aftenpostenv2/prepare-tag.test.d.ts +1 -0
  126. package/types/sites/e24/formats/Skyscraper/index.d.ts +3 -1
  127. package/types/sites/e24/formats/Wallpaper/index.d.ts +2 -1
  128. package/types/sites/e24/formats/index.d.ts +1 -0
  129. package/types/sites/e24/index.d.ts +2 -2
  130. package/core/e24v2/es/index.css +0 -1
  131. package/core/e24v2/es/index.js +0 -1
  132. package/sites/e24v2/es/index.css +0 -1
  133. package/sites/e24v2/es/index.js +0 -1
  134. package/styles/e24v2/styles.css +0 -1
  135. package/types/sites/e24/formats/helpers.d.ts +0 -4
  136. package/types/sites/e24v2/formats/Netboard/index.d.ts +0 -3
  137. package/types/sites/e24v2/formats/Skyscraper/index.d.ts +0 -5
  138. package/types/sites/e24v2/formats/Wallpaper/index.d.ts +0 -4
  139. package/types/sites/e24v2/index.d.ts +0 -2
  140. package/types/sites/tvnu/formats/Widescreen/helpers.d.ts +0 -1
  141. /package/styles/{e24v2 → aftenpostenv2}/index.js +0 -0
  142. /package/types/config/{e24v2.d.ts → aftenpostenv2.d.ts} +0 -0
  143. /package/types/{sites/aftonbladetv2/formats/Widescreen/helpers.d.ts → features/widescreen-switching/index.d.ts} +0 -0
  144. /package/types/{sites/e24v2/prepare-page-options.test.d.ts → features/widescreen-switching/index.test.d.ts} +0 -0
  145. /package/types/sites/{e24v2 → aftenpostenv2}/config.d.ts +0 -0
  146. /package/types/sites/{e24v2 → aftenpostenv2}/events.d.ts +0 -0
  147. /package/types/sites/{e24v2 → aftenpostenv2}/formats/Topboard/index.d.ts +0 -0
  148. /package/types/sites/{e24v2 → aftenpostenv2}/prepare-page-options.d.ts +0 -0
  149. /package/types/sites/{e24v2 → e24}/formats/Aksjelive/index.d.ts +0 -0
  150. /package/types/sites/{e24v2 → e24}/formats/Netboard/helpers.d.ts +0 -0
  151. /package/types/sites/{e24v2 → e24}/formats/Topboard/helpers.d.ts +0 -0
  152. /package/types/sites/{e24v2 → e24}/formats/Wallpaper/helpers.d.ts +0 -0
@@ -400,6 +400,7 @@ interface SiteConfig {
400
400
  };
401
401
  useAppTabletInvCode?: boolean;
402
402
  adScaleConfig?: AdScaleConfig;
403
+ widescreenSwitching?: WidescreenSwitchingConfig;
403
404
  }
404
405
  interface NativeTrackingConfig {
405
406
  nativeTrackingEnabled?: boolean;
@@ -630,6 +631,11 @@ interface DevicePlacementBatches {
630
631
  type PlacementBatchesConfig = {
631
632
  [device in DeviceType]: DevicePlacementBatches;
632
633
  };
634
+ interface WidescreenSwitchingConfig {
635
+ enabled: boolean;
636
+ rotationInterval?: number;
637
+ widescreenIdPrefix?: string;
638
+ }
633
639
 
634
640
  type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
635
641
  type ConsentedToAllCallback = (value: boolean) => void;
@@ -696,7 +702,6 @@ declare global {
696
702
  autoplayQueue: Array<(autoplay: {
697
703
  parse: () => void;
698
704
  }) => void>;
699
- __isListeningToWidescreenScrollEvents?: boolean;
700
705
  }
701
706
  interface Document {
702
707
  prerendering: boolean;