@tryvital/vital-health-react-native 1.12.0 → 1.13.0

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.
@@ -130,7 +130,7 @@ repositories {
130
130
  }
131
131
 
132
132
  def kotlin_version = getExtOrDefault('kotlinVersion')
133
- def vital_sdk_version = '1.0.0-beta.18'
133
+ def vital_sdk_version = '1.0.0-beta.20'
134
134
  def health_connect_version = '1.0.0-alpha11'
135
135
 
136
136
  dependencies {
@@ -10,7 +10,7 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
10
10
  class HealthConfig {
11
11
  constructor() {
12
12
  _defineProperty(this, "logsEnabled", true);
13
- _defineProperty(this, "numberOfDaysToBackFill", 90);
13
+ _defineProperty(this, "numberOfDaysToBackFill", 30);
14
14
  _defineProperty(this, "androidConfig", new AndroidHealthConfig());
15
15
  _defineProperty(this, "iOSConfig", new IOSHealthConfig());
16
16
  }
@@ -4,7 +4,7 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
4
4
  export class HealthConfig {
5
5
  constructor() {
6
6
  _defineProperty(this, "logsEnabled", true);
7
- _defineProperty(this, "numberOfDaysToBackFill", 90);
7
+ _defineProperty(this, "numberOfDaysToBackFill", 30);
8
8
  _defineProperty(this, "androidConfig", new AndroidHealthConfig());
9
9
  _defineProperty(this, "iOSConfig", new IOSHealthConfig());
10
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-health-react-native",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "Client to access iOS's HealthKit and Android HealthConnect",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -1,6 +1,6 @@
1
1
  export class HealthConfig {
2
2
  logsEnabled = true;
3
- numberOfDaysToBackFill = 90;
3
+ numberOfDaysToBackFill = 30;
4
4
  androidConfig = new AndroidHealthConfig();
5
5
  iOSConfig = new IOSHealthConfig();
6
6
  }
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
18
18
 
19
19
  s.dependency "React-Core"
20
- s.dependency "VitalHealthKit", "~> 0.10.1"
20
+ s.dependency "VitalHealthKit", "~> 0.10.6"
21
21
 
22
22
  # Don't install the dependencies when we run `pod install` in the old architecture.
23
23
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then