idmission-web-sdk 2.3.54 → 2.3.55
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/components/id_capture/DocumentDetectionModelProvider.d.ts +2 -2
- package/dist/components/id_capture/DocumentDetectionModelProvider.d.ts.map +1 -1
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts +2 -11
- package/dist/components/id_capture/IdCaptureStateProvider.d.ts.map +1 -1
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts +2 -11
- package/dist/components/video_signature_capture/VideoSignatureContext.d.ts.map +1 -1
- package/dist/lib/camera/useVideoRecorder.d.ts +2 -11
- package/dist/lib/camera/useVideoRecorder.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +4 -4
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +4 -4
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +247 -70
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +3 -3
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.3.
|
|
207
|
+
var webSdkVersion = '2.3.55';
|
|
208
208
|
|
|
209
209
|
function getPlatform() {
|
|
210
210
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -5301,8 +5301,8 @@ function DocumentDetectionModelProvider(_a) {
|
|
|
5301
5301
|
documentDetectionModelPath = _e === void 0 ? defaultDocumentDetectorModelPath : _e,
|
|
5302
5302
|
_f = _a.documentDetectionModelScoreThreshold,
|
|
5303
5303
|
documentDetectionModelScoreThreshold = _f === void 0 ? defaultDocumentDetectionScoreThreshold : _f,
|
|
5304
|
-
_g = _a.
|
|
5305
|
-
|
|
5304
|
+
_g = _a.modelLoadTimeoutMs,
|
|
5305
|
+
modelLoadTimeoutMs = _g === void 0 ? defaultDocumentDetectionModelLoadTimeoutMs : _g,
|
|
5306
5306
|
onDocumentDetectionModelError = _a.onDocumentDetectionModelError,
|
|
5307
5307
|
_h = _a.shouldLoadModels,
|
|
5308
5308
|
shouldLoadModelsProp = _h === void 0 ? true : _h;
|
|
@@ -5333,7 +5333,7 @@ function DocumentDetectionModelProvider(_a) {
|
|
|
5333
5333
|
}, []);
|
|
5334
5334
|
var _q = useLoadDocumentDetector({
|
|
5335
5335
|
modelPath: documentDetectionModelPath,
|
|
5336
|
-
modelLoadTimeoutMs:
|
|
5336
|
+
modelLoadTimeoutMs: modelLoadTimeoutMs,
|
|
5337
5337
|
scoreThreshold: documentDetectionModelScoreThreshold,
|
|
5338
5338
|
onModelError: onDocumentDetectionModelError,
|
|
5339
5339
|
videoRef: videoRef,
|