@incodetech/core 0.0.0-dev-20260729-37d96d3d → 0.0.0-dev-20260729-9e7b030a
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/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +1 -1
- package/dist/{antifraudManager-COYh4O_y.esm.js → antifraudManager-Cj_80kXY.esm.js} +1 -1
- package/dist/{apiError-DVMm9USR.esm.js → apiError-CzR7Y6Ua.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CZZkbrbS.esm.js → authenticationManager-CmkHvt7_.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DaBaRj0q.esm.js → authenticationStateMachine-O3acuOqq.esm.js} +2 -2
- package/dist/certificate-issuance.esm.js +1 -1
- package/dist/consent.esm.js +1 -1
- package/dist/{consentManager-CWEAhAJ5.esm.js → consentManager-CbYlnsM-.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Bk4W2TDJ.esm.js → crossDocumentDataMatchManager-D4w4_crz.esm.js} +1 -1
- package/dist/curp-validation.esm.js +1 -1
- package/dist/{curpValidationManager-B6gYKygj.esm.js → curpValidationManager-KjzGK3MT.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +1 -1
- package/dist/{deepsightLoader-CMjjYlDH.esm.js → deepsightLoader-CaUpu0Dy.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +1 -1
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureManager-BXBNX-pQ.esm.js → documentCaptureManager-DiZWStP_.esm.js} +1 -1
- package/dist/{documentCaptureManager-BiKjyojT.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +65 -65
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-bhrXytht.esm.js → dynamicFormsManager-BxUgij0L.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DZNivd_Y.esm.js → dynamicFormsStateMachine-D0cEsDMH.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-CwhMYgxw.esm.js → ekybManager-LicVPYug.esm.js} +2 -2
- package/dist/{ekybStateMachine-CDY3t9pl.esm.js → ekybStateMachine-IgLa1nXx.esm.js} +1 -1
- package/dist/ekyc.esm.js +1 -1
- package/dist/{ekycManager-dimNksoE.esm.js → ekycManager-JibqQLH-.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Bv4NSqFL.esm.js → electronicSignatureManager-DqPJCXMG.esm.js} +2 -2
- package/dist/email.esm.js +1 -1
- package/dist/{emailManager-BqJMritP.esm.js → emailManager-DRBVGjai.esm.js} +1 -1
- package/dist/{events-CMFCCu1H.esm.js → events-ethtfu2b.esm.js} +36 -1
- package/dist/events.d.ts +27 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +24 -24
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-BdQ0rekz.esm.js → faceCaptureManagerFactory-2W_XduCs.esm.js} +2 -2
- package/dist/{faceCaptureSetup-BEIJq6g-.esm.js → faceCaptureSetup-D-9s0vUS.esm.js} +2 -2
- package/dist/{faceMatchManager-XxTEAj9C.esm.js → faceMatchManager-ZlPuKqfF.esm.js} +1 -1
- package/dist/{feature-management-Dw96qEMs.esm.js → feature-management-CFRmD8Nr.esm.js} +14 -1
- package/dist/feature-management.d.ts +14 -1
- package/dist/feature-management.esm.js +2 -2
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BzaX4TvX.esm.js → fieldComparisonManager-C4eefgNT.esm.js} +1 -1
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-BDHnpF5D.esm.js → flowCompletionService-D_DJ1dNA.esm.js} +1 -1
- package/dist/{flowServices-D9XwX7i7.esm.js → flowServices-ZgW3UGcz.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-DPpJIcS4.esm.js → geolocationManager-oLdeMbdy.esm.js} +2 -2
- package/dist/{geolocationStateMachine-Cw1ZPxPV.esm.js → geolocationStateMachine-CSDKlrHE.esm.js} +1 -1
- package/dist/government-validation.esm.js +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.esm.js +1 -1
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureManager-Z8N6jdU0.d.ts → idCaptureManager-B2w2CGuV.d.ts} +10 -3
- package/dist/{idCaptureManager-DMuuFXqa.esm.js → idCaptureManager-DAsfVDWq.esm.js} +14 -4
- package/dist/{idCaptureStateMachine-ihg_YbB8.esm.js → idCaptureStateMachine-BMZCf9M7.esm.js} +30 -11
- package/dist/{idOcrManager-Drs6frVO.esm.js → idOcrManager-HuMeVQrh.esm.js} +1 -1
- package/dist/{idVerificationManager-Df97Bf0n.esm.js → idVerificationManager-6R_G7Y-3.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{identityReuseManager-0ZHGWr9T.esm.js → identityReuseManager-CNbGch_H.esm.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-Cgl54qED.esm.js → invokeOnCaptureCallback-DVtdZdpI.esm.js} +1 -1
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/{mandatoryConsentManager-DaKK7S4q.esm.js → mandatoryConsentManager-D7C9v5sI.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-BJDw5FPn.esm.js → onDeviceFaceResults-D8FzOXsM.esm.js} +3 -3
- package/dist/personhood.esm.js +4 -4
- package/dist/phone.esm.js +1 -1
- package/dist/{phoneManager-WImoAp4i.esm.js → phoneManager-Dus4Ddb9.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DgRIIgz0.esm.js → recordingService-D6Hbc408.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/{redirectToMobileManager-CxEu6KnV.esm.js → redirectToMobileManager-D1WymLy1.esm.js} +1 -1
- package/dist/{runChildModule-BygT7eDD.esm.js → runChildModule-CVKUUVl2.esm.js} +2 -2
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-CXX0Bdsp.esm.js → selfieManager-Cnw55Hp_.esm.js} +3 -3
- package/dist/{selfieStateMachine-BOtVaHGI.esm.js → selfieStateMachine-D-wolitw.esm.js} +2 -2
- package/dist/{session-BjWDH0Yu.esm.js → session-XugVyrIq.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-B9Z-7bmu.esm.js → sessionInitializer-B3g2uAsl.esm.js} +4 -4
- package/dist/{setup-BFV4zwpB.esm.js → setup-BVuwm-QH.esm.js} +7 -6
- package/dist/signature.esm.js +1 -1
- package/dist/trueSight-DWfPmAL_.esm.js +1 -0
- package/dist/{trueSightService-1pUahMUt.esm.js → trueSightService-DGkNMx-E.esm.js} +2 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-C2n-6lCx.d.ts → types-4-pU2Nhm.d.ts} +7 -0
- package/dist/video-selfie.esm.js +3 -3
- 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-DnVfNc1v.esm.js → watchlistManager-BLf37wLN.esm.js} +1 -1
- package/dist/workflow.esm.js +16 -16
- package/package.json +1 -1
- package/dist/trueSight-BhOPRXqt.esm.js +0 -1
package/dist/events.d.ts
CHANGED
|
@@ -256,12 +256,38 @@ type ElementClickedPayload = {
|
|
|
256
256
|
type CaptureAttemptFinishedPayload = {
|
|
257
257
|
logs: string;
|
|
258
258
|
};
|
|
259
|
+
type StateChangedPayload = {
|
|
260
|
+
/**
|
|
261
|
+
* The Figma sub-section name for the in-screen state, e.g.
|
|
262
|
+
* `idCapture.frontCapture.livecue-glare`. Emitted verbatim.
|
|
263
|
+
*/
|
|
264
|
+
stateName: string;
|
|
265
|
+
};
|
|
266
|
+
type ExperimentAssignedPayload = {
|
|
267
|
+
flagKey: string;
|
|
268
|
+
experimentId: string;
|
|
269
|
+
experimentName: string;
|
|
270
|
+
variant: string;
|
|
271
|
+
conditions?: Record<string, boolean | number | string>;
|
|
272
|
+
};
|
|
259
273
|
declare function screenEvent(params: ScreenEventParams): void;
|
|
260
274
|
declare function moduleOpened(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
261
275
|
declare function moduleClosed(module: EventModule | string, screen?: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
262
276
|
declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
263
277
|
declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
278
|
+
declare function stateChanged(module: EventModule | string, screen: EventScreen | string | undefined, payload: StateChangedPayload): void;
|
|
264
279
|
declare function elementClicked(module: EventModule | string, screen: EventScreen | string | undefined, payload: ElementClickedPayload): void;
|
|
265
280
|
declare function captureAttemptFinished(module: EventModule | string, screen: EventScreen | string | undefined, payload: CaptureAttemptFinishedPayload): void;
|
|
281
|
+
declare function experimentAssigned(module: EventModule | string, payload: ExperimentAssignedPayload, screen?: EventScreen | string): void;
|
|
282
|
+
//#endregion
|
|
283
|
+
//#region src/internal/events/experimentAssignment.d.ts
|
|
284
|
+
/**
|
|
285
|
+
* Records an `experimentAssigned` interview-event, but only the first time
|
|
286
|
+
* for a given `payload.flagKey` since the last `resetExperimentAssignments()`
|
|
287
|
+
* call. Mirrors the dedup precedent in feature-management's
|
|
288
|
+
* `assignExperimentOnce` (Statsig `logEvent` sink) — this is the
|
|
289
|
+
* interview-events sink.
|
|
290
|
+
*/
|
|
291
|
+
declare function recordExperimentAssignmentOnce(module: EventModule | string, payload: ExperimentAssignedPayload, screenName?: EventScreen | string): void;
|
|
266
292
|
//#endregion
|
|
267
|
-
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
|
293
|
+
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, type ExperimentAssignedPayload, type StateChangedPayload, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
|
1
|
+
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-ethtfu2b.esm.js";
|
|
2
|
+
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -12,13 +12,13 @@ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t
|
|
|
12
12
|
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
13
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
14
14
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
|
|
15
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
15
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
|
|
16
16
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
17
17
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
18
18
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
19
19
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
20
|
-
import { n as CaptureIdResponse } from "./types-
|
|
21
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
20
|
+
import { n as CaptureIdResponse } from "./types-4-pU2Nhm.js";
|
|
21
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-B2w2CGuV.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
23
23
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
24
24
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-B3g2uAsl.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
7
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
9
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
10
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
11
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
12
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
13
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
14
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
16
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
17
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
18
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
19
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
20
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
21
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
22
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
23
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
24
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
25
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
26
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
27
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
28
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
6
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-Cj_80kXY.esm.js";
|
|
7
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D-9s0vUS.esm.js";
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CmkHvt7_.esm.js";
|
|
9
|
+
import { n as createConsentManagerFromActor } from "./consentManager-CbYlnsM-.esm.js";
|
|
10
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-D4w4_crz.esm.js";
|
|
11
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-KjzGK3MT.esm.js";
|
|
12
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DiZWStP_.esm.js";
|
|
13
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BxUgij0L.esm.js";
|
|
14
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-LicVPYug.esm.js";
|
|
15
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-JibqQLH-.esm.js";
|
|
16
|
+
import { n as createEmailManagerFromActor } from "./emailManager-DRBVGjai.esm.js";
|
|
17
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-Cnw55Hp_.esm.js";
|
|
18
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DAsfVDWq.esm.js";
|
|
19
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-Dus4Ddb9.esm.js";
|
|
20
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-BLf37wLN.esm.js";
|
|
21
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CNbGch_H.esm.js";
|
|
22
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-C4eefgNT.esm.js";
|
|
23
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-D7C9v5sI.esm.js";
|
|
24
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-HuMeVQrh.esm.js";
|
|
25
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-D1WymLy1.esm.js";
|
|
26
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-oLdeMbdy.esm.js";
|
|
27
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-6R_G7Y-3.esm.js";
|
|
28
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-ZlPuKqfF.esm.js";
|
|
29
29
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-ubds4WlI.esm.js";
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-ZlPuKqfF.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-BdQ0rekz.esm.js → faceCaptureManagerFactory-2W_XduCs.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-D-9s0vUS.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-D8FzOXsM.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-D6Hbc408.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-ubds4WlI.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
@@ -252,6 +252,19 @@ const importStatsigJsClient = () => import("./src-0Jurt29N.esm.js").then((m) =>
|
|
|
252
252
|
function getProvider() {
|
|
253
253
|
return FeatureManagementProvider.getInstance();
|
|
254
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Name of the shared Statsig parameter store fronting SDK-module
|
|
257
|
+
* experiments that need mutual exclusion. Callers read only this store via
|
|
258
|
+
* {@link getFeatureParameterStore} (or the UI's `useFeatureManagement`) —
|
|
259
|
+
* each param is wired, in the Statsig console, to a Layer's param, which in
|
|
260
|
+
* turn delegates to the individual Experiment; the Layer guarantees at most
|
|
261
|
+
* one experiment sharing it is ever allocated for a given user, so callers
|
|
262
|
+
* reading different experiments from different surfaces don't need to
|
|
263
|
+
* coordinate that themselves. See the ID module's `useIdExperiment`
|
|
264
|
+
* (`packages/ui/src/modules/id/experiments/`) for the reference
|
|
265
|
+
* integration.
|
|
266
|
+
*/
|
|
267
|
+
const ONBOARDING_WEB_SDK_PARAMETER_STORE = "onboarding_web_sdk_ps";
|
|
255
268
|
let resolveReady;
|
|
256
269
|
const freshReady = () => new Promise((resolve) => {
|
|
257
270
|
resolveReady = resolve;
|
|
@@ -465,4 +478,4 @@ function buildInitializeOptions(options) {
|
|
|
465
478
|
return initializeOptions;
|
|
466
479
|
}
|
|
467
480
|
//#endregion
|
|
468
|
-
export {
|
|
481
|
+
export { updateFeatureManagementUser as _, getFeatureGate as a, resetEnvironment as b, getIsFeatureManagementInitialized as c, initializeFeatureManagement as d, logEvent as f, subscribeFeatureManagement as g, resetFeatureManagementProviderInstance as h, getFeatureDynamicConfig as i, getIsFeatureManagementLocked as l, resetFeatureManagement as m, assignExperimentOnce as n, getFeatureManagementVersion as o, optOutFeatureManagement as p, getExperiment as r, getFeatureParameterStore as s, ONBOARDING_WEB_SDK_PARAMETER_STORE as t, getLayer as u, applyEnvironment as v, getEnvironment as y };
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { a as FeatureManagementParameterStore, c as FeatureManagementUserUpdate, i as FeatureManagementLayer, n as FeatureManagementExperiment, o as FeatureManagementReadStatus, r as FeatureManagementGate, s as FeatureManagementRedactedUserInfo, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-ErPJywQ_.js";
|
|
2
2
|
//#region src/integrations/feature-management/featureManagement.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* Name of the shared Statsig parameter store fronting SDK-module
|
|
5
|
+
* experiments that need mutual exclusion. Callers read only this store via
|
|
6
|
+
* {@link getFeatureParameterStore} (or the UI's `useFeatureManagement`) —
|
|
7
|
+
* each param is wired, in the Statsig console, to a Layer's param, which in
|
|
8
|
+
* turn delegates to the individual Experiment; the Layer guarantees at most
|
|
9
|
+
* one experiment sharing it is ever allocated for a given user, so callers
|
|
10
|
+
* reading different experiments from different surfaces don't need to
|
|
11
|
+
* coordinate that themselves. See the ID module's `useIdExperiment`
|
|
12
|
+
* (`packages/ui/src/modules/id/experiments/`) for the reference
|
|
13
|
+
* integration.
|
|
14
|
+
*/
|
|
15
|
+
declare const ONBOARDING_WEB_SDK_PARAMETER_STORE = "onboarding_web_sdk_ps";
|
|
3
16
|
/**
|
|
4
17
|
* Subscribes to changes in the FeatureManagement user identity (readiness
|
|
5
18
|
* settling, `updateFeatureManagementUser`, or `resetFeatureManagement`).
|
|
@@ -77,4 +90,4 @@ type ExperimentAssignmentPayload = {
|
|
|
77
90
|
*/
|
|
78
91
|
declare function assignExperimentOnce(flagKey: string, payload: ExperimentAssignmentPayload, eventName?: string): void;
|
|
79
92
|
//#endregion
|
|
80
|
-
export { type ExperimentAssignmentPayload, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
93
|
+
export { type ExperimentAssignmentPayload, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, ONBOARDING_WEB_SDK_PARAMETER_STORE, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
1
|
+
import { _ as updateFeatureManagementUser, a as getFeatureGate, c as getIsFeatureManagementInitialized, f as logEvent, g as subscribeFeatureManagement, i as getFeatureDynamicConfig, n as assignExperimentOnce, o as getFeatureManagementVersion, r as getExperiment, s as getFeatureParameterStore, t as ONBOARDING_WEB_SDK_PARAMETER_STORE, u as getLayer } from "./feature-management-CFRmD8Nr.esm.js";
|
|
2
|
+
export { ONBOARDING_WEB_SDK_PARAMETER_STORE, assignExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-C4eefgNT.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-BzaX4TvX.esm.js → fieldComparisonManager-C4eefgNT.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import {
|
|
3
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ethtfu2b.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
5
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
package/dist/flow.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-CrUhpMDP.js";
|
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-B4BObr_7.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BfHiko5D.js";
|
|
12
|
-
import { c as IdCaptureConfig } from "./types-
|
|
12
|
+
import { c as IdCaptureConfig } from "./types-4-pU2Nhm.js";
|
|
13
13
|
import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
1
|
+
import { v as addEvent } from "./events-ethtfu2b.esm.js";
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-ZgW3UGcz.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D_DJ1dNA.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CVKUUVl2.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
package/dist/{flowCompletionService-BDHnpF5D.esm.js → flowCompletionService-D_DJ1dNA.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B3g2uAsl.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-CzR7Y6Ua.esm.js";
|
|
6
|
+
import "./session-XugVyrIq.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-oLdeMbdy.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CSDKlrHE.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-CSDKlrHE.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-Cw1ZPxPV.esm.js → geolocationStateMachine-CSDKlrHE.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
3
3
|
import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-CzR7Y6Ua.esm.js";
|
|
5
5
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CtG3bIdM.esm.js";
|
package/dist/home.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-ethtfu2b.esm.js";
|
|
2
2
|
import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
//#region src/modules/home/homeStateMachine.ts
|
|
4
4
|
const homeMachine = setup({ types: {
|
package/dist/id-ocr.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
|
|
2
2
|
import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-s08FLvEh.esm.js";
|
|
3
|
-
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-
|
|
3
|
+
import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-HuMeVQrh.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrCpfUtils.ts
|
|
5
5
|
function formatCPF(value) {
|
|
6
6
|
const digits = value.replace(/\D/g, "").slice(0, 11);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-tAF7pvC8.esm.js";
|
|
2
|
-
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-
|
|
2
|
+
import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-6R_G7Y-3.esm.js";
|
|
3
3
|
export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };
|
package/dist/id.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
4
|
-
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
5
|
-
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-
|
|
4
|
+
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-4-pU2Nhm.js";
|
|
5
|
+
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-B2w2CGuV.js";
|
|
6
6
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
7
7
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
8
8
|
/**
|
package/dist/id.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
2
|
+
import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
7
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-BMZCf9M7.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DAsfVDWq.esm.js";
|
|
7
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
10
10
|
if (!canvas) return void 0;
|
|
@@ -8,7 +8,7 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
8
8
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
9
|
import { a as RegulationTypes } from "./types-KPvmag_B.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-BT-aiBYV.js";
|
|
11
|
-
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
11
|
+
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-4-pU2Nhm.js";
|
|
12
12
|
//#region src/modules/id/idCaptureStateMachine.d.ts
|
|
13
13
|
declare const idCaptureMachine: AnyStateMachine;
|
|
14
14
|
type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
|
|
@@ -221,10 +221,17 @@ type IdCaptureMandatoryConsentState = {
|
|
|
221
221
|
status: 'mandatoryConsent';
|
|
222
222
|
regulationType: RegulationTypes;
|
|
223
223
|
};
|
|
224
|
-
type
|
|
224
|
+
type IdCaptureSideFinishedState = {
|
|
225
|
+
/** Just-captured photo (uxp_idc_exp07), preserved across the side-switch
|
|
226
|
+
* reset so the flip screen can render it. Undefined if none was stashed. */
|
|
227
|
+
previewImageUrl?: string;
|
|
228
|
+
orientation: DetectionOrientation | undefined;
|
|
229
|
+
mode: 'id' | 'passport';
|
|
230
|
+
};
|
|
231
|
+
type IdCaptureFrontFinishedState = IdCaptureSideFinishedState & {
|
|
225
232
|
status: 'frontFinished';
|
|
226
233
|
};
|
|
227
|
-
type IdCaptureBackFinishedState = {
|
|
234
|
+
type IdCaptureBackFinishedState = IdCaptureSideFinishedState & {
|
|
228
235
|
status: 'backFinished';
|
|
229
236
|
};
|
|
230
237
|
type IdCaptureProcessingState = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-BMZCf9M7.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
|
@@ -327,8 +327,18 @@ function mapState(snapshot) {
|
|
|
327
327
|
status: "mandatoryConsent",
|
|
328
328
|
regulationType: context.uploadResponse?.regulationType ?? "Other"
|
|
329
329
|
};
|
|
330
|
-
if (snapshot.matches("frontFinished")) return {
|
|
331
|
-
|
|
330
|
+
if (snapshot.matches("frontFinished")) return {
|
|
331
|
+
status: "frontFinished",
|
|
332
|
+
previewImageUrl: context.flipPreview?.url,
|
|
333
|
+
orientation: context.flipPreview?.orientation,
|
|
334
|
+
mode: context.flipPreview?.mode ?? "id"
|
|
335
|
+
};
|
|
336
|
+
if (snapshot.matches("backFinished")) return {
|
|
337
|
+
status: "backFinished",
|
|
338
|
+
previewImageUrl: context.flipPreview?.url,
|
|
339
|
+
orientation: context.flipPreview?.orientation,
|
|
340
|
+
mode: context.flipPreview?.mode ?? "id"
|
|
341
|
+
};
|
|
332
342
|
if (snapshot.matches("processing")) return { status: "processing" };
|
|
333
343
|
if (snapshot.matches("expiredExhausted")) return { status: "expiredExhausted" };
|
|
334
344
|
if (snapshot.matches("expired")) {
|
package/dist/{idCaptureStateMachine-ihg_YbB8.esm.js → idCaptureStateMachine-BMZCf9M7.esm.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
3
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
4
|
-
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-
|
|
5
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
4
|
+
import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-DGkNMx-E.esm.js";
|
|
5
|
+
import { t as getDisableIpify } from "./sessionInitializer-B3g2uAsl.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
|
|
7
|
-
import "./trueSight-
|
|
7
|
+
import "./trueSight-DWfPmAL_.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
|
|
9
9
|
import { n as isDesktop, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
10
|
-
import "./session-
|
|
10
|
+
import "./session-XugVyrIq.esm.js";
|
|
11
11
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
12
12
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
13
13
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
|
|
14
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
14
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-D8FzOXsM.esm.js";
|
|
15
15
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
16
16
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
17
17
|
import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
|
|
@@ -20,7 +20,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
|
20
20
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
21
21
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
22
22
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
|
|
23
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
23
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-D6Hbc408.esm.js";
|
|
24
24
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-BDS43fFL.esm.js";
|
|
25
25
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
26
26
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1662,7 +1662,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1662
1662
|
});
|
|
1663
1663
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1664
1664
|
if (!input.dependencies) return;
|
|
1665
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1665
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CaUpu0Dy.esm.js");
|
|
1666
1666
|
return loadDeepsightSession({
|
|
1667
1667
|
ds: input.ds,
|
|
1668
1668
|
storage: input.dependencies.storage,
|
|
@@ -2023,6 +2023,11 @@ const idCaptureMachine = setup({
|
|
|
2023
2023
|
qualityElements: void 0,
|
|
2024
2024
|
frameRect: void 0,
|
|
2025
2025
|
previewImageUrl: void 0,
|
|
2026
|
+
flipPreview: context.previewImageUrl ? {
|
|
2027
|
+
url: context.previewImageUrl,
|
|
2028
|
+
orientation: context.orientation,
|
|
2029
|
+
mode: context.currentMode === "passport" ? "passport" : "id"
|
|
2030
|
+
} : context.flipPreview,
|
|
2026
2031
|
uploadProgress: void 0,
|
|
2027
2032
|
manualCaptureTriggered: false,
|
|
2028
2033
|
attemptsRemaining: context.config.captureAttempts,
|
|
@@ -2047,6 +2052,11 @@ const idCaptureMachine = setup({
|
|
|
2047
2052
|
qualityElements: void 0,
|
|
2048
2053
|
frameRect: void 0,
|
|
2049
2054
|
previewImageUrl: void 0,
|
|
2055
|
+
flipPreview: context.previewImageUrl ? {
|
|
2056
|
+
url: context.previewImageUrl,
|
|
2057
|
+
orientation: context.orientation,
|
|
2058
|
+
mode: context.currentMode === "passport" ? "passport" : "id"
|
|
2059
|
+
} : context.flipPreview,
|
|
2050
2060
|
uploadProgress: void 0,
|
|
2051
2061
|
manualCaptureTriggered: false,
|
|
2052
2062
|
attemptsRemaining: context.config.captureAttempts,
|
|
@@ -2058,6 +2068,7 @@ const idCaptureMachine = setup({
|
|
|
2058
2068
|
cameraFallbackLevel: void 0
|
|
2059
2069
|
};
|
|
2060
2070
|
}),
|
|
2071
|
+
clearFlipPreview: assign({ flipPreview: void 0 }),
|
|
2061
2072
|
prepareForBackCapture: assign(({ context }) => {
|
|
2062
2073
|
context.provider?.reset();
|
|
2063
2074
|
return {
|
|
@@ -2963,8 +2974,12 @@ const idCaptureMachine = setup({
|
|
|
2963
2974
|
},
|
|
2964
2975
|
onDone: [{
|
|
2965
2976
|
target: "#idCapture.capture.detecting",
|
|
2966
|
-
guard: "hasStream"
|
|
2967
|
-
|
|
2977
|
+
guard: "hasStream",
|
|
2978
|
+
actions: "clearFlipPreview"
|
|
2979
|
+
}, {
|
|
2980
|
+
target: "#idCapture.capture",
|
|
2981
|
+
actions: "clearFlipPreview"
|
|
2982
|
+
}]
|
|
2968
2983
|
},
|
|
2969
2984
|
backFinished: {
|
|
2970
2985
|
entry: ["stopMediaRecording", "resetForFrontCapture"],
|
|
@@ -3011,8 +3026,12 @@ const idCaptureMachine = setup({
|
|
|
3011
3026
|
},
|
|
3012
3027
|
onDone: [{
|
|
3013
3028
|
target: "#idCapture.capture.detecting",
|
|
3014
|
-
guard: "hasStream"
|
|
3015
|
-
|
|
3029
|
+
guard: "hasStream",
|
|
3030
|
+
actions: "clearFlipPreview"
|
|
3031
|
+
}, {
|
|
3032
|
+
target: "#idCapture.capture",
|
|
3033
|
+
actions: "clearFlipPreview"
|
|
3034
|
+
}]
|
|
3016
3035
|
},
|
|
3017
3036
|
processing: {
|
|
3018
3037
|
entry: "stopMediaStream",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.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-s08FLvEh.esm.js";
|
|
4
4
|
//#region src/modules/id-ocr/idOcrActor.ts
|
package/dist/{idVerificationManager-Df97Bf0n.esm.js → idVerificationManager-6R_G7Y-3.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-ethtfu2b.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-tAF7pvC8.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-DG8kbKuy.esm.js";
|
|
2
|
-
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-
|
|
2
|
+
import { n as createIdentityReuseManagerFromActor, t as createIdentityReuseManager } from "./identityReuseManager-CNbGch_H.esm.js";
|
|
3
3
|
export { SCAN_NEW_DOCUMENT, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
|