react-native-iap 8.0.1 → 8.0.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.
Binary file
@@ -378,7 +378,7 @@ class RNIapIos: RCTEventEmitter, SKRequestDelegate, SKPaymentTransactionObserver
378
378
  resolve: @escaping RCTPromiseResolveBlock = { _ in },
379
379
  reject: @escaping RCTPromiseRejectBlock = { _, _, _ in }
380
380
  ) {
381
- finishTransaction(withIdentifier: transactionIdentifier)
381
+ SKPaymentQueue.default().finishTransaction(withIdentifier: transactionIdentifier)
382
382
  }
383
383
 
384
384
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "packageManager": "yarn@3.1.1",
5
5
  "description": "React Native In App Purchase Module.",
6
6
  "main": "index.js",