@tivio/sdk-react 3.1.0 → 3.1.1
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/README.md +3 -1
- package/dist/index.js +1 -1
- package/dist/services/bundlePromise.d.ts +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
## Changelog
|
|
4
4
|
|
|
5
5
|
* UNRELEASED
|
|
6
|
+
* v3.1.1
|
|
7
|
+
* patch: fixed `setUser()` crash when bundle fails to load
|
|
6
8
|
* v3.1.0
|
|
7
9
|
* patch: internal refactored `useAd`, `useAdSegment`
|
|
8
10
|
* patch: `useAdSegment()` now returns null if no monetization is configured, ad segments are not managed in that situation
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
* minor: enriched `AdSegment` type from `useAdSegment()`
|
|
11
13
|
* minor: Added `setUser()` function for login and logout
|
|
12
14
|
* v3.0.0
|
|
13
|
-
* minor: Added hook useWatchWithoutAdsOffer to trigger purchase dialog to "watch without ads", if available
|
|
15
|
+
* minor: Added hook `useWatchWithoutAdsOffer` to trigger purchase dialog to "watch without ads", if available
|
|
14
16
|
* patch: fix peerDependency declaration for react, react-dom
|
|
15
17
|
* major: TivioProvider requires deviceCapabilities
|
|
16
18
|
* major: TivioProvider requires currency
|