@schibsted/pulse-tracker-proxy 2.0.0-alpha.1 → 2.0.0-alpha.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/dist/cjs/consts.js +33 -32
- package/dist/cjs/version.json +1 -1
- package/dist/ejs/consts.js +33 -32
- package/dist/ejs/version.json +1 -1
- package/dist/index.d.ts +7239 -2165
- package/package.json +6 -6
package/dist/cjs/consts.js
CHANGED
|
@@ -11,28 +11,23 @@ exports.MESSAGE_TYPE_RETURN = `${exports.MESSAGE_PREFIX}:return`;
|
|
|
11
11
|
exports.MESSAGE_TYPE_RETURN_ERROR = `${exports.MESSAGE_PREFIX}:return-error`;
|
|
12
12
|
exports.TPAAS_ALLOWED_METHODS = [
|
|
13
13
|
'trackAnonymousViewUIElement',
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'trackViewUIElement',
|
|
32
|
-
'trackViewVideo',
|
|
33
|
-
'trackViewVideoAd',
|
|
34
|
-
'trackViewVideoPlayer',
|
|
35
|
-
'trackViewWeather',
|
|
14
|
+
'trackEngagementForm',
|
|
15
|
+
'trackEngagementHealthUIElement',
|
|
16
|
+
'trackEngagementOffer',
|
|
17
|
+
'trackEngagementTeaser',
|
|
18
|
+
'trackEngagementUIElement',
|
|
19
|
+
'trackEngagementVideo',
|
|
20
|
+
'trackEngagementVideoAd',
|
|
21
|
+
'trackEngagementWidget',
|
|
22
|
+
'trackCompletedHealthAction',
|
|
23
|
+
'trackImpressionAdSlot',
|
|
24
|
+
'trackImpressionForm',
|
|
25
|
+
'trackImpressionHealthUIElement',
|
|
26
|
+
'trackImpressionOffer',
|
|
27
|
+
'trackImpressionPlayer',
|
|
28
|
+
'trackImpressionTeaser',
|
|
29
|
+
'trackImpressionUIElement',
|
|
30
|
+
'trackImpressionWidget',
|
|
36
31
|
'trackLeaveArticle',
|
|
37
32
|
'trackLeaveAudio',
|
|
38
33
|
'trackLeaveError',
|
|
@@ -43,18 +38,24 @@ exports.TPAAS_ALLOWED_METHODS = [
|
|
|
43
38
|
'trackLeaveLockedAudio',
|
|
44
39
|
'trackLeaveLockedVideo',
|
|
45
40
|
'trackLeavePage',
|
|
46
|
-
'
|
|
47
|
-
'trackLeaveVideo',
|
|
41
|
+
'trackLeaveVideoPage',
|
|
48
42
|
'trackLeaveWeather',
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
43
|
+
'trackViewArticle',
|
|
44
|
+
'trackViewAudio',
|
|
45
|
+
'trackViewError',
|
|
46
|
+
'trackViewFrontpage',
|
|
47
|
+
'trackViewHealthPage',
|
|
48
|
+
'trackViewLandingpage',
|
|
49
|
+
'trackViewListing',
|
|
50
|
+
'trackViewLockedArticle',
|
|
51
|
+
'trackViewLockedAudio',
|
|
52
|
+
'trackViewLockedVideo',
|
|
53
|
+
'trackViewPage',
|
|
54
|
+
'trackViewTitle',
|
|
55
|
+
'trackViewVideo',
|
|
56
|
+
'trackViewVideoPage',
|
|
57
|
+
'trackViewWeather',
|
|
56
58
|
'trackWatchAudioPlayer',
|
|
57
|
-
'trackWatchVideoPlayer',
|
|
58
59
|
];
|
|
59
60
|
function isPulseProxyMessage(message) {
|
|
60
61
|
return (message !== null &&
|
package/dist/cjs/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "PROXY_VERSION": "2.0.0-alpha.
|
|
1
|
+
{ "PROXY_VERSION": "2.0.0-alpha.2", "GIT_COMMIT": "83bff6f2" }
|
package/dist/ejs/consts.js
CHANGED
|
@@ -7,28 +7,23 @@ export const MESSAGE_TYPE_RETURN = `${MESSAGE_PREFIX}:return`;
|
|
|
7
7
|
export const MESSAGE_TYPE_RETURN_ERROR = `${MESSAGE_PREFIX}:return-error`;
|
|
8
8
|
export const TPAAS_ALLOWED_METHODS = [
|
|
9
9
|
'trackAnonymousViewUIElement',
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
'
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'trackViewUIElement',
|
|
28
|
-
'trackViewVideo',
|
|
29
|
-
'trackViewVideoAd',
|
|
30
|
-
'trackViewVideoPlayer',
|
|
31
|
-
'trackViewWeather',
|
|
10
|
+
'trackEngagementForm',
|
|
11
|
+
'trackEngagementHealthUIElement',
|
|
12
|
+
'trackEngagementOffer',
|
|
13
|
+
'trackEngagementTeaser',
|
|
14
|
+
'trackEngagementUIElement',
|
|
15
|
+
'trackEngagementVideo',
|
|
16
|
+
'trackEngagementVideoAd',
|
|
17
|
+
'trackEngagementWidget',
|
|
18
|
+
'trackCompletedHealthAction',
|
|
19
|
+
'trackImpressionAdSlot',
|
|
20
|
+
'trackImpressionForm',
|
|
21
|
+
'trackImpressionHealthUIElement',
|
|
22
|
+
'trackImpressionOffer',
|
|
23
|
+
'trackImpressionPlayer',
|
|
24
|
+
'trackImpressionTeaser',
|
|
25
|
+
'trackImpressionUIElement',
|
|
26
|
+
'trackImpressionWidget',
|
|
32
27
|
'trackLeaveArticle',
|
|
33
28
|
'trackLeaveAudio',
|
|
34
29
|
'trackLeaveError',
|
|
@@ -39,18 +34,24 @@ export const TPAAS_ALLOWED_METHODS = [
|
|
|
39
34
|
'trackLeaveLockedAudio',
|
|
40
35
|
'trackLeaveLockedVideo',
|
|
41
36
|
'trackLeavePage',
|
|
42
|
-
'
|
|
43
|
-
'trackLeaveVideo',
|
|
37
|
+
'trackLeaveVideoPage',
|
|
44
38
|
'trackLeaveWeather',
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
39
|
+
'trackViewArticle',
|
|
40
|
+
'trackViewAudio',
|
|
41
|
+
'trackViewError',
|
|
42
|
+
'trackViewFrontpage',
|
|
43
|
+
'trackViewHealthPage',
|
|
44
|
+
'trackViewLandingpage',
|
|
45
|
+
'trackViewListing',
|
|
46
|
+
'trackViewLockedArticle',
|
|
47
|
+
'trackViewLockedAudio',
|
|
48
|
+
'trackViewLockedVideo',
|
|
49
|
+
'trackViewPage',
|
|
50
|
+
'trackViewTitle',
|
|
51
|
+
'trackViewVideo',
|
|
52
|
+
'trackViewVideoPage',
|
|
53
|
+
'trackViewWeather',
|
|
52
54
|
'trackWatchAudioPlayer',
|
|
53
|
-
'trackWatchVideoPlayer',
|
|
54
55
|
];
|
|
55
56
|
export function isPulseProxyMessage(message) {
|
|
56
57
|
return (message !== null &&
|
package/dist/ejs/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "PROXY_VERSION": "2.0.0-alpha.
|
|
1
|
+
{ "PROXY_VERSION": "2.0.0-alpha.2", "GIT_COMMIT": "83bff6f2" }
|