@guardian/ophan-tracker-js 2.1.2-next.4 → 2.1.2-next.6

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/NPM-dist/ng.js CHANGED
@@ -1,4 +1,4 @@
1
- import core from './core';
1
+ import core from './core.js';
2
2
  import transmit from './transmit.js';
3
3
  import attention from './attention.js';
4
4
  import visibility from './visibility.js';
@@ -64,10 +64,6 @@ export type TAction =
64
64
  * The component is returned to its original location
65
65
  **/
66
66
  | 'RETURN';
67
- export interface Component {
68
- name: string;
69
- loadTimeMs?: number;
70
- }
71
67
  interface ComponentV2 {
72
68
  componentType: TComponentType;
73
69
  id?: string;
@@ -31,7 +31,7 @@ export type TVideoEventType =
31
31
  * The media has played to the end.
32
32
  * NB: "END" is a reserved word in thrift apparently
33
33
  */
34
- | "video:content:end";
34
+ | "video:content:end" | "video:content:pause" | "video:content:resume" | "video:content:skip" | "video:content:cued";
35
35
  /**
36
36
  * Details about media playback progress
37
37
  * Note: currently only guardian-hosted videos are reported.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/ophan-tracker-js",
3
- "version": "2.1.2-next.4",
3
+ "version": "2.1.2-next.6",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=16"