expo-iap 2.2.8 → 2.2.9

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.
@@ -188,7 +188,7 @@ public class ExpoIapModule: Module {
188
188
  self.removeTransactionObserver()
189
189
  }
190
190
 
191
- Function("initConnection") {
191
+ Function("initConnection") { () -> Bool in
192
192
  self.productStore = ProductStore()
193
193
  return AppStore.canMakePayments
194
194
  }
@@ -625,7 +625,7 @@ public class ExpoIapModule: Module {
625
625
  #endif
626
626
  }
627
627
 
628
- Function("disable") {
628
+ Function("disable") { () -> Bool in
629
629
  self.removeTransactionObserver()
630
630
  return true
631
631
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-iap",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "In App Purchase module in Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",