@tryvital/vital-core-react-native 3.2.4 → 4.0.0-beta.2

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.
Files changed (245) hide show
  1. package/android/build/.transforms/1be3c2be8ad1ed6132eb0b46558340a7/results.bin +1 -0
  2. package/android/build/.transforms/30f7754a7401ab7be01f036da7754895/results.bin +1 -0
  3. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/results.bin +1 -0
  4. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/BuildConfig.dex +0 -0
  5. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.dex +0 -0
  6. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1$1.dex +0 -0
  7. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1.dex +0 -0
  8. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$deregisterProvider$1.dex +0 -0
  9. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$getAccessToken$1.dex +0 -0
  10. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$refreshToken$1.dex +0 -0
  11. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$signIn$1.dex +0 -0
  12. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$signOut$1.dex +0 -0
  13. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnections$1.dex +0 -0
  14. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModule.dex +0 -0
  15. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.dex +0 -0
  16. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.dex +0 -0
  17. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/debug_dex/com/vitalcorereactnative/VitalCoreReactNativePackage.dex +0 -0
  18. package/android/build/.transforms/777b23048718230f4c0f0cce43c34ef3/transformed/debug/desugar_graph.bin +0 -0
  19. package/android/build/.transforms/a2e16f814dd9edf032f8eb92e9e47b96/results.bin +1 -0
  20. package/android/build/.transforms/b98b1f04923c4bc62a7ee968fd2ba191/results.bin +1 -0
  21. package/android/build/.transforms/b98b1f04923c4bc62a7ee968fd2ba191/transformed/classes/classes_dex/classes.dex +0 -0
  22. package/android/build/.transforms/d8c5dc502b2f1e597602ff2c39b84220/results.bin +1 -0
  23. package/android/build/generated/source/buildConfig/debug/com/vitalcorereactnative/BuildConfig.java +12 -0
  24. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +7 -0
  25. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +18 -0
  26. package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +5 -0
  27. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  28. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  29. package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  30. package/android/build/intermediates/compile_symbol_list/debug/R.txt +0 -0
  31. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
  32. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
  33. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  34. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  35. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  36. package/android/build/intermediates/java_res/debug/out/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  37. package/android/build/intermediates/javac/debug/classes/com/vitalcorereactnative/BuildConfig.class +0 -0
  38. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +2 -0
  39. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +7 -0
  40. package/android/build/intermediates/merged_manifest/debug/AndroidManifest.xml +7 -0
  41. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  42. package/android/build/intermediates/runtime_library_classes_dir/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  43. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/BuildConfig.class +0 -0
  44. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
  45. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1$1.class +0 -0
  46. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1.class +0 -0
  47. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$deregisterProvider$1.class +0 -0
  48. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$getAccessToken$1.class +0 -0
  49. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$refreshToken$1.class +0 -0
  50. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$signIn$1.class +0 -0
  51. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$signOut$1.class +0 -0
  52. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnections$1.class +0 -0
  53. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
  54. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
  55. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
  56. package/android/build/intermediates/runtime_library_classes_dir/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
  57. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  58. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +1 -0
  59. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.keystream.len +0 -0
  97. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.len +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/package-parts.tab_i.len +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  119. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  120. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  121. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  122. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  123. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  124. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  125. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  126. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  127. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  128. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  129. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
  130. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  131. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  132. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  133. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
  134. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  135. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
  136. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  137. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  138. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  139. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  140. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  141. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  142. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  143. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  144. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  145. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  146. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  147. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  148. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  149. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  150. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
  151. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  152. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  153. package/android/build/kspCaches/debug/ap-classpath-entries.bin +0 -0
  154. package/android/build/kspCaches/debug/caches.uptodate +0 -0
  155. package/android/build/kspCaches/debug/classLookups/counters.tab +2 -0
  156. package/android/build/kspCaches/debug/classLookups/file-to-id.tab +0 -0
  157. package/android/build/kspCaches/debug/classLookups/file-to-id.tab.keystream +0 -0
  158. package/android/build/kspCaches/debug/classLookups/file-to-id.tab.keystream.len +0 -0
  159. package/android/build/kspCaches/debug/classLookups/file-to-id.tab.len +0 -0
  160. package/android/build/kspCaches/debug/classLookups/file-to-id.tab.values.at +0 -0
  161. package/android/build/kspCaches/debug/classLookups/file-to-id.tab_i +0 -0
  162. package/android/build/kspCaches/debug/classLookups/file-to-id.tab_i.len +0 -0
  163. package/android/build/kspCaches/debug/classLookups/id-to-file.tab +0 -0
  164. package/android/build/kspCaches/debug/classLookups/id-to-file.tab.keystream +0 -0
  165. package/android/build/kspCaches/debug/classLookups/id-to-file.tab.keystream.len +0 -0
  166. package/android/build/kspCaches/debug/classLookups/id-to-file.tab.len +0 -0
  167. package/android/build/kspCaches/debug/classLookups/id-to-file.tab.values.at +0 -0
  168. package/android/build/kspCaches/debug/classLookups/lookups.tab +0 -0
  169. package/android/build/kspCaches/debug/classLookups/lookups.tab.keystream +0 -0
  170. package/android/build/kspCaches/debug/classLookups/lookups.tab.keystream.len +0 -0
  171. package/android/build/kspCaches/debug/classLookups/lookups.tab.len +0 -0
  172. package/android/build/kspCaches/debug/classLookups/lookups.tab.values.at +0 -0
  173. package/android/build/kspCaches/debug/classLookups/lookups.tab_i +0 -0
  174. package/android/build/kspCaches/debug/classLookups/lookups.tab_i.len +0 -0
  175. package/android/build/kspCaches/debug/classpath-entries.bin +0 -0
  176. package/android/build/kspCaches/debug/classpath-structure.bin +0 -0
  177. package/android/build/kspCaches/debug/sourceToOutputs +0 -0
  178. package/android/build/kspCaches/debug/sourceToOutputs.keystream +0 -0
  179. package/android/build/kspCaches/debug/sourceToOutputs.keystream.len +0 -0
  180. package/android/build/kspCaches/debug/sourceToOutputs.len +0 -0
  181. package/android/build/kspCaches/debug/sourceToOutputs.values.at +0 -0
  182. package/android/build/kspCaches/debug/sourceToOutputs_i +0 -0
  183. package/android/build/kspCaches/debug/sourceToOutputs_i.len +0 -0
  184. package/android/build/kspCaches/debug/symbolLookups/counters.tab +2 -0
  185. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab +0 -0
  186. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab.keystream +0 -0
  187. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab.keystream.len +0 -0
  188. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab.len +0 -0
  189. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab.values.at +0 -0
  190. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab_i +0 -0
  191. package/android/build/kspCaches/debug/symbolLookups/file-to-id.tab_i.len +0 -0
  192. package/android/build/kspCaches/debug/symbolLookups/id-to-file.tab +0 -0
  193. package/android/build/kspCaches/debug/symbolLookups/id-to-file.tab.keystream +0 -0
  194. package/android/build/kspCaches/debug/symbolLookups/id-to-file.tab.keystream.len +0 -0
  195. package/android/build/kspCaches/debug/symbolLookups/id-to-file.tab.len +0 -0
  196. package/android/build/kspCaches/debug/symbolLookups/id-to-file.tab.values.at +0 -0
  197. package/android/build/kspCaches/debug/symbolLookups/lookups.tab +0 -0
  198. package/android/build/kspCaches/debug/symbolLookups/lookups.tab.keystream +0 -0
  199. package/android/build/kspCaches/debug/symbolLookups/lookups.tab.keystream.len +0 -0
  200. package/android/build/kspCaches/debug/symbolLookups/lookups.tab.len +0 -0
  201. package/android/build/kspCaches/debug/symbolLookups/lookups.tab.values.at +0 -0
  202. package/android/build/kspCaches/debug/symbolLookups/lookups.tab_i +0 -0
  203. package/android/build/kspCaches/debug/symbolLookups/lookups.tab_i.len +0 -0
  204. package/android/build/kspCaches/debug/symbols +0 -0
  205. package/android/build/kspCaches/debug/symbols.keystream +0 -0
  206. package/android/build/kspCaches/debug/symbols.keystream.len +0 -0
  207. package/android/build/kspCaches/debug/symbols.len +0 -0
  208. package/android/build/kspCaches/debug/symbols.values.at +0 -0
  209. package/android/build/kspCaches/debug/symbols_i +0 -0
  210. package/android/build/kspCaches/debug/symbols_i.len +0 -0
  211. package/android/build/outputs/logs/manifest-merger-debug-report.txt +17 -0
  212. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  213. package/android/build/tmp/kotlin-classes/debug/META-INF/tryvital_vital-core-react-native_debug.kotlin_module +0 -0
  214. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$Companion.class +0 -0
  215. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1$1.class +0 -0
  216. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$addListener$1.class +0 -0
  217. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$deregisterProvider$1.class +0 -0
  218. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$getAccessToken$1.class +0 -0
  219. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$refreshToken$1.class +0 -0
  220. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$signIn$1.class +0 -0
  221. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$signOut$1.class +0 -0
  222. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule$userConnections$1.class +0 -0
  223. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModule.class +0 -0
  224. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt$moshi$2.class +0 -0
  225. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativeModuleKt.class +0 -0
  226. package/android/build/tmp/kotlin-classes/debug/com/vitalcorereactnative/VitalCoreReactNativePackage.class +0 -0
  227. package/android/build.gradle +1 -1
  228. package/android/src/main/java/com/vitalcorereactnative/VitalCoreReactNativeModule.kt +34 -83
  229. package/ios/RNTimeSeriesData.swift +4 -4
  230. package/ios/VitalCoreReactNative.m +1 -11
  231. package/ios/VitalCoreReactNative.swift +32 -82
  232. package/lib/commonjs/index.js +7 -13
  233. package/lib/commonjs/index.js.map +1 -1
  234. package/lib/module/index.js +7 -13
  235. package/lib/module/index.js.map +1 -1
  236. package/lib/typescript/index.d.ts +5 -8
  237. package/lib/typescript/index.d.ts.map +1 -1
  238. package/lib/typescript/models/Provider.d.ts +20 -0
  239. package/lib/typescript/models/Provider.d.ts.map +1 -1
  240. package/package.json +1 -1
  241. package/src/index.ts +7 -26
  242. package/src/models/Provider.ts +25 -0
  243. package/vital-core-react-native.podspec +1 -1
  244. package/android/src/main/java/com/vitalcorereactnative/timeSeriesData.kt +0 -61
  245. package/android/src/test/java/com/vitalcorereactnative/SerializationTests.kt +0 -98
@@ -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;AAED,oBAAY,YAAY;IACpB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,QAAQ,wBAAwB;IAChC,MAAM,WAAW;IACjB,cAAc,qBAAqB;IACnC,aAAa,mBAAmB;IAEhC,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,oBAAoB;IACzB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,SAAS,eAAe;IACxB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,YAAY,mBAAmB;CAClC;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB"}
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,oBAAY,YAAY;IACpB,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,QAAQ,wBAAwB;IAChC,MAAM,WAAW;IACjB,cAAc,qBAAqB;IACnC,aAAa,mBAAmB;IAEhC,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,oBAAoB;IACzB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,gBAAgB;IAC1B,QAAQ,aAAa;IACrB,SAAS,eAAe;IACxB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,YAAY,mBAAmB;CAClC;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEpE,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC5C,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,YAAY,GAAG,kBAAkB,GAAG,MAAM,CAAA;IAChD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,oBAAoB,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAC;IACpC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACzC;AAED,MAAM,WAAW,uBAAuB;IACpC,WAAW,EAAE,iBAAiB,CAAC;IAC/B,UAAU,EAAE,iBAAiB,CAAC;CACjC;AAED,MAAM,WAAW,iBAAiB;IAC9B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-core-react-native",
3
- "version": "3.2.4",
3
+ "version": "4.0.0-beta.2",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
package/src/index.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { NativeEventEmitter, NativeModules, Platform } from 'react-native';
2
- import type { TimeSeriesData } from './models/TimeSeriesData';
3
- import type { ManualProviderSlug, Provider, ProviderSlug } from './models/Provider';
2
+ import type { ManualProviderSlug, Provider, ProviderSlug, UserConnection } from './models/Provider';
4
3
  import type { VitalCoreStatus } from './models/VitalCoreStatus';
5
4
 
6
5
  export { VitalCoreStatus } from './models/VitalCoreStatus';
@@ -89,26 +88,15 @@ export class VitalCore {
89
88
  return VitalCoreReactNative.hasUserConnectedTo(provider);
90
89
  }
91
90
 
91
+ /**
92
+ * @deprecated Use `userConnections()` instead.
93
+ */
92
94
  static userConnectedSources(): Promise<Provider[]> {
93
- return VitalCoreReactNative.userConnectedSources();
94
- }
95
-
96
- static createConnectedSourceIfNotExist(
97
- provider: ManualProviderSlug
98
- ): Promise<void> {
99
- return VitalCoreReactNative.createConnectedSourceIfNotExist(provider);
95
+ return this.userConnections();
100
96
  }
101
97
 
102
- static postTimeSeriesData(
103
- data: TimeSeriesData,
104
- provider: ManualProviderSlug,
105
- timeZone: string | undefined = undefined
106
- ): Promise<void> {
107
- return VitalCoreReactNative.postTimeSeriesData(
108
- JSON.stringify(data),
109
- provider,
110
- timeZone
111
- );
98
+ static userConnections(): Promise<UserConnection[]> {
99
+ return VitalCoreReactNative.userConnections();
112
100
  }
113
101
 
114
102
  static deregisterProvider(provider: ProviderSlug): Promise<void> {
@@ -147,11 +135,4 @@ export class VitalCore {
147
135
  static signOut(): Promise<void> {
148
136
  return VitalCoreReactNative.signOut();
149
137
  }
150
-
151
- /**
152
- * @deprecated Renamed to `signOut()`.
153
- */
154
- static cleanUp(): Promise<void> {
155
- return this.signOut();
156
- }
157
138
  }
@@ -43,3 +43,28 @@ export interface Provider {
43
43
  slug: ProviderSlug | ManualProviderSlug | string
44
44
  logo?: string
45
45
  }
46
+
47
+ export type UserConnectionStatus = "connected" | "paused" | "error";
48
+
49
+ export interface UserConnection extends Provider {
50
+ name: string
51
+ slug: ProviderSlug | ManualProviderSlug | string
52
+ logo?: string
53
+ status: UserConnectionStatus;
54
+ resourceAvailability?: Record<string, ResourceAvailability>;
55
+ }
56
+
57
+ export interface ResourceAvailability {
58
+ status: "available" | "unavailable";
59
+ scopeRequirements?: ScopeRequirements;
60
+ }
61
+
62
+ export interface ScopeRequirementsGrants {
63
+ userGranted: ScopeRequirements;
64
+ userDenied: ScopeRequirements;
65
+ }
66
+
67
+ export interface ScopeRequirements {
68
+ required: string[];
69
+ optional: string[];
70
+ }
@@ -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 "VitalCore", "~> 0.11.9"
20
+ s.dependency "VitalCore", "~> 1.0.0-rc.2"
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
@@ -1,61 +0,0 @@
1
- package com.vitalcorereactnative
2
-
3
- import com.squareup.moshi.JsonClass
4
- import com.squareup.moshi.adapters.PolymorphicJsonAdapterFactory
5
- import io.tryvital.client.services.data.BloodPressureSamplePayload
6
- import io.tryvital.client.services.data.QuantitySamplePayload
7
- import java.util.*
8
-
9
-
10
- @JsonClass(generateAdapter = false)
11
- sealed class ReactNativeTimeSeriesData {
12
- @JsonClass(generateAdapter = true)
13
- data class Glucose(val samples: List<ReactNativeQuantitySample>): ReactNativeTimeSeriesData()
14
- @JsonClass(generateAdapter = true)
15
- data class BloodPressure(val samples: List<ReactNativeBloodPressureSample>): ReactNativeTimeSeriesData()
16
-
17
- companion object {
18
- fun adapterFactory(): PolymorphicJsonAdapterFactory<ReactNativeTimeSeriesData> = PolymorphicJsonAdapterFactory
19
- .of(ReactNativeTimeSeriesData::class.java, "type")
20
- .withSubtype(Glucose::class.java, "glucose")
21
- .withSubtype(BloodPressure::class.java, "blood_pressure")
22
- }
23
- }
24
-
25
- @JsonClass(generateAdapter = true)
26
- data class ReactNativeQuantitySample(
27
- val id: String?,
28
- val value: Double,
29
- // JS Date is stringified via `Date.toISOString()` - ISO8601
30
- val startDate: Date,
31
- val endDate: Date,
32
- val sourceBundle: String?,
33
- val productType: String?,
34
- val type: String?,
35
- val unit: String,
36
- ) {
37
- val payload get() = QuantitySamplePayload(
38
- id = id,
39
- value = value,
40
- startDate = startDate,
41
- endDate = endDate,
42
- sourceBundle = sourceBundle,
43
- deviceModel = productType,
44
- type = type,
45
- unit = unit,
46
- metadata = null
47
- )
48
- }
49
-
50
- @JsonClass(generateAdapter = true)
51
- data class ReactNativeBloodPressureSample(
52
- val systolic: ReactNativeQuantitySample,
53
- val diastolic: ReactNativeQuantitySample,
54
- val pulse: ReactNativeQuantitySample?,
55
- ) {
56
- val payload get() = BloodPressureSamplePayload(
57
- systolic = systolic.payload,
58
- diastolic = diastolic.payload,
59
- pulse = pulse?.payload
60
- )
61
- }
@@ -1,98 +0,0 @@
1
- package com.vitalcorereactnative
2
-
3
- import com.squareup.moshi.adapter
4
- import org.junit.Assert.assertEquals
5
- import org.junit.Test
6
- import java.time.Instant
7
- import java.util.*
8
-
9
-
10
- class SerializationTests {
11
- @OptIn(ExperimentalStdlibApi::class)
12
- @Test
13
- fun canDeserializeGlucoseSamples() {
14
- val date = "2023-01-23T12:34:56Z"
15
- val jsonString = """
16
- {
17
- "type": "glucose",
18
- "samples": [
19
- {
20
- "id":"id", "value":123.0, "startDate":"$date", "endDate":"$date",
21
- "sourceBundle":"source", "productType":"product", "type":"fingerprick", "unit":"mmol/L"
22
- }
23
- ]
24
- }
25
- """.trimIndent()
26
- val adapter = moshi.adapter<ReactNativeTimeSeriesData>()
27
-
28
- assertEquals(
29
- adapter.fromJson(jsonString),
30
- ReactNativeTimeSeriesData.Glucose(
31
- listOf(
32
- ReactNativeQuantitySample(
33
- id = "id",
34
- value = 123.0,
35
- startDate = Date.from(Instant.parse(date)),
36
- endDate = Date.from(Instant.parse(date)),
37
- sourceBundle = "source",
38
- productType = "product",
39
- type = "fingerprick",
40
- unit = "mmol/L",
41
- )
42
- )
43
- )
44
- )
45
- }
46
-
47
- @OptIn(ExperimentalStdlibApi::class)
48
- @Test
49
- fun canDeserializeBloodPressureSamples() {
50
- val date = "2023-01-23T12:34:56Z"
51
- val jsonString = """
52
- {
53
- "type": "blood_pressure",
54
- "samples": [
55
- {
56
- "systolic": {
57
- "id":"id", "value":100.0, "startDate":"$date", "endDate":"$date",
58
- "sourceBundle":"source", "productType":"product", "type":"cuff", "unit":"mmHg"
59
- },
60
- "diastolic": {
61
- "id":"id", "value":90.0, "startDate":"$date", "endDate":"$date",
62
- "sourceBundle":"source", "productType":"product", "type":"cuff", "unit":"mmHg"
63
- },
64
- "pulse": {
65
- "id":"id", "value":80.0, "startDate":"$date", "endDate":"$date",
66
- "sourceBundle":"source", "productType":"product", "type":"cuff", "unit":"bpm"
67
- }
68
- }
69
- ]
70
- }
71
- """.trimIndent()
72
- val adapter = moshi.adapter<ReactNativeTimeSeriesData>()
73
-
74
- fun makeSample(value: Double, unit: String) = ReactNativeQuantitySample(
75
- id = "id",
76
- value = value,
77
- startDate = Date.from(Instant.parse(date)),
78
- endDate = Date.from(Instant.parse(date)),
79
- sourceBundle = "source",
80
- productType = "product",
81
- type = "cuff",
82
- unit = unit,
83
- )
84
-
85
- assertEquals(
86
- adapter.fromJson(jsonString),
87
- ReactNativeTimeSeriesData.BloodPressure(
88
- listOf(
89
- ReactNativeBloodPressureSample(
90
- systolic = makeSample(value = 100.0, unit = "mmHg"),
91
- diastolic = makeSample(value = 90.0, unit = "mmHg"),
92
- pulse = makeSample(value = 80.0, unit = "bpm"),
93
- )
94
- )
95
- )
96
- )
97
- }
98
- }