expo-iap 3.3.0-rc.4 → 3.3.1
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 +1 -1
- package/coverage/clover.xml +7 -7
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/block-navigation.js +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/sorter.js +21 -7
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/modules/android.ts.html +1 -1
- package/coverage/lcov-report/src/modules/index.html +1 -1
- package/coverage/lcov-report/src/modules/ios.ts.html +1 -1
- package/coverage/lcov-report/src/utils/debug.ts.html +1 -1
- package/coverage/lcov-report/src/utils/errorMapping.ts.html +1 -1
- package/coverage/lcov-report/src/utils/index.html +1 -1
- package/ios/ExpoIapModule.swift +24 -0
- package/openiap-versions.json +2 -2
- package/package.json +1 -1
- package/plugin/tsconfig.tsbuildinfo +1 -1
- package/scripts/update-types.mjs +44 -6
- package/coverage/lcov-report/src/ExpoIap.types.ts.html +0 -1396
- package/coverage/lcov-report/src/helpers/index.html +0 -116
- package/coverage/lcov-report/src/helpers/subscription.ts.html +0 -499
- package/coverage/lcov-report/src/onside/ExpoOnsideMarketplaceAvailabilityModule.ts.html +0 -145
- package/coverage/lcov-report/src/onside/index.html +0 -131
- package/coverage/lcov-report/src/onside/index.ts.html +0 -253
- package/coverage/lcov-report/src/types/ExpoIapAndroid.types.ts.html +0 -502
- package/coverage/lcov-report/src/types/index.html +0 -116
- package/coverage/lcov-report/src/useIAP.ts.html +0 -1654
- package/coverage/lcov-report/src/utils/constants.ts.html +0 -127
- package/ios/expoiap.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/expoiap.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
<img src="https://hyochan.github.io/expo-iap/img/icon.png" alt="Expo IAP Logo" width="150" />
|
|
5
5
|
|
|
6
|
-
[](https://npmjs.org/package/expo-iap) [](https://npmjs.org/package/expo-iap) [](https://npmjs.org/package/expo-iap) [](https://github.com/hyochan/expo-iap/actions/workflows/ci.yml) [](https://codecov.io/gh/hyochan/expo-iap) [](https://app.fossa.com/projects/git%2Bgithub.com%2Fhyochan%2Fexpo-iap?ref=badge_shield&issueType=license)
|
|
7
7
|
|
|
8
8
|
Expo IAP is a powerful in-app purchase solution for Expo and React Native applications that conforms to the Open IAP specification. It provides a unified API for handling in-app purchases across iOS and Android platforms with comprehensive error handling and modern TypeScript support.
|
|
9
9
|
|
package/coverage/clover.xml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1765981272673" clover="3.2.0">
|
|
3
|
+
<project timestamp="1765981272673" name="All files">
|
|
4
4
|
<metrics statements="483" coveredstatements="449" conditionals="267" coveredconditionals="231" methods="101" coveredmethods="80" elements="851" coveredelements="760" complexity="0" loc="483" ncloc="483" packages="3" files="5" classes="5"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="216" coveredstatements="204" conditionals="115" coveredconditionals="103" methods="44" coveredmethods="34"/>
|
|
7
|
-
<file name="index.ts" path="/
|
|
7
|
+
<file name="index.ts" path="/home/runner/work/expo-iap/expo-iap/src/index.ts">
|
|
8
8
|
<metrics statements="216" coveredstatements="204" conditionals="115" coveredconditionals="103" methods="44" coveredmethods="34"/>
|
|
9
9
|
<line num="2" count="2" type="stmt"/>
|
|
10
10
|
<line num="3" count="2" type="stmt"/>
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
</package>
|
|
227
227
|
<package name="src.modules">
|
|
228
228
|
<metrics statements="142" coveredstatements="134" conditionals="55" coveredconditionals="54" methods="33" coveredmethods="27"/>
|
|
229
|
-
<file name="android.ts" path="/
|
|
229
|
+
<file name="android.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/android.ts">
|
|
230
230
|
<metrics statements="51" coveredstatements="48" conditionals="22" coveredconditionals="21" methods="11" coveredmethods="8"/>
|
|
231
231
|
<line num="2" count="3" type="stmt"/>
|
|
232
232
|
<line num="5" count="3" type="stmt"/>
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
<line num="321" count="3" type="stmt"/>
|
|
281
281
|
<line num="324" count="3" type="stmt"/>
|
|
282
282
|
</file>
|
|
283
|
-
<file name="ios.ts" path="/
|
|
283
|
+
<file name="ios.ts" path="/home/runner/work/expo-iap/expo-iap/src/modules/ios.ts">
|
|
284
284
|
<metrics statements="91" coveredstatements="86" conditionals="33" coveredconditionals="33" methods="22" coveredmethods="19"/>
|
|
285
285
|
<line num="5" count="3" type="stmt"/>
|
|
286
286
|
<line num="21" count="3" type="stmt"/>
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
</package>
|
|
378
378
|
<package name="src.utils">
|
|
379
379
|
<metrics statements="125" coveredstatements="111" conditionals="97" coveredconditionals="74" methods="24" coveredmethods="19"/>
|
|
380
|
-
<file name="debug.ts" path="/
|
|
380
|
+
<file name="debug.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/debug.ts">
|
|
381
381
|
<metrics statements="16" coveredstatements="8" conditionals="9" coveredconditionals="4" methods="7" coveredmethods="4"/>
|
|
382
382
|
<line num="9" count="2" type="stmt"/>
|
|
383
383
|
<line num="14" count="9" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
<line num="59" count="0" type="stmt"/>
|
|
397
397
|
<line num="66" count="2" type="stmt"/>
|
|
398
398
|
</file>
|
|
399
|
-
<file name="errorMapping.ts" path="/
|
|
399
|
+
<file name="errorMapping.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/errorMapping.ts">
|
|
400
400
|
<metrics statements="109" coveredstatements="103" conditionals="88" coveredconditionals="70" methods="17" coveredmethods="15"/>
|
|
401
401
|
<line num="7" count="4" type="stmt"/>
|
|
402
402
|
<line num="8" count="4" type="stmt"/>
|