scandoc-ai-components 0.0.93 → 0.0.94

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11262,6 +11262,9 @@ class ExtractorVideo {
11262
11262
  const imageSide = response["Side"];
11263
11263
  const message = response["Info"];
11264
11264
  const isNewSide = this.extractionImages[imageSide] === undefined;
11265
+ console.log("Received side from validation:", imageSide);
11266
+ console.log("Image index:", imageId);
11267
+ console.log("Available sides in extractionImages:", Object.keys(this.extractionImages));
11265
11268
  if (!this.waitingForSecondSide || isNewSide) {
11266
11269
  this.showMessage(message);
11267
11270
  }
@@ -11276,6 +11279,7 @@ class ExtractorVideo {
11276
11279
  return;
11277
11280
  }
11278
11281
  this.extractionImages[imageSide] = images[imageId].fullImg;
11282
+ console.log(this.extractionImages);
11279
11283
  if (Object.keys(this.extractionImages).length === 1) {
11280
11284
  this.waitingForSecondSide = true;
11281
11285
  this.hasShownTurnMessage = true;
@@ -11293,6 +11297,7 @@ class ExtractorVideo {
11293
11297
  this.waitingForSecondSide = false;
11294
11298
  this.hasShownTurnMessage = false;
11295
11299
  this.showMessage("Validation successful", true);
11300
+ console.log(this.extractionImages);
11296
11301
  const [isExtractionOk, extractionData] = await (0,_requests_extraction__WEBPACK_IMPORTED_MODULE_2__["default"])(this.extractionImages["FRONT"], this.extractionImages["BACK"], {
11297
11302
  IgnoreBackImage: false
11298
11303
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "scandoc-ai-components",
3
3
  "author": "ScanDoc-AI",
4
- "version": "0.0.93",
4
+ "version": "0.0.94",
5
5
  "private": false,
6
6
  "description": "Pure JavaScript package for integrating ScanDoc-AI services.",
7
7
  "keywords": [