@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/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
36
36
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
var version = "0.0
|
|
39
|
+
var version = "1.0.0";
|
|
40
40
|
|
|
41
41
|
/** Error thrown when recorder is null. */
|
|
42
42
|
class RecorderInitializeError extends Error {
|
|
@@ -8600,7 +8600,7 @@ class Recorder {
|
|
|
8600
8600
|
var _a;
|
|
8601
8601
|
this.jsPsych = jsPsych;
|
|
8602
8602
|
this.blobs = [];
|
|
8603
|
-
this.localDownload = ((_a =
|
|
8603
|
+
this.localDownload = ((_a = "false") === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "true";
|
|
8604
8604
|
this.webcam_element_id = "lookit-jspsych-webcam";
|
|
8605
8605
|
this.streamClone = this.stream.clone();
|
|
8606
8606
|
autoBind(this);
|
|
@@ -8910,15 +8910,16 @@ const info$3 = {
|
|
|
8910
8910
|
additional_segments: {
|
|
8911
8911
|
type: jspsych.ParameterType.COMPLEX,
|
|
8912
8912
|
array: true,
|
|
8913
|
+
default: [],
|
|
8913
8914
|
nested: {
|
|
8914
8915
|
title: {
|
|
8915
8916
|
type: jspsych.ParameterType.STRING,
|
|
8916
8917
|
default: "",
|
|
8917
8918
|
},
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8919
|
+
text: {
|
|
8920
|
+
type: jspsych.ParameterType.STRING,
|
|
8921
|
+
default: "",
|
|
8922
|
+
},
|
|
8922
8923
|
},
|
|
8923
8924
|
},
|
|
8924
8925
|
prompt_all_adults: { type: jspsych.ParameterType.BOOL, default: false },
|