@theoplayer/extended 7.11.0 → 7.12.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.
@@ -661,6 +661,10 @@ interface AdInit extends Omit<Partial<Ad>, 'integration' | 'adBreak'> {
661
661
  * The time offset at which content will be paused to play the ad, in seconds.
662
662
  */
663
663
  timeOffset?: number;
664
+ /**
665
+ * Additional integration-specific data associated with this ad.
666
+ */
667
+ customData?: unknown;
664
668
  }
665
669
  /**
666
670
  * An initializer for a custom {@link AdBreak}.
@@ -680,6 +684,10 @@ interface AdBreakInit {
680
684
  * The duration of the ad break, in seconds.
681
685
  */
682
686
  maxDuration?: number | undefined;
687
+ /**
688
+ * Additional integration-specific data associated with this ad break.
689
+ */
690
+ customData?: unknown;
683
691
  }
684
692
  /**
685
693
  * Factory to create an {@link ServerSideAdIntegrationHandler}.
@@ -810,6 +818,10 @@ interface Ad {
810
818
  * <br/> - Only supported for `'csai'`, `'theo'` (deprecated) and `'google-ima'`.
811
819
  */
812
820
  universalAdIds: UniversalAdId[];
821
+ /**
822
+ * Additional integration-specific data associated with this ad.
823
+ */
824
+ customData: unknown;
813
825
  /**
814
826
  * Whether the ad is a slate or not.
815
827
  *
@@ -1173,6 +1185,10 @@ interface AdBreak {
1173
1185
  * <br/> - This feature is not available in the Google IMA integration and will default to -1.
1174
1186
  */
1175
1187
  maxRemainingDuration: number | undefined;
1188
+ /**
1189
+ * Additional integration-specific data associated with this ad.
1190
+ */
1191
+ customData: unknown;
1176
1192
  }
1177
1193
  /**
1178
1194
  * Represents a companion ad which is displayed near the video player.