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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jspsych",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "description": "Behavioral experiments in a browser",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@jspsych/config": "^1.1.0",
47
- "@jspsych/test-utils": "^1.1.0",
47
+ "@jspsych/test-utils": "^1.1.1",
48
48
  "@types/dom-mediacapture-record": "^1.0.11"
49
49
  }
50
50
  }
package/src/JsPsych.ts CHANGED
@@ -189,7 +189,7 @@ export class JsPsych {
189
189
 
190
190
  async simulate(
191
191
  timeline: any[],
192
- simulation_mode: "data-only" | "visual",
192
+ simulation_mode: "data-only" | "visual" = "data-only",
193
193
  simulation_options = {}
194
194
  ) {
195
195
  this.simulation_mode = simulation_mode;