@schibsted/advertory 2.61.4 → 2.62.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 (118) 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.d.ts +0 -15
  38. package/core/koket/es/index.js +1 -1
  39. package/core/koket/index.d.ts +0 -15
  40. package/core/koket/index.js +1 -1
  41. package/core/kompakt/index.d.ts +0 -15
  42. package/core/kompakt/index.js +1 -1
  43. package/core/minmote/index.d.ts +0 -15
  44. package/core/minmote/index.js +1 -1
  45. package/core/pent/index.d.ts +0 -15
  46. package/core/pent/index.js +1 -1
  47. package/core/sa/es/index.css +1 -1
  48. package/core/sa/es/index.d.ts +0 -15
  49. package/core/sa/es/index.js +1 -1
  50. package/core/sa/index.d.ts +0 -15
  51. package/core/sa/index.js +1 -1
  52. package/core/svd/es/index.css +1 -1
  53. package/core/svd/es/index.d.ts +0 -15
  54. package/core/svd/es/index.js +1 -1
  55. package/core/svd/index.d.ts +0 -15
  56. package/core/svd/index.js +1 -1
  57. package/core/svdv2/es/index.css +1 -1
  58. package/core/svdv2/es/index.d.ts +0 -15
  59. package/core/svdv2/es/index.js +1 -1
  60. package/core/tek/index.d.ts +0 -15
  61. package/core/tek/index.js +1 -1
  62. package/core/tv4/es/index.css +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/ad-native/index.js +1 -1
  79. package/features/dr-edition/es/index.d.ts +0 -14
  80. package/features/dr-edition/index.d.ts +0 -14
  81. package/features/tracker/index.d.ts +0 -14
  82. package/package.json +1 -1
  83. package/sites/aftenposten/es/index.css +1 -1
  84. package/sites/aftenposten/index.js +1 -1
  85. package/sites/aftenpostenv2/es/index.css +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/bt/index.js +1 -1
  90. package/sites/e24/es/index.css +1 -1
  91. package/sites/fotbollskanalen/es/index.css +1 -1
  92. package/sites/koket/es/index.css +1 -1
  93. package/sites/sa/es/index.css +1 -1
  94. package/sites/sa/index.js +1 -1
  95. package/sites/svd/es/index.css +1 -1
  96. package/sites/svd/index.js +1 -1
  97. package/sites/svdv2/es/index.css +1 -1
  98. package/sites/tv4/es/index.css +1 -1
  99. package/sites/tvnu/index.js +1 -1
  100. package/sites/vg/es/index.css +1 -1
  101. package/sites/vg/index.js +1 -1
  102. package/sites/vgv2/es/index.css +1 -1
  103. package/types/core/creative-observer/refresh.d.ts +1 -1
  104. package/types/core/interface/ast.d.ts +0 -1
  105. package/types/core/interface/config.d.ts +0 -4
  106. package/types/core/handlers/margins/index.d.ts +0 -4
  107. package/types/core/handlers/margins/index.test.d.ts +0 -1
  108. package/types/core/interface/margins.d.ts +0 -11
  109. package/types/features/ad-native/sites/e24v2/e24-init.d.ts +0 -5
  110. package/types/features/ad-native/sites/e24v2/index.d.ts +0 -10
  111. package/types/features/ad-native/sites/e24v2/templates/articles/content/index.d.ts +0 -4
  112. package/types/features/ad-native/sites/e24v2/templates/articles/content-display-basic/index.d.ts +0 -4
  113. package/types/features/ad-native/sites/e24v2/templates/articles/index.d.ts +0 -3
  114. package/types/features/ad-native/sites/e24v2/templates/articles/recirc/index.d.ts +0 -4
  115. package/types/features/ad-native/sites/e24v2/templates/front/content/index.d.ts +0 -4
  116. package/types/features/ad-native/sites/e24v2/templates/front/content-display-basic/index.d.ts +0 -4
  117. package/types/features/ad-native/sites/e24v2/templates/front/index.d.ts +0 -3
  118. /package/types/features/ad-native/sites/{e24v2 → e24}/templates/front/aksjelive/index.d.ts +0 -0
@@ -2,5 +2,5 @@ import { ResetWrapperParams } from '../interface/refresh';
2
2
  declare const clearThrottleState: () => void;
3
3
  declare const setAdWrapperHeight: ({ adWrapper, placementContainer }: ResetWrapperParams) => void;
4
4
  declare const resetAdWrapperHeight: ({ adWrapper, placementContainer }: ResetWrapperParams) => void;
5
- declare const subscribeForRefresh: (node: HTMLElement, margin: number, renderTime: number, delayTime: number) => void;
5
+ declare const subscribeForRefresh: (node: HTMLElement, renderTime: number, delayTime: number) => void;
6
6
  export { subscribeForRefresh, clearThrottleState, resetAdWrapperHeight, setAdWrapperHeight };
@@ -189,7 +189,6 @@ export interface AstDefineTagParams {
189
189
  allowedFormats?: Array<AstAdType>;
190
190
  enableSafeFrame?: boolean;
191
191
  externalImpId?: string;
192
- resizeAdParentDiv?: boolean;
193
192
  safeframeConfig?: SafeFrameConfig;
194
193
  dynamicSizeWidthCheck?: boolean;
195
194
  allowSmallerSizes?: boolean;
@@ -3,7 +3,6 @@ import { DeviceType } from './device';
3
3
  import { Country } from './countries';
4
4
  import { PageType } from './page-types';
5
5
  import { Pulse, Tracker } from 'features/interface/tracker';
6
- import { MarginPriority, PrioPreloadMarginMap } from './margins';
7
6
  import { DistributionTypes, FinnBlinkFallback } from 'features/interface/finn-blink';
8
7
  import { InitNativeAd } from 'features/interface/ad-native';
9
8
  import { Newsroom } from './newsrooms';
@@ -30,7 +29,6 @@ export interface SiteConfig {
30
29
  appearanceConfig: AppearanceConfig;
31
30
  queryConfig?: QueryConfig;
32
31
  refreshConfig?: RefreshConfig;
33
- preloadMarginsConfig?: Record<DeviceType, PrioPreloadMarginMap>;
34
32
  takeover?: TakeoverConfig;
35
33
  brandmetrics?: BrandmetricsConfig;
36
34
  gdpr?: GdprConfig;
@@ -85,7 +83,6 @@ export interface Placement {
85
83
  keywords: any;
86
84
  refresh?: boolean;
87
85
  bfCacheRefresh?: boolean;
88
- priority?: MarginPriority;
89
86
  ssa?: boolean;
90
87
  threshold?: number;
91
88
  finnBlink?: FinnBlinkPlacementConfig;
@@ -93,7 +90,6 @@ export interface Placement {
93
90
  minViewWidth?: number;
94
91
  dynamicSizeWidthCheck?: boolean;
95
92
  safeframeConfig?: SafeFrameConfig;
96
- resizeAdParentDiv?: boolean;
97
93
  positionConfig?: Array<PositionConfig>;
98
94
  drEdition?: DrEditionPlacementConfig;
99
95
  isBackfill?: boolean;
@@ -1,4 +0,0 @@
1
- import { MarginPriority, PrioEntry, PrioPreloadMarginMap } from 'core/interface/margins';
2
- declare const marginsConfig: ({ high, normal, low }?: PrioPreloadMarginMap) => Record<MarginPriority, PrioEntry>;
3
- declare const getRefreshMargin: (placementContainer: HTMLElement) => number;
4
- export { marginsConfig, getRefreshMargin };
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- export type MarginPriority = 'high' | 'normal' | 'low';
2
- export type MarginsConfig = Record<MarginPriority, PrioEntry>;
3
- export interface PrioEntry {
4
- renderMargin: number;
5
- refreshMargin: number;
6
- }
7
- export interface PrioPreloadMarginMap {
8
- high?: Partial<PrioEntry>;
9
- normal?: Partial<PrioEntry>;
10
- low?: Partial<PrioEntry>;
11
- }
@@ -1,5 +0,0 @@
1
- import { AstAdObj } from 'core/interface/ast';
2
- import { SiteConfig } from 'core/interface/config';
3
- import './styles.scss';
4
- declare const initAdsOnE24: (adObj: AstAdObj, options?: Partial<SiteConfig>) => void;
5
- export { initAdsOnE24 };
@@ -1,10 +0,0 @@
1
- import { AdNativeTemplates } from 'features/interface/ad-native';
2
- declare const articlesTemplates: {
3
- displayTemplates: AdNativeTemplates;
4
- videoTemplates: AdNativeTemplates;
5
- };
6
- declare const frontTemplates: {
7
- displayTemplates: AdNativeTemplates;
8
- videoTemplates: AdNativeTemplates;
9
- };
10
- export { articlesTemplates, frontTemplates };
@@ -1,4 +0,0 @@
1
- import { AdNativeData } from 'features/interface/ad-native';
2
- import './styles.scss';
3
- declare const content: ({ containerId, url, title, logo, sponsoredBy, img, description }: AdNativeData) => string;
4
- export { content };
@@ -1,4 +0,0 @@
1
- import { AdNativeData } from 'features/interface/ad-native';
2
- import './styles.scss';
3
- declare const contentDisplayBasic: ({ containerId, url, title, logo, sponsoredBy, img }: AdNativeData) => string;
4
- export { contentDisplayBasic };
@@ -1,3 +0,0 @@
1
- import { AdNativeTemplates } from 'features/interface/ad-native';
2
- declare const TEMPLATES_ARTICLES: AdNativeTemplates;
3
- export { TEMPLATES_ARTICLES };
@@ -1,4 +0,0 @@
1
- import { AdNativeData } from 'features/interface/ad-native';
2
- import './styles.scss';
3
- declare const recirc: ({ containerId, url, title, logo, sponsoredBy, img }: AdNativeData) => string;
4
- export { recirc };
@@ -1,4 +0,0 @@
1
- import { AdNativeData } from 'features/interface/ad-native';
2
- import './styles.scss';
3
- declare const content: ({ containerId, url, title, logo, sponsoredBy, img, description }: AdNativeData) => string;
4
- export { content };
@@ -1,4 +0,0 @@
1
- import { AdNativeData } from 'features/interface/ad-native';
2
- import './styles.scss';
3
- declare const contentDisplayBasic: ({ containerId, url, title, logo, sponsoredBy, img }: AdNativeData) => string;
4
- export { contentDisplayBasic };
@@ -1,3 +0,0 @@
1
- import { AdNativeTemplates } from 'features/interface/ad-native';
2
- declare const TEMPLATES_FRONT: AdNativeTemplates;
3
- export { TEMPLATES_FRONT };