@ekyc_qoobiss/qbs-ect-cmp 3.6.23 → 3.6.24
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/agreement-check_19.cjs.entry.js +5 -2
- package/dist/collection/helpers/Cameras.js +1 -1
- package/dist/collection/helpers/Stream.js +3 -0
- package/dist/esm/agreement-check_19.entry.js +5 -2
- package/dist/qbs-ect-cmp/{p-e056ef2b.entry.js → p-5fa1b4bf.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -4892,6 +4892,9 @@ class Stream {
|
|
|
4892
4892
|
if (this.stream)
|
|
4893
4893
|
this.stream.getTracks().forEach((track) => track.stop());
|
|
4894
4894
|
this.stream = stream;
|
|
4895
|
+
if (!this.videoElement || this.videoElement == null) {
|
|
4896
|
+
return;
|
|
4897
|
+
}
|
|
4895
4898
|
if ('srcObject' in this.videoElement) {
|
|
4896
4899
|
this.videoElement.srcObject = stream;
|
|
4897
4900
|
}
|
|
@@ -5361,7 +5364,7 @@ class Cameras {
|
|
|
5361
5364
|
}
|
|
5362
5365
|
GetConstraints(selectedDeviceId, device, portrait = false) {
|
|
5363
5366
|
let constraints = {
|
|
5364
|
-
audio:
|
|
5367
|
+
audio: true,
|
|
5365
5368
|
};
|
|
5366
5369
|
let mediaTrack = {
|
|
5367
5370
|
frameRate: 30,
|
|
@@ -5827,7 +5830,7 @@ function v4(options, buf, offset) {
|
|
|
5827
5830
|
}
|
|
5828
5831
|
|
|
5829
5832
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5830
|
-
const version$1 = "3.6.
|
|
5833
|
+
const version$1 = "3.6.24";
|
|
5831
5834
|
const description = "Person Identification Component";
|
|
5832
5835
|
const main = "./dist/index.cjs.js";
|
|
5833
5836
|
const module$1 = "./dist/index.js";
|
|
@@ -91,6 +91,9 @@ export class Stream {
|
|
|
91
91
|
if (this.stream)
|
|
92
92
|
this.stream.getTracks().forEach((track) => track.stop());
|
|
93
93
|
this.stream = stream;
|
|
94
|
+
if (!this.videoElement || this.videoElement == null) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
94
97
|
if ('srcObject' in this.videoElement) {
|
|
95
98
|
this.videoElement.srcObject = stream;
|
|
96
99
|
}
|
|
@@ -4888,6 +4888,9 @@ class Stream {
|
|
|
4888
4888
|
if (this.stream)
|
|
4889
4889
|
this.stream.getTracks().forEach((track) => track.stop());
|
|
4890
4890
|
this.stream = stream;
|
|
4891
|
+
if (!this.videoElement || this.videoElement == null) {
|
|
4892
|
+
return;
|
|
4893
|
+
}
|
|
4891
4894
|
if ('srcObject' in this.videoElement) {
|
|
4892
4895
|
this.videoElement.srcObject = stream;
|
|
4893
4896
|
}
|
|
@@ -5357,7 +5360,7 @@ class Cameras {
|
|
|
5357
5360
|
}
|
|
5358
5361
|
GetConstraints(selectedDeviceId, device, portrait = false) {
|
|
5359
5362
|
let constraints = {
|
|
5360
|
-
audio:
|
|
5363
|
+
audio: true,
|
|
5361
5364
|
};
|
|
5362
5365
|
let mediaTrack = {
|
|
5363
5366
|
frameRate: 30,
|
|
@@ -5823,7 +5826,7 @@ function v4(options, buf, offset) {
|
|
|
5823
5826
|
}
|
|
5824
5827
|
|
|
5825
5828
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5826
|
-
const version$1 = "3.6.
|
|
5829
|
+
const version$1 = "3.6.24";
|
|
5827
5830
|
const description = "Person Identification Component";
|
|
5828
5831
|
const main = "./dist/index.cjs.js";
|
|
5829
5832
|
const module = "./dist/index.js";
|