@tivio/sdk-react 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -0
- package/dist/components/hooks/usePurchaseSubscription.d.ts +2 -7
- package/dist/components/hooks/useTransactionPayment.d.ts +2 -7
- package/dist/index.js +1 -1
- package/dist/services/sentry.d.ts +1 -1
- package/dist/types.d.ts +2 -10
- package/env +0 -0
- package/package.json +5 -7
- package/scripts/build_dev.sh +3 -0
- package/scripts/build_prod.sh +3 -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
@@ -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, };
|