@myinterview/widget-react 1.1.18 → 1.1.19-beta-4778044
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/cjs/index.js +7 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +7 -6
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -2
package/dist/esm/index.js
CHANGED
|
@@ -28681,7 +28681,7 @@ const prod_config = {
|
|
|
28681
28681
|
const config$1 = (configEnv) => {
|
|
28682
28682
|
let env = configEnv;
|
|
28683
28683
|
try {
|
|
28684
|
-
env !== null && env !== void 0 ? env : (env =
|
|
28684
|
+
env !== null && env !== void 0 ? env : (env = "staging");
|
|
28685
28685
|
}
|
|
28686
28686
|
catch (_a) { }
|
|
28687
28687
|
switch (env) {
|
|
@@ -28700,8 +28700,8 @@ const configGenerator = () => {
|
|
|
28700
28700
|
let environment;
|
|
28701
28701
|
let release;
|
|
28702
28702
|
try {
|
|
28703
|
-
environment !== null && environment !== void 0 ? environment : (environment =
|
|
28704
|
-
release !== null && release !== void 0 ? release : (release =
|
|
28703
|
+
environment !== null && environment !== void 0 ? environment : (environment = "staging");
|
|
28704
|
+
release !== null && release !== void 0 ? release : (release = "1.1.19");
|
|
28705
28705
|
}
|
|
28706
28706
|
catch (_a) {
|
|
28707
28707
|
console.error('sentry configGenerator error');
|
|
@@ -42672,6 +42672,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42672
42672
|
}
|
|
42673
42673
|
}),
|
|
42674
42674
|
[SERVICES$2.GET_MEDIA_RECORDER]: (context) => (callback) => __awaiter(void 0, void 0, void 0, function* () {
|
|
42675
|
+
var _c;
|
|
42675
42676
|
const { mediaStream, mimeType, videoBitsPerSecond } = context;
|
|
42676
42677
|
let startTime;
|
|
42677
42678
|
let pausedTime;
|
|
@@ -42726,7 +42727,7 @@ const recorderMachineV2 = createMachine({
|
|
|
42726
42727
|
};
|
|
42727
42728
|
mediaRecorder.start(10000);
|
|
42728
42729
|
callback({ type: EVENTS$6.SET_MEDIA_RECORDER, data: mediaRecorder });
|
|
42729
|
-
emitTrackEvent({ eventType: 'cameraInitialized' });
|
|
42730
|
+
emitTrackEvent({ eventType: 'cameraInitialized', extraData: { label: (_c = context.selectedVideoDevice) === null || _c === void 0 ? void 0 : _c.label } });
|
|
42730
42731
|
if (context.isMicError)
|
|
42731
42732
|
callback(EVENTS$6.PAUSE_MEDIA_RECORDER);
|
|
42732
42733
|
return () => {
|
|
@@ -45175,8 +45176,8 @@ var preview$5 = {
|
|
|
45175
45176
|
}
|
|
45176
45177
|
};
|
|
45177
45178
|
var upload$5 = {
|
|
45178
|
-
title: "Uploading Your
|
|
45179
|
-
subtitle: "Don't go yet! Your
|
|
45179
|
+
title: "Uploading Your Responses",
|
|
45180
|
+
subtitle: "Don't go yet! Your responses are being uploaded.",
|
|
45180
45181
|
errorInfo: "Upload incomplete. Please check your internet connection and we will try again."
|
|
45181
45182
|
};
|
|
45182
45183
|
var questionList$5 = {
|