idmission-web-sdk 2.2.135 → 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.135';
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) {