idmission-web-sdk 2.3.129 → 2.3.130
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/sdk2.cjs.development.js +16 -16
- 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 +16 -16
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +16 -16
- 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 +1 -1
|
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
235
235
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
-
var webSdkVersion = '2.3.
|
|
238
|
+
var webSdkVersion = '2.3.130';
|
|
239
239
|
|
|
240
240
|
function getPlatform() {
|
|
241
241
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -1457,21 +1457,6 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1457
1457
|
boundingBox: attempt.boundingBox
|
|
1458
1458
|
});
|
|
1459
1459
|
}
|
|
1460
|
-
if (attempt.bestBarcodeScore !== undefined && attempt.bestBarcodeScore !== null) {
|
|
1461
|
-
setBarcodeCaptureAttempts(function (attempts) {
|
|
1462
|
-
return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
|
|
1463
|
-
});
|
|
1464
|
-
setDocumentFileMetadata('idBarcodeImage', {
|
|
1465
|
-
documentType: 'idBarcodeImage',
|
|
1466
|
-
sourceDocumentType: documentType,
|
|
1467
|
-
documentKey: 'idBarcodeImage',
|
|
1468
|
-
bestBarcodeScore: attempt.bestBarcodeScore,
|
|
1469
|
-
captureMode: attempt.captureMode,
|
|
1470
|
-
autoCapture: attempt.autoCapture,
|
|
1471
|
-
captureTime: attempt.captureTime,
|
|
1472
|
-
operationTime: attempt.operationTime
|
|
1473
|
-
});
|
|
1474
|
-
}
|
|
1475
1460
|
}, [setDocumentFileMetadata]);
|
|
1476
1461
|
var logIdBackCaptureAttempt = React.useCallback(function (attempt, documentType) {
|
|
1477
1462
|
setIdBackCaptureAttempts(function (attempts) {
|
|
@@ -1492,6 +1477,21 @@ var SubmissionProvider = function SubmissionProvider(_a) {
|
|
|
1492
1477
|
boundingBox: attempt.boundingBox
|
|
1493
1478
|
});
|
|
1494
1479
|
}
|
|
1480
|
+
if (attempt.bestBarcodeScore !== undefined && attempt.bestBarcodeScore !== null) {
|
|
1481
|
+
setBarcodeCaptureAttempts(function (attempts) {
|
|
1482
|
+
return __spreadArray(__spreadArray([], attempts, true), [attempt], false);
|
|
1483
|
+
});
|
|
1484
|
+
setDocumentFileMetadata('idBarcodeImage', {
|
|
1485
|
+
documentType: 'idBarcodeImage',
|
|
1486
|
+
sourceDocumentType: documentType,
|
|
1487
|
+
documentKey: 'idBarcodeImage',
|
|
1488
|
+
bestBarcodeScore: attempt.bestBarcodeScore,
|
|
1489
|
+
captureMode: attempt.captureMode,
|
|
1490
|
+
autoCapture: attempt.autoCapture,
|
|
1491
|
+
captureTime: attempt.captureTime,
|
|
1492
|
+
operationTime: attempt.operationTime
|
|
1493
|
+
});
|
|
1494
|
+
}
|
|
1495
1495
|
}, [setDocumentFileMetadata]);
|
|
1496
1496
|
var logSelfieCaptureAttempt = React.useCallback(function (attempt) {
|
|
1497
1497
|
setSelfieCaptureAttempts(function (attempts) {
|