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.
package/dist/sdk2.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.134';
206
+ var webSdkVersion = '2.2.136';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -3371,8 +3371,9 @@ function listAvailableCameras(facingMode_1) {
3371
3371
  return [4 /*yield*/, navigator.mediaDevices.enumerateDevices()];
3372
3372
  case 2:
3373
3373
  videoDevices = _a.sent().filter(function (_a) {
3374
- var kind = _a.kind;
3375
- return kind === 'videoinput';
3374
+ var kind = _a.kind,
3375
+ label = _a.label;
3376
+ return kind === 'videoinput' && !label.toLowerCase().includes('virtual');
3376
3377
  });
3377
3378
  // Release the access to the user's camera that we obtained for enumeration purposes.
3378
3379
  cameraEnumerationStream.getVideoTracks().forEach(function (track) {
@@ -17174,6 +17175,8 @@ var SignatureKYC = function SignatureKYC(_a) {
17174
17175
  var _b = _a.lang,
17175
17176
  lang = _b === void 0 ? 'auto' : _b,
17176
17177
  sessionId = _a.sessionId,
17178
+ jobId = _a.jobId,
17179
+ taskId = _a.taskId,
17177
17180
  clientRequestID = _a.clientRequestID,
17178
17181
  authUrl = _a.authUrl,
17179
17182
  submissionUrl = _a.submissionUrl,
@@ -17224,6 +17227,8 @@ var SignatureKYC = function SignatureKYC(_a) {
17224
17227
  }, /*#__PURE__*/React__default.createElement(SubmissionProvider, {
17225
17228
  action: SubmissionAction.NONE,
17226
17229
  submissionUrl: submissionUrl,
17230
+ jobId: jobId,
17231
+ taskId: taskId,
17227
17232
  clientRequestID: clientRequestID,
17228
17233
  documentServiceUrl: documentServiceUrl,
17229
17234
  idCardForFaceMatch: idCardForFaceMatch,