@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.
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-session.js +150 -28
- package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +25 -11
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +19 -20
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +1 -3
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-snapshot.js +33 -0
- package/lib/commonjs/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +8 -10
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/background-sync/android-background-sync.js +6 -0
- package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
- package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +12 -12
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -12
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/commonjs/modules/cms/cms-locale.js +13 -0
- package/lib/commonjs/modules/cms/cms-locale.js.map +1 -0
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js +35 -14
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +2 -6
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +11 -23
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -4
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +36 -39
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/session-owner.js +18 -0
- package/lib/commonjs/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/commonjs/modules/image/components/optimized-image.js +3 -3
- package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
- package/lib/commonjs/modules/next/bluetooth/channel.js +89 -0
- package/lib/commonjs/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js +48 -0
- package/lib/commonjs/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js +20 -0
- package/lib/commonjs/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/index.js +65 -0
- package/lib/commonjs/modules/next/bluetooth/index.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js +55 -0
- package/lib/commonjs/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/link.js +105 -0
- package/lib/commonjs/modules/next/bluetooth/link.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js +69 -0
- package/lib/commonjs/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js +164 -0
- package/lib/commonjs/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js +46 -0
- package/lib/commonjs/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/commonjs/modules/next/ovok.js +5 -1
- package/lib/commonjs/modules/next/ovok.js.map +1 -1
- package/lib/commonjs/modules/next/use-native-ovok.js +17 -0
- package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +27 -27
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/commonjs/modules/socket/components/socket-provider.js +9 -4
- package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/commonjs/modules/ui/components/urine-test-result.js +3 -3
- package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js +45 -0
- package/lib/commonjs/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js +60 -0
- package/lib/commonjs/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/commonjs/modules/wearables/index.js +50 -0
- package/lib/commonjs/modules/wearables/index.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js +6 -0
- package/lib/commonjs/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-session.js +151 -30
- package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +21 -7
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +16 -17
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +1 -3
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-snapshot.js +28 -0
- package/lib/module/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/background-sync/android-background-sync.js +6 -0
- package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/module/modules/cms/cms-locale.js +8 -0
- package/lib/module/modules/cms/cms-locale.js.map +1 -0
- package/lib/module/modules/cms/hooks/use-cms-content.js +35 -15
- package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-locale.js +1 -6
- package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-translations.js +10 -23
- package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/module/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/module/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +3 -3
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/module/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/storage-manager.js +35 -39
- package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/module/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/module/modules/data-sync/utils/session-owner.js +13 -0
- package/lib/module/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/module/modules/image/components/optimized-image.js +3 -3
- package/lib/module/modules/image/components/optimized-image.js.map +1 -1
- package/lib/module/modules/next/bluetooth/channel.js +85 -0
- package/lib/module/modules/next/bluetooth/channel.js.map +1 -0
- package/lib/module/modules/next/bluetooth/driver.js +45 -0
- package/lib/module/modules/next/bluetooth/driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/drivers.js +17 -0
- package/lib/module/modules/next/bluetooth/drivers.js.map +1 -0
- package/lib/module/modules/next/bluetooth/index.js +8 -0
- package/lib/module/modules/next/bluetooth/index.js.map +1 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js +51 -0
- package/lib/module/modules/next/bluetooth/legacy-driver.js.map +1 -0
- package/lib/module/modules/next/bluetooth/link.js +103 -0
- package/lib/module/modules/next/bluetooth/link.js.map +1 -0
- package/lib/module/modules/next/bluetooth/result-policy.js +61 -0
- package/lib/module/modules/next/bluetooth/result-policy.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js +156 -0
- package/lib/module/modules/next/bluetooth/sig-profiles.js.map +1 -0
- package/lib/module/modules/next/bluetooth/sig-values.js +38 -0
- package/lib/module/modules/next/bluetooth/sig-values.js.map +1 -0
- package/lib/module/modules/next/ovok.js +5 -1
- package/lib/module/modules/next/ovok.js.map +1 -1
- package/lib/module/modules/next/use-native-ovok.js +12 -0
- package/lib/module/modules/next/use-native-ovok.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +5 -5
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/module/modules/socket/components/socket-provider.js +9 -4
- package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/module/modules/wearables/components/wearable-provider-icon.js +39 -0
- package/lib/module/modules/wearables/components/wearable-provider-icon.js.map +1 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js +56 -0
- package/lib/module/modules/wearables/constants/wearable-providers.js.map +1 -0
- package/lib/module/modules/wearables/index.js +7 -0
- package/lib/module/modules/wearables/index.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js +4 -0
- package/lib/module/modules/wearables/types/wearable-provider-icon-props.js.map +1 -0
- package/lib/module/modules/wearables/types/wearable-source.js +4 -0
- package/lib/module/modules/wearables/types/wearable-source.js.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/commonjs/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/commonjs/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts +19 -0
- package/lib/typescript/module/src/modules/next/bluetooth/channel.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts +32 -0
- package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts +7 -0
- package/lib/typescript/module/src/modules/next/bluetooth/drivers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +9 -0
- package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts +8 -0
- package/lib/typescript/module/src/modules/next/bluetooth/legacy-driver.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts +13 -0
- package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts +14 -0
- package/lib/typescript/module/src/modules/next/bluetooth/result-policy.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts +16 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-profiles.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts +15 -0
- package/lib/typescript/module/src/modules/next/bluetooth/sig-values.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts +3 -0
- package/lib/typescript/module/src/modules/wearables/components/wearable-provider-icon.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts +8 -0
- package/lib/typescript/module/src/modules/wearables/constants/wearable-providers.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts +5 -0
- package/lib/typescript/module/src/modules/wearables/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts +6 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-provider-icon-props.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts +4 -0
- package/lib/typescript/module/src/modules/wearables/types/wearable-source.d.ts.map +1 -0
- package/package.json +3 -3
- package/lib/commonjs/modules/auth/session/save-login.js +0 -19
- package/lib/commonjs/modules/auth/session/save-login.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-refresh.js +0 -142
- package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-request-state.js +0 -73
- package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-types.js +0 -39
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store.js +0 -144
- package/lib/commonjs/modules/auth/session/session-store.js.map +0 -1
- package/lib/module/modules/auth/session/save-login.js +0 -15
- package/lib/module/modules/auth/session/save-login.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-refresh.js +0 -138
- package/lib/module/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-request-state.js +0 -69
- package/lib/module/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-types.js +0 -33
- package/lib/module/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/module/modules/auth/session/session-store.js +0 -140
- package/lib/module/modules/auth/session/session-store.js.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +0 -1
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.createSessionRefreshActions = void 0;
|
|
7
|
-
var _sessionErrors = require("./session-errors.js");
|
|
8
|
-
var _sessionStoreTypes = require("./session-store-types.js");
|
|
9
|
-
const createSessionRefreshActions = (client, requestState, getStore, notify) => {
|
|
10
|
-
const refresh = async includeSessions => {
|
|
11
|
-
const store = getStore();
|
|
12
|
-
requestState.syncActiveAccount();
|
|
13
|
-
const activeAccountId = requestState.getActiveAccountId();
|
|
14
|
-
if (!client.getActiveLogin()) {
|
|
15
|
-
requestState.nextRevision();
|
|
16
|
-
store.snapshot = (0, _sessionStoreTypes.createSignedOutSnapshot)(requestState.getAccounts(), {
|
|
17
|
-
activeAccountId,
|
|
18
|
-
reason: store.snapshot.reason,
|
|
19
|
-
switching: store.snapshot.switching
|
|
20
|
-
});
|
|
21
|
-
notify();
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (store.snapshot.activeAccountId !== activeAccountId) {
|
|
25
|
-
store.snapshot = {
|
|
26
|
-
...store.snapshot,
|
|
27
|
-
activeAccountId,
|
|
28
|
-
profile: undefined,
|
|
29
|
-
profileAccountId: undefined,
|
|
30
|
-
sessions: [],
|
|
31
|
-
error: undefined
|
|
32
|
-
};
|
|
33
|
-
notify();
|
|
34
|
-
}
|
|
35
|
-
const revision = requestState.nextRevision();
|
|
36
|
-
const previousSnapshot = store.snapshot;
|
|
37
|
-
if (!store.snapshot.switching && store.snapshot.status !== "authenticated" && store.snapshot.status !== "offline") {
|
|
38
|
-
store.snapshot = {
|
|
39
|
-
...store.snapshot,
|
|
40
|
-
status: "loading",
|
|
41
|
-
error: undefined
|
|
42
|
-
};
|
|
43
|
-
notify();
|
|
44
|
-
}
|
|
45
|
-
const currentProfileRequest = requestState.getProfileRequest();
|
|
46
|
-
const currentSessionsRequest = includeSessions ? requestState.getSessionsRequest() : undefined;
|
|
47
|
-
const [profileResult, sessionsResult] = await Promise.all([currentProfileRequest.then(profile => ({
|
|
48
|
-
profile
|
|
49
|
-
}), error => ({
|
|
50
|
-
error
|
|
51
|
-
})), (currentSessionsRequest ?? Promise.resolve(previousSnapshot.sessions)).then(sessions => ({
|
|
52
|
-
sessions
|
|
53
|
-
}), error => ({
|
|
54
|
-
error
|
|
55
|
-
}))]);
|
|
56
|
-
if (!requestState.isCurrent(revision)) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
const profile = "profile" in profileResult ? (0, _sessionStoreTypes.profileMatchesAccount)(profileResult.profile, activeAccountId) ? profileResult.profile : undefined : previousSnapshot.profileAccountId === activeAccountId && (0, _sessionStoreTypes.profileMatchesAccount)(previousSnapshot.profile, activeAccountId) ? previousSnapshot.profile : undefined;
|
|
60
|
-
const profileAccountId = profile ? "profile" in profileResult ? activeAccountId : previousSnapshot.profileAccountId : undefined;
|
|
61
|
-
const sessions = "sessions" in sessionsResult ? sessionsResult.sessions : previousSnapshot.sessions;
|
|
62
|
-
const error = "error" in profileResult ? profileResult.error : "error" in sessionsResult ? sessionsResult.error : undefined;
|
|
63
|
-
const accounts = requestState.getAccounts();
|
|
64
|
-
const nextSnapshot = !client.getActiveLogin() || (0, _sessionErrors.getHttpStatus)(error) === 401 ? (0, _sessionStoreTypes.createSignedOutSnapshot)(accounts, {
|
|
65
|
-
activeAccountId,
|
|
66
|
-
error: error === undefined ? undefined : (0, _sessionErrors.toError)(error)
|
|
67
|
-
}) : "error" in profileResult ? {
|
|
68
|
-
status: "offline",
|
|
69
|
-
activeAccountId,
|
|
70
|
-
accounts,
|
|
71
|
-
profile,
|
|
72
|
-
profileAccountId,
|
|
73
|
-
sessions: sessions.map(_sessionStoreTypes.normalizeSession),
|
|
74
|
-
error: (0, _sessionErrors.toError)(profileResult.error)
|
|
75
|
-
} : {
|
|
76
|
-
status: "authenticated",
|
|
77
|
-
activeAccountId,
|
|
78
|
-
accounts,
|
|
79
|
-
profile,
|
|
80
|
-
profileAccountId,
|
|
81
|
-
sessions: sessions.map(_sessionStoreTypes.normalizeSession),
|
|
82
|
-
error: "error" in sessionsResult ? (0, _sessionErrors.toError)(sessionsResult.error) : undefined
|
|
83
|
-
};
|
|
84
|
-
store.snapshot = {
|
|
85
|
-
...nextSnapshot,
|
|
86
|
-
switching: previousSnapshot.switching
|
|
87
|
-
};
|
|
88
|
-
notify();
|
|
89
|
-
};
|
|
90
|
-
const refreshSessions = async () => {
|
|
91
|
-
const store = getStore();
|
|
92
|
-
requestState.syncActiveAccount();
|
|
93
|
-
if (!client.getActiveLogin()) {
|
|
94
|
-
store.snapshot = {
|
|
95
|
-
...store.snapshot,
|
|
96
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
97
|
-
accounts: requestState.getAccounts(),
|
|
98
|
-
sessions: []
|
|
99
|
-
};
|
|
100
|
-
notify();
|
|
101
|
-
return;
|
|
102
|
-
}
|
|
103
|
-
const revision = requestState.revision;
|
|
104
|
-
try {
|
|
105
|
-
const sessions = await requestState.getSessionsRequest();
|
|
106
|
-
if (!requestState.isCurrent(revision)) {
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
store.snapshot = {
|
|
110
|
-
...store.snapshot,
|
|
111
|
-
accounts: requestState.getAccounts(),
|
|
112
|
-
sessions: sessions.map(_sessionStoreTypes.normalizeSession),
|
|
113
|
-
error: undefined
|
|
114
|
-
};
|
|
115
|
-
notify();
|
|
116
|
-
} catch (cause) {
|
|
117
|
-
if (!requestState.isCurrent(revision)) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
const error = (0, _sessionErrors.toError)(cause);
|
|
121
|
-
if (!client.getActiveLogin() || (0, _sessionErrors.getHttpStatus)(cause) === 401) {
|
|
122
|
-
store.snapshot = (0, _sessionStoreTypes.createSignedOutSnapshot)(requestState.getAccounts(), {
|
|
123
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
124
|
-
error
|
|
125
|
-
});
|
|
126
|
-
} else {
|
|
127
|
-
store.snapshot = {
|
|
128
|
-
...store.snapshot,
|
|
129
|
-
error
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
notify();
|
|
133
|
-
throw error;
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
return {
|
|
137
|
-
refresh,
|
|
138
|
-
refreshSessions
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
exports.createSessionRefreshActions = createSessionRefreshActions;
|
|
142
|
-
//# sourceMappingURL=session-store-refresh.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_sessionErrors","require","_sessionStoreTypes","createSessionRefreshActions","client","requestState","getStore","notify","refresh","includeSessions","store","syncActiveAccount","activeAccountId","getActiveAccountId","getActiveLogin","nextRevision","snapshot","createSignedOutSnapshot","getAccounts","reason","switching","profile","undefined","profileAccountId","sessions","error","revision","previousSnapshot","status","currentProfileRequest","getProfileRequest","currentSessionsRequest","getSessionsRequest","profileResult","sessionsResult","Promise","all","then","resolve","isCurrent","profileMatchesAccount","accounts","nextSnapshot","getHttpStatus","toError","map","normalizeSession","refreshSessions","cause","exports"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-refresh.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAEA,IAAAC,kBAAA,GAAAD,OAAA;AASA,MAAME,2BAA2B,GAAGA,CAClCC,MAAc,EACdC,YAAsC,EACtCC,QAA4B,EAC5BC,MAAkB,KACf;EACH,MAAMC,OAAO,GAAG,MAAOC,eAAwB,IAAK;IAClD,MAAMC,KAAK,GAAGJ,QAAQ,CAAC,CAAC;IAExBD,YAAY,CAACM,iBAAiB,CAAC,CAAC;IAChC,MAAMC,eAAe,GAAGP,YAAY,CAACQ,kBAAkB,CAAC,CAAC;IAEzD,IAAI,CAACT,MAAM,CAACU,cAAc,CAAC,CAAC,EAAE;MAC5BT,YAAY,CAACU,YAAY,CAAC,CAAC;MAC3BL,KAAK,CAACM,QAAQ,GAAG,IAAAC,0CAAuB,EAACZ,YAAY,CAACa,WAAW,CAAC,CAAC,EAAE;QACnEN,eAAe;QACfO,MAAM,EAAET,KAAK,CAACM,QAAQ,CAACG,MAAM;QAC7BC,SAAS,EAAEV,KAAK,CAACM,QAAQ,CAACI;MAC5B,CAAC,CAAC;MACFb,MAAM,CAAC,CAAC;MAER;IACF;IAEA,IAAIG,KAAK,CAACM,QAAQ,CAACJ,eAAe,KAAKA,eAAe,EAAE;MACtDF,KAAK,CAACM,QAAQ,GAAG;QACf,GAAGN,KAAK,CAACM,QAAQ;QACjBJ,eAAe;QACfS,OAAO,EAAEC,SAAS;QAClBC,gBAAgB,EAAED,SAAS;QAC3BE,QAAQ,EAAE,EAAE;QACZC,KAAK,EAAEH;MACT,CAAC;MACDf,MAAM,CAAC,CAAC;IACV;IAEA,MAAMmB,QAAQ,GAAGrB,YAAY,CAACU,YAAY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AE5B,IAAI,CAAC5C,MAAM,CAACU,cAAc,CAAC,CAAC,IAAI,IAAA6B,4BAAa,EAACK,KAAK,CAAC,KAAK,GAAG,EAAE;QAC5DtC,KAAK,CAACM,QAAQ,GAAG,IAAAC,0CAAuB,EAACZ,YAAY,CAACa,WAAW,CAAC,CAAC,EAAE;UACnEN,eAAe,EAAEP,YAAY,CAACQ,kBAAkB,CAAC,CAAC;UAClDY;QACF,CAAC,CAAC;MACJ,CAAC,MAAM;QACLf,KAAK,CAACM,QAAQ,GAAG;UAAE,GAAGN,KAAK,CAACM,QAAQ;UAAES;QAAM,CAAC;MAC/C;MACAlB,MAAM,CAAC,CAAC;MACR,MAAMkB,KAAK;IACb;EACF,CAAC;EAED,OAAO;IAAEjB,OAAO;IAAEuC;EAAgB,CAAC;AACrC,CAAC;AAACE,OAAA,CAAA9C,2BAAA,GAAAA,2BAAA","ignoreList":[]}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.SessionStoreRequestState = void 0;
|
|
7
|
-
class SessionStoreRequestState {
|
|
8
|
-
profileNeedsRefresh = false;
|
|
9
|
-
hasActiveAccount = false;
|
|
10
|
-
authRevision = 0;
|
|
11
|
-
constructor(client, sessionClient) {
|
|
12
|
-
this.client = client;
|
|
13
|
-
this.sessionClient = sessionClient;
|
|
14
|
-
}
|
|
15
|
-
getAccounts = () => this.sessionClient.getSavedAccounts();
|
|
16
|
-
getActiveAccountId = () => this.getAccounts().find(account => account.active)?.id ?? this.client.getActiveLogin()?.profile?.reference;
|
|
17
|
-
syncActiveAccount = () => {
|
|
18
|
-
const nextAccountId = this.getActiveAccountId();
|
|
19
|
-
if (this.hasActiveAccount && this.activeAccountId !== nextAccountId) {
|
|
20
|
-
this.invalidate();
|
|
21
|
-
}
|
|
22
|
-
this.activeAccountId = nextAccountId;
|
|
23
|
-
this.hasActiveAccount = true;
|
|
24
|
-
};
|
|
25
|
-
invalidate = () => {
|
|
26
|
-
this.authRevision += 1;
|
|
27
|
-
this.profileRequest = undefined;
|
|
28
|
-
this.sessionsRequest = undefined;
|
|
29
|
-
this.profileNeedsRefresh = false;
|
|
30
|
-
this.activeAccountId = this.getActiveAccountId();
|
|
31
|
-
this.hasActiveAccount = true;
|
|
32
|
-
};
|
|
33
|
-
nextRevision = () => ++this.authRevision;
|
|
34
|
-
get revision() {
|
|
35
|
-
return this.authRevision;
|
|
36
|
-
}
|
|
37
|
-
isCurrent = revision => revision === this.authRevision;
|
|
38
|
-
getProfileRequest = () => {
|
|
39
|
-
if (!this.profileRequest) {
|
|
40
|
-
const requestAccountId = this.getActiveAccountId();
|
|
41
|
-
const request = (this.profileNeedsRefresh ? this.client.refetchProfile() : this.client.getProfileAsync()).then(profile => {
|
|
42
|
-
if (requestAccountId === this.getActiveAccountId()) {
|
|
43
|
-
this.profileNeedsRefresh = false;
|
|
44
|
-
}
|
|
45
|
-
return profile;
|
|
46
|
-
}).catch(cause => {
|
|
47
|
-
if (requestAccountId === this.getActiveAccountId()) {
|
|
48
|
-
this.profileNeedsRefresh = true;
|
|
49
|
-
}
|
|
50
|
-
throw cause;
|
|
51
|
-
}).finally(() => {
|
|
52
|
-
if (this.profileRequest === request) {
|
|
53
|
-
this.profileRequest = undefined;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
this.profileRequest = request;
|
|
57
|
-
}
|
|
58
|
-
return this.profileRequest;
|
|
59
|
-
};
|
|
60
|
-
getSessionsRequest = () => {
|
|
61
|
-
if (!this.sessionsRequest) {
|
|
62
|
-
const request = this.sessionClient.getSessions().finally(() => {
|
|
63
|
-
if (this.sessionsRequest === request) {
|
|
64
|
-
this.sessionsRequest = undefined;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
this.sessionsRequest = request;
|
|
68
|
-
}
|
|
69
|
-
return this.sessionsRequest;
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
exports.SessionStoreRequestState = SessionStoreRequestState;
|
|
73
|
-
//# 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","exports"],"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,CACQC,MAAc,EACdC,aAA4B,EAC7C;IAAA,KAFiBD,MAAc,GAAdA,MAAc;IAAA,KACdC,aAA4B,GAA5BA,aAA4B;EAC5C;EAEHC,WAAW,GAAGA,CAAA,KAAM,IAAI,CAACD,aAAa,CAACE,gBAAgB,CAAC,CAAC;EAEzDC,kBAAkB,GAAGA,CAAA,KACnB,IAAI,CAACF,WAAW,CAAC,CAAC,CAACG,IAAI,CAAEC,OAAO,IAAKA,OAAO,CAACC,MAAM,CAAC,EAAEC,EAAE,IACxD,IAAI,CAACR,MAAM,CAACS,cAAc,CAAC,CAAC,EAAEC,OAAO,EAAEC,SAAS;EAElDC,iBAAiB,GAAGA,CAAA,KAAM;IACxB,MAAMC,aAAa,GAAG,IAAI,CAACT,kBAAkB,CAAC,CAAC;IAE/C,IAAI,IAAI,CAACP,gBAAgB,IAAI,IAAI,CAACiB,eAAe,KAAKD,aAAa,EAAE;MACnE,IAAI,CAACE,UAAU,CAAC,CAAC;IACnB;IAEA,IAAI,CAACD,eAAe,GAAGD,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O,CAAC,MAAM;QACb,IAAI,IAAI,CAACd,cAAc,KAAKQ,OAAO,EAAE;UACnC,IAAI,CAACR,cAAc,GAAGC,SAAS;QACjC;MACF,CAAC,CAAC;MAEJ,IAAI,CAACD,cAAc,GAAGQ,OAAO;IAC/B;IAEA,OAAO,IAAI,CAACR,cAAc;EAC5B,CAAC;EAEDe,kBAAkB,GAAGA,CAAA,KAAM;IACzB,IAAI,CAAC,IAAI,CAACb,eAAe,EAAE;MACzB,MAAMM,OAAO,GAAG,IAAI,CAACvB,aAAa,CAAC+B,WAAW,CAAC,CAAC,CAACF,OAAO,CAAC,MAAM;QAC7D,IAAI,IAAI,CAACZ,eAAe,KAAKM,OAAO,EAAE;UACpC,IAAI,CAACN,eAAe,GAAGD,SAAS;QAClC;MACF,CAAC,CAAC;MAEF,IAAI,CAACC,eAAe,GAAGM,OAAO;IAChC;IAEA,OAAO,IAAI,CAACN,eAAe;EAC7B,CAAC;AACH;AAACe,OAAA,CAAAtC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.profileMatchesAccount = exports.normalizeSession = exports.createSignedOutSnapshot = void 0;
|
|
7
|
-
const profileMatchesAccount = (profile, accountId) => {
|
|
8
|
-
if (!profile || !accountId) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
const identity = profile;
|
|
12
|
-
if (!identity.id) {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
const profileReference = identity.resourceType ? `${identity.resourceType}/${identity.id}` : identity.id;
|
|
16
|
-
return accountId === profileReference || accountId.endsWith(`/${identity.id}`);
|
|
17
|
-
};
|
|
18
|
-
exports.profileMatchesAccount = profileMatchesAccount;
|
|
19
|
-
/** A signed-out snapshot: no profile, no sessions; `extra` sets activeAccountId, reason, switching or error. */
|
|
20
|
-
const createSignedOutSnapshot = (accounts, extra = {}) => ({
|
|
21
|
-
status: "signed-out",
|
|
22
|
-
profile: undefined,
|
|
23
|
-
profileAccountId: undefined,
|
|
24
|
-
accounts,
|
|
25
|
-
sessions: [],
|
|
26
|
-
...extra
|
|
27
|
-
});
|
|
28
|
-
exports.createSignedOutSnapshot = createSignedOutSnapshot;
|
|
29
|
-
const normalizeSession = session => {
|
|
30
|
-
const legacy = session;
|
|
31
|
-
return {
|
|
32
|
-
id: session.id,
|
|
33
|
-
authMethod: session.authMethod,
|
|
34
|
-
remoteAddress: session.remoteAddress ?? legacy.ip,
|
|
35
|
-
lastUpdated: session.lastUpdated ?? legacy.lastActiveAt ?? legacy.createdAt
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
exports.normalizeSession = normalizeSession;
|
|
39
|
-
//# sourceMappingURL=session-store-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["profileMatchesAccount","profile","accountId","identity","id","profileReference","resourceType","endsWith","exports","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;AAACI,OAAA,CAAAR,qBAAA,GAAAA,qBAAA;AAsBF;AACA,MAAMS,uBAAuB,GAAGA,CAC9BC,QAA4B,EAC5BC,KAA+B,GAAG,CAAC,CAAC,MACf;EACrBC,MAAM,EAAE,YAAY;EACpBX,OAAO,EAAEY,SAAS;EAClBC,gBAAgB,EAAED,SAAS;EAC3BH,QAAQ;EACRK,QAAQ,EAAE,EAAE;EACZ,GAAGJ;AACL,CAAC,CAAC;AAACH,OAAA,CAAAC,uBAAA,GAAAA,uBAAA;AAEH,MAAMO,gBAAgB,GAAIC,OAA0B,IAAwB;EAC1E,MAAMC,MAAM,GAAGD,OAId;EAED,OAAO;IACLb,EAAE,EAAEa,OAAO,CAACb,EAAE;IACde,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;AAAChB,OAAA,CAAAQ,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getSessionStore = void 0;
|
|
7
|
-
var _netinfo = require("@react-native-community/netinfo");
|
|
8
|
-
var _logoutSession = require("./logout-session.js");
|
|
9
|
-
var _sessionStoreRefresh = require("./session-store-refresh.js");
|
|
10
|
-
var _sessionStoreRequestState = require("./session-store-request-state.js");
|
|
11
|
-
var _sessionStoreTypes = require("./session-store-types.js");
|
|
12
|
-
const stores = new WeakMap();
|
|
13
|
-
const createSessionStore = client => {
|
|
14
|
-
const sessionClient = client;
|
|
15
|
-
const listeners = new Set();
|
|
16
|
-
const requestState = new _sessionStoreRequestState.SessionStoreRequestState(client, sessionClient);
|
|
17
|
-
let unsubscribeNetwork;
|
|
18
|
-
let unsubscribeClient;
|
|
19
|
-
let wasConnected;
|
|
20
|
-
let logoutRequest;
|
|
21
|
-
const storeRef = {};
|
|
22
|
-
const notify = () => listeners.forEach(listener => listener());
|
|
23
|
-
const onClientChange = () => {
|
|
24
|
-
if ((0, _logoutSession.isLogoutInProgress)(client) || storeRef.current?.snapshot.switching) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
void Promise.resolve().then(() => {
|
|
28
|
-
const currentStore = storeRef.current;
|
|
29
|
-
if (!currentStore || (0, _logoutSession.isLogoutInProgress)(client) || currentStore.snapshot.switching) {
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
if (client.getActiveLogin()) {
|
|
33
|
-
void currentStore.refresh(false);
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
if (currentStore.snapshot.status !== "authenticated" && currentStore.snapshot.status !== "offline") {
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
requestState.invalidate();
|
|
40
|
-
currentStore.snapshot = (0, _sessionStoreTypes.createSignedOutSnapshot)(requestState.getAccounts(), {
|
|
41
|
-
reason: "session-ended",
|
|
42
|
-
activeAccountId: undefined
|
|
43
|
-
});
|
|
44
|
-
notify();
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
const refreshActions = (0, _sessionStoreRefresh.createSessionRefreshActions)(client, requestState, () => storeRef.current, notify);
|
|
48
|
-
const store = {
|
|
49
|
-
snapshot: {
|
|
50
|
-
status: "loading",
|
|
51
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
52
|
-
switching: false,
|
|
53
|
-
accounts: requestState.getAccounts(),
|
|
54
|
-
sessions: []
|
|
55
|
-
},
|
|
56
|
-
subscribe: listener => {
|
|
57
|
-
listeners.add(listener);
|
|
58
|
-
if (!unsubscribeClient) {
|
|
59
|
-
client.addEventListener?.("change", onClientChange);
|
|
60
|
-
unsubscribeClient = () => client.removeEventListener?.("change", onClientChange);
|
|
61
|
-
}
|
|
62
|
-
if (!unsubscribeNetwork) {
|
|
63
|
-
unsubscribeNetwork = (0, _netinfo.addEventListener)(state => {
|
|
64
|
-
const isConnected = state.isConnected === true && state.isInternetReachable !== false;
|
|
65
|
-
const shouldRefresh = isConnected && wasConnected !== true && store.snapshot.status === "offline";
|
|
66
|
-
wasConnected = isConnected;
|
|
67
|
-
if (shouldRefresh) {
|
|
68
|
-
void store.refresh(false);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
return () => {
|
|
73
|
-
listeners.delete(listener);
|
|
74
|
-
if (listeners.size === 0) {
|
|
75
|
-
unsubscribeClient?.();
|
|
76
|
-
unsubscribeClient = undefined;
|
|
77
|
-
unsubscribeNetwork?.();
|
|
78
|
-
unsubscribeNetwork = undefined;
|
|
79
|
-
wasConnected = undefined;
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
},
|
|
83
|
-
...refreshActions,
|
|
84
|
-
switchAccount: accountId => runAccountOperation(() => sessionClient.switchAccount(accountId)),
|
|
85
|
-
removeAccount: accountId => runAccountOperation(() => sessionClient.removeAccount(accountId)),
|
|
86
|
-
logout: async () => {
|
|
87
|
-
if (logoutRequest) {
|
|
88
|
-
return logoutRequest;
|
|
89
|
-
}
|
|
90
|
-
logoutRequest = (async () => {
|
|
91
|
-
requestState.invalidate();
|
|
92
|
-
try {
|
|
93
|
-
await (0, _logoutSession.logoutSession)(sessionClient);
|
|
94
|
-
} finally {
|
|
95
|
-
requestState.invalidate();
|
|
96
|
-
store.snapshot = (0, _sessionStoreTypes.createSignedOutSnapshot)(requestState.getAccounts(), {
|
|
97
|
-
activeAccountId: requestState.getActiveAccountId()
|
|
98
|
-
});
|
|
99
|
-
notify();
|
|
100
|
-
logoutRequest = undefined;
|
|
101
|
-
}
|
|
102
|
-
})();
|
|
103
|
-
return logoutRequest;
|
|
104
|
-
},
|
|
105
|
-
revokeSessions: async option => {
|
|
106
|
-
await sessionClient.revokeSessions(option);
|
|
107
|
-
await store.refresh(true);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
storeRef.current = store;
|
|
111
|
-
async function runAccountOperation(operation) {
|
|
112
|
-
const currentStore = storeRef.current;
|
|
113
|
-
requestState.invalidate();
|
|
114
|
-
currentStore.snapshot = {
|
|
115
|
-
...currentStore.snapshot,
|
|
116
|
-
switching: true,
|
|
117
|
-
accounts: requestState.getAccounts()
|
|
118
|
-
};
|
|
119
|
-
notify();
|
|
120
|
-
try {
|
|
121
|
-
await operation();
|
|
122
|
-
} finally {
|
|
123
|
-
await currentStore.refresh(true);
|
|
124
|
-
currentStore.snapshot = {
|
|
125
|
-
...currentStore.snapshot,
|
|
126
|
-
switching: false
|
|
127
|
-
};
|
|
128
|
-
notify();
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return store;
|
|
132
|
-
};
|
|
133
|
-
const getSessionStore = client => {
|
|
134
|
-
const key = client;
|
|
135
|
-
const existing = stores.get(key);
|
|
136
|
-
if (existing) {
|
|
137
|
-
return existing;
|
|
138
|
-
}
|
|
139
|
-
const next = createSessionStore(client);
|
|
140
|
-
stores.set(key, next);
|
|
141
|
-
return next;
|
|
142
|
-
};
|
|
143
|
-
exports.getSessionStore = getSessionStore;
|
|
144
|
-
//# sourceMappingURL=session-store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_netinfo","require","_logoutSession","_sessionStoreRefresh","_sessionStoreRequestState","_sessionStoreTypes","stores","WeakMap","createSessionStore","client","sessionClient","listeners","Set","requestState","SessionStoreRequestState","unsubscribeNetwork","unsubscribeClient","wasConnected","logoutRequest","storeRef","notify","forEach","listener","onClientChange","isLogoutInProgress","current","snapshot","switching","Promise","resolve","then","currentStore","getActiveLogin","refresh","status","invalidate","createSignedOutSnapshot","getAccounts","reason","activeAccountId","undefined","refreshActions","createSessionRefreshActions","store","getActiveAccountId","accounts","sessions","subscribe","add","addEventListener","removeEventListener","addNetworkEventListener","state","isConnected","isInternetReachable","shouldRefresh","delete","size","switchAccount","accountId","runAccountOperation","removeAccount","logout","logoutSession","revokeSessions","option","operation","getSessionStore","key","existing","get","next","set","exports"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store.ts"],"mappings":";;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AASA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AACA,IAAAI,kBAAA,GAAAJ,OAAA;AAEA,MAAMK,MAAM,GAAG,IAAIC,OAAO,CAAuB,CAAC;AAElD,MAAMC,kBAAkB,GAAIC,MAAc,IAAmB;EAC3D,MAAMC,aAAa,GAAGD,MAAkC;EACxD,MAAME,SAAS,GAAG,IAAIC,GAAG,CAAa,CAAC;EACvC,MAAMC,YAAY,GAAG,IAAIC,kDAAwB,CAACL,MAAM,EAAEC,aAAa,CAAC;EACxE,IAAIK,kBAA4C;EAChD,IAAIC,iBAA2C;EAC/C,IAAIC,YAAiC;EACrC,IAAIC,aAAwC;EAC5C,MAAMC,QAAoC,GAAG,CAAC,CAAC;EAE/C,MAAMC,MAAM,GAAGA,CAAA,KAAMT,SAAS,CAACU,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAAC,CAAC,CAAC;EAEhE,MAAMC,cAAc,GAAGA,CAAA,KAAM;IAC3B,IACE,IAAAC,iCAAkB,EAACf,MAAM,CAAC,IAC1BU,QAAQ,CAACM,OAAO,EAAEC,QAAQ,CAACC,SAAS,EACpC;MACA;IACF;IAEA,KAAKC,OAAO,CAACC,OAAO,CAAC,CAAC,CAACC,IAAI,CAAC,MAAM;MAChC,MAAMC,YAAY,GAAGZ,QAAQ,CAACM,OAAO;MAErC,IACE,CAACM,YAAY,IACb,IAAAP,iCAAkB,EAACf,MAAM,CAAC,IAC1BsB,YAAY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B,CAACC,MAAM,CAAC;EAEvCH,MAAM,CAACkE,GAAG,CAACJ,GAAG,EAAEG,IAAI,CAAC;EAErB,OAAOA,IAAI;AACb,CAAC;AAACE,OAAA,CAAAN,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { notifySessionChanged } from "./events.js";
|
|
4
|
-
|
|
5
|
-
/** Stores a completed login as the active one and tells session listeners. */
|
|
6
|
-
export const saveLogin = async (client, response) => {
|
|
7
|
-
await client.setActiveLogin({
|
|
8
|
-
accessToken: response.accessToken,
|
|
9
|
-
refreshToken: response.refreshToken,
|
|
10
|
-
profile: response.profile,
|
|
11
|
-
project: response.project
|
|
12
|
-
});
|
|
13
|
-
notifySessionChanged();
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=save-login.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["notifySessionChanged","saveLogin","client","response","setActiveLogin","accessToken","refreshToken","profile","project"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/save-login.ts"],"mappings":";;AAEA,SAASA,oBAAoB,QAAQ,aAAU;;AAE/C;AACA,OAAO,MAAMC,SAAS,GAAG,MAAAA,CACvBC,MAAoC,EACpCC,QAGC,KACE;EACH,MAAMD,MAAM,CAACE,cAAc,CAAC;IAC1BC,WAAW,EAAEF,QAAQ,CAACE,WAAW;IACjCC,YAAY,EAAEH,QAAQ,CAACG,YAAY;IACnCC,OAAO,EAAEJ,QAAQ,CAACI,OAAO;IACzBC,OAAO,EAAEL,QAAQ,CAACK;EACpB,CAAC,CAAC;EACFR,oBAAoB,CAAC,CAAC;AACxB,CAAC","ignoreList":[]}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { getHttpStatus, toError } from "./session-errors.js";
|
|
4
|
-
import { normalizeSession, createSignedOutSnapshot, profileMatchesAccount } from "./session-store-types.js";
|
|
5
|
-
const createSessionRefreshActions = (client, requestState, getStore, notify) => {
|
|
6
|
-
const refresh = async includeSessions => {
|
|
7
|
-
const store = getStore();
|
|
8
|
-
requestState.syncActiveAccount();
|
|
9
|
-
const activeAccountId = requestState.getActiveAccountId();
|
|
10
|
-
if (!client.getActiveLogin()) {
|
|
11
|
-
requestState.nextRevision();
|
|
12
|
-
store.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
|
|
13
|
-
activeAccountId,
|
|
14
|
-
reason: store.snapshot.reason,
|
|
15
|
-
switching: store.snapshot.switching
|
|
16
|
-
});
|
|
17
|
-
notify();
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
if (store.snapshot.activeAccountId !== activeAccountId) {
|
|
21
|
-
store.snapshot = {
|
|
22
|
-
...store.snapshot,
|
|
23
|
-
activeAccountId,
|
|
24
|
-
profile: undefined,
|
|
25
|
-
profileAccountId: undefined,
|
|
26
|
-
sessions: [],
|
|
27
|
-
error: undefined
|
|
28
|
-
};
|
|
29
|
-
notify();
|
|
30
|
-
}
|
|
31
|
-
const revision = requestState.nextRevision();
|
|
32
|
-
const previousSnapshot = store.snapshot;
|
|
33
|
-
if (!store.snapshot.switching && store.snapshot.status !== "authenticated" && store.snapshot.status !== "offline") {
|
|
34
|
-
store.snapshot = {
|
|
35
|
-
...store.snapshot,
|
|
36
|
-
status: "loading",
|
|
37
|
-
error: undefined
|
|
38
|
-
};
|
|
39
|
-
notify();
|
|
40
|
-
}
|
|
41
|
-
const currentProfileRequest = requestState.getProfileRequest();
|
|
42
|
-
const currentSessionsRequest = includeSessions ? requestState.getSessionsRequest() : undefined;
|
|
43
|
-
const [profileResult, sessionsResult] = await Promise.all([currentProfileRequest.then(profile => ({
|
|
44
|
-
profile
|
|
45
|
-
}), error => ({
|
|
46
|
-
error
|
|
47
|
-
})), (currentSessionsRequest ?? Promise.resolve(previousSnapshot.sessions)).then(sessions => ({
|
|
48
|
-
sessions
|
|
49
|
-
}), error => ({
|
|
50
|
-
error
|
|
51
|
-
}))]);
|
|
52
|
-
if (!requestState.isCurrent(revision)) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const profile = "profile" in profileResult ? profileMatchesAccount(profileResult.profile, activeAccountId) ? profileResult.profile : undefined : previousSnapshot.profileAccountId === activeAccountId && profileMatchesAccount(previousSnapshot.profile, activeAccountId) ? previousSnapshot.profile : undefined;
|
|
56
|
-
const profileAccountId = profile ? "profile" in profileResult ? activeAccountId : previousSnapshot.profileAccountId : undefined;
|
|
57
|
-
const sessions = "sessions" in sessionsResult ? sessionsResult.sessions : previousSnapshot.sessions;
|
|
58
|
-
const error = "error" in profileResult ? profileResult.error : "error" in sessionsResult ? sessionsResult.error : undefined;
|
|
59
|
-
const accounts = requestState.getAccounts();
|
|
60
|
-
const nextSnapshot = !client.getActiveLogin() || getHttpStatus(error) === 401 ? createSignedOutSnapshot(accounts, {
|
|
61
|
-
activeAccountId,
|
|
62
|
-
error: error === undefined ? undefined : toError(error)
|
|
63
|
-
}) : "error" in profileResult ? {
|
|
64
|
-
status: "offline",
|
|
65
|
-
activeAccountId,
|
|
66
|
-
accounts,
|
|
67
|
-
profile,
|
|
68
|
-
profileAccountId,
|
|
69
|
-
sessions: sessions.map(normalizeSession),
|
|
70
|
-
error: toError(profileResult.error)
|
|
71
|
-
} : {
|
|
72
|
-
status: "authenticated",
|
|
73
|
-
activeAccountId,
|
|
74
|
-
accounts,
|
|
75
|
-
profile,
|
|
76
|
-
profileAccountId,
|
|
77
|
-
sessions: sessions.map(normalizeSession),
|
|
78
|
-
error: "error" in sessionsResult ? toError(sessionsResult.error) : undefined
|
|
79
|
-
};
|
|
80
|
-
store.snapshot = {
|
|
81
|
-
...nextSnapshot,
|
|
82
|
-
switching: previousSnapshot.switching
|
|
83
|
-
};
|
|
84
|
-
notify();
|
|
85
|
-
};
|
|
86
|
-
const refreshSessions = async () => {
|
|
87
|
-
const store = getStore();
|
|
88
|
-
requestState.syncActiveAccount();
|
|
89
|
-
if (!client.getActiveLogin()) {
|
|
90
|
-
store.snapshot = {
|
|
91
|
-
...store.snapshot,
|
|
92
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
93
|
-
accounts: requestState.getAccounts(),
|
|
94
|
-
sessions: []
|
|
95
|
-
};
|
|
96
|
-
notify();
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const revision = requestState.revision;
|
|
100
|
-
try {
|
|
101
|
-
const sessions = await requestState.getSessionsRequest();
|
|
102
|
-
if (!requestState.isCurrent(revision)) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
store.snapshot = {
|
|
106
|
-
...store.snapshot,
|
|
107
|
-
accounts: requestState.getAccounts(),
|
|
108
|
-
sessions: sessions.map(normalizeSession),
|
|
109
|
-
error: undefined
|
|
110
|
-
};
|
|
111
|
-
notify();
|
|
112
|
-
} catch (cause) {
|
|
113
|
-
if (!requestState.isCurrent(revision)) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
const error = toError(cause);
|
|
117
|
-
if (!client.getActiveLogin() || getHttpStatus(cause) === 401) {
|
|
118
|
-
store.snapshot = createSignedOutSnapshot(requestState.getAccounts(), {
|
|
119
|
-
activeAccountId: requestState.getActiveAccountId(),
|
|
120
|
-
error
|
|
121
|
-
});
|
|
122
|
-
} else {
|
|
123
|
-
store.snapshot = {
|
|
124
|
-
...store.snapshot,
|
|
125
|
-
error
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
notify();
|
|
129
|
-
throw error;
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
return {
|
|
133
|
-
refresh,
|
|
134
|
-
refreshSessions
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
export { createSessionRefreshActions };
|
|
138
|
-
//# sourceMappingURL=session-store-refresh.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["getHttpStatus","toError","normalizeSession","createSignedOutSnapshot","profileMatchesAccount","createSessionRefreshActions","client","requestState","getStore","notify","refresh","includeSessions","store","syncActiveAccount","activeAccountId","getActiveAccountId","getActiveLogin","nextRevision","snapshot","getAccounts","reason","switching","profile","undefined","profileAccountId","sessions","error","revision","previousSnapshot","status","currentProfileRequest","getProfileRequest","currentSessionsRequest","getSessionsRequest","profileResult","sessionsResult","Promise","all","then","resolve","isCurrent","accounts","nextSnapshot","map","refreshSessions","cause"],"sourceRoot":"../../../../../src","sources":["modules/auth/session/session-store-refresh.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,OAAO,QAAQ,qBAAkB;AAEzD,SACEC,gBAAgB,EAChBC,uBAAuB,EACvBC,qBAAqB,QAIhB,0BAAuB;AAE9B,MAAMC,2BAA2B,GAAGA,CAClCC,MAAc,EACdC,YAAsC,EACtCC,QAA4B,EAC5BC,MAAkB,KACf;EACH,MAAMC,OAAO,GAAG,MAAOC,eAAwB,IAAK;IAClD,MAAMC,KAAK,GAAGJ,QAAQ,CAAC,CAAC;IAExBD,YAAY,CAACM,iBAAiB,CAAC,CAAC;IAChC,MAAMC,eAAe,GAAGP,YAAY,CAACQ,kBAAkB,CAAC,CAAC;IAEzD,IAAI,CAACT,MAAM,CAACU,cAAc,CAAC,CAAC,EAAE;MAC5BT,YAAY,CAACU,YAAY,CAAC,CAAC;MAC3BL,KAAK,CAACM,QAAQ,GAAGf,uBAAuB,CAACI,YAAY,CAACY,WAAW,CAAC,CAAC,EAAE;QACnEL,eAAe;QACfM,MAAM,EAAER,KAAK,CAACM,QAAQ,CAACE,MAAM;QAC7BC,SAAS,EAAET,KAAK,CAACM,QAAQ,CAACG;MAC5B,CAAC,CAAC;MACFZ,MAAM,CAAC,CAAC;MAER;IACF;IAEA,IAAIG,KAAK,CAACM,QAAQ,CAACJ,eAAe,KAAKA,eAAe,EAAE;MACtDF,KAAK,CAACM,QAAQ,GAAG;QACf,GAAGN,KAAK,CAACM,QAAQ;QACjBJ,eAAe;QACfQ,OAAO,EAAEC,SAAS;QAClBC,gB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