idmission-web-sdk 2.3.186 → 2.3.187-fix-hide-barcode-diagnostics-behind-debug-mode-b41126c
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 +1 -1
- 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 +1 -1
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +1 -1
- 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/package.json +1 -1
|
@@ -11063,7 +11063,7 @@ var IdCaptureSuccess = function IdCaptureSuccess(_a) {
|
|
|
11063
11063
|
"$score": (_e = doc.focusScore) !== null && _e !== void 0 ? _e : 0,
|
|
11064
11064
|
"$type": "focus"
|
|
11065
11065
|
}, ((_f = doc.focusScore) !== null && _f !== void 0 ? _f : 0).toFixed(3))), /*#__PURE__*/React__namespace.default.createElement(DebugSection, null, /*#__PURE__*/React__namespace.default.createElement(DebugLabel, null, "Bounding Box:"), /*#__PURE__*/React__namespace.default.createElement(DebugValue, null, JSON.stringify(doc.boundingBox, null, 2))))))));
|
|
11066
|
-
}), (nativeBarcodeDecodeResult || nativeBarcodeDecodeAttempted || !capturedDocuments.idBarcodeImage || capturedDocuments.idCardBack) && (/*#__PURE__*/React__namespace.default.createElement(BarcodeResultsSection, null, !capturedDocuments.idBarcodeImage && (/*#__PURE__*/React__namespace.default.createElement(NoPDF417Warning, null, "\u26A0\uFE0F No PDF417 barcode detected during capture")), nativeBarcodeDecodeResult && ((_b = nativeBarcodeDecodeResult.text) === null || _b === void 0 ? void 0 : _b.trim()) ? (/*#__PURE__*/React__namespace.default.createElement(NativeBarcodeResultCard, null, /*#__PURE__*/React__namespace.default.createElement(NativeBarcodeHeader, null, "\uD83D\uDD0D Native Decode (", nativeBarcodeDecodeResult.method === 'native' ? 'BarcodeDetector API' : 'zxing-js', ")"), parsedNativeBarcodeData && parsedNativeBarcodeData.fields.length > 0 ? (/*#__PURE__*/React__namespace.default.createElement(NativeBarcodeFieldsTable, null, /*#__PURE__*/React__namespace.default.createElement("tbody", null, parsedNativeBarcodeData.fields.map(function (field) {
|
|
11066
|
+
}), debugMode && (nativeBarcodeDecodeResult || nativeBarcodeDecodeAttempted || !capturedDocuments.idBarcodeImage || capturedDocuments.idCardBack) && (/*#__PURE__*/React__namespace.default.createElement(BarcodeResultsSection, null, !capturedDocuments.idBarcodeImage && (/*#__PURE__*/React__namespace.default.createElement(NoPDF417Warning, null, "\u26A0\uFE0F No PDF417 barcode detected during capture")), nativeBarcodeDecodeResult && ((_b = nativeBarcodeDecodeResult.text) === null || _b === void 0 ? void 0 : _b.trim()) ? (/*#__PURE__*/React__namespace.default.createElement(NativeBarcodeResultCard, null, /*#__PURE__*/React__namespace.default.createElement(NativeBarcodeHeader, null, "\uD83D\uDD0D Native Decode (", nativeBarcodeDecodeResult.method === 'native' ? 'BarcodeDetector API' : 'zxing-js', ")"), parsedNativeBarcodeData && parsedNativeBarcodeData.fields.length > 0 ? (/*#__PURE__*/React__namespace.default.createElement(NativeBarcodeFieldsTable, null, /*#__PURE__*/React__namespace.default.createElement("tbody", null, parsedNativeBarcodeData.fields.map(function (field) {
|
|
11067
11067
|
return /*#__PURE__*/React__namespace.default.createElement(NativeBarcodeFieldTableRow, {
|
|
11068
11068
|
key: field.code
|
|
11069
11069
|
}, /*#__PURE__*/React__namespace.default.createElement(NativeBarcodeFieldLabelCell, null, field.label), /*#__PURE__*/React__namespace.default.createElement(NativeBarcodeFieldValueCell, null, field.value));
|