react-native-rook-sdk 1.1.0 → 1.1.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.
@@ -507,8 +507,12 @@ class RookSyncModule(
507
507
  }
508
508
 
509
509
  is SyncStatusWithData.Synced -> {
510
- val steps = it.data
511
- promise.resolve(steps)
510
+ val data = Arguments.createMap().apply {
511
+ putDouble("basal", it.data.basal)
512
+ putDouble("active", it.data.active)
513
+ }
514
+
515
+ promise.resolve(data)
512
516
  }
513
517
  }
514
518
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rook-sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Rook sdk for apple health and health connect",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",