@wscsports/blaze-web-sdk 0.19.2 → 0.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wscsports/blaze-web-sdk",
3
- "version": "0.19.2",
3
+ "version": "0.20.0",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -1564,6 +1564,7 @@ export interface IContentPage extends IBasePage {
1564
1564
  cta: ICta;
1565
1565
  parentStoryId?: string;
1566
1566
  shouldShowImaAd?: boolean;
1567
+ shouldShowBannerAd?: boolean;
1567
1568
  adInfo?: IAdInfo;
1568
1569
  interaction?: Interaction;
1569
1570
  poster?: IThumbnail;
@@ -5737,6 +5738,7 @@ export declare class BlazeWidgetAd extends BlazeWidgetVideoBase {
5737
5738
 
5738
5739
  export declare class BlazeWidgetBannerAd extends HTMLElement {
5739
5740
  parentContnet: BlazeWidgetContent;
5741
+ isHidden(): boolean;
5740
5742
  constructor(parentContent: BlazeWidgetContent);
5741
5743
  private adContainer;
5742
5744
  private bannerAdInfo;
@@ -5744,7 +5746,9 @@ export declare class BlazeWidgetBannerAd extends HTMLElement {
5744
5746
  private get googletag();
5745
5747
  connectedCallback(): void;
5746
5748
  disconnectedCallback(): void;
5747
- show(bannerAdInfo?: IBannerAdInfo): void;
5749
+ show(bannerAdInfo?: IBannerAdInfo, sendBannerViewEvent?: boolean): void;
5750
+ hide(): void;
5751
+ unhide(): void;
5748
5752
  private setInitialStyles;
5749
5753
  private setAdContainer;
5750
5754
  private raiseAnalyticsEventToParent;
@@ -6246,6 +6250,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
6246
6250
  private disableStoriesNavigationButtons;
6247
6251
  private disablePageNavigationButtons;
6248
6252
  private setButtonNavigationAsDisabled;
6253
+ private shouldShowBannerAd;
6249
6254
  adjustContentView(): void;
6250
6255
  private setPlayerButtonPosition;
6251
6256
  updatePlayerButtonIcons(): void;
@@ -6262,6 +6267,9 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
6262
6267
  private createProgressElements;
6263
6268
  private createProgressPart;
6264
6269
  setData(story: IStory): void;
6270
+ get currentContentPage(): IContentPage;
6271
+ get nextContentPage(): IContentPage | null;
6272
+ get prevContentPage(): IContentPage | null;
6265
6273
  get currentPage(): BlazeWidgetVideoBase;
6266
6274
  get nextPage(): BlazeWidgetVideoBase;
6267
6275
  get prevPage(): BlazeWidgetVideoBase;
@@ -6273,6 +6281,7 @@ export declare class BlazeWidgetStory extends BlazeWidgetContent {
6273
6281
  updatePublishedDate(index?: number): void;
6274
6282
  switchToPage(newPageIndex: number): void;
6275
6283
  startPage(indexToPlay: number): void;
6284
+ private shouldGetNewBannerAd;
6276
6285
  unload(): void;
6277
6286
  displayCurrentStoryPageAndHideTheRest(): void;
6278
6287
  load(loadingType?: LoadingType): void;