@tivio/sdk-react 3.5.1 → 3.5.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/components/hooks/contentHooks.d.ts +2 -2
- package/dist/components/hooks/usePurchasesWithVideos.d.ts +1 -1
- package/dist/components/hooks/useUser.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.LICENSE.txt +335 -0
- package/package.json +2 -2
- package/doc/changelog.md +0 -0
package/README.md
CHANGED
package/README.md.bak
CHANGED
|
@@ -49,7 +49,7 @@ declare const useVideosInSection: (sectionId?: string | undefined, limit?: numbe
|
|
|
49
49
|
*/
|
|
50
50
|
declare const useSectionsInChannel: (channelId: string, limit?: number) => {
|
|
51
51
|
error: Error | null;
|
|
52
|
-
data: import("../context/types").PaginationData<import("@tivio/common
|
|
52
|
+
data: import("../context/types").PaginationData<import("@tivio/common").Section> | null;
|
|
53
53
|
isLoading: boolean;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
@@ -59,7 +59,7 @@ declare const useSectionsInChannel: (channelId: string, limit?: number) => {
|
|
|
59
59
|
*/
|
|
60
60
|
declare const useChannelsInWidget: (widgetId: string, limit?: number) => {
|
|
61
61
|
error: Error | null;
|
|
62
|
-
data: import("../context/types").PaginationData<import("@tivio/common
|
|
62
|
+
data: import("../context/types").PaginationData<import("@tivio/common").Channel> | null;
|
|
63
63
|
isLoading: boolean;
|
|
64
64
|
};
|
|
65
65
|
declare const useIsLoaded: () => {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Return purchases with initialized video (purchases[i].video not null)
|
|
3
3
|
*/
|
|
4
4
|
declare const usePurchasesWithVideos: () => {
|
|
5
|
-
purchases: import("@tivio/common
|
|
5
|
+
purchases: import("@tivio/common").Purchase[];
|
|
6
6
|
};
|
|
7
7
|
export { usePurchasesWithVideos, };
|