react-native-iap 14.4.43 → 14.4.45

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.
@@ -339,7 +339,7 @@ class HybridRnIap : HybridRnIapSpec() {
339
339
 
340
340
  if (activity == null) {
341
341
  RnIapLog.warn("requestPurchase: Activity is null - cannot start purchase flow")
342
- sendPurchaseError(toErrorResult(OpenIAPError.ActivityUnavailable))
342
+ sendPurchaseError(toErrorResult(OpenIAPError.MissingCurrentActivity))
343
343
  return@async defaultResult
344
344
  }
345
345
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "apple": "1.2.36",
3
- "google": "1.3.6",
2
+ "apple": "1.2.38",
3
+ "google": "1.3.7",
4
4
  "gql": "1.2.5"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
- "version": "14.4.43",
3
+ "version": "14.4.45",
4
4
  "description": "React Native In-App Purchases module for iOS and Android using Nitro",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",