idmission-web-sdk 2.1.11 → 2.1.13

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ObjectDetector, ObjectDetectorResult } from '@mediapipe/tasks-vision';
3
- export declare const defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/docdetectmp20240614/model_fp16.tflite";
3
+ export declare const defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/docdetectmp20240802/model_fp16.tflite";
4
4
  export declare const defaultDocumentDetectionScoreThreshold = 0.1;
5
5
  export declare const defaultDocumentDetectionModelLoadTimeoutMs = 45000;
6
6
  export declare const defaultDocumentDetectionThresholds: DocumentDetectionThresholds;
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
49
49
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
50
50
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
51
51
 
52
- var webSdkVersion = '2.1.11';
52
+ var webSdkVersion = '2.1.13';
53
53
 
54
54
  function getPlatform() {
55
55
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -615,7 +615,7 @@ var Spinner = styled__default['default'].div(templateObject_1$D || (templateObje
615
615
  var templateObject_1$D;
616
616
 
617
617
  exports.defaultAuthUrl = 'https://portal-api.idmission.com';
618
- var allowedAuthUrls = ['https://portal-2-dev-fargate.idmission.com', 'https://portal-2-demo-fargate.idmission.com', 'https://portal-2-uat-fargate.idmission.com', 'https://portal-2-prod-fargate.idmission.com', 'https://portal2-api.idmission.com', 'https://portal-api.idmission.com', 'https://portal-api-uat.idmission.com', 'https://portal-api-demo.idmission.com', 'https://portal-api-dev.idmission.com', 'http://localhost:10000'];
618
+ var allowedAuthUrls = ['https://portal-api.idmission.com', 'https://portal-api-uat.idmission.com', 'https://portal-api-demo.idmission.com', 'https://portal-api-dev.idmission.com', 'http://localhost:10000'];
619
619
  function setDefaultAuthUrl(url) {
620
620
  if (!allowedAuthUrls.includes(url)) throw new Error('invalid auth url');
621
621
  exports.defaultAuthUrl = url;
@@ -3140,7 +3140,7 @@ function sumUpProgressForDependencies(dependencies) {
3140
3140
  });
3141
3141
  }
3142
3142
 
3143
- var defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/docdetectmp20240614/model_fp16.tflite";
3143
+ var defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/docdetectmp20240802/model_fp16.tflite";
3144
3144
  var defaultDocumentDetectionScoreThreshold = 0.1;
3145
3145
  var defaultDocumentDetectionModelLoadTimeoutMs = 45000;
3146
3146
  var defaultDocumentDetectionThresholds = {