@tivio/sdk-react 3.5.1 → 3.5.2

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ * 3.5.2
6
+ * patch: All types are available again.
7
+
5
8
  * 3.5.1
6
9
  * patch: remove incorrect dependency (@tivio/types)
7
10
 
package/README.md.bak CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ * 3.5.2
6
+ * patch: All types are available again.
7
+
5
8
  * 3.5.1
6
9
  * patch: remove incorrect dependency (@tivio/types)
7
10
 
@@ -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/dist/types/externalTypes/section").Section> | null;
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/dist/types/externalTypes/channel").Channel> | null;
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/dist/types/externalTypes/user").Purchase[];
5
+ purchases: import("@tivio/common").Purchase[];
6
6
  };
7
7
  export { usePurchasesWithVideos, };
@@ -1,5 +1,5 @@
1
1
  export declare const useUser: () => {
2
- user: import("@tivio/common/dist/types/externalTypes/user").User | null;
2
+ user: import("@tivio/common").User | null;
3
3
  error: string | null;
4
4
  isInitialized: boolean;
5
5
  };