@schibsted/advertory 2.67.2 → 2.68.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 (112) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +1 -0
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +1 -0
  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 +1 -0
  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 +1 -0
  11. package/core/aftonbladet/es/index.js +1 -1
  12. package/core/aftonbladet/index.d.ts +1 -0
  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 +1 -0
  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 +1 -0
  19. package/core/bt/es/index.js +1 -1
  20. package/core/bt/index.d.ts +1 -0
  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 +1 -0
  24. package/core/e24/es/index.js +1 -1
  25. package/core/e24/index.d.ts +1 -0
  26. package/core/e24/index.js +1 -1
  27. package/core/fotbollskanalen/es/index.css +1 -1
  28. package/core/fotbollskanalen/es/index.d.ts +1 -0
  29. package/core/fotbollskanalen/es/index.js +1 -1
  30. package/core/fotbollskanalen/index.d.ts +1 -0
  31. package/core/fotbollskanalen/index.js +1 -1
  32. package/core/godare/index.d.ts +1 -0
  33. package/core/godare/index.js +1 -1
  34. package/core/godt/index.d.ts +1 -0
  35. package/core/godt/index.js +1 -1
  36. package/core/klart/index.d.ts +1 -0
  37. package/core/klart/index.js +1 -1
  38. package/core/koket/es/index.css +1 -1
  39. package/core/koket/es/index.d.ts +1 -0
  40. package/core/koket/es/index.js +1 -1
  41. package/core/koket/index.d.ts +1 -0
  42. package/core/koket/index.js +1 -1
  43. package/core/kompakt/index.d.ts +1 -0
  44. package/core/kompakt/index.js +1 -1
  45. package/core/minmote/index.d.ts +1 -0
  46. package/core/minmote/index.js +1 -1
  47. package/core/pent/index.d.ts +1 -0
  48. package/core/pent/index.js +1 -1
  49. package/core/sa/es/index.css +1 -1
  50. package/core/sa/es/index.d.ts +1 -0
  51. package/core/sa/es/index.js +1 -1
  52. package/core/sa/index.d.ts +1 -0
  53. package/core/sa/index.js +1 -1
  54. package/core/sav2/es/index.css +1 -1
  55. package/core/sav2/es/index.d.ts +1 -0
  56. package/core/sav2/es/index.js +1 -1
  57. package/core/svd/es/index.css +1 -1
  58. package/core/svd/es/index.d.ts +1 -0
  59. package/core/svd/es/index.js +1 -1
  60. package/core/svd/index.d.ts +1 -0
  61. package/core/svd/index.js +1 -1
  62. package/core/svdv2/es/index.css +1 -1
  63. package/core/svdv2/es/index.d.ts +1 -0
  64. package/core/svdv2/es/index.js +1 -1
  65. package/core/tek/index.d.ts +1 -0
  66. package/core/tek/index.js +1 -1
  67. package/core/tv4/es/index.d.ts +1 -0
  68. package/core/tv4/es/index.js +1 -1
  69. package/core/tv4/index.d.ts +1 -0
  70. package/core/tv4/index.js +1 -1
  71. package/core/tvnu/index.d.ts +1 -0
  72. package/core/tvnu/index.js +1 -1
  73. package/core/vg/es/index.css +1 -1
  74. package/core/vg/es/index.d.ts +1 -0
  75. package/core/vg/es/index.js +1 -1
  76. package/core/vg/index.d.ts +1 -0
  77. package/core/vg/index.js +1 -1
  78. package/core/vgv2/es/index.css +1 -1
  79. package/core/vgv2/es/index.d.ts +1 -0
  80. package/core/vgv2/es/index.js +1 -1
  81. package/features/ad-native/index.d.ts +1 -0
  82. package/features/brandmetrics/index.js +1 -1
  83. package/features/dr-edition/es/index.d.ts +1 -0
  84. package/features/dr-edition/es/index.js +1 -1
  85. package/features/dr-edition/index.d.ts +1 -0
  86. package/features/dr-edition/index.js +1 -1
  87. package/features/glimr/index.js +1 -1
  88. package/features/kilkaya/es/index.d.ts +1 -0
  89. package/features/kilkaya/es/index.js +1 -1
  90. package/features/kilkaya/index.d.ts +1 -0
  91. package/features/kilkaya/index.js +1 -1
  92. package/features/tracker/index.d.ts +1 -0
  93. package/features/tracker/index.js +1 -1
  94. package/package.json +1 -1
  95. package/sites/aftenposten/es/index.css +1 -1
  96. package/sites/aftenpostenv2/es/index.css +1 -1
  97. package/sites/aftonbladet/es/index.css +1 -1
  98. package/sites/aftonbladetv2/es/index.css +1 -1
  99. package/sites/bt/es/index.css +1 -1
  100. package/sites/e24/es/index.css +1 -1
  101. package/sites/koket/es/index.css +1 -1
  102. package/sites/sa/es/index.css +1 -1
  103. package/sites/sav2/es/index.css +1 -1
  104. package/sites/svd/es/index.css +1 -1
  105. package/sites/svdv2/es/index.css +1 -1
  106. package/sites/vg/es/index.css +1 -1
  107. package/sites/vgv2/es/index.css +1 -1
  108. package/types/core/handlers/ad-invcode/index.d.ts +2 -1
  109. package/types/core/handlers/ad-server/index.d.ts +2 -1
  110. package/types/core/handlers/rtb/index.d.ts +3 -0
  111. package/types/core/handlers/rtb/index.test.d.ts +1 -0
  112. package/types/core/interface/config.d.ts +1 -0
@@ -1,2 +1,3 @@
1
+ declare const getNonRTBInvCode: (invCode: string) => string;
1
2
  declare const getProperInvCode: (invCode: string, useAppTabletInvCode: boolean) => string;
2
- export { getProperInvCode };
3
+ export { getProperInvCode, getNonRTBInvCode };
@@ -10,6 +10,7 @@ declare const setupApnTag: () => void;
10
10
  declare const loadXandrLibrary: () => Promise<void>;
11
11
  declare const setXandrEndpoint: () => Promise<void>;
12
12
  declare const setPageOptions: () => Promise<void>;
13
+ declare const loadPlacements: (placements: Array<Placement>) => Promise<void>;
13
14
  declare const defineTags: (placements: Array<Placement>) => void;
14
15
  declare const loadTags: (placements: Array<Placement>) => void;
15
16
  declare const showAd: (placement: Placement, adObj: AstAdObj) => Promise<void>;
@@ -17,4 +18,4 @@ declare const loadAds: (placements: Array<Placement>) => Promise<void>;
17
18
  declare const setApnTagEventHandlers: () => Promise<void>;
18
19
  declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
19
20
  declare const init: (siteConfig: SiteConfig, siteFunctions: SiteHandlers) => Promise<void>;
20
- export { init, setupApnTag, setApnTagEventHandlers, loadXandrLibrary, setXandrEndpoint, setPageOptions, defineTags, loadTags, showAd, loadAds, getDefaultEmptyApnTag, addToApnTagQueue, updateAdvertory };
21
+ export { init, setupApnTag, setApnTagEventHandlers, loadXandrLibrary, setXandrEndpoint, setPageOptions, defineTags, loadTags, loadPlacements, showAd, loadAds, getDefaultEmptyApnTag, addToApnTagQueue, updateAdvertory };
@@ -0,0 +1,3 @@
1
+ import { Placement } from 'core/interface/config';
2
+ declare const getPlacementsForRTB: (placements: Array<Placement>, hasConsent: boolean) => Array<Placement>;
3
+ export { getPlacementsForRTB };
@@ -0,0 +1 @@
1
+ export {};
@@ -95,6 +95,7 @@ export interface Placement {
95
95
  drEdition?: DrEditionPlacementConfig;
96
96
  isBackfill?: boolean;
97
97
  takeoverCookieCapForSharedPlacement?: boolean;
98
+ supportsNonRTB?: boolean;
98
99
  }
99
100
  export interface Placements {
100
101
  desktop: Array<Placement>;