@ovok/native 1.16.1-rc.1 → 1.16.1-rc.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 (1029) hide show
  1. package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js +6 -12
  2. package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
  3. package/lib/commonjs/modules/auth/hooks/use-delete-account.js +5 -8
  4. package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -1
  5. package/lib/commonjs/modules/auth/hooks/use-session.js +150 -28
  6. package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
  7. package/lib/commonjs/modules/auth/hooks/use-sign-in.js +5 -23
  8. package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
  9. package/lib/commonjs/modules/auth/hooks/use-sign-out.js +2 -2
  10. package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -1
  11. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +4 -9
  12. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  13. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +25 -11
  14. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  15. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +19 -20
  16. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  17. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
  18. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  19. package/lib/commonjs/modules/auth/session/logout-session.js +1 -3
  20. package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
  21. package/lib/commonjs/modules/auth/session/session-snapshot.js +33 -0
  22. package/lib/commonjs/modules/auth/session/session-snapshot.js.map +1 -0
  23. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
  24. package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  25. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +8 -10
  26. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  27. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
  28. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  29. package/lib/commonjs/modules/auth/utils/sign-in-error.js +7 -7
  30. package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
  31. package/lib/commonjs/modules/background-sync/android-background-sync.js +6 -0
  32. package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
  33. package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
  34. package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
  35. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
  36. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
  38. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  39. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +12 -12
  40. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
  42. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
  44. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
  46. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
  48. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
  50. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
  52. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -2
  54. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +5 -5
  56. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
  58. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -12
  60. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
  62. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
  64. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
  65. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
  66. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  67. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
  68. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
  69. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
  70. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  71. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
  72. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  73. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
  74. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  75. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
  76. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
  77. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
  78. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
  79. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
  80. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
  81. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
  82. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  83. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
  84. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
  85. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
  86. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
  87. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
  88. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
  89. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
  90. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  91. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
  92. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
  93. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
  94. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
  95. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
  96. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  97. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
  98. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
  99. package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
  100. package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
  101. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
  102. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  103. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
  104. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  105. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
  106. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
  107. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
  108. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
  109. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
  110. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  111. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
  112. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  113. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
  114. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
  115. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
  116. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
  117. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
  118. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  119. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
  120. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
  121. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
  122. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  123. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
  124. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
  125. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
  126. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  127. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
  128. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
  129. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
  130. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
  131. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
  132. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  133. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
  134. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  135. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
  136. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
  137. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
  138. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  139. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
  140. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
  141. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
  142. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
  143. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
  144. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  145. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
  146. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  147. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
  148. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
  149. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
  150. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
  151. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
  152. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
  153. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
  154. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
  155. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
  156. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
  157. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
  158. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  159. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -2
  160. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  161. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +5 -5
  162. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  163. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +3 -3
  164. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  165. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
  166. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  167. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
  168. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  169. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
  170. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  171. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
  172. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
  173. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
  174. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  175. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
  176. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
  177. package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
  178. package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
  179. package/lib/commonjs/modules/cms/cms-locale.js +13 -0
  180. package/lib/commonjs/modules/cms/cms-locale.js.map +1 -0
  181. package/lib/commonjs/modules/cms/hooks/use-cms-content.js +35 -14
  182. package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
  183. package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +2 -6
  184. package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -1
  185. package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +11 -23
  186. package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -1
  187. package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -1
  188. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
  189. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
  190. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +4 -8
  191. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  192. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -4
  193. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  194. package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js +9 -5
  195. package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js.map +1 -1
  196. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +36 -39
  197. package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  198. package/lib/commonjs/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
  199. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
  200. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
  201. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +3 -3
  202. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  203. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -3
  204. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  205. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
  206. package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  207. package/lib/commonjs/modules/data-sync/utils/retry-save.js +4 -5
  208. package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
  209. package/lib/commonjs/modules/data-sync/utils/session-owner.js +18 -0
  210. package/lib/commonjs/modules/data-sync/utils/session-owner.js.map +1 -0
  211. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
  212. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
  213. package/lib/commonjs/modules/image/components/optimized-image.js +3 -3
  214. package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
  215. package/lib/commonjs/modules/next/bluetooth/channel.js +89 -0
  216. package/lib/commonjs/modules/next/bluetooth/channel.js.map +1 -0
  217. package/lib/commonjs/modules/next/bluetooth/driver.js +48 -0
  218. package/lib/commonjs/modules/next/bluetooth/driver.js.map +1 -0
  219. package/lib/commonjs/modules/next/bluetooth/drivers.js +20 -0
  220. package/lib/commonjs/modules/next/bluetooth/drivers.js.map +1 -0
  221. package/lib/commonjs/modules/next/bluetooth/index.js +65 -0
  222. package/lib/commonjs/modules/next/bluetooth/index.js.map +1 -0
  223. package/lib/commonjs/modules/next/bluetooth/legacy-driver.js +55 -0
  224. package/lib/commonjs/modules/next/bluetooth/legacy-driver.js.map +1 -0
  225. package/lib/commonjs/modules/next/bluetooth/link.js +105 -0
  226. package/lib/commonjs/modules/next/bluetooth/link.js.map +1 -0
  227. package/lib/commonjs/modules/next/bluetooth/result-policy.js +69 -0
  228. package/lib/commonjs/modules/next/bluetooth/result-policy.js.map +1 -0
  229. package/lib/commonjs/modules/next/bluetooth/sig-profiles.js +164 -0
  230. package/lib/commonjs/modules/next/bluetooth/sig-profiles.js.map +1 -0
  231. package/lib/commonjs/modules/next/bluetooth/sig-values.js +46 -0
  232. package/lib/commonjs/modules/next/bluetooth/sig-values.js.map +1 -0
  233. package/lib/commonjs/modules/next/ovok.js +5 -1
  234. package/lib/commonjs/modules/next/ovok.js.map +1 -1
  235. package/lib/commonjs/modules/next/use-native-ovok.js +17 -0
  236. package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -0
  237. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +27 -27
  238. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  239. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
  240. package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
  241. package/lib/commonjs/modules/socket/components/socket-provider.js +9 -4
  242. package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
  243. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
  244. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  245. package/lib/commonjs/modules/ui/components/urine-test-result.js +3 -3
  246. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  247. package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js +45 -0
  248. package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js.map +1 -0
  249. package/lib/commonjs/modules/wearables/constants/wearable-providers.js +60 -0
  250. package/lib/commonjs/modules/wearables/constants/wearable-providers.js.map +1 -0
  251. package/lib/commonjs/modules/wearables/index.js +50 -0
  252. package/lib/commonjs/modules/wearables/index.js.map +1 -0
  253. package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js +6 -0
  254. package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
  255. package/lib/commonjs/modules/wearables/types/wearable-source.js +6 -0
  256. package/lib/commonjs/modules/wearables/types/wearable-source.js.map +1 -0
  257. package/lib/module/modules/auth/hooks/use-accept-invite-link.js +6 -12
  258. package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
  259. package/lib/module/modules/auth/hooks/use-delete-account.js +5 -8
  260. package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
  261. package/lib/module/modules/auth/hooks/use-session.js +151 -30
  262. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  263. package/lib/module/modules/auth/hooks/use-sign-in.js +5 -23
  264. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
  265. package/lib/module/modules/auth/hooks/use-sign-out.js +2 -2
  266. package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
  267. package/lib/module/modules/auth/hooks/use-social-sign-in.js +4 -9
  268. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  269. package/lib/module/modules/auth/profile/components/profile-form-provider.js +21 -7
  270. package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  271. package/lib/module/modules/auth/register/components/form/register-form-provider.js +16 -17
  272. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  273. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
  274. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  275. package/lib/module/modules/auth/session/logout-session.js +1 -3
  276. package/lib/module/modules/auth/session/logout-session.js.map +1 -1
  277. package/lib/module/modules/auth/session/session-snapshot.js +28 -0
  278. package/lib/module/modules/auth/session/session-snapshot.js.map +1 -0
  279. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
  280. package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
  281. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +3 -5
  282. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  283. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
  284. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  285. package/lib/module/modules/auth/utils/sign-in-error.js +7 -7
  286. package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
  287. package/lib/module/modules/background-sync/android-background-sync.js +6 -0
  288. package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
  289. package/lib/module/modules/bt-device/constants/device-model.js +1 -1
  290. package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
  291. package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
  292. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  293. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
  294. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  295. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +1 -1
  296. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
  297. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
  298. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  299. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
  300. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
  301. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
  302. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
  303. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
  304. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
  305. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
  306. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  307. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  308. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  309. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -1
  310. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  311. package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
  312. package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
  313. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
  314. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  315. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -2
  316. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  317. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
  318. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
  319. package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
  320. package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
  321. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
  322. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  323. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
  324. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
  325. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
  326. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  327. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
  328. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  329. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
  330. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  331. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
  332. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
  333. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
  334. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
  335. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
  336. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
  337. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
  338. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  339. package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
  340. package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
  341. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
  342. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
  343. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
  344. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
  345. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
  346. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  347. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
  348. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
  349. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
  350. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
  351. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
  352. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  353. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
  354. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
  355. package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
  356. package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
  357. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
  358. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  359. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
  360. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  361. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
  362. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
  363. package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
  364. package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
  365. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
  366. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  367. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
  368. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  369. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
  370. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
  371. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
  372. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
  373. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
  374. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  375. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
  376. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
  377. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
  378. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  379. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
  380. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
  381. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
  382. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  383. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
  384. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
  385. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
  386. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
  387. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
  388. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  389. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
  390. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  391. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
  392. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
  393. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
  394. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  395. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
  396. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
  397. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
  398. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
  399. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
  400. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  401. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
  402. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  403. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
  404. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
  405. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
  406. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
  407. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
  408. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
  409. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
  410. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
  411. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
  412. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
  413. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
  414. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  415. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
  416. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  417. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +1 -1
  418. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  419. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  420. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  421. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
  422. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  423. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
  424. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  425. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
  426. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  427. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
  428. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
  429. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
  430. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  431. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
  432. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
  433. package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
  434. package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
  435. package/lib/module/modules/cms/cms-locale.js +8 -0
  436. package/lib/module/modules/cms/cms-locale.js.map +1 -0
  437. package/lib/module/modules/cms/hooks/use-cms-content.js +35 -15
  438. package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
  439. package/lib/module/modules/cms/hooks/use-cms-locale.js +1 -6
  440. package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -1
  441. package/lib/module/modules/cms/hooks/use-cms-translations.js +10 -23
  442. package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
  443. package/lib/module/modules/cms/merge-cms-translations.js.map +1 -1
  444. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
  445. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
  446. package/lib/module/modules/data-sync/services/base-health-sync-service.js +4 -8
  447. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  448. package/lib/module/modules/data-sync/services/managers/data-processor.js +3 -3
  449. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  450. package/lib/module/modules/data-sync/services/managers/instance-manager.js +9 -5
  451. package/lib/module/modules/data-sync/services/managers/instance-manager.js.map +1 -1
  452. package/lib/module/modules/data-sync/services/managers/storage-manager.js +35 -39
  453. package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
  454. package/lib/module/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
  455. package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
  456. package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
  457. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -2
  458. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  459. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -2
  460. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  461. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
  462. package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
  463. package/lib/module/modules/data-sync/utils/retry-save.js +4 -5
  464. package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
  465. package/lib/module/modules/data-sync/utils/session-owner.js +13 -0
  466. package/lib/module/modules/data-sync/utils/session-owner.js.map +1 -0
  467. package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
  468. package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
  469. package/lib/module/modules/image/components/optimized-image.js +3 -3
  470. package/lib/module/modules/image/components/optimized-image.js.map +1 -1
  471. package/lib/module/modules/next/bluetooth/channel.js +85 -0
  472. package/lib/module/modules/next/bluetooth/channel.js.map +1 -0
  473. package/lib/module/modules/next/bluetooth/driver.js +45 -0
  474. package/lib/module/modules/next/bluetooth/driver.js.map +1 -0
  475. package/lib/module/modules/next/bluetooth/drivers.js +17 -0
  476. package/lib/module/modules/next/bluetooth/drivers.js.map +1 -0
  477. package/lib/module/modules/next/bluetooth/index.js +8 -0
  478. package/lib/module/modules/next/bluetooth/index.js.map +1 -0
  479. package/lib/module/modules/next/bluetooth/legacy-driver.js +51 -0
  480. package/lib/module/modules/next/bluetooth/legacy-driver.js.map +1 -0
  481. package/lib/module/modules/next/bluetooth/link.js +103 -0
  482. package/lib/module/modules/next/bluetooth/link.js.map +1 -0
  483. package/lib/module/modules/next/bluetooth/result-policy.js +61 -0
  484. package/lib/module/modules/next/bluetooth/result-policy.js.map +1 -0
  485. package/lib/module/modules/next/bluetooth/sig-profiles.js +156 -0
  486. package/lib/module/modules/next/bluetooth/sig-profiles.js.map +1 -0
  487. package/lib/module/modules/next/bluetooth/sig-values.js +38 -0
  488. package/lib/module/modules/next/bluetooth/sig-values.js.map +1 -0
  489. package/lib/module/modules/next/ovok.js +5 -1
  490. package/lib/module/modules/next/ovok.js.map +1 -1
  491. package/lib/module/modules/next/use-native-ovok.js +12 -0
  492. package/lib/module/modules/next/use-native-ovok.js.map +1 -0
  493. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +5 -5
  494. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  495. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
  496. package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
  497. package/lib/module/modules/socket/components/socket-provider.js +9 -4
  498. package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
  499. package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
  500. package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  501. package/lib/module/modules/ui/components/urine-test-result.js +1 -1
  502. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  503. package/lib/module/modules/wearables/components/wearable-provider-icon.js +39 -0
  504. package/lib/module/modules/wearables/components/wearable-provider-icon.js.map +1 -0
  505. package/lib/module/modules/wearables/constants/wearable-providers.js +56 -0
  506. package/lib/module/modules/wearables/constants/wearable-providers.js.map +1 -0
  507. package/lib/module/modules/wearables/index.js +7 -0
  508. package/lib/module/modules/wearables/index.js.map +1 -0
  509. package/lib/module/modules/wearables/types/wearable-provider-icon-props.js +4 -0
  510. package/lib/module/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
  511. package/lib/module/modules/wearables/types/wearable-source.js +4 -0
  512. package/lib/module/modules/wearables/types/wearable-source.js.map +1 -0
  513. package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
  514. package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
  515. package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +5 -16
  517. package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
  519. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
  521. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
  522. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  523. package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
  525. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  526. package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  527. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +5 -3
  528. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
  529. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +2 -2
  530. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
  531. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +3 -5
  532. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
  533. package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +21 -0
  534. package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
  535. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  536. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  537. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  538. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
  539. package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  540. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
  541. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  542. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
  543. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  544. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
  545. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  546. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
  547. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
  548. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
  549. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
  550. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -2
  551. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  552. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +2 -2
  553. package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  554. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
  555. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
  556. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
  557. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  558. package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
  559. package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
  560. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
  561. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
  563. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
  565. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
  567. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  569. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
  570. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
  571. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  572. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  573. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
  574. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  575. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
  576. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  577. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
  578. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  579. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
  580. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  581. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
  582. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
  583. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
  584. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  585. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
  586. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  587. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
  588. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  589. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
  590. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  591. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  592. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  593. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
  594. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
  595. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
  596. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
  597. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
  598. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
  599. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
  600. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
  601. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
  602. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  603. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
  604. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  605. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
  606. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
  607. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
  608. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  609. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
  610. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
  611. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
  612. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
  613. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
  614. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  615. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
  616. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  617. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
  618. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
  619. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
  620. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
  621. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
  622. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
  623. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
  624. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  625. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
  626. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  627. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
  628. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  629. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
  630. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  631. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
  632. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  633. package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
  634. package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
  635. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
  636. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  637. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
  638. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
  639. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
  640. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  641. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
  642. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
  643. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
  644. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  645. package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
  646. package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
  647. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
  648. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  649. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  650. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  651. package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
  652. package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
  653. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
  654. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
  655. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
  656. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
  657. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
  658. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
  659. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
  660. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  661. package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
  662. package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
  663. package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
  664. package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
  665. package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
  666. package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
  667. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
  668. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  669. package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
  670. package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
  671. package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts +2 -0
  672. package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts.map +1 -0
  673. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
  674. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  675. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
  676. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
  677. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
  678. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
  679. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
  680. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
  681. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
  682. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
  683. package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  684. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
  685. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  686. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
  687. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
  688. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
  689. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  690. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
  691. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
  692. package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts +3 -2
  693. package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
  694. package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
  695. package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
  696. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
  697. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  698. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
  699. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  700. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  701. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
  702. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  703. package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
  704. package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +7 -0
  705. package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
  706. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
  707. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  708. package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
  709. package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts +19 -0
  710. package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts.map +1 -0
  711. package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts +32 -0
  712. package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts.map +1 -0
  713. package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts +7 -0
  714. package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
  715. package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +9 -0
  716. package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts.map +1 -0
  717. package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
  718. package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
  719. package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts +13 -0
  720. package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts.map +1 -0
  721. package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts +14 -0
  722. package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
  723. package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
  724. package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
  725. package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts +15 -0
  726. package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
  727. package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +4 -1
  728. package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
  729. package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts +3 -0
  730. package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts.map +1 -0
  731. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  732. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
  733. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
  734. package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  735. package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
  736. package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
  737. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
  738. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  739. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
  740. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  741. package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
  742. package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
  743. package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
  744. package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
  745. package/lib/typescript/commonjs/src/modules/wearables/index.d.ts +5 -0
  746. package/lib/typescript/commonjs/src/modules/wearables/index.d.ts.map +1 -0
  747. package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
  748. package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
  749. package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts +4 -0
  750. package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
  751. package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
  752. package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
  753. package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
  754. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +5 -16
  755. package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
  756. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
  757. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  758. package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
  759. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
  760. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
  761. package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
  762. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
  763. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  764. package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
  765. package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +5 -3
  766. package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
  767. package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +2 -2
  768. package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
  769. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +3 -5
  770. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
  771. package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +21 -0
  772. package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
  773. package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
  774. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  775. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  776. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
  777. package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
  778. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
  779. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  780. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
  781. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  782. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
  783. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  784. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
  785. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
  786. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
  787. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
  788. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -2
  789. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  790. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +2 -2
  791. package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
  792. package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
  793. package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
  794. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
  795. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  796. package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
  797. package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
  798. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
  799. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  800. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
  801. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
  802. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
  803. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
  804. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
  805. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  806. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  807. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
  808. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
  809. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  810. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  811. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
  812. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  813. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
  814. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  815. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
  816. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  817. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
  818. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  819. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
  820. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
  821. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
  822. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  823. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
  824. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  825. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
  826. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  827. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
  828. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  829. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  830. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  831. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
  832. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
  833. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
  834. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
  835. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
  836. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
  837. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
  838. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
  839. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
  840. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  841. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
  842. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  843. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
  844. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
  845. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
  846. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  847. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
  848. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
  849. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
  850. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
  851. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
  852. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  853. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
  854. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  855. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
  856. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
  857. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
  858. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
  859. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
  860. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
  861. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
  862. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  863. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
  864. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  865. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
  866. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  867. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
  868. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  869. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
  870. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  871. package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
  872. package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
  873. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
  874. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  875. package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
  876. package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
  877. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
  878. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  879. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
  880. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
  881. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
  882. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  883. package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
  884. package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
  885. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
  886. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  887. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  888. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  889. package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
  890. package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
  891. package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
  892. package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
  893. package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
  894. package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
  895. package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
  896. package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
  897. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
  898. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  899. package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
  900. package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
  901. package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
  902. package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
  903. package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
  904. package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
  905. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
  906. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  907. package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
  908. package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
  909. package/lib/typescript/module/src/modules/cms/cms-locale.d.ts +2 -0
  910. package/lib/typescript/module/src/modules/cms/cms-locale.d.ts.map +1 -0
  911. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
  912. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  913. package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
  914. package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
  915. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
  916. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
  917. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
  918. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
  919. package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
  920. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
  921. package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
  922. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
  923. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  924. package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
  925. package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
  926. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
  927. package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
  928. package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
  929. package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
  930. package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts +3 -2
  931. package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
  932. package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
  933. package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
  934. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
  935. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  936. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
  937. package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
  938. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  939. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
  940. package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
  941. package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
  942. package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +7 -0
  943. package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
  944. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
  945. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  946. package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
  947. package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts +19 -0
  948. package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts.map +1 -0
  949. package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts +32 -0
  950. package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts.map +1 -0
  951. package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts +7 -0
  952. package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
  953. package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +9 -0
  954. package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts.map +1 -0
  955. package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
  956. package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
  957. package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts +13 -0
  958. package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts.map +1 -0
  959. package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts +14 -0
  960. package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
  961. package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
  962. package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
  963. package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts +15 -0
  964. package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
  965. package/lib/typescript/module/src/modules/next/ovok.d.ts +4 -1
  966. package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
  967. package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts +3 -0
  968. package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts.map +1 -0
  969. package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
  970. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
  971. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
  972. package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
  973. package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
  974. package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
  975. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
  976. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  977. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
  978. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  979. package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
  980. package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
  981. package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
  982. package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
  983. package/lib/typescript/module/src/modules/wearables/index.d.ts +5 -0
  984. package/lib/typescript/module/src/modules/wearables/index.d.ts.map +1 -0
  985. package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
  986. package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
  987. package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts +4 -0
  988. package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
  989. package/package.json +3 -3
  990. package/lib/commonjs/modules/auth/session/save-login.js +0 -19
  991. package/lib/commonjs/modules/auth/session/save-login.js.map +0 -1
  992. package/lib/commonjs/modules/auth/session/session-store-refresh.js +0 -142
  993. package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +0 -1
  994. package/lib/commonjs/modules/auth/session/session-store-request-state.js +0 -73
  995. package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +0 -1
  996. package/lib/commonjs/modules/auth/session/session-store-types.js +0 -39
  997. package/lib/commonjs/modules/auth/session/session-store-types.js.map +0 -1
  998. package/lib/commonjs/modules/auth/session/session-store.js +0 -144
  999. package/lib/commonjs/modules/auth/session/session-store.js.map +0 -1
  1000. package/lib/module/modules/auth/session/save-login.js +0 -15
  1001. package/lib/module/modules/auth/session/save-login.js.map +0 -1
  1002. package/lib/module/modules/auth/session/session-store-refresh.js +0 -138
  1003. package/lib/module/modules/auth/session/session-store-refresh.js.map +0 -1
  1004. package/lib/module/modules/auth/session/session-store-request-state.js +0 -69
  1005. package/lib/module/modules/auth/session/session-store-request-state.js.map +0 -1
  1006. package/lib/module/modules/auth/session/session-store-types.js +0 -33
  1007. package/lib/module/modules/auth/session/session-store-types.js.map +0 -1
  1008. package/lib/module/modules/auth/session/session-store.js +0 -140
  1009. package/lib/module/modules/auth/session/session-store.js.map +0 -1
  1010. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +0 -4
  1011. package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +0 -1
  1012. package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +0 -8
  1013. package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
  1014. package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +0 -23
  1015. package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
  1016. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +0 -40
  1017. package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +0 -1
  1018. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +0 -4
  1019. package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +0 -1
  1020. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +0 -4
  1021. package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +0 -1
  1022. package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +0 -8
  1023. package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
  1024. package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +0 -23
  1025. package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
  1026. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +0 -40
  1027. package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +0 -1
  1028. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +0 -4
  1029. package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +0 -1
@@ -1,69 +0,0 @@
1
- "use strict";
2
-
3
- class SessionStoreRequestState {
4
- profileNeedsRefresh = false;
5
- hasActiveAccount = false;
6
- authRevision = 0;
7
- constructor(client, sessionClient) {
8
- this.client = client;
9
- this.sessionClient = sessionClient;
10
- }
11
- getAccounts = () => this.sessionClient.getSavedAccounts();
12
- getActiveAccountId = () => this.getAccounts().find(account => account.active)?.id ?? this.client.getActiveLogin()?.profile?.reference;
13
- syncActiveAccount = () => {
14
- const nextAccountId = this.getActiveAccountId();
15
- if (this.hasActiveAccount && this.activeAccountId !== nextAccountId) {
16
- this.invalidate();
17
- }
18
- this.activeAccountId = nextAccountId;
19
- this.hasActiveAccount = true;
20
- };
21
- invalidate = () => {
22
- this.authRevision += 1;
23
- this.profileRequest = undefined;
24
- this.sessionsRequest = undefined;
25
- this.profileNeedsRefresh = false;
26
- this.activeAccountId = this.getActiveAccountId();
27
- this.hasActiveAccount = true;
28
- };
29
- nextRevision = () => ++this.authRevision;
30
- get revision() {
31
- return this.authRevision;
32
- }
33
- isCurrent = revision => revision === this.authRevision;
34
- getProfileRequest = () => {
35
- if (!this.profileRequest) {
36
- const requestAccountId = this.getActiveAccountId();
37
- const request = (this.profileNeedsRefresh ? this.client.refetchProfile() : this.client.getProfileAsync()).then(profile => {
38
- if (requestAccountId === this.getActiveAccountId()) {
39
- this.profileNeedsRefresh = false;
40
- }
41
- return profile;
42
- }).catch(cause => {
43
- if (requestAccountId === this.getActiveAccountId()) {
44
- this.profileNeedsRefresh = true;
45
- }
46
- throw cause;
47
- }).finally(() => {
48
- if (this.profileRequest === request) {
49
- this.profileRequest = undefined;
50
- }
51
- });
52
- this.profileRequest = request;
53
- }
54
- return this.profileRequest;
55
- };
56
- getSessionsRequest = () => {
57
- if (!this.sessionsRequest) {
58
- const request = this.sessionClient.getSessions().finally(() => {
59
- if (this.sessionsRequest === request) {
60
- this.sessionsRequest = undefined;
61
- }
62
- });
63
- this.sessionsRequest = request;
64
- }
65
- return this.sessionsRequest;
66
- };
67
- }
68
- export { SessionStoreRequestState };
69
- //# sourceMappingURL=session-store-request-state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SessionStoreRequestState","profileNeedsRefresh","hasActiveAccount","authRevision","constructor","client","sessionClient","getAccounts","getSavedAccounts","getActiveAccountId","find","account","active","id","getActiveLogin","profile","reference","syncActiveAccount","nextAccountId","activeAccountId","invalidate","profileRequest","undefined","sessionsRequest","nextRevision","revision","isCurrent","getProfileRequest","requestAccountId","request","refetchProfile","getProfileAsync","then","catch","cause","finally","getSessionsRequest","getSessions"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-request-state.ts"],"mappings":";;AAOA,MAAMA,wBAAwB,CAAC;EAGrBC,mBAAmB,GAAG,KAAK;EAE3BC,gBAAgB,GAAG,KAAK;EACxBC,YAAY,GAAG,CAAC;EAExBC,WAAWA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AEA,SAASvB,wBAAwB","ignoreList":[]}
@@ -1,33 +0,0 @@
1
- "use strict";
2
-
3
- const profileMatchesAccount = (profile, accountId) => {
4
- if (!profile || !accountId) {
5
- return false;
6
- }
7
- const identity = profile;
8
- if (!identity.id) {
9
- return false;
10
- }
11
- const profileReference = identity.resourceType ? `${identity.resourceType}/${identity.id}` : identity.id;
12
- return accountId === profileReference || accountId.endsWith(`/${identity.id}`);
13
- };
14
- /** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
15
- const createSignedOutSnapshot = (accounts, extra = {}) => ({
16
- status: "signed-out",
17
- profile: undefined,
18
- profileAccountId: undefined,
19
- accounts,
20
- sessions: [],
21
- ...extra
22
- });
23
- const normalizeSession = session => {
24
- const legacy = session;
25
- return {
26
- id: session.id,
27
- authMethod: session.authMethod,
28
- remoteAddress: session.remoteAddress ?? legacy.ip,
29
- lastUpdated: session.lastUpdated ?? legacy.lastActiveAt ?? legacy.createdAt
30
- };
31
- };
32
- export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
33
- //# sourceMappingURL=session-store-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["profileMatchesAccount","profile","accountId","identity","id","profileReference","resourceType","endsWith","createSignedOutSnapshot","accounts","extra","status","undefined","profileAccountId","sessions","normalizeSession","session","legacy","authMethod","remoteAddress","ip","lastUpdated","lastActiveAt","createdAt"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-types.ts"],"mappings":";;AAsBA,MAAMA,qBAAqB,GAAGA,CAACC,OAA4B,EAAEC,SAAkB,KAAK;EAClF,IAAI,CAACD,OAAO,IAAI,CAACC,SAAS,EAAE;IAC1B,OAAO,KAAK;EACd;EAEA,MAAMC,QAAQ,GAAGF,OAGhB;EAED,IAAI,CAACE,QAAQ,CAACC,EAAE,EAAE;IAChB,OAAO,KAAK;EACd;EAEA,MAAMC,gBAAgB,GAAGF,QAAQ,CAACG,YAAY,GAC1C,GAAGH,QAAQ,CAACG,YAAY,IAAIH,QAAQ,CAACC,EAAE,EAAE,GACzCD,QAAQ,CAACC,EAAE;EAEf,OAAOF,SAAS,KAAKG,gBAAgB,IAAIH,SAAS,CAACK,QAAQ,CAAC,IAAIJ,QAAQ,CAACC,EAAE,EAAE,CAAC;AAChF,CAAC;AAsBD;AACA,MAAMI,uBAAuB,GAAGA,CAC9BC,QAA4B,EAC5BC,KAA+B,GAAG,CAAC,CAAC,MACf;EACrBC,MAAM,EAAE,YAAY;EACpBV,OAAO,EAAEW,SAAS;EAClBC,gBAAgB,EAAED,SAAS;EAC3BH,QAAQ;EACRK,QAAQ,EAAE,EAAE;EACZ,GAAGJ;AACL,CAAC,CAAC;AAEF,MAAMK,gBAAgB,GAAIC,OAA0B,IAAwB;EAC1E,MAAMC,MAAM,GAAGD,OAId;EAED,OAAO;IACLZ,EAAE,EAAEY,OAAO,CAACZ,EAAE;IACdc,UAAU,EAAEF,OAAO,CAACE,UAAU;IAC9BC,aAAa,EAAEH,OAAO,CAACG,aAAa,IAAIF,MAAM,CAACG,EAAE;IACjDC,WAAW,EAAEL,OAAO,CAACK,WAAW,IAAIJ,MAAM,CAACK,YAAY,IAAIL,MAAM,CAACM;EACpE,CAAC;AACH,CAAC;AAED,SAASf,uBAAuB,EAAEO,gBAAgB,EAAEf,qBAAqB","ignoreList":[]}
@@ -1,140 +0,0 @@
1
- "use strict";
2
-
3
- import { addEventListener as addNetworkEventListener } from "@react-native-community/netinfo";
4
- import { isLogoutInProgress, logoutSession } from "./logout-session.js";
5
- import { createSessionRefreshActions } from "./session-store-refresh.js";
6
- import { SessionStoreRequestState } from "./session-store-request-state.js";
7
- import { createSignedOutSnapshot } from "./session-store-types.js";
8
- const stores = new WeakMap();
9
- const createSessionStore = client => {
10
- const sessionClient = client;
11
- const listeners = new Set();
12
- const requestState = new SessionStoreRequestState(client, sessionClient);
13
- let unsubscribeNetwork;
14
- let unsubscribeClient;
15
- let wasConnected;
16
- let logoutRequest;
17
- const storeRef = {};
18
- const notify = () => listeners.forEach(listener => listener());
19
- const onClientChange = () => {
20
- if (isLogoutInProgress(client) || storeRef.current?.snapshot.switching) {
21
- return;
22
- }
23
- void Promise.resolve().then(() => {
24
- const currentStore = storeRef.current;
25
- if (!currentStore || isLogoutInProgress(client) || currentStore.snapshot.switching) {
26
- return;
27
- }
28
- if (client.getActiveLogin()) {
29
- void currentStore.refresh(false);
30
- return;
31
- }
32
- if (currentStore.snapshot.status !== "authenticated" && currentStore.snapshot.status !== "offline") {
33
- return;
34
- }
35
- requestState.invalidate();
36
- currentStore.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
37
- reason: "session-ended",
38
- activeAccountId: undefined
39
- });
40
- notify();
41
- });
42
- };
43
- const refreshActions = createSessionRefreshActions(client, requestState, () => storeRef.current, notify);
44
- const store = {
45
- snapshot: {
46
- status: "loading",
47
- activeAccountId: requestState.getActiveAccountId(),
48
- switching: false,
49
- accounts: requestState.getAccounts(),
50
- sessions: []
51
- },
52
- subscribe: listener => {
53
- listeners.add(listener);
54
- if (!unsubscribeClient) {
55
- client.addEventListener?.("change", onClientChange);
56
- unsubscribeClient = () => client.removeEventListener?.("change", onClientChange);
57
- }
58
- if (!unsubscribeNetwork) {
59
- unsubscribeNetwork = addNetworkEventListener(state => {
60
- const isConnected = state.isConnected === true && state.isInternetReachable !== false;
61
- const shouldRefresh = isConnected && wasConnected !== true && store.snapshot.status === "offline";
62
- wasConnected = isConnected;
63
- if (shouldRefresh) {
64
- void store.refresh(false);
65
- }
66
- });
67
- }
68
- return () => {
69
- listeners.delete(listener);
70
- if (listeners.size === 0) {
71
- unsubscribeClient?.();
72
- unsubscribeClient = undefined;
73
- unsubscribeNetwork?.();
74
- unsubscribeNetwork = undefined;
75
- wasConnected = undefined;
76
- }
77
- };
78
- },
79
- ...refreshActions,
80
- switchAccount: accountId => runAccountOperation(() => sessionClient.switchAccount(accountId)),
81
- removeAccount: accountId => runAccountOperation(() => sessionClient.removeAccount(accountId)),
82
- logout: async () => {
83
- if (logoutRequest) {
84
- return logoutRequest;
85
- }
86
- logoutRequest = (async () => {
87
- requestState.invalidate();
88
- try {
89
- await logoutSession(sessionClient);
90
- } finally {
91
- requestState.invalidate();
92
- store.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
93
- activeAccountId: requestState.getActiveAccountId()
94
- });
95
- notify();
96
- logoutRequest = undefined;
97
- }
98
- })();
99
- return logoutRequest;
100
- },
101
- revokeSessions: async option => {
102
- await sessionClient.revokeSessions(option);
103
- await store.refresh(true);
104
- }
105
- };
106
- storeRef.current = store;
107
- async function runAccountOperation(operation) {
108
- const currentStore = storeRef.current;
109
- requestState.invalidate();
110
- currentStore.snapshot = {
111
- ...currentStore.snapshot,
112
- switching: true,
113
- accounts: requestState.getAccounts()
114
- };
115
- notify();
116
- try {
117
- await operation();
118
- } finally {
119
- await currentStore.refresh(true);
120
- currentStore.snapshot = {
121
- ...currentStore.snapshot,
122
- switching: false
123
- };
124
- notify();
125
- }
126
- }
127
- return store;
128
- };
129
- const getSessionStore = client => {
130
- const key = client;
131
- const existing = stores.get(key);
132
- if (existing) {
133
- return existing;
134
- }
135
- const next = createSessionStore(client);
136
- stores.set(key, next);
137
- return next;
138
- };
139
- export { getSessionStore };
140
- //# sourceMappingURL=session-store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["addEventListener","addNetworkEventListener","isLogoutInProgress","logoutSession","createSessionRefreshActions","SessionStoreRequestState","createSignedOutSnapshot","stores","WeakMap","createSessionStore","client","sessionClient","listeners","Set","requestState","unsubscribeNetwork","unsubscribeClient","wasConnected","logoutRequest","storeRef","notify","forEach","listener","onClientChange","current","snapshot","switching","Promise","resolve","then","currentStore","getActiveLogin","refresh","status","invalidate","getAccounts","reason","activeAccountId","undefined","refreshActions","store","getActiveAccountId","accounts","sessions","subscribe","add","removeEventListener","state","isConnected","isInternetReachable","shouldRefresh","delete","size","switchAccount","accountId","runAccountOperation","removeAccount","logout","revokeSessions","option","operation","getSessionStore","key","existing","get","next","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core";
2
- /** Stores a completed login as the active one and tells session listeners. */
3
- export declare const saveLogin: (client: ReturnType<typeof useClient>, response: Pick<AuthResponse, "accessToken" | "refreshToken" | "profile" | "project">) => Promise<void>;
4
- //# sourceMappingURL=save-login.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"save-login.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/save-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIrD,8EAA8E;AAC9E,eAAO,MAAM,SAAS,GACpB,QAAQ,UAAU,CAAC,OAAO,SAAS,CAAC,EACpC,UAAU,IAAI,CACZ,YAAY,EACZ,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,CACvD,kBASF,CAAC"}
@@ -1,8 +0,0 @@
1
- import { SessionStoreRequestState } from "./session-store-request-state";
2
- import { type Client, type SessionStore } from "./session-store-types";
3
- declare const createSessionRefreshActions: (client: Client, requestState: SessionStoreRequestState, getStore: () => SessionStore, notify: () => void) => {
4
- refresh: (includeSessions: boolean) => Promise<void>;
5
- refreshSessions: () => Promise<void>;
6
- };
7
- export { createSessionRefreshActions };
8
- //# sourceMappingURL=session-store-refresh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-refresh.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-refresh.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAIL,KAAK,MAAM,EAEX,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAE/B,QAAA,MAAM,2BAA2B,GAC/B,QAAQ,MAAM,EACd,cAAc,wBAAwB,EACtC,UAAU,MAAM,YAAY,EAC5B,QAAQ,MAAM,IAAI;+BAEsB,OAAO;;CAyLhD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { Client, OvokNativeSession, SessionClient } from "./session-store-types";
2
- declare class SessionStoreRequestState {
3
- private readonly client;
4
- private readonly sessionClient;
5
- private profileRequest?;
6
- private sessionsRequest?;
7
- private profileNeedsRefresh;
8
- private activeAccountId?;
9
- private hasActiveAccount;
10
- private authRevision;
11
- constructor(client: Client, sessionClient: SessionClient);
12
- getAccounts: () => import("@ovok/core").OvokSavedAccount[];
13
- getActiveAccountId: () => string | undefined;
14
- syncActiveAccount: () => void;
15
- invalidate: () => void;
16
- nextRevision: () => number;
17
- get revision(): number;
18
- isCurrent: (revision: number) => boolean;
19
- getProfileRequest: () => Promise<import("@medplum/core").ProfileResource | undefined>;
20
- getSessionsRequest: () => Promise<OvokNativeSession[]>;
21
- }
22
- export { SessionStoreRequestState };
23
- //# sourceMappingURL=session-store-request-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-request-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-request-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,iBAAiB,EAEjB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,cAAM,wBAAwB;IAS1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAThC,OAAO,CAAC,cAAc,CAAC,CAAmB;IAC1C,OAAO,CAAC,eAAe,CAAC,CAA+B;IACvD,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,YAAY,CAAK;gBAGN,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAG/C,WAAW,gDAA+C;IAE1D,kBAAkB,2BAEiC;IAEnD,iBAAiB,aASf;IAEF,UAAU,aAOR;IAEF,YAAY,eAA6B;IAEzC,IAAI,QAAQ,WAEX;IAED,SAAS,GAAI,UAAU,MAAM,aAAoC;IAEjE,iBAAiB,qEAiCf;IAEF,kBAAkB,qCAYhB;CACH;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,40 +0,0 @@
1
- import type { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
2
- import type { OvokSavedAccount, useClient } from "@ovok/core";
3
- type Client = ReturnType<typeof useClient>;
4
- type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
5
- interface SessionSnapshot {
6
- status: SessionStatus;
7
- activeAccountId?: string;
8
- reason?: "session-ended";
9
- switching?: boolean;
10
- accounts: OvokSavedAccount[];
11
- profile?: Profile;
12
- profileAccountId?: string;
13
- sessions: OvokNativeSession[];
14
- error?: Error;
15
- }
16
- declare const profileMatchesAccount: (profile: Profile | undefined, accountId?: string) => boolean;
17
- interface SessionClient {
18
- getSavedAccounts: () => OvokSavedAccount[];
19
- switchAccount: (accountId: string) => Promise<void>;
20
- removeAccount: (accountId: string) => Promise<void>;
21
- logout: () => Promise<void>;
22
- getSessions: () => Promise<OvokNativeSession[]>;
23
- revokeSessions: (option: SessionRevokeOption) => Promise<void>;
24
- }
25
- interface SessionStore {
26
- snapshot: SessionSnapshot;
27
- subscribe: (listener: () => void) => () => void;
28
- refresh: (includeSessions: boolean) => Promise<void>;
29
- refreshSessions: () => Promise<void>;
30
- switchAccount: (accountId: string) => Promise<void>;
31
- removeAccount: (accountId: string) => Promise<void>;
32
- logout: () => Promise<void>;
33
- revokeSessions: (option: SessionRevokeOption) => Promise<void>;
34
- }
35
- /** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
36
- declare const createSignedOutSnapshot: (accounts: OvokSavedAccount[], extra?: Partial<SessionSnapshot>) => SessionSnapshot;
37
- declare const normalizeSession: (session: OvokNativeSession) => OvokNativeSession;
38
- export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
39
- export type { Client, OvokNativeSession, OvokSavedAccount, Profile, SessionClient, SessionSnapshot, SessionStore, };
40
- //# sourceMappingURL=session-store-types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE9D,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3C,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE9D,UAAU,eAAe;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,SAAS,OAAO,GAAG,SAAS,EAAE,YAAY,MAAM,YAmB9E,CAAC;AAEF,UAAU,aAAa;IACrB,gBAAgB,EAAE,MAAM,gBAAgB,EAAE,CAAC;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,WAAW,EAAE,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAChD,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,YAAY;IACpB,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,MAAM,IAAI,CAAC;IAChD,OAAO,EAAE,CAAC,eAAe,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,gHAAgH;AAChH,QAAA,MAAM,uBAAuB,GAC3B,UAAU,gBAAgB,EAAE,EAC5B,QAAO,OAAO,CAAC,eAAe,CAAM,KACnC,eAOD,CAAC;AAEH,QAAA,MAAM,gBAAgB,GAAI,SAAS,iBAAiB,KAAG,iBAatD,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;AAC5E,YAAY,EACV,MAAM,EACN,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,EACP,aAAa,EACb,eAAe,EACf,YAAY,GACb,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { Client, SessionStore } from "./session-store-types";
2
- declare const getSessionStore: (client: Client) => SessionStore;
3
- export { getSessionStore };
4
- //# sourceMappingURL=session-store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACb,MAAM,uBAAuB,CAAC;AA+K/B,QAAA,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,YAazC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -1,4 +0,0 @@
1
- import { AuthResponse, useClient } from "@ovok/core";
2
- /** Stores a completed login as the active one and tells session listeners. */
3
- export declare const saveLogin: (client: ReturnType<typeof useClient>, response: Pick<AuthResponse, "accessToken" | "refreshToken" | "profile" | "project">) => Promise<void>;
4
- //# sourceMappingURL=save-login.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"save-login.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/save-login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIrD,8EAA8E;AAC9E,eAAO,MAAM,SAAS,GACpB,QAAQ,UAAU,CAAC,OAAO,SAAS,CAAC,EACpC,UAAU,IAAI,CACZ,YAAY,EACZ,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,SAAS,CACvD,kBASF,CAAC"}
@@ -1,8 +0,0 @@
1
- import { SessionStoreRequestState } from "./session-store-request-state";
2
- import { type Client, type SessionStore } from "./session-store-types";
3
- declare const createSessionRefreshActions: (client: Client, requestState: SessionStoreRequestState, getStore: () => SessionStore, notify: () => void) => {
4
- refresh: (includeSessions: boolean) => Promise<void>;
5
- refreshSessions: () => Promise<void>;
6
- };
7
- export { createSessionRefreshActions };
8
- //# sourceMappingURL=session-store-refresh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-refresh.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-refresh.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAIL,KAAK,MAAM,EAEX,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAE/B,QAAA,MAAM,2BAA2B,GAC/B,QAAQ,MAAM,EACd,cAAc,wBAAwB,EACtC,UAAU,MAAM,YAAY,EAC5B,QAAQ,MAAM,IAAI;+BAEsB,OAAO;;CAyLhD,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { Client, OvokNativeSession, SessionClient } from "./session-store-types";
2
- declare class SessionStoreRequestState {
3
- private readonly client;
4
- private readonly sessionClient;
5
- private profileRequest?;
6
- private sessionsRequest?;
7
- private profileNeedsRefresh;
8
- private activeAccountId?;
9
- private hasActiveAccount;
10
- private authRevision;
11
- constructor(client: Client, sessionClient: SessionClient);
12
- getAccounts: () => import("@ovok/core").OvokSavedAccount[];
13
- getActiveAccountId: () => string | undefined;
14
- syncActiveAccount: () => void;
15
- invalidate: () => void;
16
- nextRevision: () => number;
17
- get revision(): number;
18
- isCurrent: (revision: number) => boolean;
19
- getProfileRequest: () => Promise<import("@medplum/core").ProfileResource | undefined>;
20
- getSessionsRequest: () => Promise<OvokNativeSession[]>;
21
- }
22
- export { SessionStoreRequestState };
23
- //# sourceMappingURL=session-store-request-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-request-state.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-request-state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,iBAAiB,EAEjB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,cAAM,wBAAwB;IAS1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAThC,OAAO,CAAC,cAAc,CAAC,CAAmB;IAC1C,OAAO,CAAC,eAAe,CAAC,CAA+B;IACvD,OAAO,CAAC,mBAAmB,CAAS;IACpC,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,YAAY,CAAK;gBAGN,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,aAAa;IAG/C,WAAW,gDAA+C;IAE1D,kBAAkB,2BAEiC;IAEnD,iBAAiB,aASf;IAEF,UAAU,aAOR;IAEF,YAAY,eAA6B;IAEzC,IAAI,QAAQ,WAEX;IAED,SAAS,GAAI,UAAU,MAAM,aAAoC;IAEjE,iBAAiB,qEAiCf;IAEF,kBAAkB,qCAYhB;CACH;AAED,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,40 +0,0 @@
1
- import type { OvokNativeSession, SessionRevokeOption, SessionStatus } from "../types/session";
2
- import type { OvokSavedAccount, useClient } from "@ovok/core";
3
- type Client = ReturnType<typeof useClient>;
4
- type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
5
- interface SessionSnapshot {
6
- status: SessionStatus;
7
- activeAccountId?: string;
8
- reason?: "session-ended";
9
- switching?: boolean;
10
- accounts: OvokSavedAccount[];
11
- profile?: Profile;
12
- profileAccountId?: string;
13
- sessions: OvokNativeSession[];
14
- error?: Error;
15
- }
16
- declare const profileMatchesAccount: (profile: Profile | undefined, accountId?: string) => boolean;
17
- interface SessionClient {
18
- getSavedAccounts: () => OvokSavedAccount[];
19
- switchAccount: (accountId: string) => Promise<void>;
20
- removeAccount: (accountId: string) => Promise<void>;
21
- logout: () => Promise<void>;
22
- getSessions: () => Promise<OvokNativeSession[]>;
23
- revokeSessions: (option: SessionRevokeOption) => Promise<void>;
24
- }
25
- interface SessionStore {
26
- snapshot: SessionSnapshot;
27
- subscribe: (listener: () => void) => () => void;
28
- refresh: (includeSessions: boolean) => Promise<void>;
29
- refreshSessions: () => Promise<void>;
30
- switchAccount: (accountId: string) => Promise<void>;
31
- removeAccount: (accountId: string) => Promise<void>;
32
- logout: () => Promise<void>;
33
- revokeSessions: (option: SessionRevokeOption) => Promise<void>;
34
- }
35
- /** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
36
- declare const createSignedOutSnapshot: (accounts: OvokSavedAccount[], extra?: Partial<SessionSnapshot>) => SessionSnapshot;
37
- declare const normalizeSession: (session: OvokNativeSession) => OvokNativeSession;
38
- export { createSignedOutSnapshot, normalizeSession, profileMatchesAccount };
39
- export type { Client, OvokNativeSession, OvokSavedAccount, Profile, SessionClient, SessionSnapshot, SessionStore, };
40
- //# sourceMappingURL=session-store-types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE9D,KAAK,MAAM,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC3C,KAAK,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE9D,UAAU,eAAe;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,qBAAqB,GAAI,SAAS,OAAO,GAAG,SAAS,EAAE,YAAY,MAAM,YAmB9E,CAAC;AAEF,UAAU,aAAa;IACrB,gBAAgB,EAAE,MAAM,gBAAgB,EAAE,CAAC;IAC3C,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EA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ore: (client: Client) => SessionStore;
3
- export { getSessionStore };
4
- //# sourceMappingURL=session-store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-store.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,MAAM,EAEN,YAAY,EACb,MAAM,uBAAuB,CAAC;AA+K/B,QAAA,MAAM,eAAe,GAAI,QAAQ,MAAM,KAAG,YAazC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}