idmission-web-sdk 2.2.134 → 2.2.136

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.
@@ -211,7 +211,7 @@
211
211
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
212
212
  };
213
213
 
214
- var webSdkVersion = '2.2.134';
214
+ var webSdkVersion = '2.2.136';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -9342,8 +9342,9 @@
9342
9342
  return [4 /*yield*/, navigator.mediaDevices.enumerateDevices()];
9343
9343
  case 2:
9344
9344
  videoDevices = _a.sent().filter(function (_a) {
9345
- var kind = _a.kind;
9346
- return kind === 'videoinput';
9345
+ var kind = _a.kind,
9346
+ label = _a.label;
9347
+ return kind === 'videoinput' && !label.toLowerCase().includes('virtual');
9347
9348
  });
9348
9349
  // Release the access to the user's camera that we obtained for enumeration purposes.
9349
9350
  cameraEnumerationStream.getVideoTracks().forEach(function (track) {
@@ -27066,6 +27067,8 @@
27066
27067
  var _b = _a.lang,
27067
27068
  lang = _b === void 0 ? 'auto' : _b,
27068
27069
  sessionId = _a.sessionId,
27070
+ jobId = _a.jobId,
27071
+ taskId = _a.taskId,
27069
27072
  clientRequestID = _a.clientRequestID,
27070
27073
  authUrl = _a.authUrl,
27071
27074
  submissionUrl = _a.submissionUrl,
@@ -27116,6 +27119,8 @@
27116
27119
  }, /*#__PURE__*/React.createElement(SubmissionProvider, {
27117
27120
  action: SubmissionAction.NONE,
27118
27121
  submissionUrl: submissionUrl,
27122
+ jobId: jobId,
27123
+ taskId: taskId,
27119
27124
  clientRequestID: clientRequestID,
27120
27125
  documentServiceUrl: documentServiceUrl,
27121
27126
  idCardForFaceMatch: idCardForFaceMatch,