@tivio/sdk-react 3.1.3 → 3.2.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 CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
- * UNRELEASED
5
+ * v3.2.1
6
+ * patch: fix of @tivio/common version
7
+ * v3.2.0
8
+ * minor: Added `capabilitiesOptions` for finer configuration of device capabilities
9
+ * minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "Language"
6
10
  * v3.1.3
7
11
  * patch: Hotfix made sure disabled Tivio does not break React Native
8
12
  * v3.1.2
package/README.md.bak CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
- * UNRELEASED
5
+ * v3.2.1
6
+ * patch: fix of @tivio/common version
7
+ * v3.2.0
8
+ * minor: Added `capabilitiesOptions` for finer configuration of device capabilities
9
+ * minor: tag names are returned in correct language (the one from tivio config); language value should be one from enum "Language"
6
10
  * v3.1.3
7
11
  * patch: Hotfix made sure disabled Tivio does not break React Native
8
12
  * internal: Fixed conf.bundleUrlOverride error handling
@@ -1,3 +1,8 @@
1
1
  import React from 'react';
2
- declare const ContextProvider: React.FC;
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';
@@ -1,4 +1,3 @@
1
- declare const useOrganizationSubscriptions: () => {
1
+ export declare const useOrganizationSubscriptions: () => {
2
2
  subscriptions: import("@tivio/common").Monetization[];
3
3
  };
4
- export { useOrganizationSubscriptions, };
@@ -1,5 +1,4 @@
1
- declare const useUser: () => {
1
+ export declare const useUser: () => {
2
2
  user: import("@tivio/common/dist/types/externalTypes/user").User | null;
3
3
  error: string | null;
4
4
  };
5
- export { useUser, };
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';