@wscsports/blaze-web-sdk 0.1.814 → 0.1.817

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.1.814",
3
+ "version": "0.1.817",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -503,6 +503,7 @@ export interface WidgetsTagNameMap {
503
503
  'blaze-widget-image': BlazeWidgetStoryImage;
504
504
  'blaze-widget-video': BlazeWidgetStoryVideo;
505
505
  'blaze-widget-moment-video': BlazeWidgetMomentVideo;
506
+ 'blaze-widget-interaction': BlazeWidgetInteraction;
506
507
  'blaze-loader': BlazeLoader;
507
508
  'blaze-skeleton': BlazeSkeleton;
508
509
  'blaze-chip': BlazeChip;
@@ -532,6 +533,7 @@ interface WidgetsTagNameOptionsMap {
532
533
  'blaze-widget-image': {};
533
534
  'blaze-widget-video': {};
534
535
  'blaze-widget-moment-video': {};
536
+ 'blaze-widget-interaction': {};
535
537
  'blaze-loader': {};
536
538
  'blaze-skeleton': {};
537
539
  'blaze-chip': {};
@@ -1771,6 +1773,9 @@ export * from './widget-story-modal';
1771
1773
  export * from './widget-story-player';
1772
1774
  export * from './widget-story-preview';
1773
1775
  export * from './widget-story-video';
1776
+ export * from './widget-interaction';
1777
+ export * from './widget-moment-video';
1778
+ export * from './widget-ad';
1774
1779
 
1775
1780
  export declare class BlazeWidgetStoryAd extends BlazeWidgetStoryBase {
1776
1781
  data: IPage | undefined;
@@ -1802,6 +1807,14 @@ export declare class BlazeWidgetStoryAd extends BlazeWidgetStoryBase {
1802
1807
  private initStyles;
1803
1808
  }
1804
1809
 
1810
+ export declare class BlazeWidgetInteraction extends BaseWidget {
1811
+ private iframe;
1812
+ loadInteraction(interactionData: Interaction): void;
1813
+ showInteraction(): void;
1814
+ hideInteraction(): void;
1815
+ unloadInteraction(): void;
1816
+ }
1817
+
1805
1818
  export interface BlazeWidgetItemOptions {
1806
1819
  theme: IWidgetTheme;
1807
1820
  content: IStory;
@@ -2364,7 +2377,7 @@ export declare class BlazeWidgetStoryVideo extends BlazeWidgetStoryBase {
2364
2377
  video: HTMLVideoElement;
2365
2378
  loader: HTMLElement;
2366
2379
  source: HTMLElement;
2367
- interactionIframe: HTMLIFrameElement;
2380
+ interactionElement: BlazeWidgetInteraction;
2368
2381
  videoUrl: string | undefined;
2369
2382
  videoFrameCallback?: any;
2370
2383
  eventRenderBackgroundPercentageTriggered: Array<boolean>;
@@ -2420,9 +2433,6 @@ export declare class BlazeWidgetStoryVideo extends BlazeWidgetStoryBase {
2420
2433
  onContentResumeRequested(): void;
2421
2434
  removeAdLoader(): void;
2422
2435
  loadInteraction(): void;
2423
- showInteraction(): void;
2424
- hideInteraction(): void;
2425
- unloadInteraction(): void;
2426
2436
  }
2427
2437
 
2428
2438
  export declare class BlazeWidgetStory extends HTMLElement {