@schibsted/advertory 2.60.2 → 2.61.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 (146) 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/{e24v2/es → aftenpostenv2}/index.d.ts +6 -1
  7. package/core/aftenpostenv2/index.js +1 -0
  8. package/{sites/e24v2/es → core/aftenpostenv2}/package.json +1 -1
  9. package/core/aftonbladet/es/index.css +1 -1
  10. package/core/aftonbladet/es/index.d.ts +6 -1
  11. package/core/aftonbladet/es/index.js +1 -1
  12. package/core/aftonbladet/index.d.ts +6 -1
  13. package/core/aftonbladet/index.js +1 -1
  14. package/core/aftonbladetv2/es/index.d.ts +6 -1
  15. package/core/aftonbladetv2/es/index.js +1 -1
  16. package/core/bt/es/index.css +1 -1
  17. package/core/bt/es/index.d.ts +6 -1
  18. package/core/bt/es/index.js +1 -1
  19. package/core/bt/index.d.ts +6 -1
  20. package/core/bt/index.js +1 -1
  21. package/core/e24/es/index.css +1 -1
  22. package/core/e24/es/index.d.ts +6 -1
  23. package/core/e24/es/index.js +1 -1
  24. package/core/e24/index.d.ts +6 -1
  25. package/core/e24/index.js +1 -1
  26. package/core/fotbollskanalen/es/index.css +1 -1
  27. package/core/fotbollskanalen/es/index.d.ts +6 -1
  28. package/core/fotbollskanalen/es/index.js +1 -1
  29. package/core/fotbollskanalen/index.d.ts +6 -1
  30. package/core/fotbollskanalen/index.js +1 -1
  31. package/core/godare/index.d.ts +6 -1
  32. package/core/godare/index.js +1 -1
  33. package/core/godt/index.d.ts +6 -1
  34. package/core/godt/index.js +1 -1
  35. package/core/klart/index.d.ts +6 -1
  36. package/core/klart/index.js +1 -1
  37. package/core/koket/es/index.css +1 -1
  38. package/core/koket/es/index.d.ts +6 -1
  39. package/core/koket/es/index.js +1 -1
  40. package/core/koket/index.d.ts +6 -1
  41. package/core/koket/index.js +1 -1
  42. package/core/kompakt/index.d.ts +6 -1
  43. package/core/kompakt/index.js +1 -1
  44. package/core/minmote/index.d.ts +6 -1
  45. package/core/minmote/index.js +1 -1
  46. package/core/pent/index.d.ts +6 -1
  47. package/core/pent/index.js +1 -1
  48. package/core/sa/es/index.css +1 -1
  49. package/core/sa/es/index.d.ts +6 -1
  50. package/core/sa/es/index.js +1 -1
  51. package/core/sa/index.d.ts +6 -1
  52. package/core/sa/index.js +1 -1
  53. package/core/svd/es/index.css +1 -1
  54. package/core/svd/es/index.d.ts +6 -1
  55. package/core/svd/es/index.js +1 -1
  56. package/core/svd/index.d.ts +6 -1
  57. package/core/svd/index.js +1 -1
  58. package/core/svdv2/es/index.css +1 -1
  59. package/core/svdv2/es/index.d.ts +6 -1
  60. package/core/svdv2/es/index.js +1 -1
  61. package/core/tek/index.d.ts +6 -1
  62. package/core/tek/index.js +1 -1
  63. package/core/tv4/es/index.d.ts +6 -1
  64. package/core/tv4/es/index.js +1 -1
  65. package/core/tv4/index.d.ts +6 -1
  66. package/core/tv4/index.js +1 -1
  67. package/core/tvnu/index.d.ts +6 -1
  68. package/core/tvnu/index.js +1 -1
  69. package/core/vg/es/index.css +1 -1
  70. package/core/vg/es/index.d.ts +6 -1
  71. package/core/vg/es/index.js +1 -1
  72. package/core/vg/index.d.ts +6 -1
  73. package/core/vg/index.js +1 -1
  74. package/core/vgv2/es/index.css +1 -1
  75. package/core/vgv2/es/index.d.ts +6 -1
  76. package/core/vgv2/es/index.js +1 -1
  77. package/features/ad-native/index.d.ts +6 -0
  78. package/features/dr-edition/es/index.d.ts +6 -0
  79. package/features/dr-edition/index.d.ts +6 -0
  80. package/features/tracker/index.d.ts +6 -0
  81. package/package.json +1 -1
  82. package/sites/aftenposten/es/index.css +1 -1
  83. package/sites/{e24v2/es → aftenpostenv2}/index.d.ts +6 -10
  84. package/sites/aftenpostenv2/index.js +1 -0
  85. package/{core/e24v2/es → sites/aftenpostenv2}/package.json +1 -1
  86. package/sites/aftonbladet/es/index.css +1 -1
  87. package/sites/aftonbladetv2/es/index.css +1 -1
  88. package/sites/bt/es/index.css +1 -1
  89. package/sites/e24/es/index.css +1 -1
  90. package/sites/e24/es/index.d.ts +5 -1
  91. package/sites/e24/es/index.js +1 -1
  92. package/sites/e24/index.d.ts +5 -1
  93. package/sites/e24/index.js +1 -1
  94. package/sites/sa/es/index.css +1 -1
  95. package/sites/svd/es/index.css +1 -1
  96. package/sites/svdv2/es/index.css +1 -1
  97. package/sites/vg/es/index.css +1 -1
  98. package/sites/vgv2/es/index.css +1 -1
  99. package/styles/aftenpostenv2/styles.css +1 -0
  100. package/styles/e24/styles.css +1 -1
  101. package/types/core/interface/config.d.ts +6 -0
  102. package/types/features/ad-native/sites/aftenpostenv2/aftenposten-init.d.ts +4 -0
  103. package/types/features/ad-native/sites/aftenpostenv2/index.d.ts +6 -0
  104. package/types/features/ad-native/sites/aftenpostenv2/templates/content/index.d.ts +4 -0
  105. package/types/features/ad-native/sites/aftenpostenv2/templates/index.d.ts +3 -0
  106. package/types/features/ad-native/sites/aftenpostenv2/templates/recirc/index.d.ts +4 -0
  107. package/types/features/widescreen-switching/constants.d.ts +3 -0
  108. package/types/features/widescreen-switching/query-widescreen.d.ts +3 -0
  109. package/types/features/widescreen-switching/query-widescreen.test.d.ts +1 -0
  110. package/types/interface/global.d.ts +0 -1
  111. package/types/sites/aftenpostenv2/formats/Netboard/index.d.ts +3 -0
  112. package/types/sites/{e24v2/formats/Brandboard → aftenpostenv2/formats/Skyscraper}/index.d.ts +1 -1
  113. package/types/sites/aftenpostenv2/formats/Wallpaper/index.d.ts +2 -0
  114. package/types/sites/aftenpostenv2/formats/helpers.d.ts +4 -0
  115. package/types/sites/{e24v2 → aftenpostenv2}/formats/index.d.ts +2 -5
  116. package/types/sites/aftenpostenv2/index.d.ts +4 -0
  117. package/types/sites/aftenpostenv2/prepare-page-options.test.d.ts +1 -0
  118. package/types/sites/aftenpostenv2/prepare-tag.d.ts +3 -0
  119. package/types/sites/aftenpostenv2/prepare-tag.test.d.ts +1 -0
  120. package/types/sites/e24/formats/Skyscraper/index.d.ts +3 -1
  121. package/types/sites/e24/formats/Wallpaper/index.d.ts +2 -1
  122. package/types/sites/e24/formats/index.d.ts +1 -0
  123. package/types/sites/e24/index.d.ts +2 -2
  124. package/core/e24v2/es/index.css +0 -1
  125. package/core/e24v2/es/index.js +0 -1
  126. package/sites/e24v2/es/index.css +0 -1
  127. package/sites/e24v2/es/index.js +0 -1
  128. package/styles/e24v2/styles.css +0 -1
  129. package/types/sites/e24/formats/helpers.d.ts +0 -4
  130. package/types/sites/e24v2/formats/Netboard/index.d.ts +0 -3
  131. package/types/sites/e24v2/formats/Skyscraper/index.d.ts +0 -5
  132. package/types/sites/e24v2/formats/Wallpaper/index.d.ts +0 -4
  133. package/types/sites/e24v2/index.d.ts +0 -2
  134. package/types/sites/tvnu/formats/Widescreen/helpers.d.ts +0 -1
  135. /package/styles/{e24v2 → aftenpostenv2}/index.js +0 -0
  136. /package/types/config/{e24v2.d.ts → aftenpostenv2.d.ts} +0 -0
  137. /package/types/{sites/aftonbladetv2/formats/Widescreen/helpers.d.ts → features/widescreen-switching/index.d.ts} +0 -0
  138. /package/types/{sites/e24v2/prepare-page-options.test.d.ts → features/widescreen-switching/index.test.d.ts} +0 -0
  139. /package/types/sites/{e24v2 → aftenpostenv2}/config.d.ts +0 -0
  140. /package/types/sites/{e24v2 → aftenpostenv2}/events.d.ts +0 -0
  141. /package/types/sites/{e24v2 → aftenpostenv2}/formats/Topboard/index.d.ts +0 -0
  142. /package/types/sites/{e24v2 → aftenpostenv2}/prepare-page-options.d.ts +0 -0
  143. /package/types/sites/{e24v2 → e24}/formats/Aksjelive/index.d.ts +0 -0
  144. /package/types/sites/{e24v2 → e24}/formats/Netboard/helpers.d.ts +0 -0
  145. /package/types/sites/{e24v2 → e24}/formats/Topboard/helpers.d.ts +0 -0
  146. /package/types/sites/{e24v2 → e24}/formats/Wallpaper/helpers.d.ts +0 -0
@@ -262,6 +262,7 @@ interface SiteConfig {
262
262
  };
263
263
  useAppTabletInvCode?: boolean;
264
264
  adScaleConfig?: AdScaleConfig;
265
+ widescreenSwitching?: WidescreenSwitchingConfig;
265
266
  }
266
267
  interface NativeTrackingConfig {
267
268
  nativeTrackingEnabled?: boolean;
@@ -492,6 +493,11 @@ interface DevicePlacementBatches {
492
493
  type PlacementBatchesConfig = {
493
494
  [device in DeviceType]: DevicePlacementBatches;
494
495
  };
496
+ interface WidescreenSwitchingConfig {
497
+ enabled: boolean;
498
+ rotationInterval?: number;
499
+ widescreenIdPrefix?: string;
500
+ }
495
501
 
496
502
  interface AdComponentProps {
497
503
  placementId: string;
@@ -265,6 +265,7 @@ interface SiteConfig {
265
265
  };
266
266
  useAppTabletInvCode?: boolean;
267
267
  adScaleConfig?: AdScaleConfig;
268
+ widescreenSwitching?: WidescreenSwitchingConfig;
268
269
  }
269
270
  interface NativeTrackingConfig {
270
271
  nativeTrackingEnabled?: boolean;
@@ -495,6 +496,11 @@ interface DevicePlacementBatches {
495
496
  type PlacementBatchesConfig = {
496
497
  [device in DeviceType]: DevicePlacementBatches;
497
498
  };
499
+ interface WidescreenSwitchingConfig {
500
+ enabled: boolean;
501
+ rotationInterval?: number;
502
+ widescreenIdPrefix?: string;
503
+ }
498
504
 
499
505
  interface DrEditionParams {
500
506
  editionName: string;
@@ -265,6 +265,7 @@ interface SiteConfig {
265
265
  };
266
266
  useAppTabletInvCode?: boolean;
267
267
  adScaleConfig?: AdScaleConfig;
268
+ widescreenSwitching?: WidescreenSwitchingConfig;
268
269
  }
269
270
  interface NativeTrackingConfig {
270
271
  nativeTrackingEnabled?: boolean;
@@ -495,6 +496,11 @@ interface DevicePlacementBatches {
495
496
  type PlacementBatchesConfig = {
496
497
  [device in DeviceType]: DevicePlacementBatches;
497
498
  };
499
+ interface WidescreenSwitchingConfig {
500
+ enabled: boolean;
501
+ rotationInterval?: number;
502
+ widescreenIdPrefix?: string;
503
+ }
498
504
 
499
505
  interface DrEditionParams {
500
506
  editionName: string;
@@ -210,6 +210,7 @@ interface SiteConfig {
210
210
  };
211
211
  useAppTabletInvCode?: boolean;
212
212
  adScaleConfig?: AdScaleConfig;
213
+ widescreenSwitching?: WidescreenSwitchingConfig;
213
214
  }
214
215
  interface NativeTrackingConfig {
215
216
  nativeTrackingEnabled?: boolean;
@@ -440,6 +441,11 @@ interface DevicePlacementBatches {
440
441
  type PlacementBatchesConfig = {
441
442
  [device in DeviceType]: DevicePlacementBatches;
442
443
  };
444
+ interface WidescreenSwitchingConfig {
445
+ enabled: boolean;
446
+ rotationInterval?: number;
447
+ widescreenIdPrefix?: string;
448
+ }
443
449
 
444
450
  declare const setXandrPPIDs: (siteConfig: SiteConfig) => Promise<void>;
445
451
  declare const getUserIdsObject: (country: Country) => UserIdsObject;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schibsted/advertory",
3
- "version": "2.60.2",
3
+ "version": "2.61.0",
4
4
  "scripts": {
5
5
  "build": "node node_modules/rollup/dist/bin/rollup -c rollup-config/default.mjs && npm run post:build",
6
6
  "build:dev": "MODE=dev NODE_OPTIONS=--max-old-space-size=131072 npm run build",