@kingstinct/react-native-healthkit 13.2.0 → 13.2.1
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.
- package/ios/WorkoutProxy.swift +4 -0
- package/package.json +2 -2
package/ios/WorkoutProxy.swift
CHANGED
|
@@ -214,6 +214,10 @@ class WorkoutProxy: HybridWorkoutProxySpec {
|
|
|
214
214
|
return WorkoutSample(
|
|
215
215
|
workoutActivityType: self.workoutActivityType,
|
|
216
216
|
duration: self.duration,
|
|
217
|
+
totalEnergyBurned: self.totalEnergyBurned,
|
|
218
|
+
totalDistance: self.totalDistance,
|
|
219
|
+
totalSwimmingStrokeCount: self.totalSwimmingStrokeCount,
|
|
220
|
+
totalFlightsClimbed: self.totalFlightsClimbed,
|
|
217
221
|
events: self.events,
|
|
218
222
|
activities: self.activities,
|
|
219
223
|
metadataAverageMETs: self.metadataAverageMETs,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kingstinct/react-native-healthkit",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.1",
|
|
4
4
|
"description": "React Native bindings for HealthKit",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -100,6 +100,6 @@
|
|
|
100
100
|
"peerDependencies": {
|
|
101
101
|
"react": ">=19",
|
|
102
102
|
"react-native": ">=0.79",
|
|
103
|
-
"react-native-nitro-modules": ">=0.30"
|
|
103
|
+
"react-native-nitro-modules": ">=0.30.0 <0.33.0"
|
|
104
104
|
}
|
|
105
105
|
}
|