@tivio/sdk-react 3.4.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -6
- package/README.md.bak +4 -6
- package/dist/index.d.ts +1279 -21
- package/dist/index.js +1 -2
- package/package.json +10 -6
- package/dist/components/ContextProvider.d.ts +0 -7
- package/dist/components/PlayerProvider.d.ts +0 -19
- package/dist/components/TivioProvider.d.ts +0 -16
- package/dist/components/TivioWidget.d.ts +0 -7
- package/dist/components/TivioWidgetError.d.ts +0 -10
- package/dist/components/TivioWidgetLoader.d.ts +0 -6
- package/dist/components/TvTivioProvider.d.ts +0 -7
- package/dist/components/context/ChannelsContext.d.ts +0 -6
- package/dist/components/context/RowItemsContext.d.ts +0 -7
- package/dist/components/context/ScreensContext.d.ts +0 -6
- package/dist/components/context/SectionsContext.d.ts +0 -6
- package/dist/components/context/VideosContext.d.ts +0 -6
- package/dist/components/context/index.d.ts +0 -5
- package/dist/components/context/types.d.ts +0 -27
- package/dist/components/hooks/contentHooks.d.ts +0 -68
- package/dist/components/hooks/index.d.ts +0 -22
- package/dist/components/hooks/playerHooks.d.ts +0 -28
- package/dist/components/hooks/useApplyInviteCode.d.ts +0 -17
- package/dist/components/hooks/useCancelSubscription.d.ts +0 -2
- package/dist/components/hooks/useError.d.ts +0 -9
- package/dist/components/hooks/useFreePurchase.d.ts +0 -4
- package/dist/components/hooks/useIsMonetizationPurchased.d.ts +0 -3
- package/dist/components/hooks/useItemsInRow.d.ts +0 -11
- package/dist/components/hooks/useLastVideoByWidgetId.d.ts +0 -5
- package/dist/components/hooks/useOrganizationSubscriptions.d.ts +0 -3
- package/dist/components/hooks/usePurchaseRecovery.d.ts +0 -14
- package/dist/components/hooks/usePurchaseSubscription.d.ts +0 -4
- package/dist/components/hooks/usePurchasesWithVideos.d.ts +0 -7
- package/dist/components/hooks/useRowsInScreen.d.ts +0 -6
- package/dist/components/hooks/useScreen.d.ts +0 -10
- package/dist/components/hooks/useScreens.d.ts +0 -5
- package/dist/components/hooks/useSearch.d.ts +0 -8
- package/dist/components/hooks/useTaggedVideos.d.ts +0 -11
- package/dist/components/hooks/useTivio.d.ts +0 -3
- package/dist/components/hooks/useTransactionPayment.d.ts +0 -5
- package/dist/components/hooks/useUser.d.ts +0 -5
- package/dist/components/hooks/useVoucher.d.ts +0 -42
- package/dist/components/hooks/useWatchWithoutAdsOffer.d.ts +0 -4
- package/dist/config.d.ts +0 -20
- package/dist/index.js.LICENSE.txt +0 -3
- package/dist/info.d.ts +0 -2
- package/dist/services/bundleLoader.d.ts +0 -15
- package/dist/services/bundlePromise.d.ts +0 -7
- package/dist/services/dependencyResolver.d.ts +0 -24
- package/dist/services/gdpr.d.ts +0 -1
- package/dist/services/localFetch/coreReactDomDist.d.ts +0 -1
- package/dist/services/localFetch/none.d.ts +0 -1
- package/dist/services/logger.d.ts +0 -26
- package/dist/services/login.d.ts +0 -9
- package/dist/services/packageLoader.d.ts +0 -6
- package/dist/services/pubSub.d.ts +0 -13
- package/dist/services/sentry.d.ts +0 -4
- package/dist/services/settings.d.ts +0 -13
- package/dist/types/bundle.types.d.ts +0 -444
- package/dist/types/common.d.ts +0 -6
- package/dist/types/config.types.d.ts +0 -0
- package/dist/types/customPlayer.types.d.ts +0 -171
- package/dist/types/types.d.ts +0 -174
package/README.md
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
-
*
|
5
|
+
* 3.5.0
|
6
|
+
* minor: Types change - Video.price and Video.detailedPrice can be null
|
7
|
+
* minor: Types change - Video.cover is marked as deprecated
|
6
8
|
|
7
9
|
* v3.4.0
|
8
10
|
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
@@ -539,8 +541,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
539
541
|
error: Error | null
|
540
542
|
data: PaginationData<Video> | null
|
541
543
|
}
|
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
|
544
|
+
```
|
package/README.md.bak
CHANGED
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
-
*
|
5
|
+
* 3.5.0
|
6
|
+
* minor: Types change - Video.price and Video.detailedPrice can be null
|
7
|
+
* minor: Types change - Video.cover is marked as deprecated
|
6
8
|
|
7
9
|
* v3.4.0
|
8
10
|
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
@@ -539,8 +541,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
539
541
|
error: Error | null
|
540
542
|
data: PaginationData<Video> | null
|
541
543
|
}
|
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
|
544
|
+
```
|