bitmovin-analytics 2.32.0 → 2.32.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.
@@ -7,6 +7,7 @@ export interface CollectorConfig {
7
7
  enabled?: boolean;
8
8
  cookiesEnabled?: boolean;
9
9
  cookiesDomain?: string;
10
+ cookiesMaxAge?: number;
10
11
  origin?: string;
11
12
  }
12
13
  export interface AnalyticsConfig {
@@ -395,6 +396,7 @@ export interface StateMachineCallbacks {
395
396
  customdatachange: (duration?: number, state?: string, event?: {
396
397
  values: CustomDataValues;
397
398
  }) => void;
399
+ /** shuts down the collection and removes/clears all timeouts, intervals, event listeners */
398
400
  release: () => void;
399
401
  playlistTransition: (event: Readonly<AnalyticsEventBase>) => void;
400
402
  }
@@ -489,6 +491,12 @@ declare class BackendFactory {
489
491
  declare class Analytics {
490
492
  get version(): string;
491
493
  static version: string;
494
+ private readonly sessionHandler;
495
+ private readonly adapter;
496
+ private readonly backendFactory;
497
+ private readonly featureManager;
498
+ private readonly onErrorDetailEventDispatcher;
499
+ private readonly adAnalytics;
492
500
  pageLoadTime: number;
493
501
  playerStartupTime: number;
494
502
  videoStartupTime: number;
@@ -496,18 +504,12 @@ declare class Analytics {
496
504
  sample: Sample;
497
505
  backend: Backend;
498
506
  errorDetailTrackingSettingsProvider: ErrorDetailTrackingSettingsProvider;
499
- get errorDetailSubscribable(): Subscribable<OnErrorDetailEventObject>;
500
507
  private config;
501
- private sessionHandler;
502
508
  private droppedSampleFrames;
503
509
  private startupTime;
504
- private adapter;
505
- private backendFactory;
506
- private featureManager;
507
- private onErrorDetailEventDispatcher;
508
- private adAnalytics;
509
510
  private authenticationCallback;
510
511
  constructor(config: AnalyticsConfig, adapter: InternalAdapterAPI, backendFactory?: BackendFactory);
512
+ get errorDetailSubscribable(): Subscribable<OnErrorDetailEventObject>;
511
513
  getPlayerInformationFromAdapter(): {
512
514
  player: string;
513
515
  version: string;