@incodetech/core 0.0.0-dev-20260505-e06a25f → 0.0.0-dev-20260505-4dd3003
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-BTKqWpeB.esm.js → BaseWasmProvider-CkIHbYdx.esm.js} +112 -60
- package/dist/{WasmUtilProvider-DqCiPXV6.esm.js → WasmUtilProvider-DsAa3yqJ.esm.js} +1 -1
- package/dist/{addressSearch-CGORc_Ur.esm.js → addressSearch-B-gRk55b.esm.js} +2 -2
- package/dist/{ae-signature-BHcbLPOX.esm.js → ae-signature-CD2xVkh6.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +4 -4
- package/dist/antifraud.esm.js +3 -3
- package/dist/{antifraudStateMachine-DAo-TkJ8.esm.js → antifraudStateMachine-BpA9DsDL.esm.js} +2 -2
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +9 -9
- package/dist/{authenticationManager-DzBrRrX7.esm.js → authenticationManager-BlExOsgX.esm.js} +7 -7
- package/dist/{authenticationManager-DBgL1B8m.d.ts → authenticationManager-D53H93OW.d.ts} +1 -1
- package/dist/{authenticationStateMachine-Dg19Awyc.esm.js → authenticationStateMachine-B2KkS-0r.esm.js} +4 -4
- package/dist/consent.d.ts +50 -50
- package/dist/consent.esm.js +3 -3
- package/dist/{consentStateMachine-BVxTa1A4.esm.js → consentStateMachine-DSGt1SyM.esm.js} +2 -2
- package/dist/cpf-ocr.d.ts +20 -20
- package/dist/cpf-ocr.esm.js +2 -2
- package/dist/cross-document-data-match.esm.js +2 -2
- package/dist/curp-validation.esm.js +3 -3
- package/dist/{curpValidationStateMachine-Cm2EjX_L.esm.js → curpValidationStateMachine-B_cFIz9T.esm.js} +2 -2
- package/dist/custom-fields.esm.js +2 -2
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{deepsightLoader-BnMFKE9b.esm.js → deepsightLoader-nn8-Chjr.esm.js} +2 -2
- package/dist/document-capture.d.ts +77 -77
- package/dist/document-capture.esm.js +3 -3
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureStateMachine-Jwp09yGJ.esm.js → documentCaptureStateMachine-DWZUY2Aw.esm.js} +2 -2
- package/dist/ekyb.esm.js +6 -6
- package/dist/{ekybStateMachine-6pezQvlL.esm.js → ekybStateMachine-BLfzFOAD.esm.js} +4 -4
- package/dist/ekyc.esm.js +4 -4
- package/dist/{ekycStateMachine-CWWeCUx5.esm.js → ekycStateMachine-02EweGtj.esm.js} +3 -3
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +3 -3
- package/dist/{electronicSignatureManager-C0UgrX1L.esm.js → electronicSignatureManager-BbRP-Oph.esm.js} +2 -2
- package/dist/email.esm.js +4 -4
- package/dist/{emailManager-_gunG-AE.esm.js → emailManager-C2W-MJQ8.esm.js} +3 -3
- package/dist/{emailStateMachine-DWrTdkZY.esm.js → emailStateMachine-Df_AcoGW.esm.js} +2 -2
- package/dist/{events-237AXtL7.esm.js → events-s0VL5FYh.esm.js} +9 -2
- package/dist/events.d.ts +3 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +18 -18
- package/dist/face-match.esm.js +3 -3
- package/dist/{faceCaptureManagerFactory-CgwUMlyj.d.ts → faceCaptureManagerFactory-Cf6AcIJI.d.ts} +1 -1
- package/dist/faceCaptureManagerFactory-Dix0LYX3.esm.js +288 -0
- package/dist/{faceCaptureSetup-Cclz77d6.esm.js → faceCaptureSetup-GGxPo8Cc.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-Cd70G-3Q.esm.js → faceMatchStateMachine-Cjc-2700.esm.js} +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +8 -10
- package/dist/{flowCompletionService-DKHUsKiX.esm.js → flowCompletionService-DhTdMWSB.esm.js} +1 -1
- package/dist/{flowServices-Bh4UKZez.esm.js → flowServices-QTK0C4Ek.esm.js} +2 -2
- package/dist/geolocation.esm.js +3 -3
- package/dist/{geolocationStateMachine-CFsc46Hs.esm.js → geolocationStateMachine-BUp3qs8o.esm.js} +2 -2
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-BGGZE44p.esm.js → governmentValidationStateMachine-DBAuZdbq.esm.js} +2 -2
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-D8nzFJJv.esm.js → idCaptureManager-BtqsBcWw.esm.js} +107 -48
- package/dist/{idCaptureStateMachine-B-KOFEK9.esm.js → idCaptureStateMachine-CvdoaLtU.esm.js} +6 -6
- package/dist/identity-reuse.d.ts +43 -43
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{index-BaZskbWt.d.ts → index-B7qp9qsj.d.ts} +119 -119
- package/dist/index.esm.js +5 -5
- package/dist/mandatory-consent.d.ts +52 -52
- package/dist/mandatory-consent.esm.js +3 -3
- package/dist/{mandatoryConsentStateMachine-nVfQa5zS.esm.js → mandatoryConsentStateMachine-BJF3K6w1.esm.js} +2 -2
- package/dist/phone.esm.js +4 -4
- package/dist/{phoneManager-L4XCPUwQ.esm.js → phoneManager-DskgpnGL.esm.js} +3 -3
- package/dist/{phoneStateMachine-Dl0c8Bs4.esm.js → phoneStateMachine-CswpoAaH.esm.js} +2 -2
- package/dist/{qe-signature-D-CUO7mB.esm.js → qe-signature-Dy3nLSvu.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +4 -4
- package/dist/{recordingService-Cen0Qmop.esm.js → recordingService-Nn-BBO6j.esm.js} +4 -4
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileStateMachine-DFBsB5IY.esm.js → redirectToMobileStateMachine-DmY7A9iM.esm.js} +2 -2
- package/dist/{runChildModule-BiTJSa1K.esm.js → runChildModule-DP-gEBHS.esm.js} +2 -2
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieManager-DGAsMXpK.esm.js → selfieManager-BI4smYEE.esm.js} +7 -7
- package/dist/{selfieManager-BtyIr64h.d.ts → selfieManager-xZ0EHWY3.d.ts} +1 -1
- package/dist/{selfieStateMachine-C_VXHzeA.esm.js → selfieStateMachine-B-stjSD5.esm.js} +3 -3
- package/dist/{session-DcLfiFln.esm.js → session-oIjERqhS.esm.js} +2 -2
- package/dist/session.esm.js +3 -3
- package/dist/{setup-CGmPXQZb.esm.js → setup-BIkp7Hbm.esm.js} +4 -4
- package/dist/signature.esm.js +3 -3
- package/dist/{signatureStateMachine-C0dnpux6.esm.js → signatureStateMachine-CW8TVU_C.esm.js} +2 -2
- package/dist/wasm.esm.js +5 -5
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +3 -3
- package/dist/{watchlistServices-xsf8fmMG.esm.js → watchlistServices-DuWR27Y8.esm.js} +1 -1
- package/dist/workflow.d.ts +114 -114
- package/dist/workflow.esm.js +30 -30
- package/dist/{xstate.esm-CSiDcEjt.esm.js → xstate.esm-cL1KdW6d.esm.js} +16 -16
- package/package.json +1 -1
- package/dist/faceCaptureManagerFactory-DM_o6znS.esm.js +0 -187
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Creates a manager that wraps a state machine actor with a clean public API.
|
|
4
4
|
*
|
|
5
5
|
* The manager provides:
|
|
6
|
-
* - `getState()` - Returns the mapped public
|
|
6
|
+
* - `getState()` - Returns the mapped public stateinstrumentation
|
|
7
7
|
* - `subscribe()` - Listen to state changes
|
|
8
8
|
* - `stop()` - Stop the actor
|
|
9
9
|
* - Plus any custom API methods from `createApi`
|
|
@@ -44,27 +44,27 @@ function createManager(options) {
|
|
|
44
44
|
});
|
|
45
45
|
return () => subscription.unsubscribe();
|
|
46
46
|
}
|
|
47
|
-
let currentScreenName = instrumentation
|
|
48
|
-
let currentErrorName = instrumentation
|
|
49
|
-
let currentErrorPayload = instrumentation
|
|
47
|
+
let currentScreenName = instrumentation?.getScreenName(getSnapshot());
|
|
48
|
+
let currentErrorName = instrumentation?.getErrorName(getSnapshot());
|
|
49
|
+
let currentErrorPayload = instrumentation?.getErrorPayload(getSnapshot());
|
|
50
50
|
const api = createApi({
|
|
51
51
|
actor,
|
|
52
52
|
getSnapshot,
|
|
53
|
-
trackElementClicked: (elementName, payload) => {
|
|
53
|
+
trackElementClicked: instrumentation ? (elementName, payload) => {
|
|
54
54
|
instrumentation.onElementClicked?.(instrumentation.moduleName, currentScreenName, {
|
|
55
55
|
element: elementName,
|
|
56
56
|
action: payload?.action,
|
|
57
57
|
metadata: payload?.metadata
|
|
58
58
|
});
|
|
59
|
-
},
|
|
60
|
-
trackCaptureAttemptFinished: (payload) => {
|
|
59
|
+
} : void 0,
|
|
60
|
+
trackCaptureAttemptFinished: instrumentation ? (payload) => {
|
|
61
61
|
instrumentation.onCaptureAttemptFinished?.(instrumentation.moduleName, currentScreenName, { logs: payload.logs });
|
|
62
|
-
}
|
|
62
|
+
} : void 0
|
|
63
63
|
});
|
|
64
|
-
instrumentation
|
|
65
|
-
if (currentScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, currentScreenName);
|
|
66
|
-
if (currentErrorName !== void 0) instrumentation.onErrorTriggered(instrumentation.moduleName, currentErrorName, currentErrorPayload);
|
|
67
|
-
const actorSubscription = actor.subscribe((snapshot) => {
|
|
64
|
+
instrumentation?.onModuleOpened(instrumentation.moduleName);
|
|
65
|
+
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenOpened(instrumentation.moduleName, currentScreenName);
|
|
66
|
+
if (instrumentation && currentErrorName !== void 0) instrumentation.onErrorTriggered(instrumentation.moduleName, currentErrorName, currentErrorPayload);
|
|
67
|
+
const actorSubscription = instrumentation ? actor.subscribe((snapshot) => {
|
|
68
68
|
const nextScreenName = instrumentation.getScreenName(snapshot);
|
|
69
69
|
const nextErrorName = instrumentation.getErrorName(snapshot);
|
|
70
70
|
const nextErrorPayload = instrumentation.getErrorPayload(snapshot);
|
|
@@ -80,7 +80,7 @@ function createManager(options) {
|
|
|
80
80
|
if (nextErrorName !== void 0 && nextErrorName !== currentErrorName) instrumentation.onErrorTriggered(instrumentation.moduleName, nextErrorName, nextErrorPayload);
|
|
81
81
|
currentErrorName = nextErrorName;
|
|
82
82
|
currentErrorPayload = nextErrorPayload;
|
|
83
|
-
});
|
|
83
|
+
}) : void 0;
|
|
84
84
|
let isStopped = false;
|
|
85
85
|
const base = {
|
|
86
86
|
getState,
|
|
@@ -88,12 +88,12 @@ function createManager(options) {
|
|
|
88
88
|
stop() {
|
|
89
89
|
if (isStopped) return;
|
|
90
90
|
isStopped = true;
|
|
91
|
-
actorSubscription
|
|
92
|
-
if (currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
91
|
+
actorSubscription?.unsubscribe();
|
|
92
|
+
if (instrumentation && currentScreenName !== void 0) instrumentation.onScreenClosed(instrumentation.moduleName, currentScreenName);
|
|
93
93
|
currentScreenName = void 0;
|
|
94
94
|
currentErrorName = void 0;
|
|
95
95
|
currentErrorPayload = void 0;
|
|
96
|
-
instrumentation
|
|
96
|
+
instrumentation?.onModuleClosed(instrumentation.moduleName);
|
|
97
97
|
actor.stop();
|
|
98
98
|
}
|
|
99
99
|
};
|
package/package.json
CHANGED
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-237AXtL7.esm.js";
|
|
2
|
-
import { o as createManager } from "./xstate.esm-CSiDcEjt.esm.js";
|
|
3
|
-
|
|
4
|
-
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
5
|
-
function getPermissionStatus(snapshot) {
|
|
6
|
-
if (!snapshot.matches("permissions")) return;
|
|
7
|
-
if (snapshot.matches({ permissions: "idle" })) return "idle";
|
|
8
|
-
if (snapshot.matches({ permissions: "learnMore" })) return "learnMore";
|
|
9
|
-
if (snapshot.matches({ permissions: "requesting" })) return "requesting";
|
|
10
|
-
if (snapshot.matches({ permissions: "denied" })) return "denied";
|
|
11
|
-
}
|
|
12
|
-
function getCaptureStatus(snapshot) {
|
|
13
|
-
if (snapshot.matches({ capture: "initializing" })) return "initializing";
|
|
14
|
-
if (snapshot.matches({ capture: "detecting" })) return "detecting";
|
|
15
|
-
if (snapshot.matches({ capture: "capturing" })) return "capturing";
|
|
16
|
-
if (snapshot.matches({ capture: "capturingManual" })) return "capturing";
|
|
17
|
-
if (snapshot.matches({ capture: "uploading" })) return "uploading";
|
|
18
|
-
if (snapshot.matches({ capture: "uploadError" })) return "uploadError";
|
|
19
|
-
if (snapshot.matches({ capture: "success" })) return "success";
|
|
20
|
-
}
|
|
21
|
-
function mapState(snapshot) {
|
|
22
|
-
const { context } = snapshot;
|
|
23
|
-
if (snapshot.matches("idle")) return { status: "idle" };
|
|
24
|
-
if (snapshot.matches("loading")) return { status: "loading" };
|
|
25
|
-
if (snapshot.matches("tutorial")) return {
|
|
26
|
-
status: "tutorial",
|
|
27
|
-
ageAssurance: context.config?.ageAssurance === true
|
|
28
|
-
};
|
|
29
|
-
if (snapshot.matches("closed")) return { status: "closed" };
|
|
30
|
-
if (snapshot.matches("permissions")) {
|
|
31
|
-
const permissionStatus = getPermissionStatus(snapshot);
|
|
32
|
-
if (permissionStatus === void 0) return {
|
|
33
|
-
status: "permissions",
|
|
34
|
-
permissionStatus: "idle"
|
|
35
|
-
};
|
|
36
|
-
return {
|
|
37
|
-
status: "permissions",
|
|
38
|
-
permissionStatus
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
if (snapshot.matches("capture")) return {
|
|
42
|
-
status: "capture",
|
|
43
|
-
captureStatus: getCaptureStatus(snapshot) ?? "initializing",
|
|
44
|
-
stream: context.stream,
|
|
45
|
-
detectionStatus: context.detectionStatus ?? "idle",
|
|
46
|
-
debugFrame: context.debugFrame,
|
|
47
|
-
attemptsRemaining: context.attemptsRemaining ?? 0,
|
|
48
|
-
uploadError: context.uploadError,
|
|
49
|
-
assistedOnboarding: context.config?.assistedOnboarding ?? false,
|
|
50
|
-
ageAssurance: context.config?.ageAssurance === true
|
|
51
|
-
};
|
|
52
|
-
if (snapshot.matches("processing")) return { status: "processing" };
|
|
53
|
-
if (snapshot.matches("finished")) return {
|
|
54
|
-
status: "finished",
|
|
55
|
-
processResponse: context.processResponse
|
|
56
|
-
};
|
|
57
|
-
if (snapshot.matches("error")) {
|
|
58
|
-
const errorValue = context.error;
|
|
59
|
-
return {
|
|
60
|
-
status: "error",
|
|
61
|
-
error: typeof errorValue === "string" ? errorValue : errorValue ? errorValue.message : "Unknown error"
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
return { status: "idle" };
|
|
65
|
-
}
|
|
66
|
-
const SELFIE_SCREENS = {
|
|
67
|
-
tutorial: eventScreenNames.faceCaptureTutorial,
|
|
68
|
-
cameraCapture: eventScreenNames.faceCaptureCamera,
|
|
69
|
-
uploadProgress: eventScreenNames.faceCaptureUpload,
|
|
70
|
-
attemptFailed: eventScreenNames.faceCaptureError,
|
|
71
|
-
uploadSuccess: eventScreenNames.faceCaptureSuccess
|
|
72
|
-
};
|
|
73
|
-
const AUTH_SCREENS = {
|
|
74
|
-
tutorial: eventScreenNames.authFaceTutorial,
|
|
75
|
-
cameraCapture: eventScreenNames.authFace,
|
|
76
|
-
uploadProgress: eventScreenNames.authFaceUpload,
|
|
77
|
-
attemptFailed: eventScreenNames.authFaceError,
|
|
78
|
-
uploadSuccess: eventScreenNames.authFaceUploadSuccess
|
|
79
|
-
};
|
|
80
|
-
function getModuleScreens(moduleName) {
|
|
81
|
-
if (moduleName === "AUTHENTICATION") return AUTH_SCREENS;
|
|
82
|
-
return SELFIE_SCREENS;
|
|
83
|
-
}
|
|
84
|
-
function getCaptureSubstateScreen(value, screens) {
|
|
85
|
-
if (typeof value !== "object" || value === null) return void 0;
|
|
86
|
-
const captureValue = value.capture;
|
|
87
|
-
if (captureValue === void 0) return void 0;
|
|
88
|
-
if (typeof captureValue === "string") switch (captureValue) {
|
|
89
|
-
case "checkingDeepsight":
|
|
90
|
-
case "initializingDeepsight":
|
|
91
|
-
case "checkingStream":
|
|
92
|
-
case "initializing":
|
|
93
|
-
case "detecting":
|
|
94
|
-
case "capturing":
|
|
95
|
-
case "capturingManual": return screens.cameraCapture;
|
|
96
|
-
case "preparingUpload":
|
|
97
|
-
case "uploading":
|
|
98
|
-
case "validatingUpload": return screens.uploadProgress;
|
|
99
|
-
case "uploadError": return screens.attemptFailed;
|
|
100
|
-
case "success": return screens.uploadSuccess;
|
|
101
|
-
}
|
|
102
|
-
if (typeof captureValue === "object" && captureValue !== null) {
|
|
103
|
-
const substates = Object.keys(captureValue);
|
|
104
|
-
if (substates.includes("uploading")) return screens.uploadProgress;
|
|
105
|
-
if (substates.includes("uploadError")) return screens.attemptFailed;
|
|
106
|
-
if (substates.includes("success")) return screens.uploadSuccess;
|
|
107
|
-
}
|
|
108
|
-
return screens.cameraCapture;
|
|
109
|
-
}
|
|
110
|
-
function getFaceCaptureScreenName(snapshot, moduleName) {
|
|
111
|
-
const { value } = snapshot;
|
|
112
|
-
if (value === void 0 || value === null) return void 0;
|
|
113
|
-
const topLevel = typeof value === "string" ? value : typeof value === "object" ? Object.keys(value)[0] : void 0;
|
|
114
|
-
if (topLevel === void 0) return void 0;
|
|
115
|
-
const screens = getModuleScreens(moduleName);
|
|
116
|
-
switch (topLevel) {
|
|
117
|
-
case "idle": return "IDLE";
|
|
118
|
-
case "loading": return "LOADING";
|
|
119
|
-
case "tutorial": return screens.tutorial;
|
|
120
|
-
case "permissions": return "PERMISSIONS";
|
|
121
|
-
case "capture": return getCaptureSubstateScreen(value, screens);
|
|
122
|
-
case "processing": return "PROCESSING";
|
|
123
|
-
case "finished": return "FINISHED";
|
|
124
|
-
case "closed": return "CLOSED";
|
|
125
|
-
case "error": return "ERROR";
|
|
126
|
-
default: return topLevel;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
function createApi({ actor, trackElementClicked, trackCaptureAttemptFinished }) {
|
|
130
|
-
const snapshot = actor.getSnapshot();
|
|
131
|
-
snapshot.context.dependencies.trackCaptureAttemptFinished = trackCaptureAttemptFinished;
|
|
132
|
-
return {
|
|
133
|
-
load() {
|
|
134
|
-
actor.send({ type: "LOAD" });
|
|
135
|
-
},
|
|
136
|
-
nextStep() {
|
|
137
|
-
trackElementClicked?.("nextStep");
|
|
138
|
-
actor.send({ type: "NEXT_STEP" });
|
|
139
|
-
},
|
|
140
|
-
requestPermission() {
|
|
141
|
-
trackElementClicked?.("requestPermission");
|
|
142
|
-
actor.send({ type: "REQUEST_PERMISSION" });
|
|
143
|
-
},
|
|
144
|
-
goToLearnMore() {
|
|
145
|
-
trackElementClicked?.("goToLearnMore");
|
|
146
|
-
actor.send({ type: "GO_TO_LEARN_MORE" });
|
|
147
|
-
},
|
|
148
|
-
back() {
|
|
149
|
-
trackElementClicked?.("back");
|
|
150
|
-
actor.send({ type: "BACK" });
|
|
151
|
-
},
|
|
152
|
-
close() {
|
|
153
|
-
trackElementClicked?.("close");
|
|
154
|
-
actor.send({ type: "QUIT" });
|
|
155
|
-
},
|
|
156
|
-
reset() {
|
|
157
|
-
actor.send({ type: "RESET" });
|
|
158
|
-
},
|
|
159
|
-
retryCapture() {
|
|
160
|
-
trackElementClicked?.("retryCapture");
|
|
161
|
-
actor.send({ type: "RETRY_CAPTURE" });
|
|
162
|
-
},
|
|
163
|
-
capture() {
|
|
164
|
-
trackElementClicked?.("capture");
|
|
165
|
-
actor.send({ type: "MANUAL_CAPTURE" });
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
function getFaceCaptureErrorPayload(snapshot) {
|
|
170
|
-
const errorCode = snapshot.context.uploadError;
|
|
171
|
-
if (typeof errorCode !== "string" || errorCode.length === 0) return;
|
|
172
|
-
return { errorCode };
|
|
173
|
-
}
|
|
174
|
-
function createFaceCaptureManagerFromActor(actor, moduleName) {
|
|
175
|
-
return createManager({
|
|
176
|
-
actor,
|
|
177
|
-
mapState,
|
|
178
|
-
createApi,
|
|
179
|
-
instrumentation: createManagerInstrumentation(moduleName, {
|
|
180
|
-
getScreenName: (snapshot) => getFaceCaptureScreenName(snapshot, moduleName),
|
|
181
|
-
getErrorPayload: getFaceCaptureErrorPayload
|
|
182
|
-
})
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
//#endregion
|
|
187
|
-
export { createFaceCaptureManagerFromActor as t };
|