@tivio/sdk-react 2.1.1 → 2.1.5
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 +8 -1
- package/dist/components/hooks/usePurchaseSubscription.d.ts +2 -7
- package/dist/components/hooks/useTransactionPayment.d.ts +2 -7
- package/dist/customPlayer.types.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/services/sentry.d.ts +1 -1
- package/dist/types.d.ts +21 -11
- package/env +0 -0
- package/package.json +7 -8
- package/scripts/build_dev.sh +3 -0
- package/scripts/build_prod.sh +3 -0
- package/scripts/prepublish.ts +16 -0
- package/scripts/start.sh +3 -0
- package/coverage/clover.xml +0 -113
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -79
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -126
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -170
- package/coverage/lcov-report/src/components/TivioProvider.tsx.html +0 -227
- package/coverage/lcov-report/src/components/TivioWidget.tsx.html +0 -203
- package/coverage/lcov-report/src/components/TivioWidgetError.tsx.html +0 -122
- package/coverage/lcov-report/src/components/TivioWidgetLoader.tsx.html +0 -116
- package/coverage/lcov-report/src/components/index.html +0 -156
- package/coverage/lcov-report/src/conf.ts.html +0 -239
- package/coverage/lcov-report/src/index.html +0 -111
- package/coverage/lcov-report/src/services/bundleLoader.ts.html +0 -698
- package/coverage/lcov-report/src/services/dependencyResolver.ts.html +0 -212
- package/coverage/lcov-report/src/services/index.html +0 -141
- package/coverage/lcov-report/src/services/logger.ts.html +0 -365
- package/coverage/lcov-report/src/services/packageLoader.ts.html +0 -194
- package/coverage/lcov-report/src/services/pubSub.ts.html +0 -242
- package/coverage/lcov-report/src/services/settings.ts.html +0 -218
- package/coverage/lcov-report/src/setupTests.ts.html +0 -158
- package/coverage/lcov.info +0 -175
package/README.md
CHANGED
@@ -2,7 +2,14 @@
|
|
2
2
|
|
3
3
|
## Changelog
|
4
4
|
|
5
|
-
*
|
5
|
+
* v2.1.5
|
6
|
+
* patch fix of `useVideosInSection` hook (fetching video's monetizations)
|
7
|
+
* v2.1.4
|
8
|
+
* patch: fix re-rendering of `useAd` during non-skippable ads (requires core-react@2.1.9)
|
9
|
+
* v2.1.3
|
10
|
+
* patch: fix changelog
|
11
|
+
* v2.1.2
|
12
|
+
* patch: Fixed exported types
|
6
13
|
* v2.1.1
|
7
14
|
* patch: TivioWidget now correctly reports `false` via `onEnabled` callback when in invalid internal state
|
8
15
|
* v2.1.0
|
@@ -1,8 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
declare const usePurchaseSubscription: (monetizationId: string) =>
|
3
|
-
paymentError: string;
|
4
|
-
paymentInfo: QerkoPaymentInfo | null;
|
5
|
-
paymentStatus: string;
|
6
|
-
getPaymentInfo: () => Promise<void>;
|
7
|
-
};
|
1
|
+
import { QerkoTransaction } from '@tivio/common';
|
2
|
+
declare const usePurchaseSubscription: (monetizationId: string) => QerkoTransaction;
|
8
3
|
export { usePurchaseSubscription, };
|
@@ -1,8 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
declare const useTransactionPayment: (videoId: string, monetizationId: string) =>
|
3
|
-
paymentInfo: QerkoPaymentInfo | null;
|
4
|
-
paymentError: string;
|
5
|
-
paymentStatus: string;
|
6
|
-
getPaymentInfo: () => Promise<void>;
|
7
|
-
};
|
1
|
+
import { QerkoTransaction } from '@tivio/common';
|
2
|
+
declare const useTransactionPayment: (videoId: string, monetizationId: string) => QerkoTransaction;
|
8
3
|
export { useTransactionPayment, };
|