@lookit/record 5.0.0 → 6.0.0
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/README.md +76 -5
- package/dist/index.browser.js +14 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.min.js +7 -7
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +30 -2
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/consentVideo.ts +19 -1
package/dist/index.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var Handlebars = require('handlebars');
|
|
|
8
8
|
|
|
9
9
|
var _package = {
|
|
10
10
|
name: "@lookit/record",
|
|
11
|
-
version: "
|
|
11
|
+
version: "6.0.0",
|
|
12
12
|
description: "Recording extensions and plugins for CHS studies.",
|
|
13
13
|
homepage: "https://github.com/lookit/lookit-jspsych#readme",
|
|
14
14
|
bugs: {
|
|
@@ -50,7 +50,7 @@ var _package = {
|
|
|
50
50
|
},
|
|
51
51
|
peerDependencies: {
|
|
52
52
|
"@lookit/data": "^0.3.0",
|
|
53
|
-
"@lookit/templates": "^3.
|
|
53
|
+
"@lookit/templates": "^3.1.0",
|
|
54
54
|
jspsych: "^8.0.3"
|
|
55
55
|
}
|
|
56
56
|
};
|
|
@@ -455,7 +455,15 @@ const info$3 = {
|
|
|
455
455
|
name: "consent-video",
|
|
456
456
|
version: _package.version,
|
|
457
457
|
parameters: {
|
|
458
|
-
template: {
|
|
458
|
+
template: {
|
|
459
|
+
type: jspsych.ParameterType.SELECT,
|
|
460
|
+
options: [
|
|
461
|
+
"consent-template-5",
|
|
462
|
+
"consent-garden",
|
|
463
|
+
"consent-recording-only"
|
|
464
|
+
],
|
|
465
|
+
default: "consent-template-5"
|
|
466
|
+
},
|
|
459
467
|
locale: { type: jspsych.ParameterType.STRING, default: "en-us" },
|
|
460
468
|
additional_video_privacy_statement: {
|
|
461
469
|
type: jspsych.ParameterType.STRING,
|
|
@@ -500,7 +508,8 @@ const info$3 = {
|
|
|
500
508
|
prompt_all_adults: { type: jspsych.ParameterType.BOOL, default: false },
|
|
501
509
|
prompt_only_adults: { type: jspsych.ParameterType.BOOL, default: false },
|
|
502
510
|
consent_statement_text: { type: jspsych.ParameterType.STRING, default: "" },
|
|
503
|
-
omit_injury_phrase: { type: jspsych.ParameterType.BOOL, default: false }
|
|
511
|
+
omit_injury_phrase: { type: jspsych.ParameterType.BOOL, default: false },
|
|
512
|
+
only_consent_on_chs: { type: jspsych.ParameterType.BOOL, default: false }
|
|
504
513
|
},
|
|
505
514
|
data: {
|
|
506
515
|
chs_type: {
|