@incodetech/welcome 1.85.0-20251208151827.0 → 1.85.0-20251209113853.0
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.
|
@@ -16,7 +16,6 @@ export { default as create } from './create';
|
|
|
16
16
|
export { default as createRedirectUrl } from './createRedirectUrl';
|
|
17
17
|
export { default as createSession } from './createSession';
|
|
18
18
|
export { default as createNewSession } from './createNewSession';
|
|
19
|
-
export { default as qrValidateByUUID } from './qrValidateByUUID';
|
|
20
19
|
export { default as getCustomFields } from './getCustomFields';
|
|
21
20
|
export { default as getFinishStatus } from './getFinishStatus';
|
|
22
21
|
export { default as sendFingerprint } from './fingerprint/sendFingerprint';
|
|
@@ -129,9 +129,9 @@ declare class MlWasmJSApi {
|
|
|
129
129
|
setFaceDetectionMode(type: WasmPipelineType, isVideoSelfie: boolean): Promise<void>;
|
|
130
130
|
setFaceDetectionCallbacks(type: WasmPipelineType, onFarAway: Function, onTooClose: Function, onTooManyFaces: Function, onNoFace: Function, onCapture: Function, onGetReady: Function, onGetReadyFinished: Function, onCenterFace: Function, onDark: Function, onBlur: Function, onFaceAngle: Function, onBestShot: Function, onLenses: Function, onMask: Function, onEyesClosed: Function, onHeadWear: Function, onSwitchToManualCapture: Function, onFaceOccluded: Function): Promise<void>;
|
|
131
131
|
setIdCaptureThresholds(type: WasmPipelineType, blurThreshold: number, blurChangeThreshold: number, glareThreshold: number, clsThreshold: number, sideThreshold: number, iouThreshold: number, idDetectedTimeout: number, autocaptureTimeout: number, framesAggregationInterval: number, minFaceIdQualityScore: number): Promise<void>;
|
|
132
|
-
setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onCapture: Function, onBestFrame: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function, onIDSideChange: Function, onCapturingCounterValueChange: Function): Promise<void>;
|
|
132
|
+
setIdCaptureCallbacks(type: WasmPipelineType, onFarAway: Function, onDetectionStarted: Function, onMaskChange: Function, onBlur: Function, onGlare: Function, onCapturing: Function, onCapture: Function, onBestFrame: Function, onIDNotDetected: Function, onSwitchToManualCapture: Function, onIDTypeChange: Function, onIDSideChange: Function, onCapturingCounterValueChange: Function, runPDF417Recognition: Function): Promise<void>;
|
|
133
133
|
setIdCaptureGeometryParams(type: WasmPipelineType, areaDown: number, areaUp: number, areaIOSPassportUp: number, areaIOSPassportDown: number, widthIOSUp: number, widthIOSDown: number, widthDown: number, widthUp: number, windowOuterWidth: number, windowOuterHeight: number, windowInnerWidth: number, windowInnerHeight: number): Promise<void>;
|
|
134
|
-
setIdCaptureConfigParams(type: WasmPipelineType, isFixedMask: boolean, isIPhone14OrHigher: boolean, idType: string, isBlurCheckEnabled: boolean, isGlareCheckEnabled: boolean, isIdFaceQualityCheckEnabled: boolean, isIouCheckEnabled: boolean): Promise<void>;
|
|
134
|
+
setIdCaptureConfigParams(type: WasmPipelineType, isFixedMask: boolean, isIPhone14OrHigher: boolean, idType: string, isBlurCheckEnabled: boolean, isGlareCheckEnabled: boolean, isIdFaceQualityCheckEnabled: boolean, isIouCheckEnabled: boolean, isPDF417RecognitionEnabled: boolean): Promise<void>;
|
|
135
135
|
setIdCaptureModelType(pipelineType: WasmPipelineType, modelType: IdCaptureModelType): void;
|
|
136
136
|
IdPerspectiveTransform(image: ImageData, frameRect: {
|
|
137
137
|
x: number;
|
|
@@ -160,11 +160,9 @@ declare class MlWasmJSApi {
|
|
|
160
160
|
getMetadata(): string;
|
|
161
161
|
prc(): Promise<void>;
|
|
162
162
|
poc(output: object): Promise<void>;
|
|
163
|
-
pc(deviceId: string): Promise<void>;
|
|
164
163
|
private pipelineTypeToWasmEnum;
|
|
165
164
|
private pipelineTypeFromWasmEnum;
|
|
166
165
|
private IdCaptureModelTypeToWasmEnum;
|
|
167
|
-
private IdCaptureModelTypeFromWasmEnum;
|
|
168
166
|
private checkWasmInitialization;
|
|
169
167
|
private wasmCallWrapper;
|
|
170
168
|
}
|
package/dist/onBoarding.mjs
CHANGED
|
@@ -7772,7 +7772,7 @@ function getProfile(Be) {
|
|
|
7772
7772
|
throw new Error(`Profile not found for type: ${Be}`);
|
|
7773
7773
|
return Le;
|
|
7774
7774
|
}
|
|
7775
|
-
const wasmVersion = "v2.12.
|
|
7775
|
+
const wasmVersion = "v2.12.40";
|
|
7776
7776
|
function generateBundle() {
|
|
7777
7777
|
const Be = getFeatureFlag("id_text_barcode_readability") ? PipelineProfileName.IdCapture_3_02 : getFeatureFlag("id_model_hebrew_back_id") ? PipelineProfileName.IdCapture_2_02 : PipelineProfileName.IdCapture_2_01, Le = PipelineProfileName.SelfieWithQualityMetrics, Ye = PipelineProfileName.SelfieVideoSelfie, tt = PipelineProfileName.IdVideoSelfie_2_01;
|
|
7778
7778
|
return [
|
|
@@ -8076,7 +8076,7 @@ class MlWasmJSApi {
|
|
|
8076
8076
|
yt
|
|
8077
8077
|
);
|
|
8078
8078
|
}
|
|
8079
|
-
async setIdCaptureCallbacks(Le, Ye, tt, nt, ft, ht, gt, At, xt, Et, yt, Ct, kt, vt) {
|
|
8079
|
+
async setIdCaptureCallbacks(Le, Ye, tt, nt, ft, ht, gt, At, xt, Et, yt, Ct, kt, vt, bt) {
|
|
8080
8080
|
this.checkWasmInitialization(
|
|
8081
8081
|
"Unable to set callbacks, cpp API hasn't been initialized"
|
|
8082
8082
|
), this.idCaptureWasmApi.setIdCaptureCallbacks(
|
|
@@ -8093,7 +8093,8 @@ class MlWasmJSApi {
|
|
|
8093
8093
|
yt,
|
|
8094
8094
|
Ct,
|
|
8095
8095
|
kt,
|
|
8096
|
-
vt
|
|
8096
|
+
vt,
|
|
8097
|
+
bt
|
|
8097
8098
|
);
|
|
8098
8099
|
}
|
|
8099
8100
|
async setIdCaptureGeometryParams(Le, Ye, tt, nt, ft, ht, gt, At, xt, Et, yt, Ct, kt) {
|
|
@@ -8115,7 +8116,7 @@ class MlWasmJSApi {
|
|
|
8115
8116
|
kt
|
|
8116
8117
|
);
|
|
8117
8118
|
}
|
|
8118
|
-
async setIdCaptureConfigParams(Le, Ye, tt, nt, ft, ht, gt, At) {
|
|
8119
|
+
async setIdCaptureConfigParams(Le, Ye, tt, nt, ft, ht, gt, At, xt) {
|
|
8119
8120
|
this.checkWasmInitialization(
|
|
8120
8121
|
"Unable to set config params, cpp API hasn't been initialized"
|
|
8121
8122
|
), this.idCaptureWasmApi.setIdCaptureConfigParams(
|
|
@@ -8126,7 +8127,8 @@ class MlWasmJSApi {
|
|
|
8126
8127
|
ft,
|
|
8127
8128
|
ht,
|
|
8128
8129
|
gt,
|
|
8129
|
-
At
|
|
8130
|
+
At,
|
|
8131
|
+
xt
|
|
8130
8132
|
);
|
|
8131
8133
|
}
|
|
8132
8134
|
setIdCaptureModelType(Le, Ye) {
|
|
@@ -8284,13 +8286,6 @@ class MlWasmJSApi {
|
|
|
8284
8286
|
Le
|
|
8285
8287
|
]);
|
|
8286
8288
|
}
|
|
8287
|
-
async pc(Le) {
|
|
8288
|
-
this.checkWasmInitialization(
|
|
8289
|
-
"Unable to pc, cpp API hasn't been initialized"
|
|
8290
|
-
), await this.wasmCallWrapper(this.utilityApi.pc.bind(this.utilityApi), [
|
|
8291
|
-
Le
|
|
8292
|
-
]);
|
|
8293
|
-
}
|
|
8294
8289
|
// Auxiliary part
|
|
8295
8290
|
pipelineTypeToWasmEnum(Le) {
|
|
8296
8291
|
switch (Le) {
|
|
@@ -8340,18 +8335,6 @@ class MlWasmJSApi {
|
|
|
8340
8335
|
throw new Error("Unknown Id Capture model type");
|
|
8341
8336
|
}
|
|
8342
8337
|
}
|
|
8343
|
-
IdCaptureModelTypeFromWasmEnum(Le) {
|
|
8344
|
-
switch (Le) {
|
|
8345
|
-
case this.wasmModule.IdCaptureModelType.IdCaptureV1x:
|
|
8346
|
-
return IdCaptureModelType.IdCaptureV1x;
|
|
8347
|
-
case this.wasmModule.IdCaptureModelType.IdCaptureV2x:
|
|
8348
|
-
return IdCaptureModelType.IdCaptureV2x;
|
|
8349
|
-
case this.wasmModule.IdCaptureModelType.IdCaptureV3x:
|
|
8350
|
-
return IdCaptureModelType.IdCaptureV3x;
|
|
8351
|
-
default:
|
|
8352
|
-
throw new Error("Unknown Id Capture model type");
|
|
8353
|
-
}
|
|
8354
|
-
}
|
|
8355
8338
|
checkWasmInitialization(Le) {
|
|
8356
8339
|
if (!this.isInitialized())
|
|
8357
8340
|
throw new Error(Le);
|
|
@@ -8374,7 +8357,7 @@ class MlWasmJSApi {
|
|
|
8374
8357
|
);
|
|
8375
8358
|
}
|
|
8376
8359
|
}
|
|
8377
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8360
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251209113853.0";
|
|
8378
8361
|
function e$2(Be, Le) {
|
|
8379
8362
|
return function(Ye, tt) {
|
|
8380
8363
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -177801,7 +177784,9 @@ class IdDetectorBase {
|
|
|
177801
177784
|
At,
|
|
177802
177785
|
xt,
|
|
177803
177786
|
Et,
|
|
177804
|
-
yt
|
|
177787
|
+
yt,
|
|
177788
|
+
() => {
|
|
177789
|
+
}
|
|
177805
177790
|
), await MlWasmJSApi$1.setIdCaptureThresholds(
|
|
177806
177791
|
Dt,
|
|
177807
177792
|
It.parameters.sharpnessThreshold,
|
|
@@ -177822,7 +177807,8 @@ class IdDetectorBase {
|
|
|
177822
177807
|
vt,
|
|
177823
177808
|
bt,
|
|
177824
177809
|
It.parameters.isIdFaceQualityCheckEnabled,
|
|
177825
|
-
It.parameters.isIouCheckEnabled
|
|
177810
|
+
It.parameters.isIouCheckEnabled,
|
|
177811
|
+
!1
|
|
177826
177812
|
), await MlWasmJSApi$1.setIdCaptureGeometryParams(
|
|
177827
177813
|
Dt,
|
|
177828
177814
|
It.parameters.areaDown,
|
|
@@ -380847,7 +380833,6 @@ export {
|
|
|
380847
380833
|
processId,
|
|
380848
380834
|
processImss,
|
|
380849
380835
|
publishKeys,
|
|
380850
|
-
qrValidateByUUID,
|
|
380851
380836
|
recorderRepository,
|
|
380852
380837
|
renderAuthFace,
|
|
380853
380838
|
renderCamera,
|