@vkontakte/videoplayer-statistics 1.0.77-dev.1a25dcbd.0 → 1.0.77-dev.217ff82b.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.
@@ -0,0 +1,12 @@
1
+ export declare class Stopwatch {
2
+ private startTime;
3
+ private stopTime;
4
+ private accumulatedTime;
5
+ get time(): number;
6
+ get timeMs(): number;
7
+ get isRunning(): boolean;
8
+ start(): void;
9
+ stop(): void;
10
+ reset(): void;
11
+ private now;
12
+ }
@@ -0,0 +1,12 @@
1
+ export interface PixelParams {
2
+ interval?: number;
3
+ delay?: number;
4
+ }
5
+ export interface Pixel {
6
+ event: 'start' | 'stop' | 'pause' | 'resume' | 'heartbeat';
7
+ url: string;
8
+ params?: PixelParams;
9
+ }
10
+ export interface MediascopeParams {
11
+ pixels: Pixel[];
12
+ }
@@ -0,0 +1 @@
1
+ export declare const image: () => HTMLImageElement;
package/types/index.d.ts CHANGED
@@ -1,6 +1,8 @@
1
- import { IOneStat, OneStat, IStatContext, IConstructorParams } from './OneStat';
2
- import { ApiEnv, ContentType, Quality, ConnectionType, SeekAction, InterfaceClick, InteractiveInterfaceClick } from './values';
3
- import { IUIEvents, IAdsEvents, IInteractiveEvents } from './uiEvents';
1
+ import { IOneStat, OneStat, IStatContext, IConstructorParams } from './OneStat/OneStat';
2
+ import { ApiEnv, ContentType, Quality, ConnectionType, SeekAction, InterfaceClick, InteractiveInterfaceClick } from './OneStat/values';
3
+ import { IUIEvents, IAdsEvents, IInteractiveEvents } from './OneStat/uiEvents';
4
4
  export { OneStat, IOneStat, IStatContext, IConstructorParams, ApiEnv, ContentType, Quality, ConnectionType, SeekAction, IUIEvents, IAdsEvents, IInteractiveEvents, InterfaceClick, InteractiveInterfaceClick, };
5
- export { VERSION } from './env';
6
- export { IOptionalConfig } from './config';
5
+ export { VERSION } from './OneStat/env';
6
+ export { IOptionalConfig } from './OneStat/config';
7
+ export * as MediascopePixelTypes from './MediascopePixel/types';
8
+ export { MediascopePixel, IMediascopePixel } from './MediascopePixel/MediascopePixel';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes