react-native-iap 15.2.4 → 15.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.
Files changed (34) hide show
  1. package/README.md +29 -49
  2. package/android/build.gradle +92 -22
  3. package/android/gradle.properties +5 -1
  4. package/android/src/main/java/com/margelo/nitro/iap/HybridRnIap.kt +1 -1
  5. package/android/src/main/java/com/margelo/nitro/iap/RnIapLog.kt +3 -1
  6. package/ios/HybridRnIap.swift +12 -6
  7. package/lib/module/index.js +73 -158
  8. package/lib/module/index.js.map +1 -1
  9. package/lib/typescript/src/hooks/useIAP.d.ts +15 -15
  10. package/lib/typescript/src/index.d.ts +59 -88
  11. package/lib/typescript/src/index.d.ts.map +1 -1
  12. package/lib/typescript/src/specs/RnIap.nitro.d.ts +2 -15
  13. package/lib/typescript/src/specs/RnIap.nitro.d.ts.map +1 -1
  14. package/lib/typescript/src/types.d.ts +47 -47
  15. package/nitro.json +0 -1
  16. package/nitrogen/generated/android/c++/JHybridRnIapSpec.cpp +7 -7
  17. package/nitrogen/generated/android/c++/JHybridRnIapSpec.hpp +1 -1
  18. package/nitrogen/generated/android/c++/{JNitroPurchaseUpdatedListenerOptions.hpp → JPurchaseUpdatedListenerOptions.hpp} +10 -10
  19. package/nitrogen/generated/android/kotlin/com/margelo/nitro/iap/HybridRnIapSpec.kt +2 -2
  20. package/nitrogen/generated/android/kotlin/com/margelo/nitro/iap/{NitroPurchaseUpdatedListenerOptions.kt → PurchaseUpdatedListenerOptions.kt} +5 -5
  21. package/nitrogen/generated/ios/NitroIap-Swift-Cxx-Bridge.hpp +10 -10
  22. package/nitrogen/generated/ios/NitroIap-Swift-Cxx-Umbrella.hpp +3 -3
  23. package/nitrogen/generated/ios/c++/HybridRnIapSpecSwift.hpp +4 -4
  24. package/nitrogen/generated/ios/swift/HybridRnIapSpec.swift +1 -1
  25. package/nitrogen/generated/ios/swift/HybridRnIapSpec_cxx.swift +1 -1
  26. package/nitrogen/generated/ios/swift/{NitroPurchaseUpdatedListenerOptions.swift → PurchaseUpdatedListenerOptions.swift} +5 -5
  27. package/nitrogen/generated/shared/c++/HybridRnIapSpec.hpp +4 -4
  28. package/nitrogen/generated/shared/c++/{NitroPurchaseUpdatedListenerOptions.hpp → PurchaseUpdatedListenerOptions.hpp} +11 -11
  29. package/openiap-versions.json +2 -2
  30. package/package.json +4 -6
  31. package/src/hooks/useIAP.ts +15 -15
  32. package/src/index.ts +93 -204
  33. package/src/specs/RnIap.nitro.ts +2 -15
  34. package/src/types.ts +47 -47
@@ -35,6 +35,7 @@ import type {
35
35
  ExternalPurchaseCustomLinkTokenTypeIOS,
36
36
  ExternalPurchaseLinkResultIOS,
37
37
  ExternalPurchaseNoticeResultIOS,
38
+ DeveloperProvidedBillingDetailsAndroid,
38
39
  MutationFinishTransactionArgs,
39
40
  ProductCommon,
40
41
  PromotionalOfferJwsInputIOS,
@@ -147,8 +148,7 @@ export interface NitroReceiptValidationHorizonOptions {
147
148
  userId: VerifyPurchaseHorizonOptions['userId'];
148
149
  }
149
150
 
150
- export interface NitroPurchaseUpdatedListenerOptions
151
- extends PurchaseUpdatedListenerOptions {}
151
+ export type NitroPurchaseUpdatedListenerOptions = PurchaseUpdatedListenerOptions;
152
152
 
153
153
  export interface NitroReceiptValidationParams {
154
154
  apple?: NitroReceiptValidationAppleOptions | null;
@@ -426,19 +426,6 @@ export interface NitroBillingProgramReportingDetailsAndroid {
426
426
  externalTransactionToken: string;
427
427
  }
428
428
 
429
- /**
430
- * Details provided when user selects developer billing option (Android 8.3.0+)
431
- * Received via DeveloperProvidedBillingListener callback in External Payments flow
432
- */
433
- export interface DeveloperProvidedBillingDetailsAndroid {
434
- /**
435
- * External transaction token used to report transactions made through developer billing.
436
- * This token must be used when reporting the external transaction to Google Play.
437
- * Must be reported within 24 hours of the transaction.
438
- */
439
- externalTransactionToken: string;
440
- }
441
-
442
429
  /**
443
430
  * Discount amount details for one-time purchase offers (Android)
444
431
  */
package/src/types.ts CHANGED
@@ -587,12 +587,12 @@ export interface LimitedQuantityInfoAndroid {
587
587
  export interface Mutation {
588
588
  /**
589
589
  * Acknowledge a non-consumable purchase. Required within 3 days or Google auto-refunds.
590
- * See: https://www.openiap.dev/docs/apis/android/acknowledge-purchase-android
590
+ * See: https://openiap.dev/docs/apis/android/acknowledge-purchase-android
591
591
  */
592
592
  acknowledgePurchaseAndroid: Promise<boolean>;
593
593
  /**
594
594
  * Present the refund request sheet (iOS 15+). See also Features → Refund.
595
- * See: https://www.openiap.dev/docs/apis/ios/begin-refund-request-ios
595
+ * See: https://openiap.dev/docs/apis/ios/begin-refund-request-ios
596
596
  */
597
597
  beginRefundRequestIOS?: Promise<(string | null)>;
598
598
  /**
@@ -600,17 +600,17 @@ export interface Mutation {
600
600
  *
601
601
  * Returns true if available, false otherwise.
602
602
  * Throws OpenIapError.NotPrepared if billing client not ready.
603
- * See: https://www.openiap.dev/docs/apis/android/check-alternative-billing-availability-android
603
+ * See: https://openiap.dev/docs/apis/android/check-alternative-billing-availability-android
604
604
  */
605
605
  checkAlternativeBillingAvailabilityAndroid: Promise<boolean>;
606
606
  /**
607
607
  * Clear pending transactions in the queue (sandbox helper).
608
- * See: https://www.openiap.dev/docs/apis/ios/clear-transaction-ios
608
+ * See: https://openiap.dev/docs/apis/ios/clear-transaction-ios
609
609
  */
610
610
  clearTransactionIOS: Promise<boolean>;
611
611
  /**
612
612
  * Consume a consumable purchase so it can be re-bought.
613
- * See: https://www.openiap.dev/docs/apis/android/consume-purchase-android
613
+ * See: https://openiap.dev/docs/apis/android/consume-purchase-android
614
614
  */
615
615
  consumePurchaseAndroid: Promise<boolean>;
616
616
  /**
@@ -620,7 +620,7 @@ export interface Mutation {
620
620
  *
621
621
  * Returns token string, or null if creation failed.
622
622
  * Throws OpenIapError.NotPrepared if billing client not ready.
623
- * See: https://www.openiap.dev/docs/apis/android/create-alternative-billing-token-android
623
+ * See: https://openiap.dev/docs/apis/android/create-alternative-billing-token-android
624
624
  */
625
625
  createAlternativeBillingTokenAndroid?: Promise<(string | null)>;
626
626
  /**
@@ -629,27 +629,27 @@ export interface Mutation {
629
629
  *
630
630
  * Returns external transaction token needed for reporting external transactions.
631
631
  * Throws OpenIapError.NotPrepared if billing client not ready.
632
- * See: https://www.openiap.dev/docs/apis/android/create-billing-program-reporting-details-android
632
+ * See: https://openiap.dev/docs/apis/android/create-billing-program-reporting-details-android
633
633
  */
634
634
  createBillingProgramReportingDetailsAndroid: Promise<BillingProgramReportingDetailsAndroid>;
635
635
  /**
636
636
  * Open the platform's subscription management UI.
637
- * See: https://www.openiap.dev/docs/apis/deep-link-to-subscriptions
637
+ * See: https://openiap.dev/docs/apis/deep-link-to-subscriptions
638
638
  */
639
639
  deepLinkToSubscriptions: Promise<void>;
640
640
  /**
641
641
  * Close the store connection and release resources.
642
- * See: https://www.openiap.dev/docs/apis/end-connection
642
+ * See: https://openiap.dev/docs/apis/end-connection
643
643
  */
644
644
  endConnection: Promise<boolean>;
645
645
  /**
646
646
  * Complete a transaction after server-side verification. Required on Android within 3 days.
647
- * See: https://www.openiap.dev/docs/apis/finish-transaction
647
+ * See: https://openiap.dev/docs/apis/finish-transaction
648
648
  */
649
649
  finishTransaction: Promise<void>;
650
650
  /**
651
651
  * Initialize the store connection. Call before any IAP API.
652
- * See: https://www.openiap.dev/docs/apis/init-connection
652
+ * See: https://openiap.dev/docs/apis/init-connection
653
653
  */
654
654
  initConnection: Promise<boolean>;
655
655
  /**
@@ -659,7 +659,7 @@ export interface Mutation {
659
659
  * Available in Google Play Billing Library 8.2.0+.
660
660
  * Returns availability result with isAvailable flag.
661
661
  * Throws OpenIapError.NotPrepared if billing client not ready.
662
- * See: https://www.openiap.dev/docs/apis/android/is-billing-program-available-android
662
+ * See: https://openiap.dev/docs/apis/android/is-billing-program-available-android
663
663
  */
664
664
  isBillingProgramAvailableAndroid: Promise<BillingProgramAvailabilityResultAndroid>;
665
665
  /**
@@ -668,29 +668,29 @@ export interface Mutation {
668
668
  *
669
669
  * Shows Play Store dialog and optionally launches external URL.
670
670
  * Throws OpenIapError.NotPrepared if billing client not ready.
671
- * See: https://www.openiap.dev/docs/apis/android/launch-external-link-android
671
+ * See: https://openiap.dev/docs/apis/android/launch-external-link-android
672
672
  */
673
673
  launchExternalLinkAndroid: Promise<boolean>;
674
674
  /**
675
675
  * Show the App Store offer code redemption sheet.
676
- * See: https://www.openiap.dev/docs/apis/ios/present-code-redemption-sheet-ios
676
+ * See: https://openiap.dev/docs/apis/ios/present-code-redemption-sheet-ios
677
677
  */
678
678
  presentCodeRedemptionSheetIOS: Promise<boolean>;
679
679
  /**
680
680
  * Present an external purchase link, StoreKit External (iOS 16+).
681
- * See: https://www.openiap.dev/docs/apis/ios/present-external-purchase-link-ios
681
+ * See: https://openiap.dev/docs/apis/ios/present-external-purchase-link-ios
682
682
  */
683
683
  presentExternalPurchaseLinkIOS: Promise<ExternalPurchaseLinkResultIOS>;
684
684
  /**
685
685
  * Present the external purchase notice sheet (iOS 17.4+).
686
686
  * Uses ExternalPurchase.presentNoticeSheet() which returns a token when the user continues.
687
687
  * Reference: https://developer.apple.com/documentation/storekit/externalpurchase/presentnoticesheet()
688
- * See: https://www.openiap.dev/docs/apis/ios/present-external-purchase-notice-sheet-ios
688
+ * See: https://openiap.dev/docs/apis/ios/present-external-purchase-notice-sheet-ios
689
689
  */
690
690
  presentExternalPurchaseNoticeSheetIOS: Promise<ExternalPurchaseNoticeResultIOS>;
691
691
  /**
692
692
  * Initiate a purchase or subscription flow; rely on events for final state.
693
- * See: https://www.openiap.dev/docs/apis/request-purchase
693
+ * See: https://openiap.dev/docs/apis/request-purchase
694
694
  */
695
695
  requestPurchase?: Promise<(Purchase | Purchase[] | null)>;
696
696
  /**
@@ -699,13 +699,13 @@ export interface Mutation {
699
699
  * @deprecated Use promotedProductListenerIOS to receive the productId,
700
700
  * then call requestPurchase with that SKU instead. In StoreKit 2,
701
701
  * promoted products can be purchased directly via the standard purchase flow.
702
- * See: https://www.openiap.dev/docs/apis/ios/request-purchase-on-promoted-product-ios
702
+ * See: https://openiap.dev/docs/apis/ios/request-purchase-on-promoted-product-ios
703
703
  * @deprecated Use promotedProductListenerIOS + requestPurchase instead
704
704
  */
705
705
  requestPurchaseOnPromotedProductIOS: Promise<boolean>;
706
706
  /**
707
707
  * Restore non-consumable and active subscription purchases.
708
- * See: https://www.openiap.dev/docs/apis/restore-purchases
708
+ * See: https://openiap.dev/docs/apis/restore-purchases
709
709
  */
710
710
  restorePurchases: Promise<void>;
711
711
  /**
@@ -714,29 +714,29 @@ export interface Mutation {
714
714
  *
715
715
  * Returns true if user accepted, false if user canceled.
716
716
  * Throws OpenIapError.NotPrepared if billing client not ready.
717
- * See: https://www.openiap.dev/docs/apis/android/show-alternative-billing-dialog-android
717
+ * See: https://openiap.dev/docs/apis/android/show-alternative-billing-dialog-android
718
718
  */
719
719
  showAlternativeBillingDialogAndroid: Promise<boolean>;
720
720
  /**
721
721
  * Present the disclosure sheet required before linking out via ExternalPurchaseCustomLink (iOS 18.1+).
722
722
  * Call this after a deliberate customer interaction before linking out to external purchases.
723
723
  * Reference: https://developer.apple.com/documentation/storekit/externalpurchasecustomlink/shownotice(type:)
724
- * See: https://www.openiap.dev/docs/apis/ios/show-external-purchase-custom-link-notice-ios
724
+ * See: https://openiap.dev/docs/apis/ios/show-external-purchase-custom-link-notice-ios
725
725
  */
726
726
  showExternalPurchaseCustomLinkNoticeIOS: Promise<ExternalPurchaseCustomLinkNoticeResultIOS>;
727
727
  /**
728
728
  * Present the manage-subscriptions sheet and return changed purchases (iOS 15+).
729
- * See: https://www.openiap.dev/docs/apis/ios/show-manage-subscriptions-ios
729
+ * See: https://openiap.dev/docs/apis/ios/show-manage-subscriptions-ios
730
730
  */
731
731
  showManageSubscriptionsIOS: Promise<PurchaseIOS[]>;
732
732
  /**
733
733
  * Force sync transactions with the App Store (iOS 15+).
734
- * See: https://www.openiap.dev/docs/apis/ios/sync-ios
734
+ * See: https://openiap.dev/docs/apis/ios/sync-ios
735
735
  */
736
736
  syncIOS: Promise<boolean>;
737
737
  /**
738
738
  * Deprecated. Validate purchase receipts with the configured providers — use verifyPurchase instead.
739
- * See: https://www.openiap.dev/docs/features/validation#verify-purchase
739
+ * See: https://openiap.dev/docs/features/validation#verify-purchase
740
740
  * @deprecated Use verifyPurchase
741
741
  */
742
742
  validateReceipt: Promise<VerifyPurchaseResult>;
@@ -746,14 +746,14 @@ export interface Mutation {
746
746
  * + receipt/JWS metadata, VerifyPurchaseResultAndroid carries Play Store
747
747
  * receipt fields (no isValid), and VerifyPurchaseResultHorizon uses success.
748
748
  * Inspect the concrete variant before reading fields.
749
- * See: https://www.openiap.dev/docs/features/validation#verify-purchase
749
+ * See: https://openiap.dev/docs/features/validation#verify-purchase
750
750
  */
751
751
  verifyPurchase: Promise<VerifyPurchaseResult>;
752
752
  /**
753
753
  * Verify via a managed provider without standing up your own server. The
754
754
  * PurchaseVerificationProvider enum currently exposes only IAPKit; platform
755
755
  * availability may differ by implementation.
756
- * See: https://www.openiap.dev/docs/features/validation#verify-purchase-with-provider
756
+ * See: https://openiap.dev/docs/features/validation#verify-purchase-with-provider
757
757
  */
758
758
  verifyPurchaseWithProvider: Promise<VerifyPurchaseWithProviderResult>;
759
759
  }
@@ -1307,22 +1307,22 @@ export interface Query {
1307
1307
  /**
1308
1308
  * Check eligibility for the external purchase notice sheet (iOS 17.4+).
1309
1309
  * Uses ExternalPurchase.canPresent.
1310
- * See: https://www.openiap.dev/docs/apis/ios/can-present-external-purchase-notice-ios
1310
+ * See: https://openiap.dev/docs/apis/ios/can-present-external-purchase-notice-ios
1311
1311
  */
1312
1312
  canPresentExternalPurchaseNoticeIOS: Promise<boolean>;
1313
1313
  /**
1314
1314
  * Get the user's current entitlement for a product, using StoreKit 2 (iOS 15+).
1315
- * See: https://www.openiap.dev/docs/apis/ios/current-entitlement-ios
1315
+ * See: https://openiap.dev/docs/apis/ios/current-entitlement-ios
1316
1316
  */
1317
1317
  currentEntitlementIOS?: Promise<(PurchaseIOS | null)>;
1318
1318
  /**
1319
1319
  * Fetch products or subscriptions from the store.
1320
- * See: https://www.openiap.dev/docs/apis/fetch-products
1320
+ * See: https://openiap.dev/docs/apis/fetch-products
1321
1321
  */
1322
1322
  fetchProducts: Promise<(ProductOrSubscription[] | Product[] | ProductSubscription[] | null)>;
1323
1323
  /**
1324
1324
  * Get details of all currently active subscriptions (filters by subscriptionIds when provided).
1325
- * See: https://www.openiap.dev/docs/apis/get-active-subscriptions
1325
+ * See: https://openiap.dev/docs/apis/get-active-subscriptions
1326
1326
  */
1327
1327
  getActiveSubscriptions: Promise<ActiveSubscription[]>;
1328
1328
  /**
@@ -1330,92 +1330,92 @@ export interface Query {
1330
1330
  * Requires the SK2ConsumableTransactionHistory Info.plist key in the host app
1331
1331
  * for finished consumables to be included (iOS 18+).
1332
1332
  * Unlike getAvailablePurchases, always returns the iOS-specific PurchaseIOS shape.
1333
- * See: https://www.openiap.dev/docs/apis/ios/get-all-transactions-ios
1333
+ * See: https://openiap.dev/docs/apis/ios/get-all-transactions-ios
1334
1334
  */
1335
1335
  getAllTransactionsIOS: Promise<PurchaseIOS[]>;
1336
1336
  /**
1337
1337
  * Fetch the app transaction (iOS 16+).
1338
- * See: https://www.openiap.dev/docs/apis/ios/get-app-transaction-ios
1338
+ * See: https://openiap.dev/docs/apis/ios/get-app-transaction-ios
1339
1339
  */
1340
1340
  getAppTransactionIOS?: Promise<(AppTransaction | null)>;
1341
1341
  /**
1342
1342
  * List active purchases for the current user.
1343
- * See: https://www.openiap.dev/docs/apis/get-available-purchases
1343
+ * See: https://openiap.dev/docs/apis/get-available-purchases
1344
1344
  */
1345
1345
  getAvailablePurchases: Promise<Purchase[]>;
1346
1346
  /**
1347
1347
  * Fetch a token for Apple's External Purchase Server reporting API (iOS 18.1+).
1348
1348
  * Use this token to report transactions made through ExternalPurchaseCustomLink.
1349
1349
  * Reference: https://developer.apple.com/documentation/storekit/externalpurchasecustomlink/token(for:)
1350
- * See: https://www.openiap.dev/docs/apis/ios/get-external-purchase-custom-link-token-ios
1350
+ * See: https://openiap.dev/docs/apis/ios/get-external-purchase-custom-link-token-ios
1351
1351
  */
1352
1352
  getExternalPurchaseCustomLinkTokenIOS: Promise<ExternalPurchaseCustomLinkTokenResultIOS>;
1353
1353
  /**
1354
1354
  * List unfinished StoreKit transactions in the queue.
1355
- * See: https://www.openiap.dev/docs/apis/ios/get-pending-transactions-ios
1355
+ * See: https://openiap.dev/docs/apis/ios/get-pending-transactions-ios
1356
1356
  */
1357
1357
  getPendingTransactionsIOS: Promise<PurchaseIOS[]>;
1358
1358
  /**
1359
1359
  * Read the App Store-promoted product, if any (iOS 11+).
1360
- * See: https://www.openiap.dev/docs/apis/ios/get-promoted-product-ios
1360
+ * See: https://openiap.dev/docs/apis/ios/get-promoted-product-ios
1361
1361
  */
1362
1362
  getPromotedProductIOS?: Promise<(ProductIOS | null)>;
1363
1363
  /**
1364
1364
  * Get base64-encoded receipt data (legacy validation).
1365
- * See: https://www.openiap.dev/docs/apis/ios/get-receipt-data-ios
1365
+ * See: https://openiap.dev/docs/apis/ios/get-receipt-data-ios
1366
1366
  */
1367
1367
  getReceiptDataIOS?: Promise<(string | null)>;
1368
1368
  /**
1369
1369
  * Return the user's storefront country code.
1370
- * See: https://www.openiap.dev/docs/apis/get-storefront
1370
+ * See: https://openiap.dev/docs/apis/get-storefront
1371
1371
  */
1372
1372
  getStorefront: Promise<string>;
1373
1373
  /**
1374
1374
  * Deprecated. Get the current App Store storefront country code — use cross-platform getStorefront instead.
1375
- * See: https://www.openiap.dev/docs/apis/ios/get-storefront-ios
1375
+ * See: https://openiap.dev/docs/apis/ios/get-storefront-ios
1376
1376
  * @deprecated Use getStorefront
1377
1377
  */
1378
1378
  getStorefrontIOS: Promise<string>;
1379
1379
  /**
1380
1380
  * Return the JWS string for a transaction (StoreKit 2).
1381
- * See: https://www.openiap.dev/docs/apis/ios/get-transaction-jws-ios
1381
+ * See: https://openiap.dev/docs/apis/ios/get-transaction-jws-ios
1382
1382
  */
1383
1383
  getTransactionJwsIOS?: Promise<(string | null)>;
1384
1384
  /**
1385
1385
  * Check whether the user has any active subscription.
1386
- * See: https://www.openiap.dev/docs/apis/has-active-subscriptions
1386
+ * See: https://openiap.dev/docs/apis/has-active-subscriptions
1387
1387
  */
1388
1388
  hasActiveSubscriptions: Promise<boolean>;
1389
1389
  /**
1390
1390
  * Check eligibility for the custom-link variant of external purchase (iOS 18.1+).
1391
1391
  * Returns true if the app can use custom external purchase links.
1392
1392
  * Reference: https://developer.apple.com/documentation/storekit/externalpurchasecustomlink/iseligible
1393
- * See: https://www.openiap.dev/docs/apis/ios/is-eligible-for-external-purchase-custom-link-ios
1393
+ * See: https://openiap.dev/docs/apis/ios/is-eligible-for-external-purchase-custom-link-ios
1394
1394
  */
1395
1395
  isEligibleForExternalPurchaseCustomLinkIOS: Promise<boolean>;
1396
1396
  /**
1397
1397
  * Check intro-offer eligibility for a subscription group.
1398
- * See: https://www.openiap.dev/docs/apis/ios/is-eligible-for-intro-offer-ios
1398
+ * See: https://openiap.dev/docs/apis/ios/is-eligible-for-intro-offer-ios
1399
1399
  */
1400
1400
  isEligibleForIntroOfferIOS: Promise<boolean>;
1401
1401
  /**
1402
1402
  * Check whether a transaction's JWS verification passed (StoreKit 2).
1403
- * See: https://www.openiap.dev/docs/apis/ios/is-transaction-verified-ios
1403
+ * See: https://openiap.dev/docs/apis/ios/is-transaction-verified-ios
1404
1404
  */
1405
1405
  isTransactionVerifiedIOS: Promise<boolean>;
1406
1406
  /**
1407
1407
  * Get the latest verified transaction for a product, using StoreKit 2.
1408
- * See: https://www.openiap.dev/docs/apis/ios/latest-transaction-ios
1408
+ * See: https://openiap.dev/docs/apis/ios/latest-transaction-ios
1409
1409
  */
1410
1410
  latestTransactionIOS?: Promise<(PurchaseIOS | null)>;
1411
1411
  /**
1412
1412
  * Get subscription status objects from StoreKit 2 (iOS 15+).
1413
- * See: https://www.openiap.dev/docs/apis/ios/subscription-status-ios
1413
+ * See: https://openiap.dev/docs/apis/ios/subscription-status-ios
1414
1414
  */
1415
1415
  subscriptionStatusIOS: Promise<SubscriptionStatusIOS[]>;
1416
1416
  /**
1417
1417
  * Deprecated. Legacy App Store receipt validation — use verifyPurchase instead.
1418
- * See: https://www.openiap.dev/docs/apis/ios/validate-receipt-ios
1418
+ * See: https://openiap.dev/docs/apis/ios/validate-receipt-ios
1419
1419
  * @deprecated Use verifyPurchase
1420
1420
  */
1421
1421
  validateReceiptIOS: Promise<VerifyPurchaseResultIOS>;