@incodetech/core 0.0.0-dev-20260505-23151a2 → 0.0.0-dev-20260505-4b09daf
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/{BaseWasmProvider-ECdlJ4eI.esm.js → BaseWasmProvider-BTKqWpeB.esm.js} +45 -49
- package/dist/{WasmUtilProvider-CjeoVWLu.esm.js → WasmUtilProvider-DqCiPXV6.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-CQz8LKMD.d.ts → authenticationManager-DBgL1B8m.d.ts} +1 -1
- package/dist/{authenticationManager-D2cV2RYg.esm.js → authenticationManager-DzBrRrX7.esm.js} +2 -2
- package/dist/{authenticationStateMachine-BB-GL-sm.esm.js → authenticationStateMachine-Dg19Awyc.esm.js} +2 -2
- package/dist/consent.d.ts +47 -47
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/{deepsightLoader-VHWCGVhU.esm.js → deepsightLoader-BnMFKE9b.esm.js} +2 -2
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-upload.d.ts +43 -43
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +10 -10
- package/dist/{faceCaptureManagerFactory-DfY95mko.d.ts → faceCaptureManagerFactory-CgwUMlyj.d.ts} +0 -35
- package/dist/{faceCaptureSetup-BBy_QNcO.esm.js → faceCaptureSetup-Cclz77d6.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +55 -55
- package/dist/id.d.ts +1 -1
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureManager-X3CG5c3T.d.ts → idCaptureManager--lWVPu7Z.d.ts} +0 -2
- package/dist/{idCaptureManager-CEJN1LTW.esm.js → idCaptureManager-Df8xxjBX.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-Doo9KqTB.esm.js → idCaptureStateMachine-__Cc1trJ.esm.js} +6 -8
- package/dist/identity-reuse.d.ts +43 -43
- package/dist/{index-CJT4brJN.d.ts → index-DlIJDOn_.d.ts} +119 -119
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +47 -47
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-DKg2c5De.esm.js → recordingService-Cen0Qmop.esm.js} +8 -21
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-Bqf4qfIp.d.ts → selfieManager-BtyIr64h.d.ts} +1 -1
- package/dist/{selfieManager-pGHW3GaN.esm.js → selfieManager-DGAsMXpK.esm.js} +2 -2
- package/dist/{selfieStateMachine-C7ity4G9.esm.js → selfieStateMachine-C_VXHzeA.esm.js} +2 -2
- package/dist/{setup-Bp6ownN0.esm.js → setup-DvsiYeiw.esm.js} +3 -3
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/workflow.d.ts +85 -85
- package/dist/workflow.esm.js +6 -6
- package/package.json +3 -3
|
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
|
2
2
|
import "./Actor-CazhiaK7.js";
|
|
3
3
|
import "./camera-CS1twtEg.js";
|
|
4
4
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-DdYIMV6w.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate230 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
8
|
-
declare const documentUploadMachine:
|
|
8
|
+
declare const documentUploadMachine: xstate230.StateMachine<DocumentUploadContext, {
|
|
9
9
|
type: "START";
|
|
10
10
|
} | {
|
|
11
11
|
type: "CAPTURE";
|
|
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
18
18
|
} | {
|
|
19
19
|
type: "CLOSE";
|
|
20
20
|
}, {
|
|
21
|
-
[x: string]:
|
|
21
|
+
[x: string]: xstate230.ActorRefFromLogic<xstate230.PromiseActorLogic<void, {
|
|
22
22
|
imageBase64: string;
|
|
23
23
|
documentType: string;
|
|
24
24
|
onProgress: (progress: number) => void;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
25
|
+
}, xstate230.EventObject>> | xstate230.ActorRefFromLogic<xstate230.PromiseActorLogic<MediaStream, void, xstate230.EventObject>> | undefined;
|
|
26
|
+
}, xstate230.Values<{
|
|
27
27
|
uploadDocument: {
|
|
28
28
|
src: "uploadDocument";
|
|
29
|
-
logic:
|
|
29
|
+
logic: xstate230.PromiseActorLogic<void, {
|
|
30
30
|
imageBase64: string;
|
|
31
31
|
documentType: string;
|
|
32
32
|
onProgress: (progress: number) => void;
|
|
33
|
-
},
|
|
33
|
+
}, xstate230.EventObject>;
|
|
34
34
|
id: string | undefined;
|
|
35
35
|
};
|
|
36
36
|
initCamera: {
|
|
37
37
|
src: "initCamera";
|
|
38
|
-
logic:
|
|
38
|
+
logic: xstate230.PromiseActorLogic<MediaStream, void, xstate230.EventObject>;
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, xstate230.Values<{
|
|
42
42
|
setError: {
|
|
43
43
|
type: "setError";
|
|
44
|
-
params:
|
|
44
|
+
params: xstate230.NonReducibleUnknown;
|
|
45
|
+
};
|
|
46
|
+
clearError: {
|
|
47
|
+
type: "clearError";
|
|
48
|
+
params: xstate230.NonReducibleUnknown;
|
|
45
49
|
};
|
|
46
50
|
setStream: {
|
|
47
51
|
type: "setStream";
|
|
48
|
-
params:
|
|
52
|
+
params: xstate230.NonReducibleUnknown;
|
|
49
53
|
};
|
|
50
54
|
setImageAndClearError: {
|
|
51
55
|
type: "setImageAndClearError";
|
|
52
|
-
params:
|
|
56
|
+
params: xstate230.NonReducibleUnknown;
|
|
53
57
|
};
|
|
54
58
|
setProgress: {
|
|
55
59
|
type: "setProgress";
|
|
56
|
-
params:
|
|
57
|
-
};
|
|
58
|
-
clearError: {
|
|
59
|
-
type: "clearError";
|
|
60
|
-
params: xstate149.NonReducibleUnknown;
|
|
60
|
+
params: xstate230.NonReducibleUnknown;
|
|
61
61
|
};
|
|
62
62
|
stopStream: {
|
|
63
63
|
type: "stopStream";
|
|
64
|
-
params:
|
|
64
|
+
params: xstate230.NonReducibleUnknown;
|
|
65
65
|
};
|
|
66
|
-
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput,
|
|
66
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate230.NonReducibleUnknown, xstate230.EventObject, xstate230.MetaObject, {
|
|
67
67
|
readonly id: "documentUpload";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: ({
|
|
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
72
72
|
spawn: {
|
|
73
73
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
74
74
|
src: "uploadDocument";
|
|
75
|
-
logic:
|
|
75
|
+
logic: xstate230.PromiseActorLogic<void, {
|
|
76
76
|
imageBase64: string;
|
|
77
77
|
documentType: string;
|
|
78
78
|
onProgress: (progress: number) => void;
|
|
79
|
-
},
|
|
79
|
+
}, xstate230.EventObject>;
|
|
80
80
|
id: string | undefined;
|
|
81
81
|
} extends infer T ? T extends {
|
|
82
82
|
src: "uploadDocument";
|
|
83
|
-
logic:
|
|
83
|
+
logic: xstate230.PromiseActorLogic<void, {
|
|
84
84
|
imageBase64: string;
|
|
85
85
|
documentType: string;
|
|
86
86
|
onProgress: (progress: number) => void;
|
|
87
|
-
},
|
|
87
|
+
}, xstate230.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
} ? T extends {
|
|
90
90
|
src: TSrc;
|
|
91
|
-
} ?
|
|
91
|
+
} ? xstate230.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: T["id"] | undefined;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate230.InputFrom<T["logic"]> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate230.RequiredActorOptions<T>]: unknown }) | undefined], xstate230.IsNotNever<xstate230.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
97
97
|
src: "initCamera";
|
|
98
|
-
logic:
|
|
98
|
+
logic: xstate230.PromiseActorLogic<MediaStream, void, xstate230.EventObject>;
|
|
99
99
|
id: string | undefined;
|
|
100
100
|
} extends infer T_1 ? T_1 extends {
|
|
101
101
|
src: "initCamera";
|
|
102
|
-
logic:
|
|
102
|
+
logic: xstate230.PromiseActorLogic<MediaStream, void, xstate230.EventObject>;
|
|
103
103
|
id: string | undefined;
|
|
104
104
|
} ? T_1 extends {
|
|
105
105
|
src: TSrc;
|
|
106
|
-
} ?
|
|
106
|
+
} ? xstate230.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: T_1["id"] | undefined;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate230.InputFrom<T_1["logic"]> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K_1 in
|
|
111
|
+
} & { [K_1 in xstate230.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate230.IsNotNever<xstate230.RequiredActorOptions<T_1>>> : never : never : never)): xstate230.ActorRefFromLogic<xstate230.GetConcreteByKey<xstate230.Values<{
|
|
112
112
|
uploadDocument: {
|
|
113
113
|
src: "uploadDocument";
|
|
114
|
-
logic:
|
|
114
|
+
logic: xstate230.PromiseActorLogic<void, {
|
|
115
115
|
imageBase64: string;
|
|
116
116
|
documentType: string;
|
|
117
117
|
onProgress: (progress: number) => void;
|
|
118
|
-
},
|
|
118
|
+
}, xstate230.EventObject>;
|
|
119
119
|
id: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
initCamera: {
|
|
122
122
|
src: "initCamera";
|
|
123
|
-
logic:
|
|
123
|
+
logic: xstate230.PromiseActorLogic<MediaStream, void, xstate230.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
};
|
|
126
126
|
}>, "src", TSrc>["logic"]>;
|
|
127
|
-
<TLogic extends
|
|
127
|
+
<TLogic extends xstate230.AnyActorLogic>(src: TLogic, ...[options]: xstate230.ConditionalRequired<[options?: ({
|
|
128
128
|
id?: never;
|
|
129
129
|
systemId?: string;
|
|
130
|
-
input?:
|
|
130
|
+
input?: xstate230.InputFrom<TLogic> | undefined;
|
|
131
131
|
syncSnapshot?: boolean;
|
|
132
|
-
} & { [K in
|
|
132
|
+
} & { [K in xstate230.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate230.IsNotNever<xstate230.RequiredLogicInput<TLogic>>>): xstate230.ActorRefFromLogic<TLogic>;
|
|
133
133
|
};
|
|
134
134
|
input: DocumentUploadInput;
|
|
135
|
-
self:
|
|
135
|
+
self: xstate230.ActorRef<xstate230.MachineSnapshot<DocumentUploadContext, {
|
|
136
136
|
type: "START";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CAPTURE";
|
|
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
144
144
|
type: "RETRY";
|
|
145
145
|
} | {
|
|
146
146
|
type: "CLOSE";
|
|
147
|
-
}, Record<string,
|
|
147
|
+
}, Record<string, xstate230.AnyActorRef | undefined>, xstate230.StateValue, string, unknown, any, any>, {
|
|
148
148
|
type: "START";
|
|
149
149
|
} | {
|
|
150
150
|
type: "CAPTURE";
|
|
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
156
156
|
type: "RETRY";
|
|
157
157
|
} | {
|
|
158
158
|
type: "CLOSE";
|
|
159
|
-
},
|
|
159
|
+
}, xstate230.AnyEventObject>;
|
|
160
160
|
}) => {
|
|
161
161
|
config: DocumentUploadConfig;
|
|
162
162
|
stream: undefined;
|
|
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "CLOSE";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate230.ActorRef<xstate230.MachineSnapshot<DocumentUploadContext, {
|
|
230
230
|
type: "START";
|
|
231
231
|
} | {
|
|
232
232
|
type: "CAPTURE";
|
|
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
238
238
|
type: "RETRY";
|
|
239
239
|
} | {
|
|
240
240
|
type: "CLOSE";
|
|
241
|
-
}, Record<string,
|
|
241
|
+
}, Record<string, xstate230.AnyActorRef>, xstate230.StateValue, string, unknown, any, any>, {
|
|
242
242
|
type: "START";
|
|
243
243
|
} | {
|
|
244
244
|
type: "CAPTURE";
|
|
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate149.StateMachine<DocumentUploadContex
|
|
|
250
250
|
type: "RETRY";
|
|
251
251
|
} | {
|
|
252
252
|
type: "CLOSE";
|
|
253
|
-
},
|
|
253
|
+
}, xstate230.AnyEventObject>;
|
|
254
254
|
}) => {
|
|
255
255
|
imageBase64: string;
|
|
256
256
|
documentType: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./Manager-CcbnIt3T.js";
|
|
2
2
|
import "./Actor-CazhiaK7.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-DlIJDOn_.js";
|
|
4
4
|
export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import "./warmup-DTtV1QCY.js";
|
|
|
2
2
|
import "./Manager-CcbnIt3T.js";
|
|
3
3
|
import { n as createActor } from "./Actor-CazhiaK7.js";
|
|
4
4
|
import { r as fromPromise } from "./StateMachine-B3eh3sAE.js";
|
|
5
|
-
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-CgwUMlyj.js";
|
|
6
6
|
import "./camera-CS1twtEg.js";
|
|
7
7
|
import "./types-DdYIMV6w.js";
|
|
8
8
|
import "./types-DFwAuzk2.js";
|
|
9
9
|
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-Cxp-yJjr.js";
|
|
10
10
|
import "./types-D5fKjOcr.js";
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BtyIr64h.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DBgL1B8m.js";
|
|
13
13
|
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-D8T6_Ptr.js";
|
|
14
|
-
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager
|
|
14
|
+
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager--lWVPu7Z.js";
|
|
15
15
|
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-DjTBO3bK.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
3
3
|
import "./api-3IquGyW5.esm.js";
|
|
4
4
|
import "./events-237AXtL7.esm.js";
|
|
5
5
|
import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-DEzJ3qMM.esm.js";
|
|
@@ -8,7 +8,7 @@ import "./browserSimulation-DMJIC-23.esm.js";
|
|
|
8
8
|
import { a as createActor, i as fromPromise } from "./xstate.esm-CSiDcEjt.esm.js";
|
|
9
9
|
import "./faceCaptureManagerFactory-DM_o6znS.esm.js";
|
|
10
10
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DeByegPK.esm.js";
|
|
11
|
-
import "./recordingService-
|
|
11
|
+
import "./recordingService-Cen0Qmop.esm.js";
|
|
12
12
|
import "./deepsightService-CU4xtxzz.esm.js";
|
|
13
13
|
import "./permissionServices-DiAThhLg.esm.js";
|
|
14
14
|
import "./camera-CSPAwp2o.esm.js";
|
|
@@ -19,16 +19,16 @@ import "./platform-BtdVAeAg.esm.js";
|
|
|
19
19
|
import "./ITimerCapability-r7XXQS6a.esm.js";
|
|
20
20
|
import "./backCameraStream-BIzYKDy2.esm.js";
|
|
21
21
|
import "./getDeviceClass-AjL3Pr7R.esm.js";
|
|
22
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
23
|
-
import "./authenticationStateMachine-
|
|
24
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
22
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Cclz77d6.esm.js";
|
|
23
|
+
import "./authenticationStateMachine-Dg19Awyc.esm.js";
|
|
24
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DzBrRrX7.esm.js";
|
|
25
25
|
import "./BrowserTimerProvider-Bc6BRm6-.esm.js";
|
|
26
26
|
import "./emailStateMachine-DWrTdkZY.esm.js";
|
|
27
27
|
import { n as createEmailManagerFromActor } from "./emailManager-_gunG-AE.esm.js";
|
|
28
|
-
import "./selfieStateMachine-
|
|
29
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
30
|
-
import "./idCaptureStateMachine-
|
|
31
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
28
|
+
import "./selfieStateMachine-C_VXHzeA.esm.js";
|
|
29
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-DGAsMXpK.esm.js";
|
|
30
|
+
import "./idCaptureStateMachine-__Cc1trJ.esm.js";
|
|
31
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-Df8xxjBX.esm.js";
|
|
32
32
|
import "./phoneStateMachine-Dl0c8Bs4.esm.js";
|
|
33
33
|
import { n as createPhoneManagerFromActor } from "./phoneManager-L4XCPUwQ.esm.js";
|
|
34
34
|
|
package/dist/{faceCaptureManagerFactory-DfY95mko.d.ts → faceCaptureManagerFactory-CgwUMlyj.d.ts}
RENAMED
|
@@ -126,37 +126,6 @@ interface FaceChecksConfig {
|
|
|
126
126
|
headWear: boolean;
|
|
127
127
|
occlusion: boolean;
|
|
128
128
|
}
|
|
129
|
-
interface FaceData {
|
|
130
|
-
rect: {
|
|
131
|
-
x: number;
|
|
132
|
-
y: number;
|
|
133
|
-
width: number;
|
|
134
|
-
height: number;
|
|
135
|
-
};
|
|
136
|
-
rightEye: {
|
|
137
|
-
x: number;
|
|
138
|
-
y: number;
|
|
139
|
-
};
|
|
140
|
-
leftEye: {
|
|
141
|
-
x: number;
|
|
142
|
-
y: number;
|
|
143
|
-
};
|
|
144
|
-
noseTip: {
|
|
145
|
-
x: number;
|
|
146
|
-
y: number;
|
|
147
|
-
};
|
|
148
|
-
rightMouthCorner: {
|
|
149
|
-
x: number;
|
|
150
|
-
y: number;
|
|
151
|
-
};
|
|
152
|
-
leftMouthCorner: {
|
|
153
|
-
x: number;
|
|
154
|
-
y: number;
|
|
155
|
-
};
|
|
156
|
-
pitch: number;
|
|
157
|
-
yaw: number;
|
|
158
|
-
roll: number;
|
|
159
|
-
}
|
|
160
129
|
type FaceCoordinates = {
|
|
161
130
|
rightEyeX: number;
|
|
162
131
|
rightEyeY: number;
|
|
@@ -185,7 +154,6 @@ interface FaceDetectionCallbacks {
|
|
|
185
154
|
onDark?: () => void;
|
|
186
155
|
onBlur?: () => void;
|
|
187
156
|
onFaceAngle?: () => void;
|
|
188
|
-
onBestShot?: (face: FaceData) => void;
|
|
189
157
|
onLenses?: () => void;
|
|
190
158
|
onMask?: () => void;
|
|
191
159
|
onEyesClosed?: () => void;
|
|
@@ -237,7 +205,6 @@ declare enum WasmPipelineType {
|
|
|
237
205
|
IdVideoSelfiePipeline = 2,
|
|
238
206
|
SelfieWithAggregationMetrics = 3,
|
|
239
207
|
SelfieWithQualityMetrics = 4,
|
|
240
|
-
IdFaceDetectionPipeline = 5,
|
|
241
208
|
}
|
|
242
209
|
//#endregion
|
|
243
210
|
//#region ../infra/src/providers/wasm/BaseWasmProvider.d.ts
|
|
@@ -312,8 +279,6 @@ declare class FaceDetectionProvider extends BaseWasmProvider implements IFaceDet
|
|
|
312
279
|
private defaultThresholds;
|
|
313
280
|
private currentThresholds;
|
|
314
281
|
private currentFrame;
|
|
315
|
-
private bestCanvas;
|
|
316
|
-
private bestFace;
|
|
317
282
|
constructor();
|
|
318
283
|
processFrame(image: ImageData): Promise<void>;
|
|
319
284
|
initialize(config: FaceDetectionConfig): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as getToken } from "./api-3IquGyW5.esm.js";
|
|
2
2
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CSiDcEjt.esm.js";
|
|
3
|
-
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-
|
|
3
|
+
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-Cen0Qmop.esm.js";
|
|
4
4
|
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DiAThhLg.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
|
2
2
|
import "./camera-CS1twtEg.js";
|
|
3
3
|
import "./types-DdYIMV6w.js";
|
|
4
4
|
import { t as EmptyConfig } from "./types-DFwAuzk2.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate213 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/home/types.d.ts
|
|
8
8
|
type HomeConfig = EmptyConfig;
|
|
@@ -34,41 +34,41 @@ type HomeContext = {
|
|
|
34
34
|
type HomeInput = {
|
|
35
35
|
config: EmptyConfig;
|
|
36
36
|
};
|
|
37
|
-
declare const homeMachine:
|
|
37
|
+
declare const homeMachine: xstate213.StateMachine<HomeContext, {
|
|
38
38
|
type: "LOAD";
|
|
39
39
|
} | {
|
|
40
40
|
type: "COMPLETE";
|
|
41
41
|
} | {
|
|
42
42
|
type: "RESET";
|
|
43
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
43
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate213.NonReducibleUnknown, xstate213.EventObject, xstate213.MetaObject, {
|
|
44
44
|
readonly id: "home";
|
|
45
45
|
readonly initial: "idle";
|
|
46
46
|
readonly context: ({
|
|
47
47
|
input
|
|
48
48
|
}: {
|
|
49
49
|
spawn: {
|
|
50
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
51
|
-
<TLogic extends
|
|
50
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate213.ActorRefFromLogic<never>;
|
|
51
|
+
<TLogic extends xstate213.AnyActorLogic>(src: TLogic, ...[options]: xstate213.ConditionalRequired<[options?: ({
|
|
52
52
|
id?: never;
|
|
53
53
|
systemId?: string;
|
|
54
|
-
input?:
|
|
54
|
+
input?: xstate213.InputFrom<TLogic> | undefined;
|
|
55
55
|
syncSnapshot?: boolean;
|
|
56
|
-
} & { [K in
|
|
56
|
+
} & { [K in xstate213.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate213.IsNotNever<xstate213.RequiredLogicInput<TLogic>>>): xstate213.ActorRefFromLogic<TLogic>;
|
|
57
57
|
};
|
|
58
58
|
input: HomeInput;
|
|
59
|
-
self:
|
|
59
|
+
self: xstate213.ActorRef<xstate213.MachineSnapshot<HomeContext, {
|
|
60
60
|
type: "LOAD";
|
|
61
61
|
} | {
|
|
62
62
|
type: "COMPLETE";
|
|
63
63
|
} | {
|
|
64
64
|
type: "RESET";
|
|
65
|
-
}, Record<string,
|
|
65
|
+
}, Record<string, xstate213.AnyActorRef | undefined>, xstate213.StateValue, string, unknown, any, any>, {
|
|
66
66
|
type: "LOAD";
|
|
67
67
|
} | {
|
|
68
68
|
type: "COMPLETE";
|
|
69
69
|
} | {
|
|
70
70
|
type: "RESET";
|
|
71
|
-
},
|
|
71
|
+
}, xstate213.AnyEventObject>;
|
|
72
72
|
}) => {
|
|
73
73
|
config: EmptyConfig;
|
|
74
74
|
};
|