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