@tivio/sdk-react 9.3.0 → 9.4.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.
@@ -2313,6 +2313,8 @@ export declare interface InputOptions {
2313
2313
  color?: string;
2314
2314
  }
2315
2315
 
2316
+ export declare type InputSourceParams = SourceParams | VodExternalMultiSourceParams;
2317
+
2316
2318
  export declare type IntegrationType = 'discord' | 'patreon';
2317
2319
 
2318
2320
  export declare interface InteractiveWidget<T extends InteractiveWidgetScene = InteractiveWidgetScene> {
@@ -8096,6 +8098,14 @@ export declare interface VirtualChannelSourceParams extends ChannelSourceParams
8096
8098
  drm?: Drm;
8097
8099
  }
8098
8100
 
8101
+ /**
8102
+ * Interface representing the parameters for a VOD (Video On Demand) external multi-source configuration.
8103
+ * Multi-source means an array of string URLs representing the external sources for the video content.
8104
+ */
8105
+ export declare interface VodExternalMultiSourceParams extends Omit<VodExternalSourceParams, 'url'> {
8106
+ urls: string[];
8107
+ }
8108
+
8099
8109
  /**
8100
8110
  * @public
8101
8111
  */
@@ -8448,7 +8458,7 @@ export declare interface WebGridScreenProps {
8448
8458
  */
8449
8459
  export declare interface WebPlayerProps {
8450
8460
  id: string;
8451
- source?: SourceParams | VideoPath | ChannelPath | null;
8461
+ source?: InputSourceParams | VideoPath | ChannelPath | null;
8452
8462
  onEnded?: () => any;
8453
8463
  /**
8454
8464
  * If true, the player will inherit the width and height of its parent element.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
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.132",
41
+ "@tivio/common": "1.1.134",
42
42
  "dayjs": "^1.11.0",
43
43
  "es7-object-polyfill": "^1.0.1",
44
44
  "firebase": "8.10.1",