Releases: fibricheck/javascript-sdk
Releases · fibricheck/javascript-sdk
Release list
4.1.0
Added / Improved
onConsentNeeded()callback from thesdk.authenticatecall has been made optional- New symptoms have been added:
dizziness,feeling_of_faintingandracing_heart mostSevereLabelhas been added to the measurement object. More info can be found on the docs.- OAuth2 is now supported as an authentication method. For more information and examples, you can refer to the documentation
v4.0.0
Breaking Changes
sdk.updateProfilesignature changed fromupdateProfile: (userId: String, profileData: ProfileData)toupdateProfile: (profileData: ProfileData). This way, you don't need to provide the userId
Added / Improved
- ProfileData interface has been expanded
- The user's time zone is now applied to the periodic reports
- Outdated reports are now rerendered
v3.0.0
Breaking Changes
- postMeasurementnow throws a
NoActivePrescriptionErrorwhen no active prescription is active when trying to post a measurement
Added
- Symptom severity score can now be added to a measurement context
sdk.canPerformMeasurement: check if you have an active prescriptionsdk.updateMeasurementContext: update the measurement context after a measurement has already been postedsdk.updateProfile: update profile information
Changed
- Errors thrown by
sdk.activePrescriptionare now more clear ->NoActivePrescriptionError&AlreadyActivatedError