Merge pull request #3349 from jspsych/changeset-release/main

Version Packages
This commit is contained in:
Josh de Leeuw 2024-07-17 19:10:21 -04:00 committed by GitHub
commit 0082626b74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
14 changed files with 26 additions and 20 deletions

View File

@ -1,6 +0,0 @@
---
"@jspsych/plugin-audio-button-response": patch
"@jspsych/plugin-audio-slider-response": patch
---
Fixed negative response times being recorded by ensuring if the AudioContext object exists, startTime is recorded with respect to that.

View File

@ -3,7 +3,7 @@
<head> <head>
<script src="docs-demo-timeline.js"></script> <script src="docs-demo-timeline.js"></script>
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.1"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" /> <link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" />

View File

@ -3,7 +3,7 @@
<head> <head>
<script src="docs-demo-timeline.js"></script> <script src="docs-demo-timeline.js"></script>
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.1"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" /> <link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" />

View File

@ -3,7 +3,7 @@
<head> <head>
<script src="docs-demo-timeline.js"></script> <script src="docs-demo-timeline.js"></script>
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<!--<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.0"></script>--> <!--<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.1"></script>-->
<script src="../../packages/plugin-audio-button-response/dist/index.browser.js"></script> <script src="../../packages/plugin-audio-button-response/dist/index.browser.js"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script>

View File

@ -3,7 +3,7 @@
<head> <head>
<script src="docs-demo-timeline.js"></script> <script src="docs-demo-timeline.js"></script>
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.1"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" /> <link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" />

View File

@ -3,7 +3,7 @@
<head> <head>
<script src="docs-demo-timeline.js"></script> <script src="docs-demo-timeline.js"></script>
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.1"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-preload@2.0.0"></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" /> <link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css" />

View File

@ -4,7 +4,7 @@
<script src="https://unpkg.com/jspsych@8.0.0"></script> <script src="https://unpkg.com/jspsych@8.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-button-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-html-audio-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-html-audio-response@2.0.0"></script>
<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.1"></script>
<script src="https://unpkg.com/@jspsych/plugin-initialize-microphone@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-initialize-microphone@2.0.0"></script>
<link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css"> <link rel="stylesheet" href="https://unpkg.com/jspsych@8.0.0/css/jspsych.css">
<style> <style>

View File

@ -1,6 +1,6 @@
# audio-button-response # audio-button-response
Current version: 2.0.0. [See version history](https://github.com/jspsych/jsPsych/blob/main/packages/plugin-audio-button-response/CHANGELOG.md). Current version: 2.0.1. [See version history](https://github.com/jspsych/jsPsych/blob/main/packages/plugin-audio-button-response/CHANGELOG.md).
This plugin plays audio files and records responses generated with a button click. This plugin plays audio files and records responses generated with a button click.
@ -49,7 +49,7 @@ This may change in a future version as we improve the simulation modes.
Using the CDN-hosted JavaScript file: Using the CDN-hosted JavaScript file:
```js ```js
<script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-button-response@2.0.1"></script>
``` ```
Using the JavaScript file downloaded from a GitHub release dist archive: Using the JavaScript file downloaded from a GitHub release dist archive:

View File

@ -1,6 +1,6 @@
# audio-slider-response # audio-slider-response
Current version: 2.0.0. [See version history](https://github.com/jspsych/jsPsych/blob/main/packages/plugin-audio-slider-response/CHANGELOG.md). Current version: 2.0.1. [See version history](https://github.com/jspsych/jsPsych/blob/main/packages/plugin-audio-slider-response/CHANGELOG.md).
This plugin plays an audio file and allows the participant to respond by dragging a slider. This plugin plays an audio file and allows the participant to respond by dragging a slider.
@ -52,7 +52,7 @@ This may change in a future version as we improve the simulation modes.
Using the CDN-hosted JavaScript file: Using the CDN-hosted JavaScript file:
```js ```js
<script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.0"></script> <script src="https://unpkg.com/@jspsych/plugin-audio-slider-response@2.0.1"></script>
``` ```
Using the JavaScript file downloaded from a GitHub release dist archive: Using the JavaScript file downloaded from a GitHub release dist archive:

4
package-lock.json generated
View File

@ -18193,7 +18193,7 @@
}, },
"packages/plugin-audio-button-response": { "packages/plugin-audio-button-response": {
"name": "@jspsych/plugin-audio-button-response", "name": "@jspsych/plugin-audio-button-response",
"version": "2.0.0", "version": "2.0.1",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@jspsych/config": "^3.0.0", "@jspsych/config": "^3.0.0",
@ -18217,7 +18217,7 @@
}, },
"packages/plugin-audio-slider-response": { "packages/plugin-audio-slider-response": {
"name": "@jspsych/plugin-audio-slider-response", "name": "@jspsych/plugin-audio-slider-response",
"version": "2.0.0", "version": "2.0.1",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@jspsych/config": "^3.0.0", "@jspsych/config": "^3.0.0",

View File

@ -1,5 +1,11 @@
# @jspsych/plugin-audio-button-response # @jspsych/plugin-audio-button-response
## 2.0.1
### Patch Changes
- [#3348](https://github.com/jspsych/jsPsych/pull/3348) [`5552e48b`](https://github.com/jspsych/jsPsych/commit/5552e48b4bd0961c0dcb7dea31b7218e22e10de2) Thanks [@Bankminer78](https://github.com/Bankminer78)! - Fixed negative response times being recorded by ensuring if the AudioContext object exists, startTime is recorded with respect to that.
## 2.0.0 ## 2.0.0
### Major Changes ### Major Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@jspsych/plugin-audio-button-response", "name": "@jspsych/plugin-audio-button-response",
"version": "2.0.0", "version": "2.0.1",
"description": "jsPsych plugin for playing an audio file and getting a button response", "description": "jsPsych plugin for playing an audio file and getting a button response",
"type": "module", "type": "module",
"main": "dist/index.cjs", "main": "dist/index.cjs",

View File

@ -1,5 +1,11 @@
# @jspsych/plugin-audio-slider-response # @jspsych/plugin-audio-slider-response
## 2.0.1
### Patch Changes
- [#3348](https://github.com/jspsych/jsPsych/pull/3348) [`5552e48b`](https://github.com/jspsych/jsPsych/commit/5552e48b4bd0961c0dcb7dea31b7218e22e10de2) Thanks [@Bankminer78](https://github.com/Bankminer78)! - Fixed negative response times being recorded by ensuring if the AudioContext object exists, startTime is recorded with respect to that.
## 2.0.0 ## 2.0.0
### Major Changes ### Major Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@jspsych/plugin-audio-slider-response", "name": "@jspsych/plugin-audio-slider-response",
"version": "2.0.0", "version": "2.0.1",
"description": "", "description": "",
"type": "module", "type": "module",
"main": "dist/index.cjs", "main": "dist/index.cjs",