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.
- package/dist/lib/camera/Camera.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +4 -3
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +4 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +4 -3
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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.
|
|
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
|
-
|
|
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) {
|