@tivio/sdk-react 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -6,6 +6,9 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * 5.0.2
10
+ * patch: export hook useChannelSource
11
+
9
12
  * 5.0.1
10
13
  * patch: move changelog
11
14
 
package/README.md.bak CHANGED
@@ -6,6 +6,9 @@ settings in the administration of Tivio Studio while having the freedom to build
6
6
 
7
7
  ## Changelog
8
8
 
9
+ * 5.0.2
10
+ * patch: export hook useChannelSource
11
+
9
12
  * 5.0.1
10
13
  * patch: move changelog
11
14
 
package/dist/index.d.ts CHANGED
@@ -2450,6 +2450,7 @@ export declare type TivioHooks = {
2450
2450
  applyInviteCode: (code: string) => void;
2451
2451
  inviteCodeReset: () => void;
2452
2452
  };
2453
+ useChannelSource: UseChannelSource;
2453
2454
  };
2454
2455
 
2455
2456
  /**
@@ -2509,7 +2510,6 @@ export declare type TivioInternalHooks = {
2509
2510
  loading: boolean;
2510
2511
  });
2511
2512
  useTvChannel: UseTvChannel;
2512
- useChannelSource: UseChannelSource;
2513
2513
  useUser: () => {
2514
2514
  user: User | null;
2515
2515
  error: string | null;
@@ -2899,6 +2899,16 @@ export declare type UseChannelSource = (tvChannelId: string) => {
2899
2899
  error: Error | null;
2900
2900
  };
2901
2901
 
2902
+ /**
2903
+ * Use channel source
2904
+ * @param tvChannelId
2905
+ * @public
2906
+ */
2907
+ export declare const useChannelSource: (tvChannelId: string) => {
2908
+ source: ChannelSourcePojo | null;
2909
+ error: Error | null;
2910
+ };
2911
+
2902
2912
  /**
2903
2913
  * @public
2904
2914
  */