@tivio/sdk-react 3.4.0 → 3.5.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +10 -6
- package/README.md.bak +10 -6
- 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 +1 -1
- package/dist/index.js.LICENSE.txt +334 -2
- package/dist/services/dependencyResolver.d.ts +2 -2
- package/package.json +3 -2
- package/doc/changelog.md +0 -0
package/README.md
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
-
*
|
5
|
+
* 3.5.2
|
6
|
+
* patch: All types are available again.
|
7
|
+
|
8
|
+
* 3.5.1
|
9
|
+
* patch: remove incorrect dependency (@tivio/types)
|
10
|
+
|
11
|
+
* 3.5.0
|
12
|
+
* minor: Types change - Video.price and Video.detailedPrice can be null
|
13
|
+
* minor: Types change - Video.cover is marked as deprecated
|
6
14
|
|
7
15
|
* v3.4.0
|
8
16
|
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
@@ -539,8 +547,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
539
547
|
error: Error | null
|
540
548
|
data: PaginationData<Video> | null
|
541
549
|
}
|
542
|
-
|
543
|
-
|
544
|
-
# Deprecations
|
545
|
-
- Video.url will be removed in version 3.0.0, use Video.uri attribute instead
|
546
|
-
- Video.cover will be removed in version 3.0.0, use Video.assets attribute instead
|
550
|
+
```
|
package/README.md.bak
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
-
*
|
5
|
+
* 3.5.2
|
6
|
+
* patch: All types are available again.
|
7
|
+
|
8
|
+
* 3.5.1
|
9
|
+
* patch: remove incorrect dependency (@tivio/types)
|
10
|
+
|
11
|
+
* 3.5.0
|
12
|
+
* minor: Types change - Video.price and Video.detailedPrice can be null
|
13
|
+
* minor: Types change - Video.cover is marked as deprecated
|
6
14
|
|
7
15
|
* v3.4.0
|
8
16
|
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
@@ -539,8 +547,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
539
547
|
error: Error | null
|
540
548
|
data: PaginationData<Video> | null
|
541
549
|
}
|
542
|
-
|
543
|
-
|
544
|
-
# Deprecations
|
545
|
-
- Video.url will be removed in version 3.0.0, use Video.uri attribute instead
|
546
|
-
- Video.cover will be removed in version 3.0.0, use Video.assets attribute instead
|
550
|
+
```
|
@@ -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, };
|