@schibsted/pulse-sdk 8.0.0-rc.12 → 8.0.0-rc.13

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.
@@ -4,329 +4,329 @@ export const AnonymousViewUIElement = {
4
4
  object: {
5
5
  objectType: 'UIElement',
6
6
  },
7
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/AnonymousViewUIElement.json',
7
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/AnonymousViewUIElement.json',
8
8
  };
9
9
  export const CompletedHealthAction = {
10
10
  eventType: 'Completed',
11
11
  object: {
12
12
  objectType: 'HealthAction',
13
13
  },
14
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/CompletedHealthAction.json',
14
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/CompletedHealthAction.json',
15
15
  };
16
16
  export const EngagementAudio = {
17
17
  eventType: 'Engagement',
18
18
  object: {
19
19
  objectType: 'Audio',
20
20
  },
21
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementAudio.json',
21
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementAudio.json',
22
22
  };
23
23
  export const EngagementForm = {
24
24
  eventType: 'Engagement',
25
25
  object: {
26
26
  objectType: 'Form',
27
27
  },
28
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementForm.json',
28
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementForm.json',
29
29
  };
30
30
  export const EngagementHealthUIElement = {
31
31
  eventType: 'Engagement',
32
32
  object: {
33
33
  objectType: 'HealthUIElement',
34
34
  },
35
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementHealthUIElement.json',
35
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementHealthUIElement.json',
36
36
  };
37
37
  export const EngagementOffer = {
38
38
  eventType: 'Engagement',
39
39
  object: {
40
40
  objectType: 'Offer',
41
41
  },
42
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementOffer.json',
42
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementOffer.json',
43
43
  };
44
44
  export const EngagementTeaser = {
45
45
  eventType: 'Engagement',
46
46
  object: {
47
47
  objectType: 'Teaser',
48
48
  },
49
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementTeaser.json',
49
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementTeaser.json',
50
50
  };
51
51
  export const EngagementUIElement = {
52
52
  eventType: 'Engagement',
53
53
  object: {
54
54
  objectType: 'UIElement',
55
55
  },
56
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementUIElement.json',
56
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementUIElement.json',
57
57
  };
58
58
  export const EngagementVideo = {
59
59
  eventType: 'Engagement',
60
60
  object: {
61
61
  objectType: 'Video',
62
62
  },
63
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementVideo.json',
63
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementVideo.json',
64
64
  };
65
65
  export const EngagementVideoAd = {
66
66
  eventType: 'Engagement',
67
67
  object: {
68
68
  objectType: 'VideoAd',
69
69
  },
70
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementVideoAd.json',
70
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementVideoAd.json',
71
71
  };
72
72
  export const EngagementWidget = {
73
73
  eventType: 'Engagement',
74
74
  object: {
75
75
  objectType: 'Widget',
76
76
  },
77
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/EngagementWidget.json',
77
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/EngagementWidget.json',
78
78
  };
79
79
  export const ImpressionAdSlot = {
80
80
  eventType: 'Impression',
81
81
  object: {
82
82
  objectType: 'AdSlot',
83
83
  },
84
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionAdSlot.json',
84
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionAdSlot.json',
85
85
  };
86
86
  export const ImpressionForm = {
87
87
  eventType: 'Impression',
88
88
  object: {
89
89
  objectType: 'Form',
90
90
  },
91
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionForm.json',
91
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionForm.json',
92
92
  };
93
93
  export const ImpressionHealthUIElement = {
94
94
  eventType: 'Impression',
95
95
  object: {
96
96
  objectType: 'HealthUIElement',
97
97
  },
98
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionHealthUIElement.json',
98
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionHealthUIElement.json',
99
99
  };
100
100
  export const ImpressionOffer = {
101
101
  eventType: 'Impression',
102
102
  object: {
103
103
  objectType: 'Offer',
104
104
  },
105
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionOffer.json',
105
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionOffer.json',
106
106
  };
107
107
  export const ImpressionPlayer = {
108
108
  eventType: 'Impression',
109
109
  object: {
110
110
  objectType: 'Player',
111
111
  },
112
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionPlayer.json',
112
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionPlayer.json',
113
113
  };
114
114
  export const ImpressionTeaser = {
115
115
  eventType: 'Impression',
116
116
  object: {
117
117
  objectType: 'Teaser',
118
118
  },
119
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionTeaser.json',
119
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionTeaser.json',
120
120
  };
121
121
  export const ImpressionUIElement = {
122
122
  eventType: 'Impression',
123
123
  object: {
124
124
  objectType: 'UIElement',
125
125
  },
126
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionUIElement.json',
126
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionUIElement.json',
127
127
  };
128
128
  export const ImpressionWidget = {
129
129
  eventType: 'Impression',
130
130
  object: {
131
131
  objectType: 'Widget',
132
132
  },
133
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ImpressionWidget.json',
133
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ImpressionWidget.json',
134
134
  };
135
135
  export const LeaveArticle = {
136
136
  eventType: 'Leave',
137
137
  object: {
138
138
  objectType: 'Article',
139
139
  },
140
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveArticle.json',
140
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveArticle.json',
141
141
  };
142
142
  export const LeaveAudioPage = {
143
143
  eventType: 'Leave',
144
144
  object: {
145
145
  objectType: 'AudioPage',
146
146
  },
147
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveAudioPage.json',
147
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveAudioPage.json',
148
148
  };
149
149
  export const LeaveError = {
150
150
  eventType: 'Leave',
151
151
  object: {
152
152
  objectType: 'Error',
153
153
  },
154
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveError.json',
154
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveError.json',
155
155
  };
156
156
  export const LeaveFrontpage = {
157
157
  eventType: 'Leave',
158
158
  object: {
159
159
  objectType: 'Frontpage',
160
160
  },
161
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveFrontpage.json',
161
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveFrontpage.json',
162
162
  };
163
163
  export const LeaveLandingpage = {
164
164
  eventType: 'Leave',
165
165
  object: {
166
166
  objectType: 'Landingpage',
167
167
  },
168
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveLandingpage.json',
168
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLandingpage.json',
169
169
  };
170
170
  export const LeaveListing = {
171
171
  eventType: 'Leave',
172
172
  object: {
173
173
  objectType: 'Listing',
174
174
  },
175
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveListing.json',
175
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveListing.json',
176
176
  };
177
177
  export const LeaveLockedArticle = {
178
178
  eventType: 'Leave',
179
179
  object: {
180
180
  objectType: 'LockedArticle',
181
181
  },
182
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveLockedArticle.json',
182
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedArticle.json',
183
183
  };
184
184
  export const LeaveLockedAudioPage = {
185
185
  eventType: 'Leave',
186
186
  object: {
187
187
  objectType: 'LockedAudioPage',
188
188
  },
189
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveLockedAudioPage.json',
189
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedAudioPage.json',
190
190
  };
191
191
  export const LeaveLockedVideoPage = {
192
192
  eventType: 'Leave',
193
193
  object: {
194
194
  objectType: 'LockedVideoPage',
195
195
  },
196
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveLockedVideoPage.json',
196
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveLockedVideoPage.json',
197
197
  };
198
198
  export const LeavePage = {
199
199
  eventType: 'Leave',
200
200
  object: {
201
201
  objectType: 'Page',
202
202
  },
203
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeavePage.json',
203
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeavePage.json',
204
204
  };
205
205
  export const LeaveSportsPage = {
206
206
  eventType: 'Leave',
207
207
  object: {
208
208
  objectType: 'SportsPage',
209
209
  },
210
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveSportsPage.json',
210
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveSportsPage.json',
211
211
  };
212
212
  export const LeaveVideoPage = {
213
213
  eventType: 'Leave',
214
214
  object: {
215
215
  objectType: 'VideoPage',
216
216
  },
217
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveVideoPage.json',
217
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveVideoPage.json',
218
218
  };
219
219
  export const LeaveWeather = {
220
220
  eventType: 'Leave',
221
221
  object: {
222
222
  objectType: 'Weather',
223
223
  },
224
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/LeaveWeather.json',
224
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/LeaveWeather.json',
225
225
  };
226
226
  export const ViewArticle = {
227
227
  eventType: 'View',
228
228
  object: {
229
229
  objectType: 'Article',
230
230
  },
231
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewArticle.json',
231
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewArticle.json',
232
232
  };
233
233
  export const ViewAudioPage = {
234
234
  eventType: 'View',
235
235
  object: {
236
236
  objectType: 'AudioPage',
237
237
  },
238
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewAudioPage.json',
238
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewAudioPage.json',
239
239
  };
240
240
  export const ViewError = {
241
241
  eventType: 'View',
242
242
  object: {
243
243
  objectType: 'Error',
244
244
  },
245
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewError.json',
245
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewError.json',
246
246
  };
247
247
  export const ViewFrontpage = {
248
248
  eventType: 'View',
249
249
  object: {
250
250
  objectType: 'Frontpage',
251
251
  },
252
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewFrontpage.json',
252
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewFrontpage.json',
253
253
  };
254
254
  export const ViewHealthPage = {
255
255
  eventType: 'View',
256
256
  object: {
257
257
  objectType: 'HealthPage',
258
258
  },
259
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewHealthPage.json',
259
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewHealthPage.json',
260
260
  };
261
261
  export const ViewLandingpage = {
262
262
  eventType: 'View',
263
263
  object: {
264
264
  objectType: 'Landingpage',
265
265
  },
266
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewLandingpage.json',
266
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLandingpage.json',
267
267
  };
268
268
  export const ViewListing = {
269
269
  eventType: 'View',
270
270
  object: {
271
271
  objectType: 'Listing',
272
272
  },
273
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewListing.json',
273
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewListing.json',
274
274
  };
275
275
  export const ViewLockedArticle = {
276
276
  eventType: 'View',
277
277
  object: {
278
278
  objectType: 'LockedArticle',
279
279
  },
280
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewLockedArticle.json',
280
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedArticle.json',
281
281
  };
282
282
  export const ViewLockedAudioPage = {
283
283
  eventType: 'View',
284
284
  object: {
285
285
  objectType: 'LockedAudioPage',
286
286
  },
287
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewLockedAudioPage.json',
287
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedAudioPage.json',
288
288
  };
289
289
  export const ViewLockedVideoPage = {
290
290
  eventType: 'View',
291
291
  object: {
292
292
  objectType: 'LockedVideoPage',
293
293
  },
294
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewLockedVideoPage.json',
294
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewLockedVideoPage.json',
295
295
  };
296
296
  export const ViewPage = {
297
297
  eventType: 'View',
298
298
  object: {
299
299
  objectType: 'Page',
300
300
  },
301
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewPage.json',
301
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewPage.json',
302
302
  };
303
303
  export const ViewSportsPage = {
304
304
  eventType: 'View',
305
305
  object: {
306
306
  objectType: 'SportsPage',
307
307
  },
308
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewSportsPage.json',
308
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewSportsPage.json',
309
309
  };
310
310
  export const ViewTitle = {
311
311
  eventType: 'View',
312
312
  object: {
313
313
  objectType: 'Title',
314
314
  },
315
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewTitle.json',
315
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewTitle.json',
316
316
  };
317
317
  export const ViewVideoPage = {
318
318
  eventType: 'View',
319
319
  object: {
320
320
  objectType: 'VideoPage',
321
321
  },
322
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewVideoPage.json',
322
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewVideoPage.json',
323
323
  };
324
324
  export const ViewWeather = {
325
325
  eventType: 'View',
326
326
  object: {
327
327
  objectType: 'Weather',
328
328
  },
329
- schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.2/schemas/ViewWeather.json',
329
+ schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/2.9.3/schemas/ViewWeather.json',
330
330
  };
331
331
  export const ADVERTISING_VALUES = ['Accepted', 'Rejected', 'Unknown'];
332
332
  export const ANALYTICS_VALUES = ['Accepted', 'Rejected', 'Unknown'];
@@ -414,6 +414,15 @@ export const SPORT_SUBVIEW_VALUES = [
414
414
  'MedalTable',
415
415
  'UserProfile',
416
416
  'PredictionsGame',
417
+ 'Overview',
418
+ 'Squad',
419
+ 'Rankings',
420
+ 'Ratings',
421
+ 'Liveblog',
422
+ 'News',
423
+ 'Leagues',
424
+ 'League',
425
+ 'Profile',
417
426
  ];
418
427
  export const SPORT_VIEW_VALUES = [
419
428
  'Person',
@@ -441,4 +450,4 @@ export const UTM_MEDIUM_VALUES = [
441
450
  'Video',
442
451
  'Internal',
443
452
  ];
444
- export const CATALOG_VERSION = '2.9.2';
453
+ export const CATALOG_VERSION = '2.9.3';
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated by bin/generate-version.js. Do not edit manually.
2
- export const SDK_VERSION = '8.0.0-rc.12';
2
+ export const SDK_VERSION = '8.0.0-rc.13';
@@ -128,7 +128,15 @@ export interface SDKConfigInput {
128
128
  */
129
129
  requireAdvertisingOptIn?: boolean;
130
130
  trackerId?: string;
131
+ /**
132
+ * @deprecated Starting with 8.0.0-rc.13, the SDK will default this config to true instead of undefined (basically false).
133
+ * In v9, this config will be removed and the SDK will always use Beacon when available.
134
+ */
131
135
  useBeacon?: boolean;
136
+ /**
137
+ * @deprecated Starting with 8.0.0-rc.13, the SDK will default this config to true instead of undefined (basically false).
138
+ * In v9, this config will be removed and the SDK will always use Beacon when available.
139
+ */
132
140
  useBeaconWhenAvailable?: boolean;
133
141
  username?: string;
134
142
  vendors?: AdvertisingVendor[];