react-native-iap 14.7.13 → 14.7.14

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.
@@ -1089,7 +1089,10 @@ class HybridRnIap: HybridRnIapSpec {
1089
1089
  lastPurchaseErrorTimestamp = 0
1090
1090
  deliveredPurchaseEventKeys.removeAll()
1091
1091
  deliveredPurchaseEventOrder.removeAll()
1092
- purchasePayloadById.removeAll()
1092
+ }
1093
+ // Clear purchasePayloadById on MainActor to match its access pattern
1094
+ Task { @MainActor in
1095
+ self.purchasePayloadById.removeAll()
1093
1096
  }
1094
1097
  }
1095
1098
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-iap",
3
- "version": "14.7.13",
3
+ "version": "14.7.14",
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",