SDK changelog
1.0.0-beta.1 (2026-10-26)
Changed
- A first state that does not come in time still rejects
readywithTIMEOUT, but no longer ends the client. The client keeps listening andstateChangedreports the first state when it comes. Commands called before that state reject withTIMEOUT. A rebind that gets no answer still ends the client withCONTEXT_CHANGED.
1.0.0-beta (2026-10-22)
The first beta of the SDK. The API may still change before 1.0.0.
Added
NablaConnect.create({ iframe, url })loads the encounter URL in the iframe, runs the handshake, and returns aNablaConnectClient. Render the iframe without asrc.client.readyresolves with the first state once the handshake is done.- Commands:
startRecording(),stopRecording(),startNoteGeneration()andexportNote(). One runs at a time. A command that gets no answer within 30 seconds rejects withTIMEOUTand thereasonNO_RESULT. It means the outcome is unknown, not that the command failed: readgetCurrentState()or wait forstateChangedto learn it. getCurrentState(),waitUntilClosable()anddestroy().- Events:
stateChanged,noteExported,patientInstructionsExportedanderror. NablaConnectErrorandNablaConnectErrorEvent, with the error codesINVALID_ORIGIN,INVALID_MESSAGE,BUSY,TIMEOUT,COMMAND_REJECTED,CONTEXT_CHANGED,UNSUPPORTED_VERSION,DESTROYEDandUNKNOWN. A bound client ends withCONTEXT_CHANGEDwhen another document boots in its iframe, another client binds the same iframe, or the iframe moves to another origin. Create a new client to continue.- TypeScript declarations for the client, the state, and the exported note and patient instructions.
- The package ships this changelog.