@incodetech/core 0.0.0-dev-20260507-df83b23 → 0.0.0-dev-20260507-78f2d13
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/{OpenViduRecordingProvider-VSC4Wgmh.esm.js → OpenViduRecordingProvider-DnYd4TKr.esm.js} +1 -1
- package/dist/{WasmUtilProvider-DsAa3yqJ.esm.js → WasmUtilProvider-Cj17GAox.esm.js} +1 -1
- package/dist/{addressSearch-1EhIahE5.esm.js → addressSearch-DGVL5bWp.esm.js} +4 -4
- package/dist/{ae-signature-BPAhuail.esm.js → ae-signature-CW0Y3VGK.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +6 -6
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +5 -5
- package/dist/{antifraudStateMachine-CaTkXzvS.esm.js → antifraudStateMachine-D4G28SI4.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +23 -23
- package/dist/{authenticationManager-BmRvJPaH.esm.js → authenticationManager-BMGIFm3Y.esm.js} +6 -6
- package/dist/{authenticationManager-ii8ZNmw2.d.ts → authenticationManager-BuChl5GH.d.ts} +2 -2
- package/dist/{authenticationStateMachine-wCMzEk11.esm.js → authenticationStateMachine-Dd9HMJiq.esm.js} +6 -6
- package/dist/{backCameraStream-5ADnns4R.esm.js → backCameraStream-bztcEWzY.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +5 -5
- package/dist/{consentStateMachine-KnKYoONj.esm.js → consentStateMachine-Bda2QqSh.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +21 -21
- package/dist/cpf-ocr.esm.js +5 -5
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{curpValidationStateMachine-C5h4uWTM.esm.js → curpValidationStateMachine-CYXt-Why.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -26
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/dateUtils-DuJi5-S5.esm.js +23 -0
- package/dist/{deepsightLoader-Czuy5gmc.esm.js → deepsightLoader-C1UShQg2.esm.js} +10 -10
- package/dist/{deepsightService-DljAhyUS.d.ts → deepsightService-CGSDjjBz.d.ts} +2 -2
- package/dist/{deepsightService-Bcszplg_.esm.js → deepsightService-gNTXZu7Y.esm.js} +5 -5
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +80 -80
- package/dist/document-capture.esm.js +9 -9
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-CCXTJumz.esm.js → documentCaptureStateMachine-SQ3AsME6.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +178 -0
- package/dist/dynamic-forms.esm.js +323 -0
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +11 -11
- package/dist/{ekybStateMachine-B5BNo1Mw.esm.js → ekybStateMachine-of_oFZ3p.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-DBW6AZE4.esm.js → ekycStateMachine-B-R_nMk9.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +5 -5
- package/dist/{electronicSignatureManager-CO2GTZLe.esm.js → electronicSignatureManager-W3dYg32m.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +7 -7
- package/dist/{emailManager-4RL2kin0.esm.js → emailManager-Dcdv3r8N.esm.js} +3 -3
- package/dist/{emailManager-CveAxTDP.d.ts → emailManager-DsYl45qf.d.ts} +2 -2
- package/dist/{emailStateMachine-D2rWFesQ.esm.js → emailStateMachine-CfL8um8y.esm.js} +4 -4
- package/dist/{endpoints-DNtRS0G7.esm.js → endpoints-B3V1U9Dg.esm.js} +2 -1
- package/dist/{events-uIxiN9N7.esm.js → events-Bt1azl2B.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-trA9Rn6f.d.ts → faceCaptureManagerFactory-FX5Lw2Q5.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-BmFLgwZH.esm.js → faceCaptureManagerFactory-bM8uVQhs.esm.js} +2 -2
- package/dist/{faceCaptureSetup-9eFWtwWI.esm.js → faceCaptureSetup-n0z3bm3G.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-hMwJymwg.esm.js → faceMatchStateMachine-o_4FAl-g.esm.js} +3 -3
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +9 -9
- package/dist/flow.esm.js +10 -10
- package/dist/{flowCompletionService-BWnQnePV.esm.js → flowCompletionService-BuVIVPT_.esm.js} +2 -2
- package/dist/{flowServices-CVA1Qt0E.esm.js → flowServices-BNMNk6sc.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-Do1_kljB.esm.js → geolocationStateMachine-Oj4giZl6.esm.js} +4 -4
- package/dist/{getDeviceClass-DheTn1ak.esm.js → getDeviceClass-BTVS59zg.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +6 -6
- package/dist/{governmentValidationStateMachine-BssAqWED.esm.js → governmentValidationStateMachine-DwZUuGG9.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +23 -23
- package/dist/{idCaptureManager-C4r9_xsU.esm.js → idCaptureManager-C3qcCILu.esm.js} +4 -4
- package/dist/{idCaptureManager-DcGzjbMw.d.ts → idCaptureManager-xbLvlmaw.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-CoaY0n7f.esm.js → idCaptureStateMachine-CgZiukTi.esm.js} +17 -17
- package/dist/{idOcrStateMachine-BpMmG450.esm.js → idOcrStateMachine-Bh_LFdKk.esm.js} +5 -5
- package/dist/identity-reuse.d.ts +46 -46
- package/dist/identity-reuse.esm.js +4 -4
- package/dist/{index-BpTtY0jy.d.ts → index-CmFkidgy.d.ts} +2 -2
- package/dist/{index-CciEmEkD.d.ts → index-P6znUbAD.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +10 -10
- package/dist/{lib-e9A3TaUp.esm.js → lib-KUTgonKm.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +57 -57
- package/dist/mandatory-consent.esm.js +5 -5
- package/dist/{mandatoryConsentStateMachine-u2Dejbsq.esm.js → mandatoryConsentStateMachine-b5d37Xvb.esm.js} +3 -3
- package/dist/openviduLazy-DYsQwkcJ.esm.js +3 -0
- package/dist/{openviduLazy-CH1qVdk4.esm.js → openviduLazy-yJ7zb0TW.esm.js} +2 -2
- package/dist/{permissionServices-eL_s8LM6.esm.js → permissionServices-DIxFacTA.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +7 -7
- package/dist/{phoneManager-DTsFubQ_.esm.js → phoneManager-CBupL3Zp.esm.js} +3 -3
- package/dist/{phoneManager-CXU5qAEp.d.ts → phoneManager-CeAs-QB1.d.ts} +2 -2
- package/dist/{phoneStateMachine-QEx9QC81.esm.js → phoneStateMachine-B0KqPCut.esm.js} +4 -4
- package/dist/{qe-signature-C5aBKDWr.esm.js → qe-signature-CLobj5mQ.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +6 -6
- package/dist/{recordingService-DmAnFiD_.esm.js → recordingService-DkKKvn0o.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +6 -6
- package/dist/{redirectToMobileStateMachine-CcwBfjQG.esm.js → redirectToMobileStateMachine-Dvias_ax.esm.js} +4 -4
- package/dist/{runChildModule-DKpZakUb.esm.js → runChildModule-BpsyjQ6x.esm.js} +2 -2
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +23 -23
- package/dist/{selfieManager-BfsykqaD.esm.js → selfieManager-Bh9G13aS.esm.js} +6 -6
- package/dist/{selfieManager-BM3gX8wt.d.ts → selfieManager-DPQzO4ua.d.ts} +2 -2
- package/dist/{selfieStateMachine-CzExLyb6.esm.js → selfieStateMachine-DPHgsHPA.esm.js} +3 -3
- package/dist/{session-D703R287.esm.js → session-CEQEqTvJ.esm.js} +6 -6
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +7 -7
- package/dist/{setup-DmpirIL4.esm.js → setup-BVz1gFkj.esm.js} +7 -7
- package/dist/{setup-DR-GXYcF.d.ts → setup-DKabjTK6.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-Bs0_U_Lo.esm.js → signatureStateMachine-PoXfqqBQ.esm.js} +4 -4
- package/dist/{stats-B8cIMClD.esm.js → stats-KJxmByg8.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-BYfGowzf.d.ts → types-BA181GDD.d.ts} +2 -1
- package/dist/{types-CB9HxtLU.d.ts → types-DJSt3Ovt.d.ts} +1 -1
- package/dist/{types-BRSrJ9_B.d.ts → types-WKAQ7Ai4.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +10 -10
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +4 -4
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistServices-CyOZaglV.esm.js → watchlistServices-DwhjRlRl.esm.js} +2 -2
- package/dist/workflow.d.ts +93 -93
- package/dist/workflow.esm.js +47 -47
- package/package.json +6 -1
- package/dist/openviduLazy-C35XN0G5.esm.js +0 -3
- /package/dist/{Actor-DPJ2L-q1.d.ts → Actor-YjWTo26u.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-CkIHbYdx.esm.js → BaseWasmProvider-QTXpU_qs.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-DVqF8tnD.esm.js → BrowserStorageProvider-CoUfuy0u.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-OUipjf3B.esm.js → BrowserTimerProvider-BZGH3sYJ.esm.js} +0 -0
- /package/dist/{ITimerCapability-CSQe9nqt.esm.js → ITimerCapability-2pw-S97e.esm.js} +0 -0
- /package/dist/{IpifyProvider-wp6qqO1v.esm.js → IpifyProvider-ByL6JYxg.esm.js} +0 -0
- /package/dist/{Manager-D09zXsjJ.d.ts → Manager-D9pehGyp.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-CzLW8Zb8.esm.js → MotionSensorProvider-DuErU0Pn.esm.js} +0 -0
- /package/dist/{StateMachine-Dg9ghlLh.d.ts → StateMachine-CJG7thvx.d.ts} +0 -0
- /package/dist/{api-DZdHZLhE.esm.js → api-eqRXuVG-.esm.js} +0 -0
- /package/dist/{browserSimulation-B5_Amlr4.esm.js → browserSimulation-CAH-V_iE.esm.js} +0 -0
- /package/dist/{camera-DV8Ep-_K.d.ts → camera-B6UAKpM1.d.ts} +0 -0
- /package/dist/{camera-3XOyIO-y.esm.js → camera-PA2Ljri3.esm.js} +0 -0
- /package/dist/{chunk-B0Z3lHdK.esm.js → chunk-DnCz0mJK.esm.js} +0 -0
- /package/dist/{cpf-Dalbmi8t.esm.js → cpf-DTvbZfOI.esm.js} +0 -0
- /package/dist/{displayErrors-Qx-DuMvI.d.ts → displayErrors-DO0TIjQ-.d.ts} +0 -0
- /package/dist/{flowCompletionService-B4VbRg-J.d.ts → flowCompletionService-C376JZwA.d.ts} +0 -0
- /package/dist/{getBrowser-FtGDQirD.esm.js → getBrowser-jTObqSyg.esm.js} +0 -0
- /package/dist/{platform-C3jlX5mh.esm.js → platform-Dpzd9p3X.esm.js} +0 -0
- /package/dist/{types--DdSD2gk.d.ts → types-CarMMtoz.d.ts} +0 -0
- /package/dist/{warmup-Br1UnuWP.d.ts → warmup-DHGg8wQZ.d.ts} +0 -0
- /package/dist/{xstate.esm-COokXZK9.esm.js → xstate.esm-C19_S3_9.esm.js} +0 -0
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
+
import "./Actor-YjWTo26u.js";
|
|
3
|
+
import * as xstate170 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate170.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate170.ActorRefFromLogic<xstate170.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate170.EventObject>> | xstate170.ActorRefFromLogic<xstate170.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate170.EventObject>> | undefined;
|
|
200
|
+
}, xstate170.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate170.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate170.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate170.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate170.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate170.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate170.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate170.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate170.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate170.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate170.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate170.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate170.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate170.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate170.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate170.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "inputting" | "readonly" | "validatingContinue" | "submitting", string, IdOcrInput, xstate170.NonReducibleUnknown, xstate170.EventObject, xstate170.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate170.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate170.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate170.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate170.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate170.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate170.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate170.RequiredActorOptions<T>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate170.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate170.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate170.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate170.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate170.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate170.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate170.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredActorOptions<T_1>>> : never : never : never)): xstate170.ActorRefFromLogic<xstate170.GetConcreteByKey<xstate170.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate170.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate170.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate170.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate170.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate170.AnyActorLogic>(src: TLogic, ...[options]: xstate170.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate170.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate170.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate170.IsNotNever<xstate170.RequiredLogicInput<TLogic>>>): xstate170.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate170.AnyActorRef | undefined>, xstate170.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate170.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate170.AnyActorRef>, xstate170.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate170.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate170.ActorRef<xstate170.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate170.AnyActorRef>, xstate170.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate888.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate170.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
5
|
-
import "./cpf-
|
|
6
|
-
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-
|
|
1
|
+
import "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { a as createActor, o as createManager } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import "./cpf-DTvbZfOI.esm.js";
|
|
6
|
+
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-Bh_LFdKk.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/id-ocr/idOcrActor.ts
|
|
9
9
|
function createIdOcrActor(options) {
|
package/dist/id.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./deepsightService-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types
|
|
10
|
-
import { A as IdCaptureConfig, B as IdErrorCode, C as IdCaptureMachine, D as DetectionArea, E as CapturedImage, F as IdCaptureInput, G as ManualUploadContext, H as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, I as IdCaptureMode, J as RecordingSession, K as ManualUploadSide, L as IdCaptureThresholds, M as IdCaptureDependencies, N as IdCaptureEvent, O as DetectionStatus, P as IdCaptureGeometry, R as IdDocumentType, S as createIdCaptureActor, T as CaptureIdResponse, U as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, V as IdFlowStep, W as MANUAL_UPLOAD_MAX_RETRIES, X as DetectionOrientation, Y as UploadIdResponse, Z as IdCaptureSettings, _ as uploadIdImage, a as IdCaptureInitResult, b as CreateIdCaptureActorOptions, c as UploadIdImageParams, d as initializeIdCapture, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, j as IdCaptureContext, k as ID_ERROR_CODES, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureState, o as InitializeIdCaptureParams, p as processId, q as ManualUploadTab, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as ValidationError, v as uploadManualIdFile, w as idCaptureMachine, x as IdCaptureActor, y as validateUploadResponse, z as IdError } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-DHGg8wQZ.js";
|
|
2
|
+
import "./Manager-D9pehGyp.js";
|
|
3
|
+
import "./Actor-YjWTo26u.js";
|
|
4
|
+
import "./StateMachine-CJG7thvx.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-B6UAKpM1.js";
|
|
6
|
+
import "./types-DJSt3Ovt.js";
|
|
7
|
+
import "./types-BA181GDD.js";
|
|
8
|
+
import "./deepsightService-CGSDjjBz.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CarMMtoz.js";
|
|
10
|
+
import { A as IdCaptureConfig, B as IdErrorCode, C as IdCaptureMachine, D as DetectionArea, E as CapturedImage, F as IdCaptureInput, G as ManualUploadContext, H as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, I as IdCaptureMode, J as RecordingSession, K as ManualUploadSide, L as IdCaptureThresholds, M as IdCaptureDependencies, N as IdCaptureEvent, O as DetectionStatus, P as IdCaptureGeometry, R as IdDocumentType, S as createIdCaptureActor, T as CaptureIdResponse, U as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, V as IdFlowStep, W as MANUAL_UPLOAD_MAX_RETRIES, X as DetectionOrientation, Y as UploadIdResponse, Z as IdCaptureSettings, _ as uploadIdImage, a as IdCaptureInitResult, b as CreateIdCaptureActorOptions, c as UploadIdImageParams, d as initializeIdCapture, f as preloadIdRecordingProvider, g as stopStream, h as stopRecording, j as IdCaptureContext, k as ID_ERROR_CODES, l as UploadManualIdFileParams, m as startRecordingSession, n as IdCaptureState, o as InitializeIdCaptureParams, p as processId, q as ManualUploadTab, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as ValidationError, v as uploadManualIdFile, w as idCaptureMachine, x as IdCaptureActor, y as validateUploadResponse, z as IdError } from "./idCaptureManager-xbLvlmaw.js";
|
|
11
11
|
export { CameraStream, CaptureIdResponse, CapturedImage, type CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, type IdCaptureContext, IdCaptureDependencies, type IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, type IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, ManualUploadContext, ManualUploadSide, ManualUploadTab, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, UploadManualIdFileParams, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import "./BrowserTimerProvider-
|
|
3
|
-
import "./api-
|
|
4
|
-
import "./events-
|
|
5
|
-
import "./endpoints-
|
|
6
|
-
import "./session-
|
|
7
|
-
import "./IpifyProvider-
|
|
8
|
-
import "./browserSimulation-
|
|
9
|
-
import "./xstate.esm-
|
|
10
|
-
import "./BrowserStorageProvider-
|
|
11
|
-
import "./recordingService-
|
|
12
|
-
import "./deepsightService-
|
|
13
|
-
import "./permissionServices-
|
|
14
|
-
import "./camera-
|
|
15
|
-
import "./getBrowser-
|
|
16
|
-
import "./stats-
|
|
17
|
-
import "./MotionSensorProvider-
|
|
18
|
-
import "./platform-
|
|
19
|
-
import "./ITimerCapability-
|
|
20
|
-
import "./backCameraStream-
|
|
21
|
-
import "./getDeviceClass-
|
|
22
|
-
import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-
|
|
23
|
-
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
1
|
+
import "./BaseWasmProvider-QTXpU_qs.esm.js";
|
|
2
|
+
import "./BrowserTimerProvider-BZGH3sYJ.esm.js";
|
|
3
|
+
import "./api-eqRXuVG-.esm.js";
|
|
4
|
+
import "./events-Bt1azl2B.esm.js";
|
|
5
|
+
import "./endpoints-B3V1U9Dg.esm.js";
|
|
6
|
+
import "./session-CEQEqTvJ.esm.js";
|
|
7
|
+
import "./IpifyProvider-ByL6JYxg.esm.js";
|
|
8
|
+
import "./browserSimulation-CAH-V_iE.esm.js";
|
|
9
|
+
import "./xstate.esm-C19_S3_9.esm.js";
|
|
10
|
+
import "./BrowserStorageProvider-CoUfuy0u.esm.js";
|
|
11
|
+
import "./recordingService-DkKKvn0o.esm.js";
|
|
12
|
+
import "./deepsightService-gNTXZu7Y.esm.js";
|
|
13
|
+
import "./permissionServices-DIxFacTA.esm.js";
|
|
14
|
+
import "./camera-PA2Ljri3.esm.js";
|
|
15
|
+
import "./getBrowser-jTObqSyg.esm.js";
|
|
16
|
+
import "./stats-KJxmByg8.esm.js";
|
|
17
|
+
import "./MotionSensorProvider-DuErU0Pn.esm.js";
|
|
18
|
+
import "./platform-Dpzd9p3X.esm.js";
|
|
19
|
+
import "./ITimerCapability-2pw-S97e.esm.js";
|
|
20
|
+
import "./backCameraStream-bztcEWzY.esm.js";
|
|
21
|
+
import "./getDeviceClass-BTVS59zg.esm.js";
|
|
22
|
+
import { a as startRecordingSession, c as uploadIdImage, d as ID_ERROR_CODES, f as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as processId, l as uploadManualIdFile, m as MANUAL_UPLOAD_MAX_RETRIES, n as initializeIdCapture, o as stopRecording, p as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as validateUploadResponse } from "./idCaptureStateMachine-CgZiukTi.esm.js";
|
|
23
|
+
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-C3qcCILu.esm.js";
|
|
24
24
|
|
|
25
25
|
export { ID_ERROR_CODES, MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, MANUAL_UPLOAD_MAX_RETRIES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, uploadManualIdFile, validateUploadResponse };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
4
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Bt1azl2B.esm.js";
|
|
2
|
+
import { a as createActor, o as createManager } from "./xstate.esm-C19_S3_9.esm.js";
|
|
3
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CoUfuy0u.esm.js";
|
|
4
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CgZiukTi.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id/idCaptureActor.ts
|
|
7
7
|
function createIdCaptureActor(options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
6
|
-
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-
|
|
7
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types
|
|
1
|
+
import { t as Manager } from "./Manager-D9pehGyp.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-YjWTo26u.js";
|
|
3
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-CJG7thvx.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-B6UAKpM1.js";
|
|
5
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-BA181GDD.js";
|
|
6
|
+
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CGSDjjBz.js";
|
|
7
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CarMMtoz.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
10
10
|
/**
|
package/dist/{idCaptureStateMachine-CoaY0n7f.esm.js → idCaptureStateMachine-CgZiukTi.esm.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-
|
|
2
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
3
|
-
import { r as getToken, t as api } from "./api-
|
|
4
|
-
import { S as revokeObjectURL } from "./events-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { t as getDisableIpify } from "./session-
|
|
7
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
8
|
-
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-
|
|
9
|
-
import { n as IncodeCanvas } from "./deepsightService-
|
|
10
|
-
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-
|
|
11
|
-
import { r as getWindowDimensions } from "./getBrowser-
|
|
12
|
-
import { t as addDeviceStats } from "./stats-
|
|
13
|
-
import { n as isDesktop } from "./platform-
|
|
14
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
15
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
1
|
+
import { a as IdCaptureModelType, i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-QTXpU_qs.esm.js";
|
|
2
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BZGH3sYJ.esm.js";
|
|
3
|
+
import { r as getToken, t as api } from "./api-eqRXuVG-.esm.js";
|
|
4
|
+
import { S as revokeObjectURL } from "./events-Bt1azl2B.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
6
|
+
import { t as getDisableIpify } from "./session-CEQEqTvJ.esm.js";
|
|
7
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
8
|
+
import { _ as StreamCanvasCapture, d as createRecordingSession, f as startRecording, g as flagIdManualReview, m as StreamCanvasProcessingSession, n as preloadOpenViduProvider, p as stopRecording$1 } from "./recordingService-DkKKvn0o.esm.js";
|
|
9
|
+
import { n as IncodeCanvas } from "./deepsightService-gNTXZu7Y.esm.js";
|
|
10
|
+
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-DIxFacTA.esm.js";
|
|
11
|
+
import { r as getWindowDimensions } from "./getBrowser-jTObqSyg.esm.js";
|
|
12
|
+
import { t as addDeviceStats } from "./stats-KJxmByg8.esm.js";
|
|
13
|
+
import { n as isDesktop } from "./platform-Dpzd9p3X.esm.js";
|
|
14
|
+
import { t as getBackCameraStream } from "./backCameraStream-bztcEWzY.esm.js";
|
|
15
|
+
import { t as getDeviceClass } from "./getDeviceClass-BTVS59zg.esm.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/id/idCaptureHelpers.ts
|
|
18
18
|
/**
|
|
@@ -429,7 +429,7 @@ function preloadIdRecordingProvider(config) {
|
|
|
429
429
|
preloadOpenViduProvider();
|
|
430
430
|
}
|
|
431
431
|
async function createOpenViduRecordingProvider() {
|
|
432
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
432
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-DnYd4TKr.esm.js");
|
|
433
433
|
return new OpenViduRecordingProvider();
|
|
434
434
|
}
|
|
435
435
|
async function startRecordingSession(params) {
|
|
@@ -841,7 +841,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
841
841
|
});
|
|
842
842
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
843
843
|
if (!input.dependencies) return;
|
|
844
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
844
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-C1UShQg2.esm.js");
|
|
845
845
|
return loadDeepsightSession({
|
|
846
846
|
ds: input.ds,
|
|
847
847
|
storage: input.dependencies.storage,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { x as getTimestamp } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { t as validateCPF } from "./cpf-
|
|
1
|
+
import { t as api } from "./api-eqRXuVG-.esm.js";
|
|
2
|
+
import { x as getTimestamp } from "./events-Bt1azl2B.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B3V1U9Dg.esm.js";
|
|
4
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-C19_S3_9.esm.js";
|
|
5
|
+
import { t as validateCPF } from "./cpf-DTvbZfOI.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/DateFormattingProvider.ts
|
|
8
8
|
var DateFormattingProvider = class {
|