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