@tivio/sdk-react 5.0.1 → 5.0.2
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 +3 -0
- package/README.md.bak +3 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/dist/sdk-react.d.ts +11 -1
- package/package.json +3 -3
- package/changelog.md +0 -224
package/README.md
CHANGED
package/README.md.bak
CHANGED
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
|
*/
|