react-native-spike-sdk 2.2.9 → 2.2.10

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.
@@ -76,7 +76,7 @@ dependencies {
76
76
  //noinspection GradleDynamicVersion
77
77
  implementation "com.facebook.react:react-android:0.71.3"
78
78
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
79
- implementation 'com.spikeapi.sdk:spike-sdk:3.0.8'
79
+ implementation 'com.spikeapi.sdk:spike-sdk:3.0.10'
80
80
  implementation 'androidx.core:core-ktx:1.9.0'
81
81
  implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
82
82
  implementation 'com.google.code.gson:gson:2.10.1'
@@ -27,7 +27,7 @@ fun SpikeDataType<out SpikeData>.toStringType(): String = when (this) {
27
27
  SpikeDataTypes.HEART_RATE -> "heart"
28
28
  SpikeDataTypes.SLEEP -> "sleep"
29
29
  SpikeDataTypes.STEPS -> "steps"
30
- // SpikeDataTypes.STEPS_INTRADAY -> "steps_intraday"
30
+ SpikeDataTypes.INTRADAY_STEPS -> "steps_intraday"
31
31
  SpikeDataTypes.ACTIVITIES_STREAM -> "activities_stream"
32
32
  SpikeDataTypes.ACTIVITIES_SUMMARY -> "activities_summary"
33
33
  SpikeDataTypes.BREATHING -> "breathing"
@@ -43,7 +43,7 @@ fun String.toSpikeDataType(): SpikeDataType<out SpikeData> = when (this) {
43
43
  "heart" -> SpikeDataTypes.HEART_RATE
44
44
  "sleep" -> SpikeDataTypes.SLEEP
45
45
  "steps" -> SpikeDataTypes.STEPS
46
- // "steps_intraday" -> SpikeDataTypes.STEPS_INTRADAY
46
+ "steps_intraday" -> SpikeDataTypes.INTRADAY_STEPS
47
47
  "activities_stream" -> SpikeDataTypes.ACTIVITIES_STREAM
48
48
  "activities_summary" -> SpikeDataTypes.ACTIVITIES_SUMMARY
49
49
  "breathing" -> SpikeDataTypes.BREATHING
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-spike-sdk",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "Spike API for health and productivity data from wearables and IoT devices",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -5,7 +5,7 @@ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = "react-native-spike-sdk"
8
- s.version = "2.2.9"
8
+ s.version = "2.2.10"
9
9
  s.summary = "Spike API for health and productivity data from wearables and IoT devices"
10
10
 
11
11
  s.description = <<-DESC