@tivio/sdk-react 3.1.3 → 3.1.4-alpha
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -0
- package/dist/components/ContextProvider.d.ts +6 -1
- package/dist/components/context/index.d.ts +0 -3
- package/dist/components/hooks/useOrganizationSubscriptions.d.ts +1 -2
- package/dist/components/hooks/useUser.d.ts +1 -2
- package/dist/index.d.ts +1 -8
- package/dist/index.js +1 -1
- package/dist/types/bundle.types.d.ts +77 -4
- package/package.json +2 -4
- package/README.md.bak +0 -515
- package/dist/components/context/OrganizationSubscriptionsContext.d.ts +0 -9
- package/dist/components/context/PurchasesWithVideosContext.d.ts +0 -9
- package/dist/components/context/UserContext.d.ts +0 -9
package/README.md
CHANGED
@@ -3,14 +3,19 @@
|
|
3
3
|
## Changelog
|
4
4
|
|
5
5
|
* UNRELEASED
|
6
|
+
* minor: Added `capabilitiesOptions` for finer configuration of device capabilities
|
6
7
|
* v3.1.3
|
7
8
|
* patch: Hotfix made sure disabled Tivio does not break React Native
|
9
|
+
* internal: Fixed conf.bundleUrlOverride error handling
|
8
10
|
* v3.1.2
|
9
11
|
* patch: Allow `conf` prop of `TivioProvider` to be `null` or `undefined` in order to turn off Tivio
|
12
|
+
* internal: Added `runFeatureSupportCheck` to `TivioProvider`
|
10
13
|
* v3.1.1
|
11
14
|
* patch: fixed `setUser()` crash when bundle fails to load
|
12
15
|
* v3.1.0
|
16
|
+
* internal: refactored `useAd`, `useAdSegment`
|
13
17
|
* patch: `useAdSegment()` now returns null if no monetization is configured, ad segments are not managed in that situation
|
18
|
+
* internal: fixed refactored `setUser()`
|
14
19
|
* minor: enriched `AdSegment` type from `useAdSegment()`
|
15
20
|
* minor: Added `setUser()` function for login and logout
|
16
21
|
* v3.0.0
|
@@ -1,3 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
import { RemoteBundleState } from '../services/bundleLoader';
|
3
|
+
interface Props {
|
4
|
+
bundleState: RemoteBundleState;
|
5
|
+
children: any;
|
6
|
+
}
|
7
|
+
declare const ContextProvider: React.FC<Props>;
|
3
8
|
export { ContextProvider, };
|
@@ -1,8 +1,5 @@
|
|
1
1
|
export * from './ChannelsContext';
|
2
|
-
export * from './OrganizationSubscriptionsContext';
|
3
|
-
export * from './PurchasesWithVideosContext';
|
4
2
|
export * from './ScreensContext';
|
5
3
|
export * from './SectionsContext';
|
6
|
-
export * from './UserContext';
|
7
4
|
export * from './VideosContext';
|
8
5
|
export * from './RowItemsContext';
|
package/dist/index.d.ts
CHANGED
@@ -15,12 +15,5 @@ export { Disposer } from './types/common';
|
|
15
15
|
export { Empty } from './types/common';
|
16
16
|
export { Nullable } from './types/common';
|
17
17
|
export { Config } from './types/bundle.types';
|
18
|
-
export { TivioBundle } from './types/bundle.types';
|
19
|
-
export { TivioHooks } from './types/bundle.types';
|
20
|
-
export { TivioComponents } from './types/bundle.types';
|
21
|
-
export { TivioAuth } from './types/bundle.types';
|
22
|
-
export { TivioGetters } from './types/bundle.types';
|
23
|
-
export { TivioSubscriptions } from './types/bundle.types';
|
24
|
-
export { PlayerCapability } from './types/bundle.types';
|
25
|
-
export { Currency } from './types/bundle.types';
|
18
|
+
export { TivioBundle, TivioHooks, TivioComponents, TivioAuth, TivioGetters, TivioSubscriptions, PlayerCapability, Currency, TivioInternalHooks, TivioInternalProviders, } from './types/bundle.types';
|
26
19
|
export { setUser } from './services/login';
|