@schibsted/advertory 2.54.2 → 2.54.3
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.
- package/core/aftenposten/es/index.css +1 -1
- package/core/aftenposten/es/index.d.ts +4 -0
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +4 -0
- package/core/aftenposten/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.d.ts +4 -0
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.d.ts +4 -0
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.d.ts +4 -0
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +4 -0
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +4 -0
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +4 -0
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +4 -0
- package/core/e24/index.js +1 -1
- package/core/e24v2/es/index.css +1 -1
- package/core/e24v2/es/index.d.ts +4 -0
- package/core/e24v2/es/index.js +1 -1
- package/core/fotbollskanalen/es/index.d.ts +4 -0
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.d.ts +4 -0
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.d.ts +4 -0
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +4 -0
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +4 -0
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.css +1 -1
- package/core/koket/es/index.d.ts +4 -0
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.d.ts +4 -0
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.d.ts +4 -0
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.d.ts +4 -0
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +4 -0
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +4 -0
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +4 -0
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +4 -0
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.d.ts +4 -0
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.d.ts +4 -0
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.d.ts +4 -0
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.d.ts +4 -0
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.d.ts +4 -0
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.d.ts +4 -0
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +4 -0
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +4 -0
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +4 -0
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +4 -0
- package/features/dr-edition/es/index.d.ts +4 -0
- package/features/dr-edition/index.d.ts +4 -0
- package/features/tracker/index.d.ts +4 -0
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftonbladet/es/index.css +1 -1
- package/sites/aftonbladetv2/es/index.css +1 -1
- package/sites/bt/es/index.css +1 -1
- package/sites/e24/es/index.css +1 -1
- package/sites/e24v2/es/index.css +1 -1
- package/sites/fotbollskanalen/es/index.css +1 -1
- package/sites/sa/es/index.css +1 -1
- package/sites/svd/es/index.css +1 -1
- package/sites/svdv2/es/index.css +1 -1
- package/sites/tv4/es/index.css +1 -1
- package/sites/vg/es/index.css +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/types/core/handlers/ad-server/index.d.ts +3 -1
- package/types/core/handlers/ad-user-sync/index.d.ts +3 -0
- package/types/core/handlers/ad-user-sync/index.test.d.ts +1 -0
- package/types/core/interface/ast.d.ts +4 -0
- package/types/features/ad-takeover/index.d.ts +1 -1
- package/types/features/ad-takeover/utils.d.ts +1 -1
|
@@ -8,6 +8,8 @@ import 'interface/png-rollup-module';
|
|
|
8
8
|
import { UpdateAdvertoryConfig } from 'core/interface/update-advertory';
|
|
9
9
|
declare const setupApnTag: () => void;
|
|
10
10
|
declare const loadXandrLibrary: () => Promise<void>;
|
|
11
|
+
declare const setXandrEndpoint: () => Promise<void>;
|
|
12
|
+
declare const setPageOptions: () => Promise<void>;
|
|
11
13
|
declare const defineTags: (placements: Array<Placement>) => void;
|
|
12
14
|
declare const loadTags: (placements: Array<Placement>) => void;
|
|
13
15
|
declare const showAd: (placement: Placement, adObj: AstAdObj) => Promise<void>;
|
|
@@ -15,4 +17,4 @@ declare const loadAds: (placements: Array<Placement>) => Promise<void>;
|
|
|
15
17
|
declare const setApnTagEventHandlers: () => Promise<void>;
|
|
16
18
|
declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
|
|
17
19
|
declare const init: (siteConfig: SiteConfig, siteFunctions: SiteHandlers) => Promise<void>;
|
|
18
|
-
export { init, setupApnTag, setApnTagEventHandlers, loadXandrLibrary, defineTags, loadTags, showAd, loadAds, getDefaultEmptyApnTag, addToApnTagQueue, updateAdvertory };
|
|
20
|
+
export { init, setupApnTag, setApnTagEventHandlers, loadXandrLibrary, setXandrEndpoint, setPageOptions, defineTags, loadTags, showAd, loadAds, getDefaultEmptyApnTag, addToApnTagQueue, updateAdvertory };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -216,6 +216,9 @@ interface AstTrackingManagement {
|
|
|
216
216
|
loadViewabilityScriptAt?: 'adresponse' | 'impression';
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
+
export interface AstUserSync {
|
|
220
|
+
disabled: boolean;
|
|
221
|
+
}
|
|
219
222
|
export interface AstRenderingManagement {
|
|
220
223
|
sandboxAdIframe: boolean;
|
|
221
224
|
sandboxAttributes: Array<string>;
|
|
@@ -228,6 +231,7 @@ export interface AstPageOptions {
|
|
|
228
231
|
member?: number;
|
|
229
232
|
trackingManagement?: AstTrackingManagement;
|
|
230
233
|
renderingManagement?: AstRenderingManagement;
|
|
234
|
+
userSync?: AstUserSync;
|
|
231
235
|
}
|
|
232
236
|
export interface AstApnTagRequests {
|
|
233
237
|
user?: AstUser;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AstAdObj, AstApnTag } from 'core/interface/ast';
|
|
2
2
|
declare const modifyTakeoverAdContent: (targetId: string) => void;
|
|
3
3
|
declare const modifyTakeoverIframe: (apntag: AstApnTag, targetId: string) => void;
|
|
4
|
-
declare const createTakeoverAd: (adObj: AstAdObj) => void
|
|
4
|
+
declare const createTakeoverAd: (adObj: AstAdObj) => Promise<void>;
|
|
5
5
|
export { createTakeoverAd, modifyTakeoverIframe, modifyTakeoverAdContent };
|
|
@@ -5,7 +5,7 @@ declare const canDisplayTakeover: () => boolean;
|
|
|
5
5
|
declare const isSplashVariant: (width: number, height: number) => boolean;
|
|
6
6
|
declare const isTopscroller: () => boolean;
|
|
7
7
|
declare const getTakeoverVariant: (adObj: AstAdObj) => TakeoverVariant;
|
|
8
|
-
declare const addTakeoverCookie: () => void
|
|
8
|
+
declare const addTakeoverCookie: () => Promise<void>;
|
|
9
9
|
declare const shouldAddTakeoverCookieForNotShownAd: (adObj: AstAdObj) => boolean;
|
|
10
10
|
type ConfigType = WelcomePageConfig | SplashConfig;
|
|
11
11
|
declare const getProperWelcomePageConfig: <T extends ConfigType>(config: TakeoverConfig, takeoverVariant: TakeoverVariant) => T;
|