Skip to content

Releases: fibricheck/javascript-sdk

4.1.0

Choose a tag to compare

@ThomasReyskens ThomasReyskens released this 14 Dec 10:30
45a8035

Added / Improved

  • onConsentNeeded() callback from the sdk.authenticate call has been made optional
  • New symptoms have been added: dizziness, feeling_of_fainting and racing_heart
  • mostSevereLabel has 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

Choose a tag to compare

@ThomasReyskens ThomasReyskens released this 05 Dec 15:32
8929b6a

Breaking Changes

  • sdk.updateProfile signature changed from updateProfile: (userId: String, profileData: ProfileData) to updateProfile: (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

Choose a tag to compare

@ThomasReyskens ThomasReyskens released this 14 Jul 14:39
5acb688

Breaking Changes

  • postMeasurementnow throws a NoActivePrescriptionError when 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 prescription
  • sdk.updateMeasurementContext: update the measurement context after a measurement has already been posted
  • sdk.updateProfile: update profile information

Changed

  • Errors thrown by sdk.activePrescription are now more clear -> NoActivePrescriptionError & AlreadyActivatedError