expo-iap 3.2.1 → 3.3.0-rc.2

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 (30) hide show
  1. package/coverage/clover.xml +7 -7
  2. package/coverage/coverage-final.json +5 -5
  3. package/coverage/lcov-report/block-navigation.js +1 -1
  4. package/coverage/lcov-report/index.html +1 -1
  5. package/coverage/lcov-report/sorter.js +7 -21
  6. package/coverage/lcov-report/src/ExpoIap.types.ts.html +1396 -0
  7. package/coverage/lcov-report/src/helpers/index.html +116 -0
  8. package/coverage/lcov-report/src/helpers/subscription.ts.html +499 -0
  9. package/coverage/lcov-report/src/index.html +1 -1
  10. package/coverage/lcov-report/src/index.ts.html +1 -1
  11. package/coverage/lcov-report/src/modules/android.ts.html +1 -1
  12. package/coverage/lcov-report/src/modules/index.html +1 -1
  13. package/coverage/lcov-report/src/modules/ios.ts.html +1 -1
  14. package/coverage/lcov-report/src/onside/ExpoOnsideMarketplaceAvailabilityModule.ts.html +145 -0
  15. package/coverage/lcov-report/src/onside/index.html +131 -0
  16. package/coverage/lcov-report/src/onside/index.ts.html +253 -0
  17. package/coverage/lcov-report/src/types/ExpoIapAndroid.types.ts.html +502 -0
  18. package/coverage/lcov-report/src/types/index.html +116 -0
  19. package/coverage/lcov-report/src/useIAP.ts.html +1654 -0
  20. package/coverage/lcov-report/src/utils/constants.ts.html +127 -0
  21. package/coverage/lcov-report/src/utils/debug.ts.html +1 -1
  22. package/coverage/lcov-report/src/utils/errorMapping.ts.html +1 -1
  23. package/coverage/lcov-report/src/utils/index.html +1 -1
  24. package/ios/expoiap.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  25. package/ios/expoiap.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  26. package/package.json +1 -1
  27. package/plugin/build/withIAP.d.ts +5 -8
  28. package/plugin/build/withIAP.js +3 -12
  29. package/plugin/src/withIAP.ts +9 -18
  30. package/plugin/tsconfig.tsbuildinfo +1 -1
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1765641609761" clover="3.2.0">
3
- <project timestamp="1765641609761" name="All files">
2
+ <coverage generated="1765604754844" clover="3.2.0">
3
+ <project timestamp="1765604754844" name="All files">
4
4
  <metrics statements="476" coveredstatements="448" conditionals="262" coveredconditionals="228" methods="100" coveredmethods="80" elements="838" coveredelements="756" complexity="0" loc="476" ncloc="476" packages="3" files="5" classes="5"/>
5
5
  <package name="src">
6
6
  <metrics statements="209" coveredstatements="203" conditionals="110" coveredconditionals="100" methods="43" coveredmethods="34"/>
7
- <file name="index.ts" path="/home/runner/work/expo-iap/expo-iap/src/index.ts">
7
+ <file name="index.ts" path="/Users/crossplatformkorea/Github/hyochan/expo-iap/src/index.ts">
8
8
  <metrics statements="209" coveredstatements="203" conditionals="110" coveredconditionals="100" methods="43" coveredmethods="34"/>
9
9
  <line num="2" count="2" type="stmt"/>
10
10
  <line num="3" count="2" type="stmt"/>
@@ -219,7 +219,7 @@
219
219
  </package>
220
220
  <package name="src.modules">
221
221
  <metrics statements="142" coveredstatements="134" conditionals="55" coveredconditionals="54" methods="33" coveredmethods="27"/>
222
- <file name="android.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/android.ts">
222
+ <file name="android.ts" path="/Users/crossplatformkorea/Github/hyochan/expo-iap/src/modules/android.ts">
223
223
  <metrics statements="51" coveredstatements="48" conditionals="22" coveredconditionals="21" methods="11" coveredmethods="8"/>
224
224
  <line num="2" count="3" type="stmt"/>
225
225
  <line num="5" count="3" type="stmt"/>
@@ -273,7 +273,7 @@
273
273
  <line num="321" count="3" type="stmt"/>
274
274
  <line num="324" count="3" type="stmt"/>
275
275
  </file>
276
- <file name="ios.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/ios.ts">
276
+ <file name="ios.ts" path="/Users/crossplatformkorea/Github/hyochan/expo-iap/src/modules/ios.ts">
277
277
  <metrics statements="91" coveredstatements="86" conditionals="33" coveredconditionals="33" methods="22" coveredmethods="19"/>
278
278
  <line num="5" count="3" type="stmt"/>
279
279
  <line num="21" count="3" type="stmt"/>
@@ -370,7 +370,7 @@
370
370
  </package>
371
371
  <package name="src.utils">
372
372
  <metrics statements="125" coveredstatements="111" conditionals="97" coveredconditionals="74" methods="24" coveredmethods="19"/>
373
- <file name="debug.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/debug.ts">
373
+ <file name="debug.ts" path="/Users/crossplatformkorea/Github/hyochan/expo-iap/src/utils/debug.ts">
374
374
  <metrics statements="16" coveredstatements="8" conditionals="9" coveredconditionals="4" methods="7" coveredmethods="4"/>
375
375
  <line num="9" count="2" type="stmt"/>
376
376
  <line num="14" count="9" type="cond" truecount="0" falsecount="1"/>
@@ -389,7 +389,7 @@
389
389
  <line num="59" count="0" type="stmt"/>
390
390
  <line num="66" count="2" type="stmt"/>
391
391
  </file>
392
- <file name="errorMapping.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/errorMapping.ts">
392
+ <file name="errorMapping.ts" path="/Users/crossplatformkorea/Github/hyochan/expo-iap/src/utils/errorMapping.ts">
393
393
  <metrics statements="109" coveredstatements="103" conditionals="88" coveredconditionals="70" methods="17" coveredmethods="15"/>
394
394
  <line num="7" count="4" type="stmt"/>
395
395
  <line num="8" count="4" type="stmt"/>