Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Sep 12:43
2ee3198

Minor Changes

  • 4479720: Accept experiment_id, the name the jsPsych extension and plugin use for the experiment ID, so the same option is spelled the same way everywhere.

    experimentID still works and there are no plans to remove it. Give one or the other. If both are given and differ, saveData, saveBase64Data and getCondition throw, and a session starts inert with a console warning. Nothing changes on the wire.

  • 132affd: Pass the session to saveData with session instead of flushing and reading sessionId yourself. saveData waits for the session to start and sends its id.

    Adds session.ready(), which resolves once the session has started (or failed to). It waits only for startup, not for staged writes, so a final submission from a background tab is no longer held up by a throttled flush. sessionId still works.