@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.
package/README.md CHANGED
@@ -5,18 +5,24 @@ above Tivio Studio. You can comfortably manage all you videos, settings such as
5
5
  settings in the administration of Tivio Studio while having the freedom to build your own application.
6
6
 
7
7
  ## Changelog
8
+ * 9.1.7
9
+ * patch: update remote controller component API
10
+
8
11
  * 9.1.6
9
12
  * minor: add remote controller
10
13
 
11
14
  * 9.1.5
12
15
  * patch: expose purchase loyalty points through types
16
+ * patch: enable setUser check
13
17
 
14
18
  * 9.1.4
15
19
  * patch: disable setUser check
20
+ * patch: rollback "add renderWebPlayer method for rendering outside of React"
21
+ * patch: rollback "expose createTivio"
16
22
 
17
23
  * 9.1.3
18
- * minor: add renderWebPlayer method for rendering outside of React
19
- * minor: expose createTivio
24
+ * patch: add renderWebPlayer method for rendering outside of React
25
+ * patch: expose createTivio
20
26
 
21
27
  * 9.1.2
22
28
  * patch: update PurchaseEndpointPayload type (cityName, externalId, geoPoint)
package/README.md.bak CHANGED
@@ -5,18 +5,24 @@ above Tivio Studio. You can comfortably manage all you videos, settings such as
5
5
  settings in the administration of Tivio Studio while having the freedom to build your own application.
6
6
 
7
7
  ## Changelog
8
+ * 9.1.7
9
+ * patch: update remote controller component API
10
+
8
11
  * 9.1.6
9
12
  * minor: add remote controller
10
13
 
11
14
  * 9.1.5
12
15
  * patch: expose purchase loyalty points through types
16
+ * patch: enable setUser check
13
17
 
14
18
  * 9.1.4
15
19
  * patch: disable setUser check
20
+ * patch: rollback "add renderWebPlayer method for rendering outside of React"
21
+ * patch: rollback "expose createTivio"
16
22
 
17
23
  * 9.1.3
18
- * minor: add renderWebPlayer method for rendering outside of React
19
- * minor: expose createTivio
24
+ * patch: add renderWebPlayer method for rendering outside of React
25
+ * patch: expose createTivio
20
26
 
21
27
  * 9.1.2
22
28
  * patch: update PurchaseEndpointPayload type (cityName, externalId, geoPoint)
package/dist/index.d.ts CHANGED
@@ -2204,6 +2204,7 @@ export declare interface LinkedVideo {
2204
2204
  | 'COMPOSED_PIP' | 'MATRIX';
2205
2205
  name?: string;
2206
2206
  color?: string;
2207
+ language?: LangCode;
2207
2208
  }
2208
2209
 
2209
2210
  /**
@@ -4197,7 +4198,6 @@ export declare interface RemoteControlGetSourceUrlPayload {
4197
4198
  * @public
4198
4199
  */
4199
4200
  export declare interface RemoteControllerProps {
4200
- video: Video;
4201
4201
  className?: string;
4202
4202
  }
4203
4203
 
@@ -6719,6 +6719,8 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
6719
6719
  initApplication: () => Promise<void>;
6720
6720
  init: () => Promise<void>;
6721
6721
  progress?: number;
6722
+ purchasableMonetizationPurchase: Purchase | null;
6723
+ purchaseByVideoId: Purchase | null;
6722
6724
  backgroundBlurBannerMobile?: string | null;
6723
6725
  isWatched?: boolean;
6724
6726
  pgRating?: string;
@@ -6726,6 +6728,8 @@ export declare interface Video extends RowItem, MonetizableItem, ReactableConten
6726
6728
  publishedStatus?: PublishedStatus;
6727
6729
  widgetPaths?: string[];
6728
6730
  forcedCapabilities: PlayerCapability[] | null;
6731
+ mainLinkedVideoId?: string;
6732
+ getLinkedVideoIdByLanguage: (lang: LangCode) => string | undefined;
6729
6733
  }
6730
6734
 
6731
6735
  /**
@@ -7023,10 +7027,10 @@ export declare interface VodTivioSourceInterface extends PlayerSourceInterface<S
7023
7027
  canWatchOnDevice: boolean;
7024
7028
  isAvailable: boolean;
7025
7029
  availability: ContentAvailability | null;
7026
- managementUrl?: string;
7027
7030
  video: Video;
7028
7031
  clone: (params?: Partial<VodTivioSourceParams>) => VodTivioSourceInterface;
7029
7032
  sessionType?: VideoSourceField['sessionType'];
7033
+ sessionId?: string;
7030
7034
  }
7031
7035
 
7032
7036
  /**
@@ -7038,12 +7042,6 @@ export declare interface VodTivioSourceParams extends PlayerSourceParams<SourceT
7038
7042
  language?: LangCode;
7039
7043
  drm?: Drm;
7040
7044
  ignoreWatchPosition?: boolean;
7041
- /**
7042
- * URL for source modification for user (e.g. add PIP window to livestream).
7043
- * TODO mb move to PlayerSourceParams
7044
- * TODO: Remove managementUrl
7045
- */
7046
- managementUrl?: string;
7047
7045
  /**
7048
7046
  * Session ID for authentication and optionally controlling the cameras
7049
7047
  */