@tivio/sdk-react 3.2.4 → 3.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -0
- package/README.md.bak +7 -0
- package/dist/components/ContextProvider.d.ts +1 -2
- package/dist/components/TivioProvider.d.ts +1 -2
- package/dist/components/hooks/contentHooks.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/services/bundleLoader.d.ts +1 -2
- package/dist/services/bundlePromise.d.ts +1 -1
- package/dist/types/bundle.types.d.ts +15 -4
- package/dist/types/types.d.ts +5 -15
- package/package.json +2 -2
package/README.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
+
|
6
|
+
|
7
|
+
* v3.2.5
|
8
|
+
* fix: added recovery flag to QerkoPaymentInfo type
|
9
|
+
* patch: bundle.types changes - internal.components.WebVideoScreen
|
10
|
+
* patch: types changes - add new onBack prop to WebPlayerProps
|
11
|
+
* patch: Refactor useVideo hook, now uses hook from core-react
|
5
12
|
* v3.2.4
|
6
13
|
* minor: added useApplyInviteCode
|
7
14
|
* minor: better errors from useVoucher
|
package/README.md.bak
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
+
|
6
|
+
|
7
|
+
* v3.2.5
|
8
|
+
* fix: added recovery flag to QerkoPaymentInfo type
|
9
|
+
* patch: bundle.types changes - internal.components.WebVideoScreen
|
10
|
+
* patch: types changes - add new onBack prop to WebPlayerProps
|
11
|
+
* patch: Refactor useVideo hook, now uses hook from core-react
|
5
12
|
* v3.2.4
|
6
13
|
* minor: added useApplyInviteCode
|
7
14
|
* minor: better errors from useVoucher
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { RemoteBundleState } from '../
|
2
|
+
import type { RemoteBundleState } from '../types/bundle.types';
|
3
3
|
interface Props {
|
4
4
|
bundleState: RemoteBundleState;
|
5
|
-
children: any;
|
6
5
|
}
|
7
6
|
declare const ContextProvider: React.FC<Props>;
|
8
7
|
export { ContextProvider, };
|
@@ -3,8 +3,7 @@
|
|
3
3
|
* nangu.TV, a.s PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
4
4
|
*/
|
5
5
|
import React from 'react';
|
6
|
-
import { RemoteBundleState } from '../
|
7
|
-
import { Config } from '../types/bundle.types';
|
6
|
+
import type { Config, RemoteBundleState } from '../types/bundle.types';
|
8
7
|
export declare type TivioProviderProps = {
|
9
8
|
/**
|
10
9
|
* This prop must be set only once and not change value afterwards
|
@@ -29,8 +29,8 @@ declare const useSection: (sectionId: string) => {
|
|
29
29
|
* @param videoId - video id
|
30
30
|
*/
|
31
31
|
declare const useVideo: (videoId?: string | undefined) => {
|
32
|
-
error: string | null;
|
33
32
|
data: Video | null;
|
33
|
+
error: string | null;
|
34
34
|
};
|
35
35
|
/**
|
36
36
|
* Use videos in section
|
package/dist/index.d.ts
CHANGED
@@ -16,6 +16,5 @@ export * from './types/types';
|
|
16
16
|
export { Disposer } from './types/common';
|
17
17
|
export { Empty } from './types/common';
|
18
18
|
export { Nullable } from './types/common';
|
19
|
-
export
|
20
|
-
export { TivioBundle, TivioHooks, TivioComponents, TivioAuth, TivioGetters, TivioSubscriptions, PlayerCapability, Currency, TivioInternalHooks, TivioInternalProviders, } from './types/bundle.types';
|
19
|
+
export * from './types/bundle.types';
|
21
20
|
export { setUser } from './services/login';
|