idmission-web-sdk 2.1.113 → 2.2.1

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.esm.js CHANGED
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
204
204
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
205
205
  };
206
206
 
207
- var webSdkVersion = '2.1.113';
207
+ var webSdkVersion = '2.2.1';
208
208
 
209
209
  function getPlatform() {
210
210
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -2748,7 +2748,7 @@ function average(arr) {
2748
2748
 
2749
2749
  var DEFAULT_CDN_URL = 'https://websdk-cdn-dev.idmission.com/assets';
2750
2750
 
2751
- var defaultDocumentDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/DocumentDetector/DocumentDetector-20241010_134238.tflite");
2751
+ var defaultDocumentDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/docdetectmp20240825/model_fp16.tflite");
2752
2752
 
2753
2753
  var defaultFocusModelPath = "".concat(DEFAULT_CDN_URL, "/models/Focus/Focus-20241008_102708.tflite");
2754
2754
 
@@ -5583,7 +5583,8 @@ function loadDocumentDetector() {
5583
5583
  delegate: modelCapabilities.delegate
5584
5584
  },
5585
5585
  scoreThreshold: scoreThreshold,
5586
- runningMode: 'VIDEO'
5586
+ runningMode: 'VIDEO',
5587
+ maxResults: 3
5587
5588
  }])];
5588
5589
  case 3:
5589
5590
  _a[_b] = _e.sent();