bitmovin-analytics
Advanced tools
Comparing version 2.22.0 to 2.23.0
@@ -12,3 +12,5 @@ import { Analytics } from '../core/Analytics'; | ||
sourceChange(config: AnalyticsConfig): void; | ||
protected hasPlayerAlreadyBeenAugmented(player: any): boolean; | ||
protected markPlayerInstanceAsAugmented(player: any): void; | ||
private guardAgainstNotInitializedAnalytics; | ||
} |
@@ -8,4 +8,2 @@ import { AdapterAPI } from '../api/AdapterAPI'; | ||
private wrapPlayerLoad; | ||
private hasPlayerAlreadyBeenAugmented; | ||
private markPlayerInstanceAsAugmented; | ||
} |
@@ -31,2 +31,3 @@ import { AnalyticsStateMachine } from '../../analyticsStateMachines/AnalyticsStateMachine'; | ||
constructor(opts?: AnalyticsStateMachineOptions); | ||
release(): void; | ||
eventCallback: <StatemachineEvent extends Event, EventData extends EventMap[StatemachineEvent]>(eventType: StatemachineEvent, eventObject: NoExtraProperties<EventMap[StatemachineEvent], EventData>) => void; | ||
@@ -33,0 +34,0 @@ getCommonPlaybackInfo(): { |
@@ -24,2 +24,3 @@ import { EventMap } from '../enums/Event'; | ||
get currentState(): string; | ||
resetIntervals(): void; | ||
protected startRebufferingHeartbeatInterval(reset?: boolean): void; | ||
@@ -26,0 +27,0 @@ protected resetRebufferingHelpers(reset?: boolean): void; |
@@ -69,2 +69,6 @@ import { InternalAdapterAPI } from '../adapters/internal/InternalAdapterAPI'; | ||
getMergedAnalyticsConfig(newConfig: AnalyticsConfig, oldConfig?: AnalyticsConfig): AnalyticsConfig; | ||
/** | ||
* This method sanitizes the input and updates the analytics config. | ||
* @param values Object containing the customData and other fields | ||
*/ | ||
private changeCustomData; | ||
@@ -78,3 +82,3 @@ private buildDefaultAnalyticsConfigValues; | ||
private sendQualityChange; | ||
private clearResetQualityChangeIntverval; | ||
private clearResetQualityChangeInterval; | ||
} |
@@ -0,3 +1,4 @@ | ||
import { CustomDataValues } from './CustomDataValues'; | ||
import { Sample } from './Sample'; | ||
export declare class AdAnalyticsSample { | ||
export declare class AdAnalyticsSample implements CustomDataValues { | ||
adModule?: string; | ||
@@ -16,5 +17,23 @@ adModuleVersion?: string; | ||
customData7?: string; | ||
customData8?: string; | ||
customData9?: string; | ||
customData10?: string; | ||
customData11?: string; | ||
customData12?: string; | ||
customData13?: string; | ||
customData14?: string; | ||
customData15?: string; | ||
customData16?: string; | ||
customData17?: string; | ||
customData18?: string; | ||
customData19?: string; | ||
customData20?: string; | ||
customData21?: string; | ||
customData22?: string; | ||
customData23?: string; | ||
customData24?: string; | ||
customData25?: string; | ||
customUserId?: string; | ||
experimentName?: string; | ||
domain?: string; | ||
experimentName?: string; | ||
key?: string; | ||
@@ -21,0 +40,0 @@ path?: string; |
@@ -9,3 +9,25 @@ export interface CustomDataValues { | ||
customData7?: string; | ||
customData8?: string; | ||
customData9?: string; | ||
customData10?: string; | ||
customData11?: string; | ||
customData12?: string; | ||
customData13?: string; | ||
customData14?: string; | ||
customData15?: string; | ||
customData16?: string; | ||
customData17?: string; | ||
customData18?: string; | ||
customData19?: string; | ||
customData20?: string; | ||
customData21?: string; | ||
customData22?: string; | ||
customData23?: string; | ||
customData24?: string; | ||
customData25?: string; | ||
experimentName?: string; | ||
} | ||
/** | ||
* Lists all keys of the {@see CustomDataValues} interface. | ||
*/ | ||
export declare const customDataValuesKeys: Array<keyof CustomDataValues>; |
@@ -0,3 +1,4 @@ | ||
import { CustomDataValues } from './CustomDataValues'; | ||
import { DownloadSpeedInfo } from './DownloadSpeedInfo'; | ||
export interface Sample { | ||
export interface Sample extends CustomDataValues { | ||
platform: string; | ||
@@ -55,10 +56,2 @@ sequenceNumber?: number; | ||
pageLoadTime: number; | ||
experimentName?: any; | ||
customData1?: any; | ||
customData2?: any; | ||
customData3?: any; | ||
customData4?: any; | ||
customData5?: any; | ||
customData6?: any; | ||
customData7?: any; | ||
key?: string; | ||
@@ -65,0 +58,0 @@ playerKey?: any; |
@@ -45,3 +45,4 @@ import { AnalyticsConfig } from './AnalyticsConfig'; | ||
}) => void; | ||
release: () => void; | ||
} | ||
export declare const defaultStateMachineCallbacks: StateMachineCallbacks; |
import { PAGE_LOAD_TYPE } from '../enums/PageLoadType'; | ||
import { CustomDataValues } from '../types/CustomDataValues'; | ||
export declare const validString: (text: any) => boolean; | ||
@@ -15,2 +16,3 @@ export declare const isNullOrEmptyString: (text: any) => boolean; | ||
export declare const getCustomDataString: (customData: any) => string | undefined; | ||
export declare const transferCustomDataFields: (fromConfig: CustomDataValues, toConfig: CustomDataValues) => void; | ||
export declare const getDocumentPropWithPrefix: (prop: string) => string | undefined; | ||
@@ -17,0 +19,0 @@ export declare const isVideoInFullscreen: () => boolean; |
@@ -1,1 +0,1 @@ | ||
{"name":"bitmovin-analytics","version":"v2.22.0","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]} | ||
{"name":"bitmovin-analytics","version":"v2.23.0","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
836253
2977