idmission-web-sdk 2.1.2 → 2.1.4

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.
@@ -140,7 +140,7 @@
140
140
  return cooked;
141
141
  }
142
142
 
143
- var webSdkVersion = '2.1.2';
143
+ var webSdkVersion = '2.1.4';
144
144
 
145
145
  function getPlatform() {
146
146
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -4977,6 +4977,9 @@
4977
4977
  'ID card front detected - please flip your ID card': 'Anverso detectado, por favor voltea tu identificación',
4978
4978
  'ID card back detected - please flip your ID card': 'Reverso detectado, por favor voltea tu identificación',
4979
4979
  'Document detected, hold still...': 'Se ha detectado el documento, no moverse por favor...',
4980
+ 'ID card front detected, hold still...': 'Anverso detectado, no mover...',
4981
+ 'ID card back detected, hold still...': 'Reverso detectado, no mover...',
4982
+ 'Passport detected, hold still...': 'Pasaporte detectado, no mover...',
4980
4983
  'Capturing...': 'Capturando...',
4981
4984
  'Capture failed!': 'Falló la captura',
4982
4985
  'Please flip your ID card...': 'Por favor voltea la identificación...',
@@ -9613,7 +9616,7 @@
9613
9616
  backImageUrl: backImageUrl,
9614
9617
  isMirrored: !((_c = cameraRef.current) === null || _c === void 0 ? void 0 : _c.isRearFacing),
9615
9618
  borderColor: state.isGoodFrame ? colors.guideBoxSatisfiedColor : colors.guideBoxUnsatisfiedColor,
9616
- imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.flipRequired
9619
+ imageVisible: requestingFlip || !state.detectionThresholdMet || !state.documentInBounds || state.documentTooClose || state.backDetectedFirst || state.flipRequired
9617
9620
  })));
9618
9621
  }
9619
9622