@tivio/sdk-react 3.3.1 → 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.
- package/.madgerc +7 -0
- package/README.md +14 -6
- package/README.md.bak +14 -10
- package/dist/index.d.ts +1279 -20
- package/dist/index.js +1 -2
- package/package.json +13 -12
- 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 -21
- package/dist/components/hooks/playerHooks.d.ts +0 -28
- package/dist/components/hooks/useApplyInviteCode.d.ts +0 -6
- 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/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 -6
- 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 -4
- package/dist/components/hooks/useVoucher.d.ts +0 -25
- 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/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 -423
- 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 -175
package/.madgerc
ADDED
package/README.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Changelog
|
|
4
4
|
|
|
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
|
|
8
|
+
|
|
9
|
+
* v3.4.0
|
|
10
|
+
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
|
11
|
+
* patch: jsdocs for usePurchaseRecovery and usePurchaseRecovery
|
|
12
|
+
* minor: inviteCodeReset in useApplyInviteCode
|
|
13
|
+
* minor: Reset forgotten password
|
|
14
|
+
* minor: Consolidating monetization logic
|
|
15
|
+
* v3.3.2
|
|
16
|
+
* patch: Adding new optional parameters (where, orderBy) to useTaggedVideos hook
|
|
5
17
|
* v3.3.1
|
|
6
18
|
* patch: Fixed types of `setUser`
|
|
7
19
|
* v3.3.0
|
|
@@ -27,7 +39,7 @@
|
|
|
27
39
|
* patch: fix of @tivio/common version
|
|
28
40
|
* v3.2.0
|
|
29
41
|
* minor: Added `capabilitiesOptions` for finer configuration of device capabilities
|
|
30
|
-
* minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "
|
|
42
|
+
* minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "LangCode"
|
|
31
43
|
* v3.1.3
|
|
32
44
|
* patch: Hotfix made sure disabled Tivio does not break React Native
|
|
33
45
|
* v3.1.2
|
|
@@ -529,8 +541,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
|
529
541
|
error: Error | null
|
|
530
542
|
data: PaginationData<Video> | null
|
|
531
543
|
}
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
# Deprecations
|
|
535
|
-
- Video.url will be removed in version 3.0.0, use Video.uri attribute instead
|
|
536
|
-
- Video.cover will be removed in version 3.0.0, use Video.assets attribute instead
|
|
544
|
+
```
|
package/README.md.bak
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Changelog
|
|
4
4
|
|
|
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
|
|
8
|
+
|
|
9
|
+
* v3.4.0
|
|
10
|
+
* minor: more precise type for errors in usePurchaseRecovery and usePurchaseRecovery
|
|
11
|
+
* patch: jsdocs for usePurchaseRecovery and usePurchaseRecovery
|
|
12
|
+
* minor: inviteCodeReset in useApplyInviteCode
|
|
13
|
+
* minor: Reset forgotten password
|
|
14
|
+
* minor: Consolidating monetization logic
|
|
15
|
+
* v3.3.2
|
|
16
|
+
* patch: Adding new optional parameters (where, orderBy) to useTaggedVideos hook
|
|
5
17
|
* v3.3.1
|
|
6
18
|
* patch: Fixed types of `setUser`
|
|
7
19
|
* v3.3.0
|
|
@@ -27,19 +39,15 @@
|
|
|
27
39
|
* patch: fix of @tivio/common version
|
|
28
40
|
* v3.2.0
|
|
29
41
|
* minor: Added `capabilitiesOptions` for finer configuration of device capabilities
|
|
30
|
-
* minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "
|
|
42
|
+
* minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "LangCode"
|
|
31
43
|
* v3.1.3
|
|
32
44
|
* patch: Hotfix made sure disabled Tivio does not break React Native
|
|
33
|
-
* internal: Fixed conf.bundleUrlOverride error handling
|
|
34
45
|
* v3.1.2
|
|
35
46
|
* patch: Allow `conf` prop of `TivioProvider` to be `null` or `undefined` in order to turn off Tivio
|
|
36
|
-
* internal: Added `runFeatureSupportCheck` to `TivioProvider`
|
|
37
47
|
* v3.1.1
|
|
38
48
|
* patch: fixed `setUser()` crash when bundle fails to load
|
|
39
49
|
* v3.1.0
|
|
40
|
-
* internal: refactored `useAd`, `useAdSegment`
|
|
41
50
|
* patch: `useAdSegment()` now returns null if no monetization is configured, ad segments are not managed in that situation
|
|
42
|
-
* internal: fixed refactored `setUser()`
|
|
43
51
|
* minor: enriched `AdSegment` type from `useAdSegment()`
|
|
44
52
|
* minor: Added `setUser()` function for login and logout
|
|
45
53
|
* v3.0.0
|
|
@@ -533,8 +541,4 @@ useTaggedItems: (tagIds: string[], {limit?: number, noLimit?: boolean, fecthTags
|
|
|
533
541
|
error: Error | null
|
|
534
542
|
data: PaginationData<Video> | null
|
|
535
543
|
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
# Deprecations
|
|
539
|
-
- Video.url will be removed in version 3.0.0, use Video.uri attribute instead
|
|
540
|
-
- Video.cover will be removed in version 3.0.0, use Video.assets attribute instead
|
|
544
|
+
```
|