@kingstinct/react-native-healthkit 12.1.1 → 12.1.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.
@@ -100,7 +100,7 @@ class CorrelationTypeModule: HybridCorrelationTypeModuleSpec {
100
100
  return
101
101
  }
102
102
 
103
- guard let correlations = correlations else {
103
+ guard let correlations = correlations, !correlations.isEmpty else {
104
104
  continuation.resume(returning: [])
105
105
  return
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingstinct/react-native-healthkit",
3
- "version": "12.1.1",
3
+ "version": "12.1.2",
4
4
  "description": "React Native bindings for HealthKit",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",