@srimandir/daily-live-puja 1.45.0 → 1.47.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.
@@ -11,7 +11,7 @@ interface LandingPageProps {
11
11
  loggedOutVideoSrc: string;
12
12
  videoDlpStatus: "Live" | "Playback";
13
13
  onVideoAction?: (params: {
14
- sectionName: "Live Video/Playback" | "What you get" | "Video Player";
14
+ sectionName: "Live Video/Playback" | "Sampler Video" | "Video Player";
15
15
  action: "Autoplay" | "Play" | "Pause";
16
16
  dlpStatus?: "Live" | "Playback";
17
17
  }) => void;
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  import { BannerOfferingItem } from './offerings';
3
3
  import { StoreCard, StoreSectionA4BApiLike } from '../StoreSection';
4
4
  import { SubscriptionCtaContext } from '../SubscriptionSection';
5
+ import { DlpExitAnalyticsAction } from '../../utils/exitAnalytics';
5
6
  import { ContentEnvironment, DlpOfferingCard } from '../../types/videoPage.types';
6
7
  declare global {
7
8
  interface Window {
@@ -87,7 +88,7 @@ interface VideoPageProps {
87
88
  }) => void;
88
89
  /** Called for video actions such as autoplay. */
89
90
  onVideoAction?: (params: {
90
- sectionName: "Live Video/Playback" | "What you get" | "Video Player";
91
+ sectionName: "Live Video/Playback" | "Sampler Video" | "Video Player";
91
92
  action: "Autoplay" | "Play" | "Pause";
92
93
  dlpStatus?: "Live" | "Playback";
93
94
  }) => void;
@@ -127,6 +128,8 @@ interface VideoPageProps {
127
128
  count_of_offering_sku?: number;
128
129
  dlp_status?: "Live" | "Playback";
129
130
  }) => void;
131
+ /** Emits exit analytics action for host tracking. */
132
+ onExitAnalytics?: (action: DlpExitAnalyticsAction) => void;
130
133
  }
131
134
  export declare const VideoPage: React.FC<VideoPageProps>;
132
135
  export {};