@lookit/record 0.0.4 → 1.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/dist/consentVideo.d.ts +10 -8
- package/dist/index.browser.js +8 -7
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.min.js +2 -2
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/consentVideo.ts +5 -4
package/dist/consentVideo.d.ts
CHANGED
|
@@ -102,15 +102,16 @@ declare const info: {
|
|
|
102
102
|
readonly additional_segments: {
|
|
103
103
|
readonly type: ParameterType.COMPLEX;
|
|
104
104
|
readonly array: true;
|
|
105
|
+
readonly default: readonly [];
|
|
105
106
|
readonly nested: {
|
|
106
107
|
readonly title: {
|
|
107
108
|
readonly type: ParameterType.STRING;
|
|
108
109
|
readonly default: "";
|
|
109
110
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
readonly text: {
|
|
112
|
+
readonly type: ParameterType.STRING;
|
|
113
|
+
readonly default: "";
|
|
114
|
+
};
|
|
114
115
|
};
|
|
115
116
|
};
|
|
116
117
|
readonly prompt_all_adults: {
|
|
@@ -238,15 +239,16 @@ export declare class VideoConsentPlugin implements JsPsychPlugin<Info> {
|
|
|
238
239
|
readonly additional_segments: {
|
|
239
240
|
readonly type: ParameterType.COMPLEX;
|
|
240
241
|
readonly array: true;
|
|
242
|
+
readonly default: readonly [];
|
|
241
243
|
readonly nested: {
|
|
242
244
|
readonly title: {
|
|
243
245
|
readonly type: ParameterType.STRING;
|
|
244
246
|
readonly default: "";
|
|
245
247
|
};
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
readonly text: {
|
|
249
|
+
readonly type: ParameterType.STRING;
|
|
250
|
+
readonly default: "";
|
|
251
|
+
};
|
|
250
252
|
};
|
|
251
253
|
};
|
|
252
254
|
readonly prompt_all_adults: {
|
package/dist/index.browser.js
CHANGED
|
@@ -33,7 +33,7 @@ var chsRecord = (function (Data, chsTemplates, jspsych) {
|
|
|
33
33
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
var version = "0.0
|
|
36
|
+
var version = "1.0.0";
|
|
37
37
|
|
|
38
38
|
/** Error thrown when recorder is null. */
|
|
39
39
|
class RecorderInitializeError extends Error {
|
|
@@ -8597,7 +8597,7 @@ var chsRecord = (function (Data, chsTemplates, jspsych) {
|
|
|
8597
8597
|
var _a;
|
|
8598
8598
|
this.jsPsych = jsPsych;
|
|
8599
8599
|
this.blobs = [];
|
|
8600
|
-
this.localDownload = ((_a =
|
|
8600
|
+
this.localDownload = ((_a = "false") === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "true";
|
|
8601
8601
|
this.webcam_element_id = "lookit-jspsych-webcam";
|
|
8602
8602
|
this.streamClone = this.stream.clone();
|
|
8603
8603
|
autoBind(this);
|
|
@@ -8907,15 +8907,16 @@ var chsRecord = (function (Data, chsTemplates, jspsych) {
|
|
|
8907
8907
|
additional_segments: {
|
|
8908
8908
|
type: jspsych.ParameterType.COMPLEX,
|
|
8909
8909
|
array: true,
|
|
8910
|
+
default: [],
|
|
8910
8911
|
nested: {
|
|
8911
8912
|
title: {
|
|
8912
8913
|
type: jspsych.ParameterType.STRING,
|
|
8913
8914
|
default: "",
|
|
8914
8915
|
},
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8916
|
+
text: {
|
|
8917
|
+
type: jspsych.ParameterType.STRING,
|
|
8918
|
+
default: "",
|
|
8919
|
+
},
|
|
8919
8920
|
},
|
|
8920
8921
|
},
|
|
8921
8922
|
prompt_all_adults: { type: jspsych.ParameterType.BOOL, default: false },
|
|
@@ -10097,4 +10098,4 @@ var chsRecord = (function (Data, chsTemplates, jspsych) {
|
|
|
10097
10098
|
return index;
|
|
10098
10099
|
|
|
10099
10100
|
})(chsData, chsTemplates, jsPsychModule);
|
|
10100
|
-
//# sourceMappingURL=https://unpkg.com/@lookit/record@0.0
|
|
10101
|
+
//# sourceMappingURL=https://unpkg.com/@lookit/record@1.0.0/dist/index.browser.js.map
|