@incodetech/core 0.0.0-dev-20260819-1e7df894 → 0.0.0-dev-20260819-588cf821
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/{BrowserDiagnosticsCryptoProvider-Dym2LDVf.esm.js → BrowserDiagnosticsCryptoProvider-CYEBHxM-.esm.js} +1 -1
- package/dist/{IFeatureManagementCapability-DdEUp6tB.d.ts → IFeatureManagementCapability-De8wpbGh.d.ts} +2 -0
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +1 -1
- package/dist/{antifraudManager-B8Plzf7a.esm.js → antifraudManager-BMZvuxv0.esm.js} +1 -1
- package/dist/{apiError-DoY2131f.esm.js → apiError-DjfnJEmY.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DAJKY_Hl.esm.js → authenticationManager-Djd5VRUN.esm.js} +3 -3
- package/dist/{authenticationStateMachine-RL1XO40P.esm.js → authenticationStateMachine-CWI30EGE.esm.js} +2 -2
- package/dist/{backCameraStream-BMGalshK.esm.js → backCameraStream-DtkmDQo7.esm.js} +6 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +1 -1
- package/dist/{certificateIssuanceManager-Ci4symEA.esm.js → certificateIssuanceManager-buCaNcxx.esm.js} +1 -1
- package/dist/consent.esm.js +1 -1
- package/dist/{consentManager-BApTlfA0.esm.js → consentManager-DyBXdkFn.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-OmYvyung.esm.js → crossDocumentDataMatchManager-pNkutndd.esm.js} +1 -1
- package/dist/curp-validation.esm.js +1 -1
- package/dist/{curpValidationManager-UZxcrsrz.esm.js → curpValidationManager-DEesnLee.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{customFieldsManager-6mtAzlY2.esm.js → customFieldsManager-Dgy3Hi0q.esm.js} +1 -1
- package/dist/{customWatchlistManager-BgS0M1gL.esm.js → customWatchlistManager-BlJTcPKK.esm.js} +1 -1
- package/dist/{deepsightLoader-B-Zift9C.esm.js → deepsightLoader-Cx7VIdZs.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +2 -2
- package/dist/{documentCaptureManager-BykkLCQD.d.ts → documentCaptureManager-B3t0ydtg.d.ts} +1 -1
- package/dist/{documentCaptureManager-D7A4k-GE.esm.js → documentCaptureManager-qEXTbJmQ.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-fk7MDfSZ.esm.js → documentCaptureStateMachine-DXfStru4.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CcdW0DQC.esm.js → dynamicFormsManager-7O0OYLKC.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-D7uORLn9.esm.js → dynamicFormsStateMachine-BhxBhuUG.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CsWs60XQ.esm.js → ekybManager-DU3ehxwx.esm.js} +2 -2
- package/dist/{ekybStateMachine-CA6zP4H6.esm.js → ekybStateMachine-B5r4Ovj1.esm.js} +1 -1
- package/dist/ekyc.esm.js +1 -1
- package/dist/{ekycManager-oTstTJuL.esm.js → ekycManager-CasdX1Ou.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DOXEL0RW.esm.js → electronicSignatureManager-eINhsO8o.esm.js} +2 -2
- package/dist/email.esm.js +1 -1
- package/dist/{emailManager-tE-YvNtS.esm.js → emailManager-NLzaP12q.esm.js} +1 -1
- package/dist/{events-CxfNJVZW.esm.js → events-DYiyoSlx.esm.js} +5 -6
- package/dist/events.d.ts +11 -9
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +31 -31
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-LtiMtH7F.esm.js → faceCaptureManagerFactory-CE-6YvEi.esm.js} +3 -3
- package/dist/{faceCaptureSetup-Bmu-w4Bx.esm.js → faceCaptureSetup-DlttCnYM.esm.js} +4 -4
- package/dist/{faceMatchManager-BXp2WUT-.esm.js → faceMatchManager-DEVhhdf4.esm.js} +1 -1
- package/dist/{feature-management-DS_Nj5Gg.esm.js → feature-management-Cd9XIX1T.esm.js} +31 -40
- package/dist/feature-management.d.ts +41 -33
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DhnYdYZ2.esm.js → fieldComparisonManager-BRYsIi34.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-B5X-o5di.esm.js → fiscalQrManager-CP5XlFP0.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-8SgdkzNu.esm.js → flowCompletionService-CwmhqmA6.esm.js} +1 -1
- package/dist/{flowServices-CS-gZQy3.esm.js → flowServices-BtS-fOVI.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CQYoM_W5.esm.js → geolocationManager-BqsxPcAd.esm.js} +2 -2
- package/dist/{geolocationStateMachine-CTP4h5aW.esm.js → geolocationStateMachine-BxXAG2Et.esm.js} +1 -1
- package/dist/government-validation.esm.js +1 -1
- package/dist/{governmentValidationManager-DeF0Wcf5.esm.js → governmentValidationManager-Dheo7fh_.esm.js} +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.esm.js +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-LCsgD9lb.d.ts → idCaptureManager-BfgptftY.d.ts} +5 -1
- package/dist/{idCaptureManager-BaHXvciD.esm.js → idCaptureManager-Bn1CF1jN.esm.js} +5 -4
- package/dist/{idCaptureServices-Ub_gVri7.esm.js → idCaptureServices-CZwsPLMG.esm.js} +191 -9
- package/dist/{idCaptureStateMachine-CIgy6lmF.esm.js → idCaptureStateMachine-CUZyF8Bl.esm.js} +38 -19
- package/dist/{idOcrManager-CvJZhmBR.esm.js → idOcrManager-D_2k-6Vv.esm.js} +1 -1
- package/dist/{idVerificationManager-CduNXhWd.esm.js → idVerificationManager-DdlrWSSB.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{identityReuseManager-D5vXknnJ.esm.js → identityReuseManager-CzLZNgdh.esm.js} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-1m1VJ3Q4.esm.js → invokeOnCaptureCallback-GpvMuz9o.esm.js} +1 -1
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{mandatoryConsentManager-BeELm1zS.esm.js → mandatoryConsentManager-CEIkNukS.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-CB_SSBQK.esm.js → onDeviceFaceResults-B7628vP4.esm.js} +4 -4
- package/dist/{permissionGuards-BEgOUwwQ.esm.js → permissionGuards-DJNYwEOq.esm.js} +1 -1
- package/dist/{permissionServices-BPUkbztJ.esm.js → permissionServices-Dgtg_4Lv.esm.js} +1 -1
- package/dist/personhood.esm.js +5 -5
- package/dist/phone.esm.js +1 -1
- package/dist/{phoneManager-Cpiai2IM.esm.js → phoneManager-B_03mKyi.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-B_AZuLkf.esm.js → recordingService-D8KodYem.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/{redirectToMobileManager-C0dfc7f6.esm.js → redirectToMobileManager-Bgo6eqri.esm.js} +1 -1
- package/dist/{runChildModule-BcQfHARx.esm.js → runChildModule-CL2hhhUD.esm.js} +2 -2
- package/dist/sdkVersion-BHGhwczw.esm.js +4 -0
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-BGmDX_0P.esm.js → selfieManager-DDlagDor.esm.js} +3 -3
- package/dist/{selfieStateMachine-pXuKHOcE.esm.js → selfieStateMachine-CEZ0hvCQ.esm.js} +2 -2
- package/dist/{session-D892ZKOf.esm.js → session-BDsfrJHD.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-TZMpCMez.esm.js → sessionInitializer-BMj0ulTi.esm.js} +5 -4
- package/dist/{setup-Ddy2FNq7.esm.js → setup-6Ab1eT8N.esm.js} +7 -6
- package/dist/{setup-BwA7zG5D.d.ts → setup-CUHgyXuN.d.ts} +13 -1
- package/dist/signature.esm.js +1 -1
- package/dist/{signatureManager-DdPgcmou.esm.js → signatureManager-DoACIR02.esm.js} +1 -1
- package/dist/trueSight-B-rervIk.esm.js +1 -0
- package/dist/{trueSightService-DlQshgGQ.esm.js → trueSightService-CFXnK5HX.esm.js} +4 -6
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-XXfuK9d8.d.ts → types-rpRSIpv4.d.ts} +2 -0
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-D_83WY3F.esm.js → videoSelfieCameraWarmer-CEFb7dCk.esm.js} +4 -4
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.esm.js +1 -1
- package/dist/{watchlistManager-CjSMmbyq.esm.js → watchlistManager-CPBZnFYj.esm.js} +1 -1
- package/dist/workflow.esm.js +17 -17
- package/package.json +1 -1
- package/dist/trueSight-85AwiOlo.esm.js +0 -1
|
@@ -1,12 +1,192 @@
|
|
|
1
|
-
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-
|
|
1
|
+
import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-Cd9XIX1T.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
4
|
import { i as isDesktop } from "./platform-Q4r1nvWX.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
5
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
|
+
import { s as queryCameraPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
8
|
+
import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-B7628vP4.esm.js";
|
|
9
|
+
import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
|
|
7
10
|
import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
|
|
8
|
-
import { n as preloadOpenViduProvider } from "./recordingService-
|
|
11
|
+
import { n as preloadOpenViduProvider } from "./recordingService-D8KodYem.esm.js";
|
|
9
12
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-Dowxd3J3.esm.js";
|
|
13
|
+
//#region src/internal/camera/cameraServices.ts
|
|
14
|
+
function createCameraServices(camera) {
|
|
15
|
+
return {
|
|
16
|
+
async checkPermission() {
|
|
17
|
+
return queryCameraPermission();
|
|
18
|
+
},
|
|
19
|
+
async requestStream(config) {
|
|
20
|
+
return camera.requestStream({
|
|
21
|
+
facingMode: config.facingMode,
|
|
22
|
+
deviceId: config.deviceId
|
|
23
|
+
});
|
|
24
|
+
},
|
|
25
|
+
stopStream(stream) {
|
|
26
|
+
camera.stopStream(stream);
|
|
27
|
+
},
|
|
28
|
+
captureFrame(video) {
|
|
29
|
+
return camera.captureFrame(video);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
setup({
|
|
34
|
+
types: {
|
|
35
|
+
context: {},
|
|
36
|
+
events: {},
|
|
37
|
+
input: {}
|
|
38
|
+
},
|
|
39
|
+
actors: {
|
|
40
|
+
checkPermission: fromPromise(async ({ input }) => {
|
|
41
|
+
return createCameraServices(input.camera).checkPermission();
|
|
42
|
+
}),
|
|
43
|
+
requestStream: fromPromise(async ({ input }) => {
|
|
44
|
+
return createCameraServices(input.camera).requestStream(input.config);
|
|
45
|
+
})
|
|
46
|
+
},
|
|
47
|
+
actions: {
|
|
48
|
+
setPermissionResult: assign({ permissionResult: ({ event }) => {
|
|
49
|
+
if ("output" in event) return event.output;
|
|
50
|
+
if (event.type === "PERMISSION_RESULT") return event.result;
|
|
51
|
+
} }),
|
|
52
|
+
setStream: assign({ stream: ({ event }) => {
|
|
53
|
+
if ("output" in event) return event.output;
|
|
54
|
+
if (event.type === "STREAM_READY") return event.stream;
|
|
55
|
+
} }),
|
|
56
|
+
setError: assign({
|
|
57
|
+
error: ({ event }) => {
|
|
58
|
+
if ("error" in event && event.type?.startsWith?.("xstate.error")) {
|
|
59
|
+
const err = event.error;
|
|
60
|
+
return err.message || String(err);
|
|
61
|
+
}
|
|
62
|
+
if (event.type === "STREAM_ERROR") return event.error;
|
|
63
|
+
},
|
|
64
|
+
errorType: ({ event }) => {
|
|
65
|
+
if ("error" in event && event.type?.startsWith?.("xstate.error")) {
|
|
66
|
+
const err = event.error;
|
|
67
|
+
if (err.name === "NotAllowedError") return "permission_denied";
|
|
68
|
+
if (err.name === "NotFoundError") return "not_found";
|
|
69
|
+
if (err.name === "NotReadableError") return "not_readable";
|
|
70
|
+
if (err.name === "OverconstrainedError") return "overconstrained";
|
|
71
|
+
if (err.name === "SecurityError") return "security";
|
|
72
|
+
if (err.name === "AbortError") return "abort";
|
|
73
|
+
return "unknown";
|
|
74
|
+
}
|
|
75
|
+
if (event.type === "STREAM_ERROR") return event.errorType;
|
|
76
|
+
}
|
|
77
|
+
}),
|
|
78
|
+
stopStream: ({ context }) => {
|
|
79
|
+
if (context.stream) createCameraServices(context.camera).stopStream(context.stream);
|
|
80
|
+
},
|
|
81
|
+
resetContext: assign(({ context }) => ({
|
|
82
|
+
camera: context.camera,
|
|
83
|
+
config: context.config,
|
|
84
|
+
stream: void 0,
|
|
85
|
+
permissionResult: void 0,
|
|
86
|
+
error: void 0,
|
|
87
|
+
errorType: void 0
|
|
88
|
+
}))
|
|
89
|
+
},
|
|
90
|
+
guards: {
|
|
91
|
+
permissionGranted: ({ context }) => context.permissionResult === "granted",
|
|
92
|
+
permissionDenied: ({ context }) => context.permissionResult === "denied",
|
|
93
|
+
hasStream: ({ context }) => context.stream !== void 0
|
|
94
|
+
}
|
|
95
|
+
}).createMachine({
|
|
96
|
+
id: "camera",
|
|
97
|
+
initial: "idle",
|
|
98
|
+
context: ({ input }) => ({
|
|
99
|
+
camera: input.camera,
|
|
100
|
+
config: input.config ?? {},
|
|
101
|
+
stream: void 0,
|
|
102
|
+
permissionResult: void 0,
|
|
103
|
+
error: void 0,
|
|
104
|
+
errorType: void 0
|
|
105
|
+
}),
|
|
106
|
+
states: {
|
|
107
|
+
idle: { on: { START: "checkingPermission" } },
|
|
108
|
+
checkingPermission: {
|
|
109
|
+
invoke: {
|
|
110
|
+
id: "checkPermission",
|
|
111
|
+
src: "checkPermission",
|
|
112
|
+
input: ({ context }) => ({ camera: context.camera }),
|
|
113
|
+
onDone: {
|
|
114
|
+
target: "routing",
|
|
115
|
+
actions: "setPermissionResult"
|
|
116
|
+
},
|
|
117
|
+
onError: {
|
|
118
|
+
target: "routing",
|
|
119
|
+
actions: assign({ permissionResult: () => "prompt" })
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
on: { STOP: {
|
|
123
|
+
target: "idle",
|
|
124
|
+
actions: "resetContext"
|
|
125
|
+
} }
|
|
126
|
+
},
|
|
127
|
+
routing: { always: [
|
|
128
|
+
{
|
|
129
|
+
target: "requesting",
|
|
130
|
+
guard: "permissionGranted"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
target: "error",
|
|
134
|
+
guard: "permissionDenied",
|
|
135
|
+
actions: assign({
|
|
136
|
+
error: () => "Camera permission denied",
|
|
137
|
+
errorType: () => "permission_denied"
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
{ target: "requesting" }
|
|
141
|
+
] },
|
|
142
|
+
requesting: {
|
|
143
|
+
invoke: {
|
|
144
|
+
id: "requestStream",
|
|
145
|
+
src: "requestStream",
|
|
146
|
+
input: ({ context }) => ({
|
|
147
|
+
camera: context.camera,
|
|
148
|
+
config: context.config
|
|
149
|
+
}),
|
|
150
|
+
onDone: {
|
|
151
|
+
target: "streaming",
|
|
152
|
+
actions: "setStream"
|
|
153
|
+
},
|
|
154
|
+
onError: {
|
|
155
|
+
target: "error",
|
|
156
|
+
actions: "setError"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
on: { STOP: {
|
|
160
|
+
target: "idle",
|
|
161
|
+
actions: "resetContext"
|
|
162
|
+
} }
|
|
163
|
+
},
|
|
164
|
+
streaming: {
|
|
165
|
+
exit: "stopStream",
|
|
166
|
+
on: {
|
|
167
|
+
STOP: {
|
|
168
|
+
target: "idle",
|
|
169
|
+
actions: "resetContext"
|
|
170
|
+
},
|
|
171
|
+
RESET: {
|
|
172
|
+
target: "idle",
|
|
173
|
+
actions: "resetContext"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
error: { on: {
|
|
178
|
+
RESET: {
|
|
179
|
+
target: "idle",
|
|
180
|
+
actions: "resetContext"
|
|
181
|
+
},
|
|
182
|
+
STOP: {
|
|
183
|
+
target: "idle",
|
|
184
|
+
actions: "resetContext"
|
|
185
|
+
}
|
|
186
|
+
} }
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
//#endregion
|
|
10
190
|
//#region src/modules/id/idCameraStream.ts
|
|
11
191
|
async function getIdCameraStream(deviceId) {
|
|
12
192
|
return getBackCameraStream(deviceId);
|
|
@@ -14,14 +194,14 @@ async function getIdCameraStream(deviceId) {
|
|
|
14
194
|
//#endregion
|
|
15
195
|
//#region src/modules/id/idCaptureExperiments.ts
|
|
16
196
|
/**
|
|
17
|
-
* IDC-05 — resolved by core because `
|
|
197
|
+
* IDC-05 — resolved by core because `framesAggregationIntervalMs` feeds
|
|
18
198
|
* `setThresholds` before detection can run.
|
|
19
199
|
*/
|
|
20
200
|
const CAPTURE_RESULT_PREVIEW = {
|
|
21
|
-
storeParam: "
|
|
201
|
+
storeParam: "idcExp05ShowResult",
|
|
22
202
|
...defineExperimentParams({
|
|
23
203
|
showCaptureResultPreview: booleanParam(false),
|
|
24
|
-
|
|
204
|
+
framesAggregationIntervalMs: numberParam(DEFAULT_ID_CAPTURE_THRESHOLDS.framesAggregationInterval)
|
|
25
205
|
})
|
|
26
206
|
};
|
|
27
207
|
//#endregion
|
|
@@ -31,7 +211,7 @@ function resolveCaptureResultPreviewTreatment(config) {
|
|
|
31
211
|
const { params } = resolveExperimentOnce(CAPTURE_RESULT_PREVIEW);
|
|
32
212
|
return {
|
|
33
213
|
mode: params.showCaptureResultPreview ? "result-preview" : "countdown",
|
|
34
|
-
framesAggregationInterval: params.
|
|
214
|
+
framesAggregationInterval: params.framesAggregationIntervalMs
|
|
35
215
|
};
|
|
36
216
|
}
|
|
37
217
|
/**
|
|
@@ -143,11 +323,13 @@ async function initializeIdCapture(params) {
|
|
|
143
323
|
if (typeof settings.width === "number" && typeof settings.height === "number") captureResolution = `${settings.width}x${settings.height}`;
|
|
144
324
|
}
|
|
145
325
|
if (deepsightService && videoTrack) deepsightService.metadata.updateCameraInfo(videoTrack);
|
|
326
|
+
const usingBackCamera = videoTrack ? isBackFacingTrack(videoTrack) : true;
|
|
146
327
|
return {
|
|
147
328
|
stream,
|
|
148
329
|
provider,
|
|
149
330
|
captureResolution,
|
|
150
|
-
cameraFallbackLevel: fallbackLevel
|
|
331
|
+
cameraFallbackLevel: fallbackLevel,
|
|
332
|
+
usingBackCamera
|
|
151
333
|
};
|
|
152
334
|
}
|
|
153
335
|
function stopStream(stream) {
|
package/dist/{idCaptureStateMachine-CIgy6lmF.esm.js → idCaptureStateMachine-CUZyF8Bl.esm.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
-
import { s as exposeExperimentOnce } from "./feature-management-
|
|
2
|
+
import { s as exposeExperimentOnce } from "./feature-management-Cd9XIX1T.esm.js";
|
|
3
3
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
4
4
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
6
|
-
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-
|
|
7
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
8
|
-
import "./trueSight-
|
|
5
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CFXnK5HX.esm.js";
|
|
6
|
+
import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-DYiyoSlx.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./sessionInitializer-BMj0ulTi.esm.js";
|
|
8
|
+
import "./trueSight-B-rervIk.esm.js";
|
|
9
9
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
10
10
|
import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
|
|
11
|
-
import "./session-
|
|
11
|
+
import "./session-BDsfrJHD.esm.js";
|
|
12
12
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
13
13
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
14
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
15
|
-
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
14
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
15
|
+
import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-B7628vP4.esm.js";
|
|
16
16
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
17
17
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
18
18
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
19
19
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
20
20
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
21
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
21
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DJNYwEOq.esm.js";
|
|
22
22
|
import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
|
|
23
|
-
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-
|
|
23
|
+
import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as getIdCameraStream, h as CAPTURE_RESULT_PREVIEW, i as preloadIdRecordingProvider, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-CZwsPLMG.esm.js";
|
|
24
24
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
25
25
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
26
26
|
function isKnownFailReason(reason) {
|
|
@@ -1284,7 +1284,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1284
1284
|
});
|
|
1285
1285
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1286
1286
|
if (!input.dependencies) return;
|
|
1287
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1287
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Cx7VIdZs.esm.js");
|
|
1288
1288
|
return loadDeepsightSession({
|
|
1289
1289
|
ds: input.ds,
|
|
1290
1290
|
storage: input.dependencies.storage,
|
|
@@ -1326,7 +1326,7 @@ function performReportCaptureResultPreviewAssignment(context) {
|
|
|
1326
1326
|
if (context.config.supportsCaptureResultPreview !== true) return;
|
|
1327
1327
|
const assignment = exposeExperimentOnce(CAPTURE_RESULT_PREVIEW);
|
|
1328
1328
|
if (!assignment) return;
|
|
1329
|
-
recordExperimentAssignmentOnce(eventModuleNames.idCapture, assignment);
|
|
1329
|
+
recordExperimentAssignmentOnce(eventModuleNames.idCapture, CAPTURE_RESULT_PREVIEW.storeParam, assignment);
|
|
1330
1330
|
}
|
|
1331
1331
|
function performStopMediaRecording(context) {
|
|
1332
1332
|
if (context.recordingSession) stopRecording(context.recordingSession);
|
|
@@ -1352,6 +1352,9 @@ function getCaptureResolutionFromEvent(event) {
|
|
|
1352
1352
|
function getCameraFallbackLevelFromEvent(event) {
|
|
1353
1353
|
if ("output" in event) return event.output.cameraFallbackLevel;
|
|
1354
1354
|
}
|
|
1355
|
+
function getUsingBackCameraFromEvent(event) {
|
|
1356
|
+
if ("output" in event) return event.output.usingBackCamera;
|
|
1357
|
+
}
|
|
1355
1358
|
function getFrameCapturerFromEvent(event) {
|
|
1356
1359
|
if ("output" in event) {
|
|
1357
1360
|
const output = event.output;
|
|
@@ -1394,7 +1397,8 @@ function getResetContextValues(context) {
|
|
|
1394
1397
|
selectedDocumentType: void 0,
|
|
1395
1398
|
manualCaptureTriggered: false,
|
|
1396
1399
|
captureResolution: void 0,
|
|
1397
|
-
cameraFallbackLevel: void 0
|
|
1400
|
+
cameraFallbackLevel: void 0,
|
|
1401
|
+
usingBackCamera: void 0
|
|
1398
1402
|
};
|
|
1399
1403
|
}
|
|
1400
1404
|
function getClearUploadFailureValues(context) {
|
|
@@ -1594,6 +1598,8 @@ function getBarcodeResponseValues(context, event) {
|
|
|
1594
1598
|
* other capture option enabled — there is nothing to capture (ENG-43983).
|
|
1595
1599
|
*/
|
|
1596
1600
|
const ID_CAPTURE_NO_DOCUMENT_TYPES_ERROR = "ID capture module has no accepted documents and no capture option enabled";
|
|
1601
|
+
/** Watchdog for `uploading`: give up and surface a retryable error if the upload never settles. */
|
|
1602
|
+
const UPLOAD_TIMEOUT_MS = 25e3;
|
|
1597
1603
|
function getIdErrorCodeFromUnknown(error) {
|
|
1598
1604
|
if (error instanceof Error) {
|
|
1599
1605
|
const message = error.message;
|
|
@@ -1665,7 +1671,8 @@ const idCaptureMachine = setup({
|
|
|
1665
1671
|
exhaustedFromUpload: false,
|
|
1666
1672
|
forceFinishAfterProcessing: false,
|
|
1667
1673
|
captureResolution: void 0,
|
|
1668
|
-
cameraFallbackLevel: void 0
|
|
1674
|
+
cameraFallbackLevel: void 0,
|
|
1675
|
+
usingBackCamera: void 0
|
|
1669
1676
|
};
|
|
1670
1677
|
}),
|
|
1671
1678
|
resetForFrontCapture: assign(({ context }) => {
|
|
@@ -1694,7 +1701,8 @@ const idCaptureMachine = setup({
|
|
|
1694
1701
|
exhaustedFromUpload: false,
|
|
1695
1702
|
forceFinishAfterProcessing: false,
|
|
1696
1703
|
captureResolution: void 0,
|
|
1697
|
-
cameraFallbackLevel: void 0
|
|
1704
|
+
cameraFallbackLevel: void 0,
|
|
1705
|
+
usingBackCamera: void 0
|
|
1698
1706
|
};
|
|
1699
1707
|
}),
|
|
1700
1708
|
clearFlipPreview: assign({ flipPreview: void 0 }),
|
|
@@ -1719,12 +1727,14 @@ const idCaptureMachine = setup({
|
|
|
1719
1727
|
provider: ({ event }) => getProviderFromEvent(event),
|
|
1720
1728
|
frameCapturer: ({ event }) => getFrameCapturerFromEvent(event),
|
|
1721
1729
|
captureResolution: ({ event }) => getCaptureResolutionFromEvent(event),
|
|
1722
|
-
cameraFallbackLevel: ({ event }) => getCameraFallbackLevelFromEvent(event)
|
|
1730
|
+
cameraFallbackLevel: ({ event }) => getCameraFallbackLevelFromEvent(event),
|
|
1731
|
+
usingBackCamera: ({ event }) => getUsingBackCameraFromEvent(event)
|
|
1723
1732
|
}),
|
|
1724
1733
|
setPermissionResultAndStream: assign({
|
|
1725
1734
|
permissionResult: ({ context, event }) => getPermissionResultFromEvent(event) ?? context.permissionResult,
|
|
1726
1735
|
stream: ({ context, event }) => getStreamFromEvent(event) ?? context.stream,
|
|
1727
|
-
cameraFallbackLevel: ({ context, event }) => getCameraFallbackLevelFromEvent(event) ?? context.cameraFallbackLevel
|
|
1736
|
+
cameraFallbackLevel: ({ context, event }) => getCameraFallbackLevelFromEvent(event) ?? context.cameraFallbackLevel,
|
|
1737
|
+
usingBackCamera: ({ context, event }) => getUsingBackCameraFromEvent(event) ?? context.usingBackCamera
|
|
1728
1738
|
}),
|
|
1729
1739
|
trackTutorialId: () => {},
|
|
1730
1740
|
trackContinue: () => {},
|
|
@@ -1757,7 +1767,8 @@ const idCaptureMachine = setup({
|
|
|
1757
1767
|
provider: void 0,
|
|
1758
1768
|
frameCapturer: void 0,
|
|
1759
1769
|
captureResolution: void 0,
|
|
1760
|
-
cameraFallbackLevel: void 0
|
|
1770
|
+
cameraFallbackLevel: void 0,
|
|
1771
|
+
usingBackCamera: void 0
|
|
1761
1772
|
};
|
|
1762
1773
|
}),
|
|
1763
1774
|
decrementAttemptsRemaining: assign(({ context }) => ({ attemptsRemaining: context.attemptsRemaining - 1 })),
|
|
@@ -1920,7 +1931,8 @@ const idCaptureMachine = setup({
|
|
|
1920
1931
|
deepsightInitAttempted: false,
|
|
1921
1932
|
availableDocumentTypes: getAvailableDocumentTypes(input.config),
|
|
1922
1933
|
captureResolution: void 0,
|
|
1923
|
-
cameraFallbackLevel: void 0
|
|
1934
|
+
cameraFallbackLevel: void 0,
|
|
1935
|
+
usingBackCamera: void 0
|
|
1924
1936
|
};
|
|
1925
1937
|
},
|
|
1926
1938
|
on: {
|
|
@@ -2493,6 +2505,13 @@ const idCaptureMachine = setup({
|
|
|
2493
2505
|
}))
|
|
2494
2506
|
}
|
|
2495
2507
|
}],
|
|
2508
|
+
after: { [UPLOAD_TIMEOUT_MS]: {
|
|
2509
|
+
target: "uploadError",
|
|
2510
|
+
actions: assign(({ context }) => ({
|
|
2511
|
+
uploadError: ID_ERROR_CODES.UPLOAD_ERROR,
|
|
2512
|
+
attemptsRemaining: context.attemptsRemaining - 1
|
|
2513
|
+
}))
|
|
2514
|
+
} },
|
|
2496
2515
|
on: {
|
|
2497
2516
|
UPLOAD_PROGRESS: { actions: assign({ uploadProgress: ({ context, event }) => Math.max(context.uploadProgress ?? 0, Math.round(event.progress / 100 * 80)) }) },
|
|
2498
2517
|
UPLOAD_PROGRESS_TICK: { actions: assign({ uploadProgress: ({ context }) => Math.min(95, (context.uploadProgress ?? 0) + 1) }) }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-Bq_e3l4E.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
package/dist/{idVerificationManager-CduNXhWd.esm.js → idVerificationManager-DdlrWSSB.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
|
|
4
4
|
//#region src/modules/id-verification/idVerificationActor.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as identityReuseMachine, t as SCAN_NEW_DOCUMENT } from "./identityReuseStateMachine-AubRPhIi.esm.js";
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CzLZNgdh.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-AubRPhIi.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseActor.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-CUHgyXuN.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-6Ab1eT8N.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zroQGzwb.esm.js";
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CEIkNukS.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-BeELm1zS.esm.js → mandatoryConsentManager-CEIkNukS.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zroQGzwb.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
3
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CFXnK5HX.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
5
|
+
import "./trueSight-B-rervIk.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { i as isDesktop, s as isIPhone14OrHigher } from "./platform-Q4r1nvWX.esm.js";
|
|
8
8
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
9
9
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
10
10
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
11
|
-
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-
|
|
11
|
+
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-DtkmDQo7.esm.js";
|
|
12
12
|
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
13
13
|
/**
|
|
14
14
|
* Resolves after the browser has had a chance to commit and paint a queued
|
|
@@ -523,7 +523,7 @@ async function stopRecording(session) {
|
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
async function initializeDeepsightSession(options) {
|
|
526
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
526
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-Cx7VIdZs.esm.js");
|
|
527
527
|
return loadDeepsightSession({
|
|
528
528
|
ds: options.ds,
|
|
529
529
|
storage: options.storage
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
2
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
3
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
4
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -139,4 +139,4 @@ async function invokeRequestPermissionActor(input) {
|
|
|
139
139
|
return requestPermission({ requestMotion: true });
|
|
140
140
|
}
|
|
141
141
|
//#endregion
|
|
142
|
-
export { isWasmMotionPrimedForModule as a, requestPermission as i, invokeRequestPermissionActor as n, resetWasmMotionPrimedForModule as o, primeMotionFromUserGestureIfNeeded as r, checkPermission as t };
|
|
142
|
+
export { isWasmMotionPrimedForModule as a, requestPermission as i, invokeRequestPermissionActor as n, resetWasmMotionPrimedForModule as o, primeMotionFromUserGestureIfNeeded as r, queryCameraPermission as s, checkPermission as t };
|
package/dist/personhood.esm.js
CHANGED
|
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as eventModuleNames } from "./events-
|
|
7
|
-
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
+
import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-CFXnK5HX.esm.js";
|
|
6
|
+
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
7
|
+
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-BMj0ulTi.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
9
9
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
|
12
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
12
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-Dgtg_4Lv.esm.js";
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-B7628vP4.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region src/modules/personhood/personhoodServices.ts
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { t as phoneMachine } from "./phoneStateMachine-E1fUUcNM.esm.js";
|
|
4
4
|
//#region src/modules/phone/phoneActor.ts
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-eINhsO8o.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
|
|
2
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
2
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-B7628vP4.esm.js";
|
|
3
3
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-vXDI73LZ.esm.js";
|
|
4
4
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
5
5
|
async function getDurationBySeek(videoBlob) {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-C9SYCJcH.esm.js";
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-Bgo6eqri.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-C0dfc7f6.esm.js → redirectToMobileManager-Bgo6eqri.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-C9SYCJcH.esm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
-
import { C as createEventBus } from "./events-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CFXnK5HX.esm.js";
|
|
3
|
+
import { C as createEventBus } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DlttCnYM.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CE-6YvEi.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
11
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-CEZ0hvCQ.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DDlagDor.esm.js";
|
|
11
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-GpvMuz9o.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
14
14
|
* Performs local finalization of a captured face frame: stops local video
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CE-6YvEi.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-CEZ0hvCQ.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-DlttCnYM.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B7628vP4.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieStateMachine.ts
|