@tivio/sdk-react 3.4.0 → 3.5.0

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.
Files changed (63) hide show
  1. package/README.md +4 -6
  2. package/README.md.bak +4 -6
  3. package/dist/index.d.ts +1279 -21
  4. package/dist/index.js +1 -2
  5. package/package.json +10 -6
  6. package/dist/components/ContextProvider.d.ts +0 -7
  7. package/dist/components/PlayerProvider.d.ts +0 -19
  8. package/dist/components/TivioProvider.d.ts +0 -16
  9. package/dist/components/TivioWidget.d.ts +0 -7
  10. package/dist/components/TivioWidgetError.d.ts +0 -10
  11. package/dist/components/TivioWidgetLoader.d.ts +0 -6
  12. package/dist/components/TvTivioProvider.d.ts +0 -7
  13. package/dist/components/context/ChannelsContext.d.ts +0 -6
  14. package/dist/components/context/RowItemsContext.d.ts +0 -7
  15. package/dist/components/context/ScreensContext.d.ts +0 -6
  16. package/dist/components/context/SectionsContext.d.ts +0 -6
  17. package/dist/components/context/VideosContext.d.ts +0 -6
  18. package/dist/components/context/index.d.ts +0 -5
  19. package/dist/components/context/types.d.ts +0 -27
  20. package/dist/components/hooks/contentHooks.d.ts +0 -68
  21. package/dist/components/hooks/index.d.ts +0 -22
  22. package/dist/components/hooks/playerHooks.d.ts +0 -28
  23. package/dist/components/hooks/useApplyInviteCode.d.ts +0 -17
  24. package/dist/components/hooks/useCancelSubscription.d.ts +0 -2
  25. package/dist/components/hooks/useError.d.ts +0 -9
  26. package/dist/components/hooks/useFreePurchase.d.ts +0 -4
  27. package/dist/components/hooks/useIsMonetizationPurchased.d.ts +0 -3
  28. package/dist/components/hooks/useItemsInRow.d.ts +0 -11
  29. package/dist/components/hooks/useLastVideoByWidgetId.d.ts +0 -5
  30. package/dist/components/hooks/useOrganizationSubscriptions.d.ts +0 -3
  31. package/dist/components/hooks/usePurchaseRecovery.d.ts +0 -14
  32. package/dist/components/hooks/usePurchaseSubscription.d.ts +0 -4
  33. package/dist/components/hooks/usePurchasesWithVideos.d.ts +0 -7
  34. package/dist/components/hooks/useRowsInScreen.d.ts +0 -6
  35. package/dist/components/hooks/useScreen.d.ts +0 -10
  36. package/dist/components/hooks/useScreens.d.ts +0 -5
  37. package/dist/components/hooks/useSearch.d.ts +0 -8
  38. package/dist/components/hooks/useTaggedVideos.d.ts +0 -11
  39. package/dist/components/hooks/useTivio.d.ts +0 -3
  40. package/dist/components/hooks/useTransactionPayment.d.ts +0 -5
  41. package/dist/components/hooks/useUser.d.ts +0 -5
  42. package/dist/components/hooks/useVoucher.d.ts +0 -42
  43. package/dist/components/hooks/useWatchWithoutAdsOffer.d.ts +0 -4
  44. package/dist/config.d.ts +0 -20
  45. package/dist/index.js.LICENSE.txt +0 -3
  46. package/dist/info.d.ts +0 -2
  47. package/dist/services/bundleLoader.d.ts +0 -15
  48. package/dist/services/bundlePromise.d.ts +0 -7
  49. package/dist/services/dependencyResolver.d.ts +0 -24
  50. package/dist/services/gdpr.d.ts +0 -1
  51. package/dist/services/localFetch/coreReactDomDist.d.ts +0 -1
  52. package/dist/services/localFetch/none.d.ts +0 -1
  53. package/dist/services/logger.d.ts +0 -26
  54. package/dist/services/login.d.ts +0 -9
  55. package/dist/services/packageLoader.d.ts +0 -6
  56. package/dist/services/pubSub.d.ts +0 -13
  57. package/dist/services/sentry.d.ts +0 -4
  58. package/dist/services/settings.d.ts +0 -13
  59. package/dist/types/bundle.types.d.ts +0 -444
  60. package/dist/types/common.d.ts +0 -6
  61. package/dist/types/config.types.d.ts +0 -0
  62. package/dist/types/customPlayer.types.d.ts +0 -171
  63. package/dist/types/types.d.ts +0 -174
package/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
- * UNRELEASED
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
- * UNRELEASED
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
+ ```