expo-iap 3.1.26 → 3.1.28
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/build/index.d.ts.map +1 -1
- package/build/index.js +30 -3
- package/build/index.js.map +1 -1
- package/coverage/clover.xml +74 -74
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +86 -5
- 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/coverage/lcov.info +127 -127
- package/openiap-versions.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +30 -3
|
@@ -791,7 +791,34 @@
|
|
|
791
791
|
<a name='L726'></a><a href='#L726'>726</a>
|
|
792
792
|
<a name='L727'></a><a href='#L727'>727</a>
|
|
793
793
|
<a name='L728'></a><a href='#L728'>728</a>
|
|
794
|
-
<a name='L729'></a><a href='#L729'>729</a
|
|
794
|
+
<a name='L729'></a><a href='#L729'>729</a>
|
|
795
|
+
<a name='L730'></a><a href='#L730'>730</a>
|
|
796
|
+
<a name='L731'></a><a href='#L731'>731</a>
|
|
797
|
+
<a name='L732'></a><a href='#L732'>732</a>
|
|
798
|
+
<a name='L733'></a><a href='#L733'>733</a>
|
|
799
|
+
<a name='L734'></a><a href='#L734'>734</a>
|
|
800
|
+
<a name='L735'></a><a href='#L735'>735</a>
|
|
801
|
+
<a name='L736'></a><a href='#L736'>736</a>
|
|
802
|
+
<a name='L737'></a><a href='#L737'>737</a>
|
|
803
|
+
<a name='L738'></a><a href='#L738'>738</a>
|
|
804
|
+
<a name='L739'></a><a href='#L739'>739</a>
|
|
805
|
+
<a name='L740'></a><a href='#L740'>740</a>
|
|
806
|
+
<a name='L741'></a><a href='#L741'>741</a>
|
|
807
|
+
<a name='L742'></a><a href='#L742'>742</a>
|
|
808
|
+
<a name='L743'></a><a href='#L743'>743</a>
|
|
809
|
+
<a name='L744'></a><a href='#L744'>744</a>
|
|
810
|
+
<a name='L745'></a><a href='#L745'>745</a>
|
|
811
|
+
<a name='L746'></a><a href='#L746'>746</a>
|
|
812
|
+
<a name='L747'></a><a href='#L747'>747</a>
|
|
813
|
+
<a name='L748'></a><a href='#L748'>748</a>
|
|
814
|
+
<a name='L749'></a><a href='#L749'>749</a>
|
|
815
|
+
<a name='L750'></a><a href='#L750'>750</a>
|
|
816
|
+
<a name='L751'></a><a href='#L751'>751</a>
|
|
817
|
+
<a name='L752'></a><a href='#L752'>752</a>
|
|
818
|
+
<a name='L753'></a><a href='#L753'>753</a>
|
|
819
|
+
<a name='L754'></a><a href='#L754'>754</a>
|
|
820
|
+
<a name='L755'></a><a href='#L755'>755</a>
|
|
821
|
+
<a name='L756'></a><a href='#L756'>756</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
795
822
|
<span class="cline-any cline-yes">2x</span>
|
|
796
823
|
<span class="cline-any cline-yes">2x</span>
|
|
797
824
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -1268,6 +1295,15 @@
|
|
|
1268
1295
|
<span class="cline-any cline-neutral"> </span>
|
|
1269
1296
|
<span class="cline-any cline-neutral"> </span>
|
|
1270
1297
|
<span class="cline-any cline-neutral"> </span>
|
|
1298
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1299
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1300
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1301
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1302
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1303
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1304
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1305
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1306
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1271
1307
|
<span class="cline-any cline-yes">5x</span>
|
|
1272
1308
|
<span class="cline-any cline-yes">1x</span>
|
|
1273
1309
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -1312,6 +1348,15 @@
|
|
|
1312
1348
|
<span class="cline-any cline-neutral"> </span>
|
|
1313
1349
|
<span class="cline-any cline-neutral"> </span>
|
|
1314
1350
|
<span class="cline-any cline-neutral"> </span>
|
|
1351
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1352
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1353
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1354
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1355
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1356
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1357
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1358
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1359
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1315
1360
|
<span class="cline-any cline-yes">1x</span>
|
|
1316
1361
|
<span class="cline-any cline-neutral"> </span>
|
|
1317
1362
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -1348,6 +1393,15 @@
|
|
|
1348
1393
|
<span class="cline-any cline-neutral"> </span>
|
|
1349
1394
|
<span class="cline-any cline-neutral"> </span>
|
|
1350
1395
|
<span class="cline-any cline-neutral"> </span>
|
|
1396
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1397
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1398
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1399
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1400
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1401
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1402
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1403
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1404
|
+
<span class="cline-any cline-neutral"> </span>
|
|
1351
1405
|
<span class="cline-any cline-yes">1x</span>
|
|
1352
1406
|
<span class="cline-any cline-neutral"> </span>
|
|
1353
1407
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -1992,7 +2046,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
1992
2046
|
|
|
1993
2047
|
if (!normalizedRequest?.sku) {
|
|
1994
2048
|
throw new Error(
|
|
1995
|
-
'Invalid request for iOS. The `sku` property is required and must be a string
|
|
2049
|
+
'Invalid request for iOS. The `sku` property is required and must be a string.\n\n' +
|
|
2050
|
+
'Expected format:\n' +
|
|
2051
|
+
' requestPurchase({\n' +
|
|
2052
|
+
' request: {\n' +
|
|
2053
|
+
' android: { skus: ["product_id"] },\n' +
|
|
2054
|
+
' ios: { sku: "product_id" }\n' +
|
|
2055
|
+
' },\n' +
|
|
2056
|
+
' type: "in-app"\n' +
|
|
2057
|
+
' })\n\n' +
|
|
2058
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
1996
2059
|
);
|
|
1997
2060
|
}
|
|
1998
2061
|
|
|
@@ -2031,7 +2094,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
2031
2094
|
|
|
2032
2095
|
if (!normalizedRequest?.skus?.length) {
|
|
2033
2096
|
throw new Error(
|
|
2034
|
-
'Invalid request for Android. The `skus` property is required and must be a non-empty array
|
|
2097
|
+
'Invalid request for Android. The `skus` property is required and must be a non-empty array.\n\n' +
|
|
2098
|
+
'Expected format:\n' +
|
|
2099
|
+
' requestPurchase({\n' +
|
|
2100
|
+
' request: {\n' +
|
|
2101
|
+
' android: { skus: ["product_id"] },\n' +
|
|
2102
|
+
' ios: { sku: "product_id" }\n' +
|
|
2103
|
+
' },\n' +
|
|
2104
|
+
' type: "in-app"\n' +
|
|
2105
|
+
' })\n\n' +
|
|
2106
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
2035
2107
|
);
|
|
2036
2108
|
}
|
|
2037
2109
|
|
|
@@ -2064,7 +2136,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
2064
2136
|
|
|
2065
2137
|
if (!normalizedRequest?.skus?.length) {
|
|
2066
2138
|
throw new Error(
|
|
2067
|
-
'Invalid request for Android. The `skus` property is required and must be a non-empty array
|
|
2139
|
+
'Invalid request for Android. The `skus` property is required and must be a non-empty array.\n\n' +
|
|
2140
|
+
'Expected format:\n' +
|
|
2141
|
+
' requestPurchase({\n' +
|
|
2142
|
+
' request: {\n' +
|
|
2143
|
+
' android: { skus: ["subscription_id"] },\n' +
|
|
2144
|
+
' ios: { sku: "subscription_id" }\n' +
|
|
2145
|
+
' },\n' +
|
|
2146
|
+
' type: "subs"\n' +
|
|
2147
|
+
' })\n\n' +
|
|
2148
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
2068
2149
|
);
|
|
2069
2150
|
}
|
|
2070
2151
|
|
|
@@ -2254,7 +2335,7 @@ export {<span class="fstat-no" title="function not covered" >ExpoIapConsole}</sp
|
|
|
2254
2335
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
2255
2336
|
Code coverage generated by
|
|
2256
2337
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
2257
|
-
at 2025-11-
|
|
2338
|
+
at 2025-11-12T03:29:04.493Z
|
|
2258
2339
|
</div>
|
|
2259
2340
|
<script src="../prettify.js"></script>
|
|
2260
2341
|
<script>
|
|
@@ -814,7 +814,7 @@ export const createAlternativeBillingTokenAndroid: MutationField<
|
|
|
814
814
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
815
815
|
Code coverage generated by
|
|
816
816
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
817
|
-
at 2025-11-
|
|
817
|
+
at 2025-11-12T03:29:04.493Z
|
|
818
818
|
</div>
|
|
819
819
|
<script src="../../prettify.js"></script>
|
|
820
820
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2025-11-
|
|
119
|
+
at 2025-11-12T03:29:04.493Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
|
@@ -1267,7 +1267,7 @@ export const presentExternalPurchaseLinkIOS: MutationField<
|
|
|
1267
1267
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1268
1268
|
Code coverage generated by
|
|
1269
1269
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1270
|
-
at 2025-11-
|
|
1270
|
+
at 2025-11-12T03:29:04.493Z
|
|
1271
1271
|
</div>
|
|
1272
1272
|
<script src="../../prettify.js"></script>
|
|
1273
1273
|
<script>
|
|
@@ -268,7 +268,7 @@ export const ExpoIapConsole = createConsole();
|
|
|
268
268
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
269
269
|
Code coverage generated by
|
|
270
270
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
271
|
-
at 2025-11-
|
|
271
|
+
at 2025-11-12T03:29:04.493Z
|
|
272
272
|
</div>
|
|
273
273
|
<script src="../../prettify.js"></script>
|
|
274
274
|
<script>
|
|
@@ -1111,7 +1111,7 @@ export function getUserFriendlyErrorMessage(error: ErrorLike): string {
|
|
|
1111
1111
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1112
1112
|
Code coverage generated by
|
|
1113
1113
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1114
|
-
at 2025-11-
|
|
1114
|
+
at 2025-11-12T03:29:04.493Z
|
|
1115
1115
|
</div>
|
|
1116
1116
|
<script src="../../prettify.js"></script>
|
|
1117
1117
|
<script>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
118
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
-
at 2025-11-
|
|
119
|
+
at 2025-11-12T03:29:04.493Z
|
|
120
120
|
</div>
|
|
121
121
|
<script src="../../prettify.js"></script>
|
|
122
122
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -30,17 +30,17 @@ FN:389,(anonymous_31)
|
|
|
30
30
|
FN:395,(anonymous_32)
|
|
31
31
|
FN:421,normalizeRequestProps
|
|
32
32
|
FN:462,(anonymous_34)
|
|
33
|
-
FN:
|
|
34
|
-
FN:
|
|
35
|
-
FN:
|
|
36
|
-
FN:
|
|
37
|
-
FN:
|
|
38
|
-
FN:
|
|
39
|
-
FN:
|
|
40
|
-
FN:
|
|
41
|
-
FN:
|
|
42
|
-
FN:
|
|
43
|
-
FN:
|
|
33
|
+
FN:599,(anonymous_35)
|
|
34
|
+
FN:616,(anonymous_36)
|
|
35
|
+
FN:659,(anonymous_37)
|
|
36
|
+
FN:661,(anonymous_38)
|
|
37
|
+
FN:690,(anonymous_39)
|
|
38
|
+
FN:712,(anonymous_40)
|
|
39
|
+
FN:746,(anonymous_41)
|
|
40
|
+
FN:747,(anonymous_42)
|
|
41
|
+
FN:748,(anonymous_43)
|
|
42
|
+
FN:749,(anonymous_44)
|
|
43
|
+
FN:755,(anonymous_45)
|
|
44
44
|
FNF:41
|
|
45
45
|
FNH:32
|
|
46
46
|
FNDA:2,(anonymous_5)
|
|
@@ -207,79 +207,79 @@ DA:469,12
|
|
|
207
207
|
DA:470,6
|
|
208
208
|
DA:472,6
|
|
209
209
|
DA:473,1
|
|
210
|
-
DA:
|
|
211
|
-
DA:
|
|
212
|
-
DA:
|
|
213
|
-
DA:
|
|
214
|
-
DA:
|
|
215
|
-
DA:
|
|
216
|
-
DA:
|
|
217
|
-
DA:
|
|
218
|
-
DA:
|
|
219
|
-
DA:
|
|
220
|
-
DA:
|
|
221
|
-
DA:
|
|
222
|
-
DA:
|
|
223
|
-
DA:
|
|
224
|
-
DA:
|
|
225
|
-
DA:
|
|
226
|
-
DA:
|
|
227
|
-
DA:
|
|
228
|
-
DA:
|
|
229
|
-
DA:
|
|
230
|
-
DA:
|
|
231
|
-
DA:
|
|
232
|
-
DA:
|
|
233
|
-
DA:
|
|
234
|
-
DA:
|
|
235
|
-
DA:
|
|
236
|
-
DA:
|
|
237
|
-
DA:
|
|
238
|
-
DA:
|
|
239
|
-
DA:
|
|
240
|
-
DA:
|
|
241
|
-
DA:
|
|
242
|
-
DA:
|
|
243
|
-
DA:
|
|
244
|
-
DA:
|
|
245
|
-
DA:
|
|
246
|
-
DA:
|
|
247
|
-
DA:
|
|
248
|
-
DA:
|
|
249
|
-
DA:
|
|
250
|
-
DA:
|
|
251
|
-
DA:
|
|
252
|
-
DA:
|
|
253
|
-
DA:
|
|
254
|
-
DA:
|
|
255
|
-
DA:
|
|
256
|
-
DA:
|
|
257
|
-
DA:
|
|
258
|
-
DA:
|
|
259
|
-
DA:
|
|
260
|
-
DA:
|
|
261
|
-
DA:
|
|
262
|
-
DA:
|
|
263
|
-
DA:
|
|
264
|
-
DA:
|
|
265
|
-
DA:
|
|
266
|
-
DA:674,1
|
|
267
|
-
DA:685,2
|
|
268
|
-
DA:688,4
|
|
269
|
-
DA:690,4
|
|
270
|
-
DA:691,1
|
|
271
|
-
DA:694,3
|
|
272
|
-
DA:695,2
|
|
210
|
+
DA:487,5
|
|
211
|
+
DA:488,1
|
|
212
|
+
DA:491,4
|
|
213
|
+
DA:497,4
|
|
214
|
+
DA:502,4
|
|
215
|
+
DA:503,1
|
|
216
|
+
DA:506,3
|
|
217
|
+
DA:507,2
|
|
218
|
+
DA:510,1
|
|
219
|
+
DA:513,6
|
|
220
|
+
DA:514,5
|
|
221
|
+
DA:515,2
|
|
222
|
+
DA:520,2
|
|
223
|
+
DA:521,1
|
|
224
|
+
DA:540,1
|
|
225
|
+
DA:542,1
|
|
226
|
+
DA:553,1
|
|
227
|
+
DA:556,3
|
|
228
|
+
DA:557,2
|
|
229
|
+
DA:562,2
|
|
230
|
+
DA:563,1
|
|
231
|
+
DA:585,1
|
|
232
|
+
DA:587,1
|
|
233
|
+
DA:588,1
|
|
234
|
+
DA:589,1
|
|
235
|
+
DA:591,1
|
|
236
|
+
DA:599,1
|
|
237
|
+
DA:605,1
|
|
238
|
+
DA:608,1
|
|
239
|
+
DA:613,1
|
|
240
|
+
DA:616,2
|
|
241
|
+
DA:620,6
|
|
242
|
+
DA:621,2
|
|
243
|
+
DA:622,2
|
|
244
|
+
DA:625,4
|
|
245
|
+
DA:626,3
|
|
246
|
+
DA:628,3
|
|
247
|
+
DA:629,1
|
|
248
|
+
DA:637,2
|
|
249
|
+
DA:638,1
|
|
250
|
+
DA:639,1
|
|
251
|
+
DA:642,1
|
|
252
|
+
DA:643,1
|
|
253
|
+
DA:646,1
|
|
254
|
+
DA:659,2
|
|
255
|
+
DA:660,1
|
|
256
|
+
DA:661,1
|
|
257
|
+
DA:664,1
|
|
258
|
+
DA:688,2
|
|
259
|
+
DA:690,2
|
|
260
|
+
DA:691,5
|
|
261
|
+
DA:692,1
|
|
262
|
+
DA:693,1
|
|
263
|
+
DA:696,4
|
|
264
|
+
DA:697,3
|
|
265
|
+
DA:698,1
|
|
273
266
|
DA:701,1
|
|
274
|
-
DA:
|
|
275
|
-
DA:
|
|
276
|
-
DA:717,
|
|
277
|
-
DA:718,
|
|
278
|
-
DA:
|
|
279
|
-
DA:720,2
|
|
280
|
-
DA:721,2
|
|
267
|
+
DA:712,2
|
|
268
|
+
DA:715,4
|
|
269
|
+
DA:717,4
|
|
270
|
+
DA:718,1
|
|
271
|
+
DA:721,3
|
|
281
272
|
DA:722,2
|
|
282
|
-
DA:728,
|
|
273
|
+
DA:728,1
|
|
274
|
+
DA:732,1
|
|
275
|
+
DA:741,1
|
|
276
|
+
DA:744,2
|
|
277
|
+
DA:745,2
|
|
278
|
+
DA:746,2
|
|
279
|
+
DA:747,2
|
|
280
|
+
DA:748,2
|
|
281
|
+
DA:749,2
|
|
282
|
+
DA:755,2
|
|
283
283
|
LF:196
|
|
284
284
|
LH:190
|
|
285
285
|
BRDA:51,0,0,2
|
|
@@ -336,51 +336,51 @@ BRDA:428,32,0,6
|
|
|
336
336
|
BRDA:428,32,1,4
|
|
337
337
|
BRDA:469,33,0,6
|
|
338
338
|
BRDA:472,34,0,1
|
|
339
|
-
BRDA:
|
|
340
|
-
BRDA:
|
|
341
|
-
BRDA:
|
|
342
|
-
BRDA:
|
|
343
|
-
BRDA:
|
|
344
|
-
BRDA:
|
|
345
|
-
BRDA:
|
|
346
|
-
BRDA:
|
|
347
|
-
BRDA:
|
|
348
|
-
BRDA:
|
|
349
|
-
BRDA:
|
|
350
|
-
BRDA:
|
|
351
|
-
BRDA:
|
|
352
|
-
BRDA:
|
|
353
|
-
BRDA:
|
|
354
|
-
BRDA:
|
|
355
|
-
BRDA:
|
|
356
|
-
BRDA:
|
|
357
|
-
BRDA:
|
|
358
|
-
BRDA:
|
|
359
|
-
BRDA:
|
|
360
|
-
BRDA:
|
|
361
|
-
BRDA:
|
|
362
|
-
BRDA:
|
|
363
|
-
BRDA:
|
|
364
|
-
BRDA:
|
|
365
|
-
BRDA:
|
|
366
|
-
BRDA:
|
|
367
|
-
BRDA:
|
|
368
|
-
BRDA:
|
|
369
|
-
BRDA:
|
|
370
|
-
BRDA:
|
|
371
|
-
BRDA:
|
|
372
|
-
BRDA:
|
|
373
|
-
BRDA:
|
|
374
|
-
BRDA:
|
|
375
|
-
BRDA:
|
|
376
|
-
BRDA:
|
|
377
|
-
BRDA:
|
|
378
|
-
BRDA:
|
|
379
|
-
BRDA:
|
|
380
|
-
BRDA:
|
|
381
|
-
BRDA:
|
|
382
|
-
BRDA:
|
|
383
|
-
BRDA:
|
|
339
|
+
BRDA:487,35,0,1
|
|
340
|
+
BRDA:487,36,0,5
|
|
341
|
+
BRDA:487,36,1,3
|
|
342
|
+
BRDA:492,37,0,2
|
|
343
|
+
BRDA:492,37,1,2
|
|
344
|
+
BRDA:502,38,0,1
|
|
345
|
+
BRDA:506,39,0,2
|
|
346
|
+
BRDA:510,40,0,1
|
|
347
|
+
BRDA:510,40,1,0
|
|
348
|
+
BRDA:513,41,0,5
|
|
349
|
+
BRDA:514,42,0,2
|
|
350
|
+
BRDA:520,43,0,1
|
|
351
|
+
BRDA:550,44,0,1
|
|
352
|
+
BRDA:550,44,1,1
|
|
353
|
+
BRDA:556,45,0,2
|
|
354
|
+
BRDA:562,46,0,1
|
|
355
|
+
BRDA:587,47,0,1
|
|
356
|
+
BRDA:587,47,1,0
|
|
357
|
+
BRDA:588,48,0,1
|
|
358
|
+
BRDA:588,48,1,1
|
|
359
|
+
BRDA:589,49,0,1
|
|
360
|
+
BRDA:589,49,1,1
|
|
361
|
+
BRDA:602,50,0,1
|
|
362
|
+
BRDA:602,50,1,1
|
|
363
|
+
BRDA:618,51,0,3
|
|
364
|
+
BRDA:620,52,0,2
|
|
365
|
+
BRDA:625,53,0,3
|
|
366
|
+
BRDA:626,54,0,3
|
|
367
|
+
BRDA:626,54,1,1
|
|
368
|
+
BRDA:628,55,0,1
|
|
369
|
+
BRDA:637,56,0,1
|
|
370
|
+
BRDA:660,57,0,1
|
|
371
|
+
BRDA:691,58,0,1
|
|
372
|
+
BRDA:696,59,0,3
|
|
373
|
+
BRDA:697,60,0,3
|
|
374
|
+
BRDA:697,60,1,0
|
|
375
|
+
BRDA:717,61,0,1
|
|
376
|
+
BRDA:721,62,0,2
|
|
377
|
+
BRDA:722,63,0,1
|
|
378
|
+
BRDA:723,64,0,2
|
|
379
|
+
BRDA:723,64,1,2
|
|
380
|
+
BRDA:723,64,2,1
|
|
381
|
+
BRDA:723,64,3,1
|
|
382
|
+
BRDA:737,65,0,1
|
|
383
|
+
BRDA:737,65,1,0
|
|
384
384
|
BRF:99
|
|
385
385
|
BRH:89
|
|
386
386
|
end_of_record
|
package/openiap-versions.json
CHANGED
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -471,7 +471,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
471
471
|
|
|
472
472
|
if (!normalizedRequest?.sku) {
|
|
473
473
|
throw new Error(
|
|
474
|
-
'Invalid request for iOS. The `sku` property is required and must be a string
|
|
474
|
+
'Invalid request for iOS. The `sku` property is required and must be a string.\n\n' +
|
|
475
|
+
'Expected format:\n' +
|
|
476
|
+
' requestPurchase({\n' +
|
|
477
|
+
' request: {\n' +
|
|
478
|
+
' android: { skus: ["product_id"] },\n' +
|
|
479
|
+
' ios: { sku: "product_id" }\n' +
|
|
480
|
+
' },\n' +
|
|
481
|
+
' type: "in-app"\n' +
|
|
482
|
+
' })\n\n' +
|
|
483
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
475
484
|
);
|
|
476
485
|
}
|
|
477
486
|
|
|
@@ -510,7 +519,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
510
519
|
|
|
511
520
|
if (!normalizedRequest?.skus?.length) {
|
|
512
521
|
throw new Error(
|
|
513
|
-
'Invalid request for Android. The `skus` property is required and must be a non-empty array
|
|
522
|
+
'Invalid request for Android. The `skus` property is required and must be a non-empty array.\n\n' +
|
|
523
|
+
'Expected format:\n' +
|
|
524
|
+
' requestPurchase({\n' +
|
|
525
|
+
' request: {\n' +
|
|
526
|
+
' android: { skus: ["product_id"] },\n' +
|
|
527
|
+
' ios: { sku: "product_id" }\n' +
|
|
528
|
+
' },\n' +
|
|
529
|
+
' type: "in-app"\n' +
|
|
530
|
+
' })\n\n' +
|
|
531
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
514
532
|
);
|
|
515
533
|
}
|
|
516
534
|
|
|
@@ -543,7 +561,16 @@ export const requestPurchase: MutationField<'requestPurchase'> = async (
|
|
|
543
561
|
|
|
544
562
|
if (!normalizedRequest?.skus?.length) {
|
|
545
563
|
throw new Error(
|
|
546
|
-
'Invalid request for Android. The `skus` property is required and must be a non-empty array
|
|
564
|
+
'Invalid request for Android. The `skus` property is required and must be a non-empty array.\n\n' +
|
|
565
|
+
'Expected format:\n' +
|
|
566
|
+
' requestPurchase({\n' +
|
|
567
|
+
' request: {\n' +
|
|
568
|
+
' android: { skus: ["subscription_id"] },\n' +
|
|
569
|
+
' ios: { sku: "subscription_id" }\n' +
|
|
570
|
+
' },\n' +
|
|
571
|
+
' type: "subs"\n' +
|
|
572
|
+
' })\n\n' +
|
|
573
|
+
'See: https://hyochan.github.io/expo-iap/docs/api/methods/core-methods#requestpurchase',
|
|
547
574
|
);
|
|
548
575
|
}
|
|
549
576
|
|