@schibsted/advertory 2.51.9 → 2.52.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.
- package/core/aftenposten/es/index.css +1 -1
- package/core/aftenposten/es/index.d.ts +8 -0
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +8 -0
- package/core/aftenposten/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.d.ts +8 -0
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.d.ts +8 -0
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.d.ts +8 -0
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +8 -0
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +8 -0
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +8 -0
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +8 -0
- package/core/e24/index.js +1 -1
- package/core/e24v2/es/index.css +1 -1
- package/core/e24v2/es/index.d.ts +8 -0
- package/core/e24v2/es/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.d.ts +8 -0
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.d.ts +8 -0
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.d.ts +8 -0
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +8 -0
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +8 -0
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.css +1 -1
- package/core/koket/es/index.d.ts +8 -0
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.d.ts +8 -0
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.d.ts +8 -0
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.d.ts +8 -0
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +8 -0
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +8 -0
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +8 -0
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +8 -0
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.d.ts +8 -0
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.d.ts +8 -0
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.d.ts +8 -0
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.d.ts +8 -0
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.d.ts +8 -0
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.d.ts +8 -0
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +8 -0
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +8 -0
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +8 -0
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +3 -0
- package/features/brandmetrics/index.js +1 -1
- package/features/dr-edition/es/index.d.ts +3 -0
- package/features/dr-edition/es/index.js +1 -1
- package/features/dr-edition/index.d.ts +3 -0
- package/features/dr-edition/index.js +1 -1
- package/features/glimr/index.js +1 -1
- package/features/tracker/index.d.ts +361 -5
- package/features/tracker/index.js +1 -1
- 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/koket/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/vg/es/index.css +1 -1
- package/sites/vgv2/es/index.css +1 -1
- package/types/core/handlers/tcf/consent.d.ts +3 -0
- package/types/core/handlers/tcf/consent.test.d.ts +1 -0
- package/types/core/handlers/tcf/schibsted-ad-choices.d.ts +4 -0
- package/types/core/interface/config.d.ts +3 -0
- package/types/core/interface/tcf.d.ts +5 -0
- package/types/features/interface/tracker.d.ts +0 -9
- package/types/features/tracker/index.d.ts +3 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TCFConfig } from 'core/interface/config';
|
|
2
|
+
declare const getAdvertisingPermissionsSync: () => boolean | null;
|
|
3
|
+
declare const getAdvertisingPermissionsAsync: (tcfConfig?: TCFConfig) => Promise<boolean>;
|
|
4
|
+
export { getAdvertisingPermissionsAsync, getAdvertisingPermissionsSync };
|
|
@@ -179,6 +179,9 @@ export interface PrebidConfig {
|
|
|
179
179
|
}
|
|
180
180
|
export interface TCFConfig {
|
|
181
181
|
enabled: boolean;
|
|
182
|
+
schibstedAdChoicesEnabled?: boolean;
|
|
183
|
+
schibstedConsentToPayEnabled?: boolean;
|
|
184
|
+
schibstedAdChoicesOverrideValue?: string;
|
|
182
185
|
timeout?: number;
|
|
183
186
|
}
|
|
184
187
|
export interface GlimrConfig {
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
export type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
|
|
2
2
|
export type ConsentedToAllCallback = (value: boolean) => void;
|
|
3
3
|
export type GetConsentToAllSync = () => boolean | null;
|
|
4
|
+
export type GetPermissionSync = (permissionName: string) => boolean | null;
|
|
5
|
+
export type GetPermissionCallback = (value: boolean) => void;
|
|
6
|
+
export type GetPermission = (permissionName: string, callback: GetPermissionCallback) => void;
|
|
4
7
|
export interface ConsentManager {
|
|
5
8
|
getConsentedToAllSync: GetConsentToAllSync;
|
|
6
9
|
isConsentedToAll: IsConsentedToAll;
|
|
10
|
+
getPermissionSync: GetPermissionSync;
|
|
11
|
+
getPermission: GetPermission;
|
|
7
12
|
}
|
|
8
13
|
export interface TCFConsentUtilities {
|
|
9
14
|
initConsentManager: () => Promise<ConsentManager | null>;
|
|
@@ -32,11 +32,6 @@ export interface Pulse {
|
|
|
32
32
|
clientId: string;
|
|
33
33
|
instance: PulseInstance;
|
|
34
34
|
}
|
|
35
|
-
export interface XandrPPIDProps {
|
|
36
|
-
country: Country;
|
|
37
|
-
tracker?: Tracker;
|
|
38
|
-
timeout?: number;
|
|
39
|
-
}
|
|
40
35
|
export interface EidsUserSource {
|
|
41
36
|
id: string;
|
|
42
37
|
source: string;
|
|
@@ -54,10 +49,6 @@ export interface PPIDs {
|
|
|
54
49
|
idfv?: string | null;
|
|
55
50
|
anId?: string | null;
|
|
56
51
|
}
|
|
57
|
-
export interface VideoPPIDs {
|
|
58
|
-
ppidv2: PPIDs;
|
|
59
|
-
ppidv3: PPIDs;
|
|
60
|
-
}
|
|
61
52
|
export interface PPIDv2Management {
|
|
62
53
|
processPPIDs: (tracker: Tracker, timeout: number) => Promise<void>;
|
|
63
54
|
getPPIDs: () => PPIDs;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { UserIdsObject, PPIDLoggedInStatusKeywords
|
|
1
|
+
import { UserIdsObject, PPIDLoggedInStatusKeywords } from 'features/interface/tracker';
|
|
2
2
|
import { RelevantYieldPPIDConfig } from 'features/interface/prebid';
|
|
3
3
|
import { Country } from 'core/interface/countries';
|
|
4
|
-
|
|
4
|
+
import { SiteConfig } from 'core/interface/config';
|
|
5
|
+
declare const setXandrPPIDs: (siteConfig: SiteConfig) => Promise<void>;
|
|
5
6
|
declare const getUserIdsObject: (country: Country) => UserIdsObject;
|
|
6
7
|
declare const getPPIDLoggedInStatus: () => PPIDLoggedInStatusKeywords;
|
|
7
8
|
declare const getPPIDRelevantYieldConfig: (country: Country) => RelevantYieldPPIDConfig | object;
|