@ekyc_qoobiss/qbs-ect-cmp 3.6.57 → 3.6.58

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.
@@ -5063,6 +5063,9 @@ const IdCapture = class {
5063
5063
  async openCamera() {
5064
5064
  if (TranslationUtils.state.debug)
5065
5065
  console.log('id-capture | openCamera');
5066
+ if (!TranslationUtils.state.cameraId) {
5067
+ await Cameras.InitCameras(TranslationUtils.state.device);
5068
+ }
5066
5069
  const constraints = Cameras.GetConstraints(TranslationUtils.state.cameraId, TranslationUtils.state.device);
5067
5070
  setTimeout(() => {
5068
5071
  navigator.mediaDevices
@@ -5205,7 +5208,7 @@ function v4(options, buf, offset) {
5205
5208
  }
5206
5209
 
5207
5210
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5208
- const version$1 = "3.6.57";
5211
+ const version$1 = "3.6.58";
5209
5212
  const description = "Person Identification Component";
5210
5213
  const main = "./dist/index.cjs.js";
5211
5214
  const module$1 = "./dist/index.js";
@@ -80,6 +80,9 @@ export class IdCapture {
80
80
  async openCamera() {
81
81
  if (store.debug)
82
82
  console.log('id-capture | openCamera');
83
+ if (!store.cameraId) {
84
+ await Cameras.InitCameras(store.device);
85
+ }
83
86
  const constraints = Cameras.GetConstraints(store.cameraId, store.device);
84
87
  setTimeout(() => {
85
88
  navigator.mediaDevices
@@ -5059,6 +5059,9 @@ const IdCapture = class {
5059
5059
  async openCamera() {
5060
5060
  if (state.debug)
5061
5061
  console.log('id-capture | openCamera');
5062
+ if (!state.cameraId) {
5063
+ await Cameras.InitCameras(state.device);
5064
+ }
5062
5065
  const constraints = Cameras.GetConstraints(state.cameraId, state.device);
5063
5066
  setTimeout(() => {
5064
5067
  navigator.mediaDevices
@@ -5201,7 +5204,7 @@ function v4(options, buf, offset) {
5201
5204
  }
5202
5205
 
5203
5206
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5204
- const version$1 = "3.6.57";
5207
+ const version$1 = "3.6.58";
5205
5208
  const description = "Person Identification Component";
5206
5209
  const main = "./dist/index.cjs.js";
5207
5210
  const module = "./dist/index.js";