expo-iap 3.1.14 → 3.1.16

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 (34) hide show
  1. package/android/src/main/java/expo/modules/iap/ExpoIapModule.kt +35 -0
  2. package/build/index.d.ts +45 -1
  3. package/build/index.d.ts.map +1 -1
  4. package/build/index.js +50 -2
  5. package/build/index.js.map +1 -1
  6. package/build/types.d.ts +47 -0
  7. package/build/types.d.ts.map +1 -1
  8. package/build/types.js.map +1 -1
  9. package/bun.lockb +0 -0
  10. package/coverage/clover.xml +182 -241
  11. package/coverage/coverage-final.json +2 -3
  12. package/coverage/lcov-report/index.html +25 -40
  13. package/coverage/lcov-report/src/index.html +18 -18
  14. package/coverage/lcov-report/src/index.ts.html +186 -21
  15. package/coverage/lcov-report/src/modules/android.ts.html +1 -1
  16. package/coverage/lcov-report/src/modules/index.html +1 -1
  17. package/coverage/lcov-report/src/modules/ios.ts.html +1 -1
  18. package/coverage/lcov-report/src/utils/debug.ts.html +13 -13
  19. package/coverage/lcov-report/src/utils/errorMapping.ts.html +1 -1
  20. package/coverage/lcov-report/src/utils/index.html +15 -15
  21. package/coverage/lcov.info +340 -445
  22. package/expo-module.config.json +10 -3
  23. package/ios/ExpoIapModule.swift +17 -0
  24. package/openiap-versions.json +3 -3
  25. package/package.json +1 -1
  26. package/src/index.ts +61 -6
  27. package/src/types.ts +47 -0
  28. package/build/helpers/subscription.d.ts +0 -14
  29. package/build/helpers/subscription.d.ts.map +0 -1
  30. package/build/helpers/subscription.js +0 -118
  31. package/build/helpers/subscription.js.map +0 -1
  32. package/coverage/lcov-report/src/helpers/index.html +0 -116
  33. package/coverage/lcov-report/src/helpers/subscription.ts.html +0 -499
  34. package/src/helpers/subscription.ts +0 -138
@@ -1,266 +1,207 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1760389581597" clover="3.2.0">
3
- <project timestamp="1760389581597" name="All files">
4
- <metrics statements="510" coveredstatements="482" conditionals="286" coveredconditionals="249" methods="99" coveredmethods="78" elements="895" coveredelements="809" complexity="0" loc="510" ncloc="510" packages="4" files="6" classes="6"/>
2
+ <coverage generated="1760563256621" clover="3.2.0">
3
+ <project timestamp="1760563256621" name="All files">
4
+ <metrics statements="457" coveredstatements="429" conditionals="251" coveredconditionals="217" methods="95" coveredmethods="75" elements="803" coveredelements="721" complexity="0" loc="457" ncloc="457" packages="3" files="5" classes="5"/>
5
5
  <package name="src">
6
- <metrics statements="192" coveredstatements="186" conditionals="93" coveredconditionals="83" methods="41" coveredmethods="30"/>
6
+ <metrics statements="196" coveredstatements="190" conditionals="99" coveredconditionals="89" methods="41" coveredmethods="32"/>
7
7
  <file name="index.ts" path="/home/runner/work/expo-iap/expo-iap/src/index.ts">
8
- <metrics statements="192" coveredstatements="186" conditionals="93" coveredconditionals="83" methods="41" coveredmethods="30"/>
8
+ <metrics statements="196" coveredstatements="190" conditionals="99" coveredconditionals="89" methods="41" coveredmethods="32"/>
9
9
  <line num="2" count="1" type="stmt"/>
10
10
  <line num="3" count="1" type="stmt"/>
11
11
  <line num="6" count="1" type="stmt"/>
12
12
  <line num="7" count="1" type="stmt"/>
13
13
  <line num="13" count="1" type="stmt"/>
14
14
  <line num="18" count="1" type="stmt"/>
15
- <line num="42" count="1" type="stmt"/>
16
15
  <line num="43" count="1" type="stmt"/>
17
- <line num="46" count="1" type="stmt"/>
16
+ <line num="44" count="1" type="stmt"/>
18
17
  <line num="47" count="1" type="stmt"/>
19
18
  <line num="48" count="1" type="stmt"/>
20
- <line num="51" count="1" type="stmt"/>
21
- <line num="52" count="1" type="stmt"/>
19
+ <line num="49" count="1" type="stmt"/>
20
+ <line num="52" count="1" type="cond" truecount="2" falsecount="0"/>
22
21
  <line num="53" count="1" type="stmt"/>
23
- <line num="57" count="1" type="cond" truecount="2" falsecount="0"/>
24
- <line num="58" count="1" type="stmt"/>
25
- <line num="59" count="1" type="stmt"/>
26
- <line num="60" count="1" type="stmt"/>
27
- <line num="61" count="1" type="stmt"/>
28
- <line num="87" count="1" type="cond" truecount="1" falsecount="1"/>
29
- <line num="95" count="1" type="stmt"/>
30
- <line num="96" count="18" type="cond" truecount="1" falsecount="0"/>
31
- <line num="97" count="1" type="stmt"/>
32
- <line num="102" count="18" type="cond" truecount="4" falsecount="0"/>
33
- <line num="103" count="9" type="stmt"/>
34
- <line num="108" count="9" type="cond" truecount="1" falsecount="0"/>
35
- <line num="109" count="5" type="stmt"/>
36
- <line num="114" count="4" type="cond" truecount="1" falsecount="0"/>
37
- <line num="115" count="3" type="stmt"/>
38
- <line num="120" count="1" type="stmt"/>
39
- <line num="123" count="1" type="stmt"/>
40
- <line num="124" count="7" type="stmt"/>
41
- <line num="125" count="7" type="cond" truecount="1" falsecount="0"/>
42
- <line num="126" count="5" type="stmt"/>
22
+ <line num="54" count="1" type="stmt"/>
23
+ <line num="55" count="1" type="stmt"/>
24
+ <line num="56" count="1" type="stmt"/>
25
+ <line num="82" count="1" type="cond" truecount="1" falsecount="1"/>
26
+ <line num="90" count="1" type="stmt"/>
27
+ <line num="91" count="18" type="cond" truecount="1" falsecount="0"/>
28
+ <line num="92" count="1" type="stmt"/>
29
+ <line num="97" count="18" type="cond" truecount="4" falsecount="0"/>
30
+ <line num="98" count="9" type="stmt"/>
31
+ <line num="103" count="9" type="cond" truecount="1" falsecount="0"/>
32
+ <line num="104" count="5" type="stmt"/>
33
+ <line num="109" count="4" type="cond" truecount="1" falsecount="0"/>
34
+ <line num="110" count="3" type="stmt"/>
35
+ <line num="115" count="1" type="stmt"/>
36
+ <line num="118" count="1" type="stmt"/>
37
+ <line num="119" count="7" type="stmt"/>
38
+ <line num="120" count="7" type="cond" truecount="1" falsecount="0"/>
39
+ <line num="121" count="5" type="stmt"/>
40
+ <line num="124" count="2" type="stmt"/>
41
+ <line num="125" count="2" type="cond" truecount="2" falsecount="2"/>
42
+ <line num="126" count="0" type="stmt"/>
43
43
  <line num="129" count="2" type="stmt"/>
44
- <line num="130" count="2" type="cond" truecount="2" falsecount="2"/>
45
- <line num="131" count="0" type="stmt"/>
46
- <line num="134" count="2" type="stmt"/>
47
- <line num="137" count="1" type="stmt"/>
48
- <line num="138" count="7" type="stmt"/>
44
+ <line num="132" count="1" type="stmt"/>
45
+ <line num="133" count="7" type="stmt"/>
46
+ <line num="135" count="1" type="stmt"/>
47
+ <line num="138" count="1" type="stmt"/>
48
+ <line num="139" count="1" type="stmt"/>
49
49
  <line num="140" count="1" type="stmt"/>
50
- <line num="143" count="1" type="stmt"/>
51
- <line num="144" count="1" type="stmt"/>
52
- <line num="145" count="1" type="stmt"/>
53
- <line num="147" count="1" type="stmt"/>
54
- <line num="151" count="1" type="stmt"/>
55
- <line num="154" count="1" type="stmt"/>
56
- <line num="157" count="1" type="stmt"/>
57
- <line num="158" count="1" type="stmt"/>
58
- <line num="160" count="1" type="stmt"/>
59
- <line num="164" count="1" type="stmt"/>
60
- <line num="187" count="1" type="stmt"/>
61
- <line num="190" count="2" type="cond" truecount="1" falsecount="0"/>
50
+ <line num="142" count="1" type="stmt"/>
51
+ <line num="146" count="1" type="stmt"/>
52
+ <line num="149" count="1" type="stmt"/>
53
+ <line num="152" count="1" type="stmt"/>
54
+ <line num="153" count="1" type="stmt"/>
55
+ <line num="155" count="1" type="stmt"/>
56
+ <line num="159" count="1" type="stmt"/>
57
+ <line num="182" count="1" type="stmt"/>
58
+ <line num="185" count="2" type="cond" truecount="1" falsecount="0"/>
59
+ <line num="186" count="1" type="stmt"/>
60
+ <line num="189" count="1" type="stmt"/>
62
61
  <line num="191" count="1" type="stmt"/>
63
- <line num="194" count="1" type="stmt"/>
64
- <line num="196" count="1" type="stmt"/>
65
- <line num="224" count="1" type="stmt"/>
66
- <line num="227" count="0" type="cond" truecount="0" falsecount="1"/>
62
+ <line num="219" count="1" type="stmt"/>
63
+ <line num="222" count="0" type="cond" truecount="0" falsecount="1"/>
64
+ <line num="223" count="0" type="stmt"/>
65
+ <line num="226" count="0" type="stmt"/>
67
66
  <line num="228" count="0" type="stmt"/>
68
- <line num="231" count="0" type="stmt"/>
69
- <line num="233" count="0" type="stmt"/>
70
- <line num="236" count="1" type="stmt"/>
71
- <line num="237" count="1" type="cond" truecount="2" falsecount="0"/>
72
- <line num="239" count="1" type="stmt"/>
73
- <line num="240" count="1" type="stmt"/>
67
+ <line num="231" count="1" type="stmt"/>
68
+ <line num="232" count="1" type="cond" truecount="2" falsecount="0"/>
69
+ <line num="234" count="1" type="stmt"/>
70
+ <line num="235" count="1" type="stmt"/>
71
+ <line num="244" count="1" type="stmt"/>
72
+ <line num="245" count="6" type="stmt"/>
73
+ <line num="246" count="6" type="cond" truecount="1" falsecount="1"/>
74
+ <line num="248" count="6" type="cond" truecount="3" falsecount="0"/>
74
75
  <line num="249" count="1" type="stmt"/>
75
- <line num="250" count="6" type="stmt"/>
76
- <line num="251" count="6" type="cond" truecount="1" falsecount="1"/>
77
- <line num="253" count="6" type="cond" truecount="3" falsecount="0"/>
78
- <line num="254" count="1" type="stmt"/>
76
+ <line num="255" count="5" type="stmt"/>
77
+ <line num="258" count="5" type="stmt"/>
79
78
  <line num="260" count="5" type="stmt"/>
80
- <line num="263" count="5" type="stmt"/>
81
- <line num="265" count="5" type="stmt"/>
82
- <line num="268" count="3" type="stmt"/>
83
- <line num="269" count="6" type="cond" truecount="1" falsecount="0"/>
84
- <line num="270" count="1" type="stmt"/>
85
- <line num="272" count="5" type="stmt"/>
86
- <line num="273" count="5" type="cond" truecount="2" falsecount="0"/>
87
- <line num="276" count="5" type="stmt"/>
88
- <line num="279" count="1" type="stmt"/>
89
- <line num="280" count="3" type="cond" truecount="1" falsecount="0"/>
90
- <line num="281" count="1" type="stmt"/>
91
- <line num="283" count="2" type="stmt"/>
92
- <line num="284" count="2" type="cond" truecount="2" falsecount="0"/>
93
- <line num="287" count="5" type="stmt"/>
94
- <line num="290" count="4" type="cond" truecount="1" falsecount="0"/>
95
- <line num="291" count="2" type="stmt"/>
96
- <line num="293" count="2" type="cond" truecount="1" falsecount="0"/>
97
- <line num="294" count="1" type="stmt"/>
98
- <line num="296" count="1" type="stmt"/>
99
- <line num="299" count="5" type="cond" truecount="1" falsecount="0"/>
100
- <line num="300" count="3" type="stmt"/>
101
- <line num="301" count="3" type="stmt"/>
102
- <line num="304" count="2" type="cond" truecount="1" falsecount="0"/>
103
- <line num="305" count="1" type="stmt"/>
104
- <line num="306" count="1" type="stmt"/>
79
+ <line num="263" count="3" type="stmt"/>
80
+ <line num="264" count="6" type="cond" truecount="1" falsecount="0"/>
81
+ <line num="265" count="1" type="stmt"/>
82
+ <line num="267" count="5" type="stmt"/>
83
+ <line num="268" count="5" type="cond" truecount="2" falsecount="0"/>
84
+ <line num="271" count="5" type="stmt"/>
85
+ <line num="274" count="1" type="stmt"/>
86
+ <line num="275" count="3" type="cond" truecount="1" falsecount="0"/>
87
+ <line num="276" count="1" type="stmt"/>
88
+ <line num="278" count="2" type="stmt"/>
89
+ <line num="279" count="2" type="cond" truecount="2" falsecount="0"/>
90
+ <line num="282" count="5" type="stmt"/>
91
+ <line num="285" count="4" type="cond" truecount="1" falsecount="0"/>
92
+ <line num="286" count="2" type="stmt"/>
93
+ <line num="288" count="2" type="cond" truecount="1" falsecount="0"/>
94
+ <line num="289" count="1" type="stmt"/>
95
+ <line num="291" count="1" type="stmt"/>
96
+ <line num="294" count="5" type="cond" truecount="1" falsecount="0"/>
97
+ <line num="295" count="3" type="stmt"/>
98
+ <line num="296" count="3" type="stmt"/>
99
+ <line num="299" count="2" type="cond" truecount="1" falsecount="0"/>
100
+ <line num="300" count="1" type="stmt"/>
101
+ <line num="301" count="1" type="stmt"/>
102
+ <line num="304" count="1" type="stmt"/>
103
+ <line num="307" count="1" type="stmt"/>
105
104
  <line num="309" count="1" type="stmt"/>
106
- <line num="312" count="1" type="stmt"/>
107
- <line num="314" count="1" type="stmt"/>
108
- <line num="315" count="4" type="stmt"/>
109
- <line num="322" count="4" type="cond" truecount="2" falsecount="0"/>
110
- <line num="324" count="2" type="stmt"/>
111
- <line num="328" count="1" type="stmt"/>
112
- <line num="329" count="1" type="stmt"/>
113
- <line num="331" count="4" type="stmt"/>
114
- <line num="332" count="4" type="stmt"/>
115
- <line num="335" count="1" type="stmt"/>
116
- <line num="336" count="2" type="cond" truecount="2" falsecount="1"/>
117
- <line num="337" count="0" type="stmt"/>
118
- <line num="339" count="2" type="stmt"/>
119
- <line num="368" count="10" type="cond" truecount="2" falsecount="0"/>
120
- <line num="402" count="1" type="stmt"/>
121
- <line num="405" count="13" type="stmt"/>
122
- <line num="406" count="13" type="stmt"/>
123
- <line num="407" count="12" type="stmt"/>
124
- <line num="409" count="12" type="cond" truecount="1" falsecount="0"/>
125
- <line num="410" count="6" type="stmt"/>
126
- <line num="412" count="6" type="cond" truecount="1" falsecount="0"/>
127
- <line num="413" count="1" type="stmt"/>
128
- <line num="418" count="5" type="cond" truecount="3" falsecount="0"/>
129
- <line num="419" count="1" type="stmt"/>
130
- <line num="422" count="4" type="stmt"/>
131
- <line num="428" count="4" type="stmt"/>
132
- <line num="433" count="4" type="cond" truecount="1" falsecount="0"/>
133
- <line num="434" count="1" type="stmt"/>
134
- <line num="437" count="3" type="cond" truecount="1" falsecount="0"/>
135
- <line num="438" count="2" type="stmt"/>
136
- <line num="441" count="1" type="cond" truecount="1" falsecount="1"/>
137
- <line num="444" count="6" type="cond" truecount="1" falsecount="0"/>
138
- <line num="445" count="5" type="cond" truecount="1" falsecount="0"/>
139
- <line num="446" count="2" type="stmt"/>
140
- <line num="451" count="2" type="cond" truecount="1" falsecount="0"/>
141
- <line num="452" count="1" type="stmt"/>
142
- <line num="462" count="1" type="stmt"/>
143
- <line num="464" count="1" type="stmt"/>
144
- <line num="475" count="1" type="stmt"/>
145
- <line num="478" count="3" type="cond" truecount="1" falsecount="0"/>
146
- <line num="479" count="2" type="stmt"/>
147
- <line num="484" count="2" type="cond" truecount="1" falsecount="0"/>
148
- <line num="485" count="1" type="stmt"/>
149
- <line num="498" count="1" type="stmt"/>
150
- <line num="500" count="1" type="cond" truecount="1" falsecount="1"/>
151
- <line num="501" count="1" type="cond" truecount="2" falsecount="0"/>
152
- <line num="502" count="1" type="cond" truecount="2" falsecount="0"/>
153
- <line num="504" count="1" type="stmt"/>
154
- <line num="512" count="1" type="stmt"/>
155
- <line num="518" count="1" type="stmt"/>
156
- <line num="521" count="1" type="stmt"/>
157
- <line num="526" count="1" type="stmt"/>
158
- <line num="529" count="1" type="stmt"/>
159
- <line num="533" count="6" type="cond" truecount="1" falsecount="0"/>
105
+ <line num="310" count="4" type="stmt"/>
106
+ <line num="317" count="4" type="cond" truecount="2" falsecount="0"/>
107
+ <line num="319" count="2" type="stmt"/>
108
+ <line num="323" count="1" type="stmt"/>
109
+ <line num="324" count="1" type="stmt"/>
110
+ <line num="326" count="4" type="stmt"/>
111
+ <line num="327" count="4" type="stmt"/>
112
+ <line num="358" count="1" type="stmt"/>
113
+ <line num="360" count="1" type="stmt"/>
114
+ <line num="361" count="6" type="stmt"/>
115
+ <line num="364" count="6" type="cond" truecount="2" falsecount="0"/>
116
+ <line num="382" count="1" type="stmt"/>
117
+ <line num="384" count="1" type="stmt"/>
118
+ <line num="385" count="8" type="stmt"/>
119
+ <line num="390" count="1" type="stmt"/>
120
+ <line num="391" count="2" type="cond" truecount="2" falsecount="1"/>
121
+ <line num="392" count="0" type="stmt"/>
122
+ <line num="394" count="2" type="stmt"/>
123
+ <line num="423" count="10" type="cond" truecount="2" falsecount="0"/>
124
+ <line num="457" count="1" type="stmt"/>
125
+ <line num="460" count="13" type="stmt"/>
126
+ <line num="461" count="13" type="stmt"/>
127
+ <line num="462" count="12" type="stmt"/>
128
+ <line num="464" count="12" type="cond" truecount="1" falsecount="0"/>
129
+ <line num="465" count="6" type="stmt"/>
130
+ <line num="467" count="6" type="cond" truecount="1" falsecount="0"/>
131
+ <line num="468" count="1" type="stmt"/>
132
+ <line num="473" count="5" type="cond" truecount="3" falsecount="0"/>
133
+ <line num="474" count="1" type="stmt"/>
134
+ <line num="477" count="4" type="stmt"/>
135
+ <line num="483" count="4" type="stmt"/>
136
+ <line num="488" count="4" type="cond" truecount="1" falsecount="0"/>
137
+ <line num="489" count="1" type="stmt"/>
138
+ <line num="492" count="3" type="cond" truecount="1" falsecount="0"/>
139
+ <line num="493" count="2" type="stmt"/>
140
+ <line num="496" count="1" type="cond" truecount="1" falsecount="1"/>
141
+ <line num="499" count="6" type="cond" truecount="1" falsecount="0"/>
142
+ <line num="500" count="5" type="cond" truecount="1" falsecount="0"/>
143
+ <line num="501" count="2" type="stmt"/>
144
+ <line num="506" count="2" type="cond" truecount="1" falsecount="0"/>
145
+ <line num="507" count="1" type="stmt"/>
146
+ <line num="517" count="1" type="stmt"/>
147
+ <line num="519" count="1" type="stmt"/>
148
+ <line num="530" count="1" type="stmt"/>
149
+ <line num="533" count="3" type="cond" truecount="1" falsecount="0"/>
160
150
  <line num="534" count="2" type="stmt"/>
161
- <line num="535" count="2" type="stmt"/>
162
- <line num="538" count="4" type="cond" truecount="1" falsecount="0"/>
163
- <line num="539" count="3" type="cond" truecount="2" falsecount="0"/>
164
- <line num="541" count="3" type="cond" truecount="1" falsecount="0"/>
165
- <line num="542" count="1" type="stmt"/>
166
- <line num="550" count="2" type="cond" truecount="1" falsecount="0"/>
167
- <line num="551" count="1" type="stmt"/>
168
- <line num="552" count="1" type="stmt"/>
169
- <line num="555" count="1" type="stmt"/>
170
- <line num="556" count="1" type="stmt"/>
151
+ <line num="539" count="2" type="cond" truecount="1" falsecount="0"/>
152
+ <line num="540" count="1" type="stmt"/>
153
+ <line num="553" count="1" type="stmt"/>
154
+ <line num="555" count="1" type="cond" truecount="1" falsecount="1"/>
155
+ <line num="556" count="1" type="cond" truecount="2" falsecount="0"/>
156
+ <line num="557" count="1" type="cond" truecount="2" falsecount="0"/>
171
157
  <line num="559" count="1" type="stmt"/>
172
- <line num="572" count="1" type="stmt"/>
173
- <line num="573" count="1" type="cond" truecount="1" falsecount="0"/>
174
- <line num="574" count="1" type="stmt"/>
175
- <line num="577" count="1" type="stmt"/>
176
- <line num="601" count="1" type="stmt"/>
177
- <line num="603" count="1" type="stmt"/>
178
- <line num="604" count="5" type="cond" truecount="1" falsecount="0"/>
179
- <line num="605" count="1" type="stmt"/>
158
+ <line num="567" count="1" type="stmt"/>
159
+ <line num="573" count="1" type="stmt"/>
160
+ <line num="576" count="1" type="stmt"/>
161
+ <line num="581" count="1" type="stmt"/>
162
+ <line num="584" count="1" type="stmt"/>
163
+ <line num="588" count="6" type="cond" truecount="1" falsecount="0"/>
164
+ <line num="589" count="2" type="stmt"/>
165
+ <line num="590" count="2" type="stmt"/>
166
+ <line num="593" count="4" type="cond" truecount="1" falsecount="0"/>
167
+ <line num="594" count="3" type="cond" truecount="2" falsecount="0"/>
168
+ <line num="596" count="3" type="cond" truecount="1" falsecount="0"/>
169
+ <line num="597" count="1" type="stmt"/>
170
+ <line num="605" count="2" type="cond" truecount="1" falsecount="0"/>
180
171
  <line num="606" count="1" type="stmt"/>
181
- <line num="609" count="4" type="cond" truecount="1" falsecount="0"/>
182
- <line num="610" count="3" type="cond" truecount="1" falsecount="1"/>
172
+ <line num="607" count="1" type="stmt"/>
173
+ <line num="610" count="1" type="stmt"/>
183
174
  <line num="611" count="1" type="stmt"/>
184
175
  <line num="614" count="1" type="stmt"/>
185
- <line num="625" count="1" type="stmt"/>
186
- <line num="628" count="4" type="stmt"/>
187
- <line num="630" count="4" type="cond" truecount="1" falsecount="0"/>
188
- <line num="631" count="1" type="stmt"/>
189
- <line num="634" count="3" type="cond" truecount="1" falsecount="0"/>
190
- <line num="635" count="2" type="cond" truecount="1" falsecount="0"/>
191
- <line num="641" count="1" type="stmt"/>
192
- <line num="645" count="1" type="stmt"/>
193
- <line num="654" count="1" type="stmt"/>
194
- <line num="657" count="1" type="stmt"/>
176
+ <line num="627" count="1" type="stmt"/>
177
+ <line num="628" count="1" type="cond" truecount="1" falsecount="0"/>
178
+ <line num="629" count="1" type="stmt"/>
179
+ <line num="632" count="1" type="stmt"/>
180
+ <line num="656" count="1" type="stmt"/>
195
181
  <line num="658" count="1" type="stmt"/>
196
- <line num="659" count="1" type="stmt"/>
182
+ <line num="659" count="5" type="cond" truecount="1" falsecount="0"/>
197
183
  <line num="660" count="1" type="stmt"/>
198
184
  <line num="661" count="1" type="stmt"/>
199
- <line num="662" count="1" type="stmt"/>
200
- <line num="668" count="1" type="stmt"/>
201
- </file>
202
- </package>
203
- <package name="src.helpers">
204
- <metrics statements="57" coveredstatements="56" conditionals="41" coveredconditionals="38" methods="4" coveredmethods="4"/>
205
- <file name="subscription.ts" path="/home/runner/work/expo-iap/expo-iap/src/helpers/subscription.ts">
206
- <metrics statements="57" coveredstatements="56" conditionals="41" coveredconditionals="38" methods="4" coveredmethods="4"/>
207
- <line num="1" count="2" type="stmt"/>
208
- <line num="2" count="2" type="stmt"/>
209
- <line num="4" count="2" type="stmt"/>
210
- <line num="11" count="2" type="stmt"/>
211
- <line num="14" count="18" type="stmt"/>
212
- <line num="15" count="18" type="stmt"/>
213
- <line num="16" count="17" type="stmt"/>
214
- <line num="17" count="17" type="stmt"/>
215
- <line num="20" count="17" type="stmt"/>
216
- <line num="22" count="18" type="cond" truecount="3" falsecount="0"/>
217
- <line num="23" count="6" type="cond" truecount="1" falsecount="0"/>
218
- <line num="24" count="3" type="stmt"/>
219
- <line num="30" count="15" type="cond" truecount="5" falsecount="0"/>
220
- <line num="34" count="15" type="cond" truecount="1" falsecount="0"/>
221
- <line num="35" count="1" type="stmt"/>
222
- <line num="39" count="14" type="cond" truecount="2" falsecount="0"/>
223
- <line num="40" count="11" type="cond" truecount="3" falsecount="0"/>
224
- <line num="41" count="10" type="stmt"/>
225
- <line num="45" count="1" type="cond" truecount="3" falsecount="0"/>
226
- <line num="46" count="1" type="stmt"/>
227
- <line num="48" count="1" type="cond" truecount="1" falsecount="0"/>
228
- <line num="52" count="1" type="cond" truecount="1" falsecount="0"/>
229
- <line num="57" count="1" type="stmt"/>
230
- <line num="61" count="3" type="cond" truecount="1" falsecount="0"/>
231
- <line num="63" count="3" type="stmt"/>
232
- <line num="66" count="0" type="stmt"/>
233
- <line num="70" count="17" type="stmt"/>
234
- <line num="71" count="17" type="stmt"/>
235
- <line num="72" count="13" type="stmt"/>
236
- <line num="73" count="13" type="cond" truecount="0" falsecount="1"/>
237
- <line num="74" count="13" type="stmt"/>
238
- <line num="75" count="13" type="stmt"/>
239
- <line num="79" count="17" type="stmt"/>
240
- <line num="80" count="13" type="stmt"/>
241
- <line num="89" count="13" type="cond" truecount="2" falsecount="0"/>
242
- <line num="90" count="10" type="cond" truecount="3" falsecount="0"/>
243
- <line num="91" count="9" type="stmt"/>
244
- <line num="94" count="9" type="stmt"/>
245
- <line num="97" count="9" type="stmt"/>
246
- <line num="98" count="9" type="stmt"/>
247
- <line num="101" count="10" type="cond" truecount="1" falsecount="0"/>
248
- <line num="102" count="2" type="cond" truecount="1" falsecount="1"/>
249
- <line num="104" count="3" type="cond" truecount="1" falsecount="0"/>
250
- <line num="105" count="3" type="cond" truecount="1" falsecount="0"/>
251
- <line num="106" count="3" type="cond" truecount="1" falsecount="0"/>
252
- <line num="107" count="3" type="stmt"/>
253
- <line num="110" count="3" type="cond" truecount="2" falsecount="0"/>
254
- <line num="111" count="1" type="stmt"/>
255
- <line num="112" count="2" type="cond" truecount="1" falsecount="0"/>
256
- <line num="113" count="2" type="stmt"/>
257
- <line num="118" count="13" type="stmt"/>
258
- <line num="121" count="17" type="stmt"/>
259
- <line num="123" count="1" type="stmt"/>
260
- <line num="124" count="1" type="stmt"/>
261
- <line num="133" count="2" type="stmt"/>
262
- <line num="136" count="4" type="stmt"/>
263
- <line num="137" count="4" type="stmt"/>
185
+ <line num="664" count="4" type="cond" truecount="1" falsecount="0"/>
186
+ <line num="665" count="3" type="cond" truecount="1" falsecount="1"/>
187
+ <line num="666" count="1" type="stmt"/>
188
+ <line num="669" count="1" type="stmt"/>
189
+ <line num="680" count="1" type="stmt"/>
190
+ <line num="683" count="4" type="stmt"/>
191
+ <line num="685" count="4" type="cond" truecount="1" falsecount="0"/>
192
+ <line num="686" count="1" type="stmt"/>
193
+ <line num="689" count="3" type="cond" truecount="1" falsecount="0"/>
194
+ <line num="690" count="2" type="cond" truecount="1" falsecount="0"/>
195
+ <line num="696" count="1" type="stmt"/>
196
+ <line num="700" count="1" type="stmt"/>
197
+ <line num="709" count="1" type="stmt"/>
198
+ <line num="712" count="1" type="stmt"/>
199
+ <line num="713" count="1" type="stmt"/>
200
+ <line num="714" count="1" type="stmt"/>
201
+ <line num="715" count="1" type="stmt"/>
202
+ <line num="716" count="1" type="stmt"/>
203
+ <line num="717" count="1" type="stmt"/>
204
+ <line num="723" count="1" type="stmt"/>
264
205
  </file>
265
206
  </package>
266
207
  <package name="src.modules">
@@ -409,25 +350,25 @@
409
350
  </file>
410
351
  </package>
411
352
  <package name="src.utils">
412
- <metrics statements="125" coveredstatements="112" conditionals="97" coveredconditionals="74" methods="24" coveredmethods="20"/>
353
+ <metrics statements="125" coveredstatements="111" conditionals="97" coveredconditionals="74" methods="24" coveredmethods="19"/>
413
354
  <file name="debug.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/debug.ts">
414
- <metrics statements="16" coveredstatements="9" conditionals="9" coveredconditionals="4" methods="7" coveredmethods="5"/>
415
- <line num="9" count="2" type="stmt"/>
355
+ <metrics statements="16" coveredstatements="8" conditionals="9" coveredconditionals="4" methods="7" coveredmethods="4"/>
356
+ <line num="9" count="1" type="stmt"/>
416
357
  <line num="14" count="6" type="cond" truecount="0" falsecount="1"/>
417
358
  <line num="18" count="0" type="stmt"/>
418
359
  <line num="22" count="6" type="cond" truecount="0" falsecount="1"/>
419
360
  <line num="26" count="0" type="stmt"/>
420
361
  <line num="29" count="6" type="stmt"/>
421
- <line num="32" count="2" type="stmt"/>
362
+ <line num="32" count="1" type="stmt"/>
422
363
  <line num="34" count="0" type="cond" truecount="0" falsecount="1"/>
423
364
  <line num="35" count="0" type="stmt"/>
424
365
  <line num="41" count="6" type="cond" truecount="0" falsecount="1"/>
425
366
  <line num="42" count="0" type="stmt"/>
426
367
  <line num="49" count="2" type="stmt"/>
427
- <line num="54" count="1" type="stmt"/>
368
+ <line num="54" count="0" type="stmt"/>
428
369
  <line num="58" count="0" type="cond" truecount="0" falsecount="1"/>
429
370
  <line num="59" count="0" type="stmt"/>
430
- <line num="66" count="2" type="stmt"/>
371
+ <line num="66" count="1" type="stmt"/>
431
372
  </file>
432
373
  <file name="errorMapping.ts" path="/home/runner/work/expo-iap/expo-iap/src/utils/errorMapping.ts">
433
374
  <metrics statements="109" coveredstatements="103" conditionals="88" coveredconditionals="70" methods="17" coveredmethods="15"/>