@schibsted/advertory 2.59.0 → 2.60.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 +0 -6
- package/core/aftenposten/es/index.js +1 -1
- package/core/aftenposten/index.d.ts +0 -6
- package/core/aftenposten/index.js +1 -1
- package/core/aftonbladet/es/index.d.ts +0 -6
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.d.ts +0 -6
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.d.ts +0 -6
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.d.ts +0 -6
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.d.ts +0 -6
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.d.ts +0 -6
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.d.ts +0 -6
- package/core/e24/index.js +1 -1
- package/core/e24v2/es/index.css +1 -1
- package/core/e24v2/es/index.d.ts +0 -6
- package/core/e24v2/es/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.d.ts +0 -6
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.d.ts +0 -6
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.d.ts +0 -6
- package/core/godare/index.js +1 -1
- package/core/godt/index.d.ts +0 -6
- package/core/godt/index.js +1 -1
- package/core/klart/index.d.ts +0 -6
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.css +1 -1
- package/core/koket/es/index.d.ts +0 -6
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.d.ts +0 -6
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.d.ts +0 -6
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.d.ts +0 -6
- package/core/minmote/index.js +1 -1
- package/core/pent/index.d.ts +0 -6
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.d.ts +0 -6
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.d.ts +0 -6
- package/core/sa/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.d.ts +0 -6
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.d.ts +0 -6
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.d.ts +0 -6
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.d.ts +0 -6
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.d.ts +0 -6
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.d.ts +0 -6
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.d.ts +0 -6
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.d.ts +0 -6
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.d.ts +0 -6
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.d.ts +0 -6
- package/core/vgv2/es/index.js +1 -1
- package/features/ad-native/index.d.ts +0 -6
- package/features/brandmetrics/index.js +1 -1
- package/features/dr-edition/es/index.d.ts +1 -6
- package/features/dr-edition/es/index.js +1 -1
- package/features/dr-edition/index.d.ts +1 -6
- package/features/dr-edition/index.js +1 -1
- package/features/glimr/index.js +1 -1
- package/features/tracker/index.d.ts +0 -6
- 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/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/tcf/consent.d.ts +2 -1
- package/types/core/handlers/tcf/index.d.ts +2 -1
- package/types/core/interface/config.d.ts +0 -6
- package/types/features/dr-edition/composition.d.ts +1 -1
- package/types/features/dr-edition/dr-edition-service.d.ts +1 -1
- package/types/features/dr-edition/observer.d.ts +1 -1
- package/types/features/dr-edition/types.d.ts +1 -0
- package/types/tests/types.d.ts +1 -2
- package/types/features/interface/privacy-broker.d.ts +0 -16
- package/types/features/privacy-broker/constants.d.ts +0 -2
- package/types/features/privacy-broker/fetch-permissions.d.ts +0 -3
- package/types/features/privacy-broker/fetch-permissions.test.d.ts +0 -1
- package/types/features/privacy-broker/index.d.ts +0 -2
- package/types/features/privacy-broker/permissions.d.ts +0 -3
- package/types/features/privacy-broker/permissions.test.d.ts +0 -1
- package/types/features/privacy-broker/session-storage.d.ts +0 -7
- package/types/features/privacy-broker/session-storage.test.d.ts +0 -1
- /package/types/features/{privacy-broker → identity}/get-identity-object.d.ts +0 -0
- /package/types/features/{privacy-broker → identity}/identity-facade.d.ts +0 -0
- /package/types/features/{privacy-broker → identity}/identity-facade.test.d.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { TCFConfig } from 'core/interface/config';
|
|
2
|
-
|
|
2
|
+
import { Country } from 'core/interface/countries';
|
|
3
|
+
declare const hasSchibstedAdChoicesConsent: (tcf?: TCFConfig, isMobileApp?: boolean, country?: Country, feature?: string) => Promise<boolean>;
|
|
3
4
|
export { hasSchibstedAdChoicesConsent };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TCFConsentUtilities } from 'core/interface/tcf';
|
|
2
2
|
import { TCFConfig } from 'core/interface/config';
|
|
3
|
-
|
|
3
|
+
import { Country } from 'core/interface/countries';
|
|
4
|
+
declare const useTCFConsent: (tcfConfig?: TCFConfig, isMobileApp?: boolean, country?: Country) => TCFConsentUtilities;
|
|
4
5
|
export { useTCFConsent };
|
|
@@ -37,7 +37,6 @@ export interface SiteConfig {
|
|
|
37
37
|
norstat?: NorstatConfig;
|
|
38
38
|
siteSpecificConfig?: SiteSpecificConfig;
|
|
39
39
|
sponsorstripe?: SponsorstripeConfig;
|
|
40
|
-
privacyBroker?: PrivacyBrokerConfig;
|
|
41
40
|
drEdition?: DrEditionConfig;
|
|
42
41
|
kilkaya?: KilkayaConfig;
|
|
43
42
|
forwardExternalImpId?: boolean;
|
|
@@ -274,11 +273,6 @@ export interface RightColumnSplitConfig {
|
|
|
274
273
|
adSelector: string;
|
|
275
274
|
trackSelector?: string;
|
|
276
275
|
}
|
|
277
|
-
export interface PrivacyBrokerConfig {
|
|
278
|
-
enabled: boolean;
|
|
279
|
-
clientId: string;
|
|
280
|
-
storageKeyPrefix: string;
|
|
281
|
-
}
|
|
282
276
|
export interface KilkayaConfig {
|
|
283
277
|
enabled: boolean;
|
|
284
278
|
url: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrEditionManager } from './dr-edition-manager';
|
|
2
|
-
import { IdentityFacade } from '../
|
|
2
|
+
import { IdentityFacade } from '../identity/identity-facade';
|
|
3
3
|
import { PulseInstance } from '../interface/tracker';
|
|
4
4
|
import { DrEditionObserverProperties } from './types';
|
|
5
5
|
declare const getDrEditionManager: (drEditionPageProperties: DrEditionObserverProperties, identityFacade: IdentityFacade, pulse?: PulseInstance) => DrEditionManager;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrEdition, DrEditionParams } from './types';
|
|
2
|
-
import { IdentityFacade } from '../
|
|
2
|
+
import { IdentityFacade } from '../identity/identity-facade';
|
|
3
3
|
import { TrackerInstance } from '../interface/tracker';
|
|
4
4
|
export declare class DrEditionService {
|
|
5
5
|
private readonly identityFacade;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DrEditionObserverConfig } from './types';
|
|
2
|
-
import { IdentityFacade } from '../
|
|
2
|
+
import { IdentityFacade } from '../identity/identity-facade';
|
|
3
3
|
import { PulseInstance } from '../interface/tracker';
|
|
4
4
|
declare const observeDrEditionAds: (observerConfig: DrEditionObserverConfig, identityFacade: IdentityFacade, pulse?: PulseInstance) => void;
|
|
5
5
|
export { observeDrEditionAds };
|
package/types/tests/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Newsroom } from 'core/interface/newsrooms';
|
|
|
3
3
|
import { PageType } from 'core/interface/page-types';
|
|
4
4
|
import { DeviceType } from 'core/interface/device';
|
|
5
5
|
import { Tracker } from 'features/interface/tracker';
|
|
6
|
-
import { PrebidConfig,
|
|
6
|
+
import { PrebidConfig, RefreshConfig, TakeoverConfig, WallpaperConfig } from 'core/interface/config';
|
|
7
7
|
import { AstAdObj } from 'core/interface/ast';
|
|
8
8
|
export interface MockConfigOptions {
|
|
9
9
|
country: Country;
|
|
@@ -24,7 +24,6 @@ export interface MockConfigOptions {
|
|
|
24
24
|
takeover?: TakeoverConfig | undefined;
|
|
25
25
|
prebid?: PrebidConfig | undefined;
|
|
26
26
|
wallpaper?: WallpaperConfig | undefined;
|
|
27
|
-
privacyBroker?: PrivacyBrokerConfig | undefined;
|
|
28
27
|
refreshConfig?: RefreshConfig | undefined;
|
|
29
28
|
pageOptions?: {
|
|
30
29
|
keywords?: Array<string>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IdentityFacade } from '../privacy-broker/identity-facade';
|
|
2
|
-
export interface Permission {
|
|
3
|
-
purpose: string;
|
|
4
|
-
data: Array<string>;
|
|
5
|
-
}
|
|
6
|
-
export interface FetchPermissionsParams {
|
|
7
|
-
endpoint: string;
|
|
8
|
-
environment: string;
|
|
9
|
-
identityFacade: IdentityFacade;
|
|
10
|
-
}
|
|
11
|
-
export interface FetchPermissionsWithTimeoutParams extends FetchPermissionsParams {
|
|
12
|
-
timeout: number;
|
|
13
|
-
}
|
|
14
|
-
export interface PermissionsResponse {
|
|
15
|
-
permissions: Array<Permission>;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Permission, PermissionsResponse } from 'features/interface/privacy-broker';
|
|
2
|
-
declare const getStorageKey: (key: string) => string;
|
|
3
|
-
declare const setPermissions: (permissionsResponse: PermissionsResponse | null, userKey: string) => void;
|
|
4
|
-
declare const clearPermissions: () => void;
|
|
5
|
-
declare const arePermissionsCached: (key: string) => boolean;
|
|
6
|
-
declare const readPermissions: () => Promise<Array<Permission> | null>;
|
|
7
|
-
export { setPermissions, clearPermissions, arePermissionsCached, getStorageKey, readPermissions };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|