@tivio/sdk-react 9.1.6 → 9.1.7

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.
@@ -2453,6 +2453,7 @@ export declare interface LinkedVideo {
2453
2453
  | 'COMPOSED_PIP' | 'MATRIX';
2454
2454
  name?: string;
2455
2455
  color?: string;
2456
+ language?: LangCode;
2456
2457
  }
2457
2458
 
2458
2459
  /**
@@ -4456,7 +4457,6 @@ export declare interface RemoteControlGetSourceUrlPayload {
4456
4457
  * @public
4457
4458
  */
4458
4459
  export declare interface RemoteControllerProps {
4459
- video: Video;
4460
4460
  className?: string;
4461
4461
  }
4462
4462
 
@@ -7081,6 +7081,8 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
7081
7081
  initApplication: () => Promise<void>;
7082
7082
  init: () => Promise<void>;
7083
7083
  progress?: number;
7084
+ purchasableMonetizationPurchase: Purchase | null;
7085
+ purchaseByVideoId: Purchase | null;
7084
7086
  backgroundBlurBannerMobile?: string | null;
7085
7087
  isWatched?: boolean;
7086
7088
  pgRating?: string;
@@ -7088,6 +7090,8 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
7088
7090
  publishedStatus?: PublishedStatus;
7089
7091
  widgetPaths?: string[];
7090
7092
  forcedCapabilities: PlayerCapability[] | null;
7093
+ mainLinkedVideoId?: string;
7094
+ getLinkedVideoIdByLanguage: (lang: LangCode) => string | undefined;
7091
7095
  }
7092
7096
 
7093
7097
  /**
@@ -7385,10 +7389,10 @@ export declare interface VodTivioSourceInterface extends PlayerSourceInterface<S
7385
7389
  canWatchOnDevice: boolean;
7386
7390
  isAvailable: boolean;
7387
7391
  availability: ContentAvailability | null;
7388
- managementUrl?: string;
7389
7392
  video: Video;
7390
7393
  clone: (params?: Partial<VodTivioSourceParams>) => VodTivioSourceInterface;
7391
7394
  sessionType?: VideoSourceField['sessionType'];
7395
+ sessionId?: string;
7392
7396
  }
7393
7397
 
7394
7398
  /**
@@ -7400,12 +7404,6 @@ export declare interface VodTivioSourceParams extends PlayerSourceParams<SourceT
7400
7404
  language?: LangCode;
7401
7405
  drm?: Drm;
7402
7406
  ignoreWatchPosition?: boolean;
7403
- /**
7404
- * URL for source modification for user (e.g. add PIP window to livestream).
7405
- * TODO mb move to PlayerSourceParams
7406
- * TODO: Remove managementUrl
7407
- */
7408
- managementUrl?: string;
7409
7407
  /**
7410
7408
  * Session ID for authentication and optionally controlling the cameras
7411
7409
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "9.1.6",
3
+ "version": "9.1.7",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
@@ -38,7 +38,7 @@
38
38
  "@material-ui/core": "^4.11.2",
39
39
  "@material-ui/icons": "^4.11.2",
40
40
  "@sentry/browser": "^6.1.0",
41
- "@tivio/common": "1.1.128",
41
+ "@tivio/common": "1.1.129",
42
42
  "dayjs": "^1.11.0",
43
43
  "es7-object-polyfill": "^1.0.1",
44
44
  "firebase": "8.10.1",