@vizbeetv/sdk 7.8.54 → 7.8.57

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/types/index.d.ts CHANGED
@@ -273,6 +273,7 @@ export interface AppAdapter {
273
273
  }
274
274
 
275
275
  export declare class PlayerAdapter {
276
+ constructor(playerType: PlayerType, playerElement?: HTMLElement);
276
277
  updateVideoInfo(videoInfo: VideoInfo): void;
277
278
  updateVideoStatus(videoStatus: VideoStatus): void;
278
279
  getVideoInfo(): VideoStatus | undefined;
@@ -292,6 +293,7 @@ export interface HTMLPlayerAdapter extends PlayerAdapter {
292
293
 
293
294
  /** Base contract — host app calls updateAdStatus() to push ad events to the SDK. */
294
295
  export declare class AdAdapter {
296
+ constructor(adType: AdType, playerElement?: HTMLElement);
295
297
  updateAdStatus(adStatus: AdStatus): void;
296
298
  }
297
299
 
@@ -496,6 +498,7 @@ export interface MessagesMap {
496
498
  new (eventType: 'ad-end', eventData?: Omit<AdEndStatus, 'eventType'>): AdEndStatus;
497
499
  new (eventType: 'ad-pod-end'): AdPodEndStatus;
498
500
  new (eventType: 'ad-error', eventData?: Omit<AdErrorStatus, 'eventType'>): AdErrorStatus;
501
+ new (eventType: AdEventType, eventData?: unknown): AdStatus;
499
502
  };
500
503
 
501
504
  PlayerState: typeof PlayerState;