jspsych 7.1.0 → 7.1.1

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/dist/JsPsych.d.ts CHANGED
@@ -69,7 +69,7 @@ export declare class JsPsych {
69
69
  * @param timeline The timeline to be run
70
70
  */
71
71
  run(timeline: any[]): Promise<void>;
72
- simulate(timeline: any[], simulation_mode: "data-only" | "visual", simulation_options?: {}): Promise<void>;
72
+ simulate(timeline: any[], simulation_mode?: "data-only" | "visual", simulation_options?: {}): Promise<void>;
73
73
  getProgress(): {
74
74
  total_trials: number;
75
75
  current_trial_global: number;
@@ -68,7 +68,7 @@ var jsPsychModule = (function (exports) {
68
68
  return self;
69
69
  };
70
70
 
71
- var version = "7.1.0";
71
+ var version = "7.1.1";
72
72
 
73
73
  class MigrationError extends Error {
74
74
  constructor(message = "The global `jsPsych` variable is no longer available in jsPsych v7.") {
@@ -2530,7 +2530,7 @@ var jsPsychModule = (function (exports) {
2530
2530
  yield this.finished;
2531
2531
  });
2532
2532
  }
2533
- simulate(timeline, simulation_mode, simulation_options = {}) {
2533
+ simulate(timeline, simulation_mode = "data-only", simulation_options = {}) {
2534
2534
  return __awaiter(this, void 0, void 0, function* () {
2535
2535
  this.simulation_mode = simulation_mode;
2536
2536
  this.simulation_options = simulation_options;