@tivio/sdk-react 2.1.4 → 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.
Files changed (36) hide show
  1. package/README.md +2 -0
  2. package/dist/components/hooks/usePurchaseSubscription.d.ts +2 -7
  3. package/dist/components/hooks/useTransactionPayment.d.ts +2 -7
  4. package/dist/index.js +1 -1
  5. package/dist/services/sentry.d.ts +1 -1
  6. package/dist/types.d.ts +2 -10
  7. package/env +0 -0
  8. package/package.json +5 -7
  9. package/scripts/build_dev.sh +3 -0
  10. package/scripts/build_prod.sh +3 -0
  11. package/scripts/start.sh +3 -0
  12. package/coverage/clover.xml +0 -113
  13. package/coverage/lcov-report/base.css +0 -224
  14. package/coverage/lcov-report/block-navigation.js +0 -79
  15. package/coverage/lcov-report/favicon.png +0 -0
  16. package/coverage/lcov-report/index.html +0 -126
  17. package/coverage/lcov-report/prettify.css +0 -1
  18. package/coverage/lcov-report/prettify.js +0 -2
  19. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  20. package/coverage/lcov-report/sorter.js +0 -170
  21. package/coverage/lcov-report/src/components/TivioProvider.tsx.html +0 -227
  22. package/coverage/lcov-report/src/components/TivioWidget.tsx.html +0 -203
  23. package/coverage/lcov-report/src/components/TivioWidgetError.tsx.html +0 -122
  24. package/coverage/lcov-report/src/components/TivioWidgetLoader.tsx.html +0 -116
  25. package/coverage/lcov-report/src/components/index.html +0 -156
  26. package/coverage/lcov-report/src/conf.ts.html +0 -239
  27. package/coverage/lcov-report/src/index.html +0 -111
  28. package/coverage/lcov-report/src/services/bundleLoader.ts.html +0 -698
  29. package/coverage/lcov-report/src/services/dependencyResolver.ts.html +0 -212
  30. package/coverage/lcov-report/src/services/index.html +0 -141
  31. package/coverage/lcov-report/src/services/logger.ts.html +0 -365
  32. package/coverage/lcov-report/src/services/packageLoader.ts.html +0 -194
  33. package/coverage/lcov-report/src/services/pubSub.ts.html +0 -242
  34. package/coverage/lcov-report/src/services/settings.ts.html +0 -218
  35. package/coverage/lcov-report/src/setupTests.ts.html +0 -158
  36. package/coverage/lcov.info +0 -175
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ * v2.1.5
6
+ * patch fix of `useVideosInSection` hook (fetching video's monetizations)
5
7
  * v2.1.4
6
8
  * patch: fix re-rendering of `useAd` during non-skippable ads (requires core-react@2.1.9)
7
9
  * v2.1.3
@@ -1,8 +1,3 @@
1
- import { QerkoPaymentInfo } from '../../types';
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 { QerkoPaymentInfo } from '../../index';
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, };