react-native-nitro-pose-exercises 1.1.3 → 1.1.5

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.
@@ -20,7 +20,7 @@ import kotlin.math.sqrt
20
20
 
21
21
  @Keep
22
22
  @DoNotStrip
23
- class HybridPoseExercise : HybridNitroPoseExercisesSpec() {
23
+ class NitroPoseExercises : HybridNitroPoseExercisesSpec() {
24
24
 
25
25
  // ─── ML Kit ─────────────────────────────────────────────────
26
26
  private var poseDetector: PoseDetector? = null
@@ -199,7 +199,7 @@ class NitroPoseExercises: HybridNitroPoseExercisesSpec {
199
199
  // Fill all slots with zero-visibility first
200
200
  var landmarkArray = [Landmark](repeating: Landmark(x: 0, y: 0, z: 0, visibility: 0), count: 34)
201
201
 
202
- for (jointName, mediaPipeIndex) in HybridPoseExercise.visionToMediaPipeMap {
202
+ for (jointName, mediaPipeIndex) in NitroPoseExercises.visionToMediaPipeMap {
203
203
  guard mediaPipeIndex < 34 else { continue }
204
204
 
205
205
  do {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-nitro-pose-exercises",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "Real-time on-device exercise tracking for React Native. Rep counting, form validation, and skeleton overlay powered by Apple Vision (iOS) and Google ML Kit (Android) with VisionCamera v5 via Nitro Modules.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",