@schibsted/advertory 2.67.1 → 2.67.2
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.js +1 -1
- package/core/aftenposten/index.js +1 -1
- package/core/aftenpostenv2/es/index.css +1 -1
- package/core/aftenpostenv2/es/index.js +1 -1
- package/core/aftonbladet/es/index.css +1 -1
- package/core/aftonbladet/es/index.js +1 -1
- package/core/aftonbladet/index.js +1 -1
- package/core/aftonbladetv2/es/index.css +1 -1
- package/core/aftonbladetv2/es/index.js +1 -1
- package/core/bt/es/index.css +1 -1
- package/core/bt/es/index.js +1 -1
- package/core/bt/index.js +1 -1
- package/core/e24/es/index.css +1 -1
- package/core/e24/es/index.js +1 -1
- package/core/e24/index.js +1 -1
- package/core/fotbollskanalen/es/index.css +1 -1
- package/core/fotbollskanalen/es/index.js +1 -1
- package/core/fotbollskanalen/index.js +1 -1
- package/core/godare/index.js +1 -1
- package/core/godt/index.js +1 -1
- package/core/klart/index.js +1 -1
- package/core/koket/es/index.js +1 -1
- package/core/koket/index.js +1 -1
- package/core/kompakt/index.js +1 -1
- package/core/minmote/index.js +1 -1
- package/core/pent/index.js +1 -1
- package/core/sa/es/index.css +1 -1
- package/core/sa/es/index.js +1 -1
- package/core/sa/index.js +1 -1
- package/core/sav2/es/index.css +1 -1
- package/core/sav2/es/index.js +1 -1
- package/core/svd/es/index.css +1 -1
- package/core/svd/es/index.js +1 -1
- package/core/svd/index.js +1 -1
- package/core/svdv2/es/index.css +1 -1
- package/core/svdv2/es/index.js +1 -1
- package/core/tek/index.js +1 -1
- package/core/tv4/es/index.css +1 -1
- package/core/tv4/es/index.js +1 -1
- package/core/tv4/index.js +1 -1
- package/core/tvnu/index.js +1 -1
- package/core/vg/es/index.css +1 -1
- package/core/vg/es/index.js +1 -1
- package/core/vg/index.js +1 -1
- package/core/vgv2/es/index.css +1 -1
- package/core/vgv2/es/index.js +1 -1
- package/features/dr-edition/es/index.d.ts +2 -77
- package/features/dr-edition/index.d.ts +2 -77
- package/package.json +1 -1
- package/sites/aftenposten/es/index.css +1 -1
- package/sites/aftenpostenv2/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/koket/es/index.css +1 -1
- package/sites/sa/es/index.css +1 -1
- package/sites/sav2/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/features/dr-edition/handlers.d.ts +3 -3
|
@@ -2,77 +2,8 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { Identity, HasSessionSuccessResponse } from '@schibsted/account-sdk-browser';
|
|
3
3
|
|
|
4
4
|
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
5
|
-
interface
|
|
6
|
-
content: string;
|
|
7
|
-
height: number;
|
|
8
|
-
width: number;
|
|
9
|
-
}
|
|
10
|
-
interface AstNativeImage {
|
|
11
|
-
height: number;
|
|
12
|
-
width: number;
|
|
13
|
-
url: string;
|
|
14
|
-
prevent_crop: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface AstNativeVideo {
|
|
17
|
-
content: string;
|
|
18
|
-
}
|
|
19
|
-
interface AstNative {
|
|
20
|
-
title: string;
|
|
21
|
-
sponsoredBy: string;
|
|
22
|
-
desc2?: string;
|
|
23
|
-
clickUrl: string;
|
|
24
|
-
clickTrackers: Array<string>;
|
|
25
|
-
clickFallbackUrl?: string;
|
|
26
|
-
displayUrl?: string;
|
|
27
|
-
downloads?: Array<string>;
|
|
28
|
-
cta?: string;
|
|
29
|
-
address?: string;
|
|
30
|
-
body: string;
|
|
31
|
-
main_media?: {
|
|
32
|
-
url: string;
|
|
33
|
-
};
|
|
34
|
-
image: AstNativeImage;
|
|
35
|
-
icon: AstNativeIcon;
|
|
36
|
-
impressionTrackers?: Array<string>;
|
|
37
|
-
javascriptTrackers?: Array<string>;
|
|
38
|
-
likes?: number;
|
|
39
|
-
phone?: string;
|
|
40
|
-
price?: string;
|
|
41
|
-
privacyLink?: string;
|
|
42
|
-
rating?: number;
|
|
43
|
-
saleprice?: number;
|
|
44
|
-
fullText?: string;
|
|
45
|
-
type?: string;
|
|
46
|
-
custom?: {
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
video?: AstNativeVideo;
|
|
50
|
-
customTitle1?: string;
|
|
51
|
-
customTitle2?: string;
|
|
52
|
-
customTitle3?: string;
|
|
53
|
-
customTitle4?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
customIcon2: AstNativeIcon;
|
|
56
|
-
}
|
|
57
|
-
interface AstAdObj {
|
|
58
|
-
adType: AstAdType;
|
|
59
|
-
height: number;
|
|
60
|
-
source: string;
|
|
5
|
+
interface AstTagObj {
|
|
61
6
|
targetId: string;
|
|
62
|
-
width: number;
|
|
63
|
-
native?: AstNative;
|
|
64
|
-
desc2?: string;
|
|
65
|
-
image?: object;
|
|
66
|
-
tagId?: number;
|
|
67
|
-
cpm?: object;
|
|
68
|
-
buyerMemberId?: number;
|
|
69
|
-
impressionTrackersFired?: boolean;
|
|
70
|
-
auctionId?: string;
|
|
71
|
-
creativeId?: number;
|
|
72
|
-
banner?: AstBanner;
|
|
73
|
-
subtype?: string;
|
|
74
|
-
renderer_url?: string;
|
|
75
|
-
bidderId?: number | undefined;
|
|
76
7
|
}
|
|
77
8
|
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
78
9
|
type Keywords = Record<string, AstKeywordValue>;
|
|
@@ -124,12 +55,6 @@ interface AstPageOptions {
|
|
|
124
55
|
renderingManagement?: AstRenderingManagement;
|
|
125
56
|
userSync?: AstUserSync;
|
|
126
57
|
}
|
|
127
|
-
interface AstNativeIcon {
|
|
128
|
-
url: string;
|
|
129
|
-
height?: number;
|
|
130
|
-
width?: number;
|
|
131
|
-
prevent_crop?: boolean;
|
|
132
|
-
}
|
|
133
58
|
|
|
134
59
|
declare const DeviceTypes: {
|
|
135
60
|
readonly MOBILE: "mobile";
|
|
@@ -626,7 +551,7 @@ declare const getDrEditionManager: (drEditionPageProperties: DrEditionObserverPr
|
|
|
626
551
|
|
|
627
552
|
declare const DrEdition: ({ editionName, fallbackTargetId, children, pulseData, htmlAttributes }: DrEditionComponentProps) => ReactNode;
|
|
628
553
|
|
|
629
|
-
declare const handleDrEditionBackfill: (config: SiteConfig, adObj:
|
|
554
|
+
declare const handleDrEditionBackfill: (config: SiteConfig, adObj: AstTagObj) => Promise<void>;
|
|
630
555
|
declare const handleDrEdition: (siteConfig: SiteConfig) => Promise<void>;
|
|
631
556
|
declare const handleDrEditionBackfillOnAdblock: (siteConfig: SiteConfig, placements: Array<Placement>) => void;
|
|
632
557
|
|
|
@@ -2,77 +2,8 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { Identity, HasSessionSuccessResponse } from '@schibsted/account-sdk-browser';
|
|
3
3
|
|
|
4
4
|
type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
|
|
5
|
-
interface
|
|
6
|
-
content: string;
|
|
7
|
-
height: number;
|
|
8
|
-
width: number;
|
|
9
|
-
}
|
|
10
|
-
interface AstNativeImage {
|
|
11
|
-
height: number;
|
|
12
|
-
width: number;
|
|
13
|
-
url: string;
|
|
14
|
-
prevent_crop: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface AstNativeVideo {
|
|
17
|
-
content: string;
|
|
18
|
-
}
|
|
19
|
-
interface AstNative {
|
|
20
|
-
title: string;
|
|
21
|
-
sponsoredBy: string;
|
|
22
|
-
desc2?: string;
|
|
23
|
-
clickUrl: string;
|
|
24
|
-
clickTrackers: Array<string>;
|
|
25
|
-
clickFallbackUrl?: string;
|
|
26
|
-
displayUrl?: string;
|
|
27
|
-
downloads?: Array<string>;
|
|
28
|
-
cta?: string;
|
|
29
|
-
address?: string;
|
|
30
|
-
body: string;
|
|
31
|
-
main_media?: {
|
|
32
|
-
url: string;
|
|
33
|
-
};
|
|
34
|
-
image: AstNativeImage;
|
|
35
|
-
icon: AstNativeIcon;
|
|
36
|
-
impressionTrackers?: Array<string>;
|
|
37
|
-
javascriptTrackers?: Array<string>;
|
|
38
|
-
likes?: number;
|
|
39
|
-
phone?: string;
|
|
40
|
-
price?: string;
|
|
41
|
-
privacyLink?: string;
|
|
42
|
-
rating?: number;
|
|
43
|
-
saleprice?: number;
|
|
44
|
-
fullText?: string;
|
|
45
|
-
type?: string;
|
|
46
|
-
custom?: {
|
|
47
|
-
type: string;
|
|
48
|
-
};
|
|
49
|
-
video?: AstNativeVideo;
|
|
50
|
-
customTitle1?: string;
|
|
51
|
-
customTitle2?: string;
|
|
52
|
-
customTitle3?: string;
|
|
53
|
-
customTitle4?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
customIcon2: AstNativeIcon;
|
|
56
|
-
}
|
|
57
|
-
interface AstAdObj {
|
|
58
|
-
adType: AstAdType;
|
|
59
|
-
height: number;
|
|
60
|
-
source: string;
|
|
5
|
+
interface AstTagObj {
|
|
61
6
|
targetId: string;
|
|
62
|
-
width: number;
|
|
63
|
-
native?: AstNative;
|
|
64
|
-
desc2?: string;
|
|
65
|
-
image?: object;
|
|
66
|
-
tagId?: number;
|
|
67
|
-
cpm?: object;
|
|
68
|
-
buyerMemberId?: number;
|
|
69
|
-
impressionTrackersFired?: boolean;
|
|
70
|
-
auctionId?: string;
|
|
71
|
-
creativeId?: number;
|
|
72
|
-
banner?: AstBanner;
|
|
73
|
-
subtype?: string;
|
|
74
|
-
renderer_url?: string;
|
|
75
|
-
bidderId?: number | undefined;
|
|
76
7
|
}
|
|
77
8
|
type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
|
|
78
9
|
type Keywords = Record<string, AstKeywordValue>;
|
|
@@ -124,12 +55,6 @@ interface AstPageOptions {
|
|
|
124
55
|
renderingManagement?: AstRenderingManagement;
|
|
125
56
|
userSync?: AstUserSync;
|
|
126
57
|
}
|
|
127
|
-
interface AstNativeIcon {
|
|
128
|
-
url: string;
|
|
129
|
-
height?: number;
|
|
130
|
-
width?: number;
|
|
131
|
-
prevent_crop?: boolean;
|
|
132
|
-
}
|
|
133
58
|
|
|
134
59
|
declare const DeviceTypes: {
|
|
135
60
|
readonly MOBILE: "mobile";
|
|
@@ -626,7 +551,7 @@ declare const getDrEditionManager: (drEditionPageProperties: DrEditionObserverPr
|
|
|
626
551
|
|
|
627
552
|
declare const DrEdition: ({ editionName, fallbackTargetId, children, pulseData, htmlAttributes }: DrEditionComponentProps) => ReactNode;
|
|
628
553
|
|
|
629
|
-
declare const handleDrEditionBackfill: (config: SiteConfig, adObj:
|
|
554
|
+
declare const handleDrEditionBackfill: (config: SiteConfig, adObj: AstTagObj) => Promise<void>;
|
|
630
555
|
declare const handleDrEdition: (siteConfig: SiteConfig) => Promise<void>;
|
|
631
556
|
declare const handleDrEditionBackfillOnAdblock: (siteConfig: SiteConfig, placements: Array<Placement>) => void;
|
|
632
557
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schibsted/advertory",
|
|
3
|
-
"version": "2.67.
|
|
3
|
+
"version": "2.67.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "node node_modules/rollup/dist/bin/rollup -c rollup-config/default.mjs && npm run post:build",
|
|
6
6
|
"build:dev": "MODE=dev NODE_OPTIONS=--max-old-space-size=131072 npm run build",
|