@tryvital/vital-core-react-native 1.5.1 → 1.7.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.
- package/android/.DS_Store +0 -0
- package/android/build/.transforms/02e4659475ffc7a86a28c4fd2eb4e342/transformed/out/jars/classes.jar +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeQuantitySample.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.dex +0 -0
- package/android/build/.transforms/38d6dcf5f4478590d01d42a63c816325/transformed/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.dex +0 -0
- package/android/build/.transforms/906c6adc574efcda43ab9f7ab88d85cf/transformed/release/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.dex +0 -0
- package/android/build/.transforms/906c6adc574efcda43ab9f7ab88d85cf/transformed/release/com/vitalcorereactnative/VitalCoreReactNativeModule.dex +0 -0
- package/android/build/.transforms/906c6adc574efcda43ab9f7ab88d85cf/transformed/release/com/vitalcorereactnative/VitalCoreReactNativePackage.dex +0 -0
- package/android/build/intermediates/aar_main_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/aar_main_jar/release/classes.jar +0 -0
- package/android/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debugUnitTest/R.jar +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_library_classes_jar/release/classes.jar +0 -0
- package/android/build/intermediates/full_jar/release/full.jar +0 -0
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/release-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/library_java_res/release/res.jar +0 -0
- package/android/build/intermediates/local_aar_for_lint/release/out.aar +0 -0
- package/android/build/intermediates/merged_java_res/debug/feature-tryvital_vital-core-react-native.jar +0 -0
- package/android/build/intermediates/merged_java_res/release/feature-tryvital_vital-core-react-native.jar +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeQuantitySample.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/META-INF/tryvital_vital-core-react-native_release.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/release/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/release/classes.jar +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.s +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugUnitTestKotlin/local-state/build-history.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileReleaseKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileReleaseKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/aar/tryvital_vital-core-react-native-debug.aar +0 -0
- package/android/build/outputs/aar/tryvital_vital-core-react-native-release.aar +0 -0
- package/android/build/reports/tests/testDebugUnitTest/classes/com.vitalcorereactnative.SerializationTests.html +101 -0
- package/android/build/reports/tests/testDebugUnitTest/css/base-style.css +179 -0
- package/android/build/reports/tests/testDebugUnitTest/css/style.css +84 -0
- package/android/build/reports/tests/testDebugUnitTest/index.html +133 -0
- package/android/build/reports/tests/testDebugUnitTest/js/report.js +194 -0
- package/android/build/reports/tests/testDebugUnitTest/packages/com.vitalcorereactnative.html +103 -0
- package/android/build/test-results/testDebugUnitTest/TEST-com.vitalcorereactnative.SerializationTests.xml +8 -0
- package/android/build/test-results/testDebugUnitTest/binary/output.bin +0 -0
- package/android/build/test-results/testDebugUnitTest/binary/output.bin.idx +0 -0
- package/android/build/test-results/testDebugUnitTest/binary/results.bin +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/compileReleaseJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeBloodPressureSample.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeQuantitySample.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$BloodPressure.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData$Glucose.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/ReactNativeTimeSeriesData.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$cleanUp$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$createConnectedSourceIfNotExist$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$postTimeSeriesData$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnectedSources$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debugUnitTest/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debugUnitTest/com/vitalcorereactnative/SerializationTests.class +0 -0
- package/android/build/tmp/kotlin-classes/release/META-INF/tryvital_vital-core-react-native_release.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/release/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
- package/android/build/tmp/kotlin-classes/release/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
- package/android/build.gradle +7 -0
- package/android/gradle.properties +1 -1
- package/android/src/.DS_Store +0 -0
- package/android/src/main/java/com/vitalcorereactnative/VitalCoreReactNativeModule.kt +188 -2
- package/android/src/main/java/com/vitalcorereactnative/timeSeriesData.kt +55 -0
- package/android/src/test/java/com/vitalcorereactnative/SerializationTests.kt +98 -0
- package/ios/VitalCoreReactNative.m +11 -0
- package/ios/VitalCoreReactNative.swift +67 -5
- package/lib/commonjs/index.js +9 -4
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +9 -4
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +4 -4
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/models/Provider.d.ts +5 -0
- package/lib/typescript/models/Provider.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +17 -4
- package/src/models/Provider.ts +6 -0
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import VitalCore
|
|
2
2
|
|
|
3
|
+
private let errorKey = "VitalCoreError"
|
|
4
|
+
|
|
3
5
|
@objc(VitalCoreReactNative)
|
|
4
6
|
class VitalCoreReactNative: NSObject {
|
|
5
7
|
|
|
@@ -45,6 +47,66 @@ class VitalCoreReactNative: NSObject {
|
|
|
45
47
|
resolve(())
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
@objc(hasUserConnectedTo:resolver:rejecter:)
|
|
51
|
+
func hasUserConnectedTo(
|
|
52
|
+
_ provider: String,
|
|
53
|
+
resolve: @escaping RCTPromiseResolveBlock,
|
|
54
|
+
reject: @escaping RCTPromiseRejectBlock
|
|
55
|
+
) {
|
|
56
|
+
guard let slug = Provider.Slug(rawValue: provider) else {
|
|
57
|
+
reject(errorKey, "Unrecognized provider slug: \(provider)", nil)
|
|
58
|
+
return
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
Task {
|
|
62
|
+
do {
|
|
63
|
+
let result = try await VitalClient.shared.isUserConnected(to: slug)
|
|
64
|
+
resolve(result)
|
|
65
|
+
} catch let error {
|
|
66
|
+
reject(errorKey, error.localizedDescription, error)
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@objc(userConnectedSources:rejecter:)
|
|
72
|
+
func userConnectedSources(
|
|
73
|
+
resolve: @escaping RCTPromiseResolveBlock,
|
|
74
|
+
reject: @escaping RCTPromiseRejectBlock
|
|
75
|
+
) {
|
|
76
|
+
Task {
|
|
77
|
+
do {
|
|
78
|
+
let sources = try await VitalClient.shared.user.userConnectedSources()
|
|
79
|
+
let jsonObjects = sources.map { source -> [String: String?] in
|
|
80
|
+
["name": source.name, "slug": source.slug.rawValue, "logo": source.logo]
|
|
81
|
+
}
|
|
82
|
+
resolve(jsonObjects)
|
|
83
|
+
} catch let error {
|
|
84
|
+
reject(errorKey, error.localizedDescription, error)
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@objc(createConnectedSourceIfNotExist:resolver:rejecter:)
|
|
90
|
+
func createConnectedSourceIfNotExist(
|
|
91
|
+
for provider: String,
|
|
92
|
+
resolve: @escaping RCTPromiseResolveBlock,
|
|
93
|
+
reject: @escaping RCTPromiseRejectBlock
|
|
94
|
+
) {
|
|
95
|
+
guard let slug = Provider.Slug(rawValue: provider) else {
|
|
96
|
+
reject(errorKey, "Unrecognized provider slug: \(provider)", nil)
|
|
97
|
+
return
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
Task {
|
|
101
|
+
do {
|
|
102
|
+
try await VitalClient.shared.checkConnectedSource(for: slug)
|
|
103
|
+
resolve(())
|
|
104
|
+
} catch let error {
|
|
105
|
+
reject(errorKey, error.localizedDescription, error)
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
48
110
|
@objc(postTimeSeriesData:provider:timeZone:resolver:rejecter:)
|
|
49
111
|
func postTimeSeriesData(
|
|
50
112
|
_ jsonString: String,
|
|
@@ -57,7 +119,7 @@ class VitalCoreReactNative: NSObject {
|
|
|
57
119
|
|
|
58
120
|
if let name = timeZoneString {
|
|
59
121
|
guard let namedTimeZone = TimeZone(identifier: name) else {
|
|
60
|
-
reject(
|
|
122
|
+
reject(errorKey, "Unrecognized named time zone: \(name)", nil)
|
|
61
123
|
return
|
|
62
124
|
}
|
|
63
125
|
|
|
@@ -67,12 +129,12 @@ class VitalCoreReactNative: NSObject {
|
|
|
67
129
|
}
|
|
68
130
|
|
|
69
131
|
guard let jsonData = jsonString.data(using: .utf8) else {
|
|
70
|
-
reject(
|
|
132
|
+
reject(errorKey, "Failed to coerce the provided JSON String as UTF-8 data", nil)
|
|
71
133
|
return
|
|
72
134
|
}
|
|
73
135
|
|
|
74
136
|
guard let slug = Provider.Slug(rawValue: provider) else {
|
|
75
|
-
reject(
|
|
137
|
+
reject(errorKey, "Unrecognized provider slug: \(provider)", nil)
|
|
76
138
|
return
|
|
77
139
|
}
|
|
78
140
|
|
|
@@ -82,7 +144,7 @@ class VitalCoreReactNative: NSObject {
|
|
|
82
144
|
let decoder = jsonDecoder()
|
|
83
145
|
decoded = try decoder.decode(RNTimeSeriesData.self, from: jsonData)
|
|
84
146
|
} catch let error {
|
|
85
|
-
reject(
|
|
147
|
+
reject(errorKey, "Failed to decode the provided JSON String: \(error)", error)
|
|
86
148
|
return
|
|
87
149
|
}
|
|
88
150
|
|
|
@@ -96,7 +158,7 @@ class VitalCoreReactNative: NSObject {
|
|
|
96
158
|
)
|
|
97
159
|
resolve(())
|
|
98
160
|
} catch let error {
|
|
99
|
-
reject(
|
|
161
|
+
reject(errorKey, error.localizedDescription, error)
|
|
100
162
|
}
|
|
101
163
|
}
|
|
102
164
|
}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -61,10 +61,15 @@ class VitalCore {
|
|
|
61
61
|
static configure(apiKey, environment, region, enableLogs) {
|
|
62
62
|
return VitalCoreReactNative.configure(apiKey, environment, region, enableLogs);
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
static hasUserConnectedTo(provider) {
|
|
65
|
+
return VitalCoreReactNative.hasUserConnectedTo(provider);
|
|
66
|
+
}
|
|
67
|
+
static userConnectedSources() {
|
|
68
|
+
return VitalCoreReactNative.userConnectedSources();
|
|
69
|
+
}
|
|
70
|
+
static createConnectedSourceIfNotExist(provider) {
|
|
71
|
+
return VitalCoreReactNative.createConnectedSourceIfNotExist(provider);
|
|
72
|
+
}
|
|
68
73
|
static postTimeSeriesData(data, provider) {
|
|
69
74
|
let timeZone = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
70
75
|
return VitalCoreReactNative.postTimeSeriesData(JSON.stringify(data), provider, timeZone);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["LINKING_ERROR","Platform","select","ios","default","VitalCoreReactNative","NativeModules","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","
|
|
1
|
+
{"version":3,"names":["LINKING_ERROR","Platform","select","ios","default","VitalCoreReactNative","NativeModules","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","hasUserConnectedTo","provider","userConnectedSources","createConnectedSourceIfNotExist","postTimeSeriesData","data","timeZone","undefined","JSON","stringify","cleanUp"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAIA;AACA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAuD;AAEvD,MAAMA,aAAa,GAChB,kFAAiF,GAClFC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,oBAAoB,GAAGC,0BAAa,CAACD,oBAAoB,GAC3DC,0BAAa,CAACD,oBAAoB,GAClC,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEE,MAAMU,SAAS,CAAC;EACrB,OAAOC,SAAS,CAACC,MAAc,EAAiB;IAC9C,OAAOP,oBAAoB,CAACM,SAAS,CAACC,MAAM,CAAC;EAC/C;EAEA,OAAOC,SAAS,CACdC,MAAc,EACdC,WAAmB,EACnBC,MAAc,EACdC,UAAmB,EACJ;IACf,OAAOZ,oBAAoB,CAACQ,SAAS,CACnCC,MAAM,EACNC,WAAW,EACXC,MAAM,EACNC,UAAU,CACX;EACH;EAEA,OAAOC,kBAAkB,CACvBC,QAA4B,EACV;IAClB,OAAOd,oBAAoB,CAACa,kBAAkB,CAACC,QAAQ,CAAC;EAC1D;EAEA,OAAOC,oBAAoB,GAAwB;IACjD,OAAOf,oBAAoB,CAACe,oBAAoB,EAAE;EACpD;EAEA,OAAOC,+BAA+B,CACpCF,QAA4B,EACb;IACf,OAAOd,oBAAoB,CAACgB,+BAA+B,CAACF,QAAQ,CAAC;EACvE;EAEA,OAAOG,kBAAkB,CACvBC,IAAoB,EACpBJ,QAA4B,EAEb;IAAA,IADfK,QAA4B,uEAAGC,SAAS;IAExC,OAAOpB,oBAAoB,CAACiB,kBAAkB,CAC5CI,IAAI,CAACC,SAAS,CAACJ,IAAI,CAAC,EACpBJ,QAAQ,EACRK,QAAQ,CACT;EACH;EAEA,OAAOI,OAAO,GAAkB;IAC9B,OAAOvB,oBAAoB,CAACuB,OAAO,EAAE;EACvC;AACF;AAAC"}
|
package/lib/module/index.js
CHANGED
|
@@ -19,10 +19,15 @@ export class VitalCore {
|
|
|
19
19
|
static configure(apiKey, environment, region, enableLogs) {
|
|
20
20
|
return VitalCoreReactNative.configure(apiKey, environment, region, enableLogs);
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
static hasUserConnectedTo(provider) {
|
|
23
|
+
return VitalCoreReactNative.hasUserConnectedTo(provider);
|
|
24
|
+
}
|
|
25
|
+
static userConnectedSources() {
|
|
26
|
+
return VitalCoreReactNative.userConnectedSources();
|
|
27
|
+
}
|
|
28
|
+
static createConnectedSourceIfNotExist(provider) {
|
|
29
|
+
return VitalCoreReactNative.createConnectedSourceIfNotExist(provider);
|
|
30
|
+
}
|
|
26
31
|
static postTimeSeriesData(data, provider) {
|
|
27
32
|
let timeZone = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
28
33
|
return VitalCoreReactNative.postTimeSeriesData(JSON.stringify(data), provider, timeZone);
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeModules","Platform","default","QuantitySample","BloodPressureSample","ManualProviderSlug","LINKING_ERROR","select","ios","VitalCoreReactNative","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","
|
|
1
|
+
{"version":3,"names":["NativeModules","Platform","default","QuantitySample","BloodPressureSample","ManualProviderSlug","LINKING_ERROR","select","ios","VitalCoreReactNative","Proxy","get","Error","VitalCore","setUserId","userId","configure","apiKey","environment","region","enableLogs","hasUserConnectedTo","provider","userConnectedSources","createConnectedSourceIfNotExist","postTimeSeriesData","data","timeZone","undefined","JSON","stringify","cleanUp"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAItD,SAASC,OAAO,IAAIC,cAAc,QAAQ,yBAAyB;AACnE,SAASD,OAAO,IAAIE,mBAAmB,QAAQ,8BAA8B;AAC7E,cAAc,yBAAyB;AACvC,SAASC,kBAAkB,QAAQ,mBAAmB;AAEtD,MAAMC,aAAa,GAChB,kFAAiF,GAClFL,QAAQ,CAACM,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEN,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMO,oBAAoB,GAAGT,aAAa,CAACS,oBAAoB,GAC3DT,aAAa,CAACS,oBAAoB,GAClC,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACN,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEL,OAAO,MAAMO,SAAS,CAAC;EACrB,OAAOC,SAAS,CAACC,MAAc,EAAiB;IAC9C,OAAON,oBAAoB,CAACK,SAAS,CAACC,MAAM,CAAC;EAC/C;EAEA,OAAOC,SAAS,CACdC,MAAc,EACdC,WAAmB,EACnBC,MAAc,EACdC,UAAmB,EACJ;IACf,OAAOX,oBAAoB,CAACO,SAAS,CACnCC,MAAM,EACNC,WAAW,EACXC,MAAM,EACNC,UAAU,CACX;EACH;EAEA,OAAOC,kBAAkB,CACvBC,QAA4B,EACV;IAClB,OAAOb,oBAAoB,CAACY,kBAAkB,CAACC,QAAQ,CAAC;EAC1D;EAEA,OAAOC,oBAAoB,GAAwB;IACjD,OAAOd,oBAAoB,CAACc,oBAAoB,EAAE;EACpD;EAEA,OAAOC,+BAA+B,CACpCF,QAA4B,EACb;IACf,OAAOb,oBAAoB,CAACe,+BAA+B,CAACF,QAAQ,CAAC;EACvE;EAEA,OAAOG,kBAAkB,CACvBC,IAAoB,EACpBJ,QAA4B,EAEb;IAAA,IADfK,QAA4B,uEAAGC,SAAS;IAExC,OAAOnB,oBAAoB,CAACgB,kBAAkB,CAC5CI,IAAI,CAACC,SAAS,CAACJ,IAAI,CAAC,EACpBJ,QAAQ,EACRK,QAAQ,CACT;EACH;EAEA,OAAOI,OAAO,GAAkB;IAC9B,OAAOtB,oBAAoB,CAACsB,OAAO,EAAE;EACvC;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TimeSeriesData } from './models/TimeSeriesData';
|
|
2
|
-
import type { ManualProviderSlug } from './models/Provider';
|
|
2
|
+
import type { ManualProviderSlug, Provider } from './models/Provider';
|
|
3
3
|
export { default as QuantitySample } from './models/QuantitySample';
|
|
4
4
|
export { default as BloodPressureSample } from './models/BloodPressureSample';
|
|
5
5
|
export * from './models/TimeSeriesData';
|
|
@@ -7,9 +7,9 @@ export { ManualProviderSlug } from './models/Provider';
|
|
|
7
7
|
export declare class VitalCore {
|
|
8
8
|
static setUserId(userId: string): Promise<void>;
|
|
9
9
|
static configure(apiKey: string, environment: string, region: string, enableLogs: boolean): Promise<void>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
static hasUserConnectedTo(provider: ManualProviderSlug): Promise<boolean>;
|
|
11
|
+
static userConnectedSources(): Promise<Provider[]>;
|
|
12
|
+
static createConnectedSourceIfNotExist(provider: ManualProviderSlug): Promise<void>;
|
|
13
13
|
static postTimeSeriesData(data: TimeSeriesData, provider: ManualProviderSlug, timeZone?: string | undefined): Promise<void>;
|
|
14
14
|
static cleanUp(): Promise<void>;
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAEtE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAmBvD,qBAAa,SAAS;IACpB,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI/C,MAAM,CAAC,SAAS,CACd,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,OAAO,GAClB,OAAO,CAAC,IAAI,CAAC;IAShB,MAAM,CAAC,kBAAkB,CACvB,QAAQ,EAAE,kBAAkB,GAC3B,OAAO,CAAC,OAAO,CAAC;IAInB,MAAM,CAAC,oBAAoB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAIlD,MAAM,CAAC,+BAA+B,CACpC,QAAQ,EAAE,kBAAkB,GAC3B,OAAO,CAAC,IAAI,CAAC;IAIhB,MAAM,CAAC,kBAAkB,CACvB,IAAI,EAAE,cAAc,EACpB,QAAQ,EAAE,kBAAkB,EAC5B,QAAQ,GAAE,MAAM,GAAG,SAAqB,GACvC,OAAO,CAAC,IAAI,CAAC;IAQhB,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhC"}
|
|
@@ -8,4 +8,9 @@ export declare enum ManualProviderSlug {
|
|
|
8
8
|
AppleHealthKit = "apple_health_kit",
|
|
9
9
|
HealthConnect = "health_connect"
|
|
10
10
|
}
|
|
11
|
+
export interface Provider {
|
|
12
|
+
name: string;
|
|
13
|
+
slug: ManualProviderSlug | string;
|
|
14
|
+
logo?: string;
|
|
15
|
+
}
|
|
11
16
|
//# sourceMappingURL=Provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/models/Provider.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC1B,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,QAAQ,wBAAwB;IAChC,MAAM,WAAW;IACjB,cAAc,qBAAqB;IACnC,aAAa,mBAAmB;CACnC"}
|
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../src/models/Provider.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC1B,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,QAAQ,wBAAwB;IAChC,MAAM,WAAW;IACjB,cAAc,qBAAqB;IACnC,aAAa,mBAAmB;CACnC;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAAA;IACjC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NativeModules, Platform } from 'react-native';
|
|
2
2
|
import type { TimeSeriesData } from './models/TimeSeriesData';
|
|
3
|
-
import type { ManualProviderSlug } from './models/Provider';
|
|
3
|
+
import type { ManualProviderSlug, Provider } from './models/Provider';
|
|
4
4
|
|
|
5
5
|
export { default as QuantitySample } from './models/QuantitySample';
|
|
6
6
|
export { default as BloodPressureSample } from './models/BloodPressureSample';
|
|
@@ -43,9 +43,22 @@ export class VitalCore {
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
static hasUserConnectedTo(
|
|
47
|
+
provider: ManualProviderSlug
|
|
48
|
+
): Promise<boolean> {
|
|
49
|
+
return VitalCoreReactNative.hasUserConnectedTo(provider);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static userConnectedSources(): Promise<Provider[]> {
|
|
53
|
+
return VitalCoreReactNative.userConnectedSources();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static createConnectedSourceIfNotExist(
|
|
57
|
+
provider: ManualProviderSlug
|
|
58
|
+
): Promise<void> {
|
|
59
|
+
return VitalCoreReactNative.createConnectedSourceIfNotExist(provider);
|
|
60
|
+
}
|
|
61
|
+
|
|
49
62
|
static postTimeSeriesData(
|
|
50
63
|
data: TimeSeriesData,
|
|
51
64
|
provider: ManualProviderSlug,
|