@schibsted/advertory 2.61.4 → 2.62.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 (100) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +0 -15
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +0 -15
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftenpostenv2/es/index.css +1 -1
  7. package/core/aftenpostenv2/es/index.d.ts +0 -15
  8. package/core/aftenpostenv2/es/index.js +1 -1
  9. package/core/aftonbladet/es/index.css +1 -1
  10. package/core/aftonbladet/es/index.d.ts +0 -15
  11. package/core/aftonbladet/es/index.js +1 -1
  12. package/core/aftonbladet/index.d.ts +0 -15
  13. package/core/aftonbladet/index.js +1 -1
  14. package/core/aftonbladetv2/es/index.css +1 -1
  15. package/core/aftonbladetv2/es/index.d.ts +0 -15
  16. package/core/aftonbladetv2/es/index.js +1 -1
  17. package/core/bt/es/index.css +1 -1
  18. package/core/bt/es/index.d.ts +0 -15
  19. package/core/bt/es/index.js +1 -1
  20. package/core/bt/index.d.ts +0 -15
  21. package/core/bt/index.js +1 -1
  22. package/core/e24/es/index.css +1 -1
  23. package/core/e24/es/index.d.ts +0 -15
  24. package/core/e24/es/index.js +1 -1
  25. package/core/e24/index.d.ts +0 -15
  26. package/core/e24/index.js +1 -1
  27. package/core/fotbollskanalen/es/index.d.ts +0 -15
  28. package/core/fotbollskanalen/es/index.js +1 -1
  29. package/core/fotbollskanalen/index.d.ts +0 -15
  30. package/core/fotbollskanalen/index.js +1 -1
  31. package/core/godare/index.d.ts +0 -15
  32. package/core/godare/index.js +1 -1
  33. package/core/godt/index.d.ts +0 -15
  34. package/core/godt/index.js +1 -1
  35. package/core/klart/index.d.ts +0 -15
  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 +0 -15
  39. package/core/koket/es/index.js +1 -1
  40. package/core/koket/index.d.ts +0 -15
  41. package/core/koket/index.js +1 -1
  42. package/core/kompakt/index.d.ts +0 -15
  43. package/core/kompakt/index.js +1 -1
  44. package/core/minmote/index.d.ts +0 -15
  45. package/core/minmote/index.js +1 -1
  46. package/core/pent/index.d.ts +0 -15
  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 +0 -15
  50. package/core/sa/es/index.js +1 -1
  51. package/core/sa/index.d.ts +0 -15
  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 +0 -15
  55. package/core/svd/es/index.js +1 -1
  56. package/core/svd/index.d.ts +0 -15
  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 +0 -15
  60. package/core/svdv2/es/index.js +1 -1
  61. package/core/tek/index.d.ts +0 -15
  62. package/core/tek/index.js +1 -1
  63. package/core/tv4/es/index.d.ts +0 -15
  64. package/core/tv4/es/index.js +1 -1
  65. package/core/tv4/index.d.ts +0 -15
  66. package/core/tv4/index.js +1 -1
  67. package/core/tvnu/index.d.ts +0 -15
  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 +0 -15
  71. package/core/vg/es/index.js +1 -1
  72. package/core/vg/index.d.ts +0 -15
  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 +0 -15
  76. package/core/vgv2/es/index.js +1 -1
  77. package/features/ad-native/index.d.ts +0 -14
  78. package/features/dr-edition/es/index.d.ts +0 -14
  79. package/features/dr-edition/index.d.ts +0 -14
  80. package/features/tracker/index.d.ts +0 -14
  81. package/package.json +1 -1
  82. package/sites/aftenposten/es/index.css +1 -1
  83. package/sites/aftenpostenv2/es/index.css +1 -1
  84. package/sites/aftonbladet/es/index.css +1 -1
  85. package/sites/aftonbladetv2/es/index.css +1 -1
  86. package/sites/bt/es/index.css +1 -1
  87. package/sites/e24/es/index.css +1 -1
  88. package/sites/koket/es/index.css +1 -1
  89. package/sites/sa/es/index.css +1 -1
  90. package/sites/svd/es/index.css +1 -1
  91. package/sites/svdv2/es/index.css +1 -1
  92. package/sites/tv4/es/index.css +1 -1
  93. package/sites/vg/es/index.css +1 -1
  94. package/sites/vgv2/es/index.css +1 -1
  95. package/types/core/creative-observer/refresh.d.ts +1 -1
  96. package/types/core/interface/ast.d.ts +0 -1
  97. package/types/core/interface/config.d.ts +0 -4
  98. package/types/core/handlers/margins/index.d.ts +0 -4
  99. package/types/core/handlers/margins/index.test.d.ts +0 -1
  100. package/types/core/interface/margins.d.ts +0 -11
@@ -183,17 +183,6 @@ interface Pulse {
183
183
  instance: PulseInstance;
184
184
  }
185
185
 
186
- type MarginPriority = 'high' | 'normal' | 'low';
187
- interface PrioEntry {
188
- renderMargin: number;
189
- refreshMargin: number;
190
- }
191
- interface PrioPreloadMarginMap {
192
- high?: Partial<PrioEntry>;
193
- normal?: Partial<PrioEntry>;
194
- low?: Partial<PrioEntry>;
195
- }
196
-
197
186
  type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
198
187
 
199
188
  declare const Newsrooms: {
@@ -241,7 +230,6 @@ interface SiteConfig {
241
230
  appearanceConfig: AppearanceConfig;
242
231
  queryConfig?: QueryConfig;
243
232
  refreshConfig?: RefreshConfig;
244
- preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
245
233
  takeover?: TakeoverConfig;
246
234
  brandmetrics?: BrandmetricsConfig;
247
235
  gdpr?: GdprConfig;
@@ -282,7 +270,6 @@ interface Placement {
282
270
  keywords: any;
283
271
  refresh?: boolean;
284
272
  bfCacheRefresh?: boolean;
285
- priority?: MarginPriority;
286
273
  ssa?: boolean;
287
274
  threshold?: number;
288
275
  finnBlink?: FinnBlinkPlacementConfig;
@@ -290,7 +277,6 @@ interface Placement {
290
277
  minViewWidth?: number;
291
278
  dynamicSizeWidthCheck?: boolean;
292
279
  safeframeConfig?: SafeFrameConfig;
293
- resizeAdParentDiv?: boolean;
294
280
  positionConfig?: Array<PositionConfig>;
295
281
  drEdition?: DrEditionPlacementConfig;
296
282
  isBackfill?: boolean;
@@ -186,17 +186,6 @@ interface Pulse {
186
186
  instance: PulseInstance;
187
187
  }
188
188
 
189
- type MarginPriority = 'high' | 'normal' | 'low';
190
- interface PrioEntry {
191
- renderMargin: number;
192
- refreshMargin: number;
193
- }
194
- interface PrioPreloadMarginMap {
195
- high?: Partial<PrioEntry>;
196
- normal?: Partial<PrioEntry>;
197
- low?: Partial<PrioEntry>;
198
- }
199
-
200
189
  type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
201
190
 
202
191
  declare const Newsrooms: {
@@ -244,7 +233,6 @@ interface SiteConfig {
244
233
  appearanceConfig: AppearanceConfig;
245
234
  queryConfig?: QueryConfig;
246
235
  refreshConfig?: RefreshConfig;
247
- preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
248
236
  takeover?: TakeoverConfig;
249
237
  brandmetrics?: BrandmetricsConfig;
250
238
  gdpr?: GdprConfig;
@@ -285,7 +273,6 @@ interface Placement {
285
273
  keywords: any;
286
274
  refresh?: boolean;
287
275
  bfCacheRefresh?: boolean;
288
- priority?: MarginPriority;
289
276
  ssa?: boolean;
290
277
  threshold?: number;
291
278
  finnBlink?: FinnBlinkPlacementConfig;
@@ -293,7 +280,6 @@ interface Placement {
293
280
  minViewWidth?: number;
294
281
  dynamicSizeWidthCheck?: boolean;
295
282
  safeframeConfig?: SafeFrameConfig;
296
- resizeAdParentDiv?: boolean;
297
283
  positionConfig?: Array<PositionConfig>;
298
284
  drEdition?: DrEditionPlacementConfig;
299
285
  isBackfill?: boolean;
@@ -186,17 +186,6 @@ interface Pulse {
186
186
  instance: PulseInstance;
187
187
  }
188
188
 
189
- type MarginPriority = 'high' | 'normal' | 'low';
190
- interface PrioEntry {
191
- renderMargin: number;
192
- refreshMargin: number;
193
- }
194
- interface PrioPreloadMarginMap {
195
- high?: Partial<PrioEntry>;
196
- normal?: Partial<PrioEntry>;
197
- low?: Partial<PrioEntry>;
198
- }
199
-
200
189
  type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
201
190
 
202
191
  declare const Newsrooms: {
@@ -244,7 +233,6 @@ interface SiteConfig {
244
233
  appearanceConfig: AppearanceConfig;
245
234
  queryConfig?: QueryConfig;
246
235
  refreshConfig?: RefreshConfig;
247
- preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
248
236
  takeover?: TakeoverConfig;
249
237
  brandmetrics?: BrandmetricsConfig;
250
238
  gdpr?: GdprConfig;
@@ -285,7 +273,6 @@ interface Placement {
285
273
  keywords: any;
286
274
  refresh?: boolean;
287
275
  bfCacheRefresh?: boolean;
288
- priority?: MarginPriority;
289
276
  ssa?: boolean;
290
277
  threshold?: number;
291
278
  finnBlink?: FinnBlinkPlacementConfig;
@@ -293,7 +280,6 @@ interface Placement {
293
280
  minViewWidth?: number;
294
281
  dynamicSizeWidthCheck?: boolean;
295
282
  safeframeConfig?: SafeFrameConfig;
296
- resizeAdParentDiv?: boolean;
297
283
  positionConfig?: Array<PositionConfig>;
298
284
  drEdition?: DrEditionPlacementConfig;
299
285
  isBackfill?: boolean;
@@ -131,17 +131,6 @@ declare const PageTypes: {
131
131
  };
132
132
  type PageType = (typeof PageTypes)[keyof typeof PageTypes];
133
133
 
134
- type MarginPriority = 'high' | 'normal' | 'low';
135
- interface PrioEntry {
136
- renderMargin: number;
137
- refreshMargin: number;
138
- }
139
- interface PrioPreloadMarginMap {
140
- high?: Partial<PrioEntry>;
141
- normal?: Partial<PrioEntry>;
142
- low?: Partial<PrioEntry>;
143
- }
144
-
145
134
  type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
146
135
 
147
136
  declare const Newsrooms: {
@@ -189,7 +178,6 @@ interface SiteConfig {
189
178
  appearanceConfig: AppearanceConfig;
190
179
  queryConfig?: QueryConfig;
191
180
  refreshConfig?: RefreshConfig;
192
- preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
193
181
  takeover?: TakeoverConfig;
194
182
  brandmetrics?: BrandmetricsConfig;
195
183
  gdpr?: GdprConfig;
@@ -230,7 +218,6 @@ interface Placement {
230
218
  keywords: any;
231
219
  refresh?: boolean;
232
220
  bfCacheRefresh?: boolean;
233
- priority?: MarginPriority;
234
221
  ssa?: boolean;
235
222
  threshold?: number;
236
223
  finnBlink?: FinnBlinkPlacementConfig;
@@ -238,7 +225,6 @@ interface Placement {
238
225
  minViewWidth?: number;
239
226
  dynamicSizeWidthCheck?: boolean;
240
227
  safeframeConfig?: SafeFrameConfig;
241
- resizeAdParentDiv?: boolean;
242
228
  positionConfig?: Array<PositionConfig>;
243
229
  drEdition?: DrEditionPlacementConfig;
244
230
  isBackfill?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schibsted/advertory",
3
- "version": "2.61.4",
3
+ "version": "2.62.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",