@flomentumsolutions/capacitor-health-extended 0.6.0 → 0.6.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.
@@ -629,17 +629,17 @@ public class HealthPlugin: CAPPlugin, CAPBridgedPlugin {
629
629
 
630
630
  private func mapFitzpatrickSkinType(_ skinType: HKFitzpatrickSkinType) -> String {
631
631
  switch skinType {
632
- case .typeI:
632
+ case .I:
633
633
  return "type1"
634
- case .typeII:
634
+ case .II:
635
635
  return "type2"
636
- case .typeIII:
636
+ case .III:
637
637
  return "type3"
638
- case .typeIV:
638
+ case .IV:
639
639
  return "type4"
640
- case .typeV:
640
+ case .V:
641
641
  return "type5"
642
- case .typeVI:
642
+ case .VI:
643
643
  return "type6"
644
644
  case .notSet:
645
645
  return "not_set"
@@ -650,9 +650,9 @@ public class HealthPlugin: CAPPlugin, CAPBridgedPlugin {
650
650
 
651
651
  private func mapWheelchairUse(_ wheelchairUse: HKWheelchairUse) -> String {
652
652
  switch wheelchairUse {
653
- case .wheelchairUser:
653
+ case .yes:
654
654
  return "wheelchair_user"
655
- case .notWheelchairUser:
655
+ case .no:
656
656
  return "not_wheelchair_user"
657
657
  case .notSet:
658
658
  return "not_set"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flomentumsolutions/capacitor-health-extended",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Capacitor plugin for Apple HealthKit and Google Health Connect Platform",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",