scandoc-ai-components 0.0.91 → 0.0.93
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/index.js +3 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11252,8 +11252,8 @@ class ExtractorVideo {
|
|
|
11252
11252
|
}
|
|
11253
11253
|
if (response?.InfoCode === "1006" && response?.TransactionID) {
|
|
11254
11254
|
const frontImage = this.candidateImages[this.candidateImages.length - 1].fullImg;
|
|
11255
|
-
await (0,_requests_error_logging__WEBPACK_IMPORTED_MODULE_4__["default"])(frontImage, "", response.TransactionID);
|
|
11256
|
-
this.showMessage("
|
|
11255
|
+
await (0,_requests_error_logging__WEBPACK_IMPORTED_MODULE_4__["default"])(frontImage, "", response.TransactionID, response.OS, response.Device, response.Browser);
|
|
11256
|
+
this.showMessage("Document not supported.", true);
|
|
11257
11257
|
this.candidateImages = [];
|
|
11258
11258
|
return;
|
|
11259
11259
|
}
|
|
@@ -11872,18 +11872,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
11872
11872
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
11873
11873
|
/* harmony export */ });
|
|
11874
11874
|
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../config */ "./src/lib/config.js");
|
|
11875
|
-
/* harmony import */ var _utility_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utility/utils */ "./src/lib/utility/utils.js");
|
|
11876
|
-
|
|
11877
11875
|
|
|
11878
|
-
async function callErrorLogging(frontImage, backImage, transactionId) {
|
|
11876
|
+
async function callErrorLogging(frontImage, backImage, transactionId, os, device, browser) {
|
|
11879
11877
|
try {
|
|
11880
11878
|
const serviceConfig = (0,_config__WEBPACK_IMPORTED_MODULE_0__.getScanDocAIConfig)();
|
|
11881
11879
|
const cfgValues = (0,_config__WEBPACK_IMPORTED_MODULE_0__.getScanDocAIConfigValues)();
|
|
11882
|
-
const {
|
|
11883
|
-
os,
|
|
11884
|
-
browser,
|
|
11885
|
-
device
|
|
11886
|
-
} = (0,_utility_utils__WEBPACK_IMPORTED_MODULE_1__.detectEnvironment)();
|
|
11887
11880
|
let tryCount = 0;
|
|
11888
11881
|
let errors = [];
|
|
11889
11882
|
while (tryCount < cfgValues.MAX_REQUEST_TRY) {
|