@incodetech/core 0.0.0-dev-20260729-37d96d3d → 0.0.0-dev-20260729-5e1819bc

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.
Files changed (102) hide show
  1. package/dist/ae-signature.esm.js +1 -1
  2. package/dist/antifraud.esm.js +1 -1
  3. package/dist/{antifraudManager-COYh4O_y.esm.js → antifraudManager-Cj_80kXY.esm.js} +1 -1
  4. package/dist/{apiError-DVMm9USR.esm.js → apiError-BZ3Uc4dt.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CZZkbrbS.esm.js → authenticationManager-jVFj5esB.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-DaBaRj0q.esm.js → authenticationStateMachine-BGjcc7Fo.esm.js} +2 -2
  8. package/dist/certificate-issuance.esm.js +1 -1
  9. package/dist/consent.esm.js +1 -1
  10. package/dist/{consentManager-CWEAhAJ5.esm.js → consentManager-CbYlnsM-.esm.js} +1 -1
  11. package/dist/cross-document-data-match.esm.js +1 -1
  12. package/dist/{crossDocumentDataMatchManager-Bk4W2TDJ.esm.js → crossDocumentDataMatchManager-D4w4_crz.esm.js} +1 -1
  13. package/dist/curp-validation.esm.js +1 -1
  14. package/dist/{curpValidationManager-B6gYKygj.esm.js → curpValidationManager-KjzGK3MT.esm.js} +1 -1
  15. package/dist/custom-fields.esm.js +1 -1
  16. package/dist/custom-watchlist.esm.js +1 -1
  17. package/dist/{deepsightLoader-CMjjYlDH.esm.js → deepsightLoader-Dirp8HyM.esm.js} +3 -3
  18. package/dist/document-capture.d.ts +1 -1
  19. package/dist/document-capture.esm.js +1 -1
  20. package/dist/document-upload.esm.js +1 -1
  21. package/dist/{documentCaptureManager-BXBNX-pQ.esm.js → documentCaptureManager-DiZWStP_.esm.js} +1 -1
  22. package/dist/{documentCaptureManager-BiKjyojT.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +65 -65
  23. package/dist/dynamic-forms.esm.js +2 -2
  24. package/dist/{dynamicFormsManager-bhrXytht.esm.js → dynamicFormsManager-B4g0qn5h.esm.js} +2 -2
  25. package/dist/{dynamicFormsStateMachine-DZNivd_Y.esm.js → dynamicFormsStateMachine-CL0iUwzO.esm.js} +1 -1
  26. package/dist/ekyb.esm.js +3 -3
  27. package/dist/{ekybManager-CwhMYgxw.esm.js → ekybManager-pBsoICJj.esm.js} +2 -2
  28. package/dist/{ekybStateMachine-CDY3t9pl.esm.js → ekybStateMachine-BM7C4POI.esm.js} +1 -1
  29. package/dist/ekyc.esm.js +1 -1
  30. package/dist/{ekycManager-dimNksoE.esm.js → ekycManager-JibqQLH-.esm.js} +1 -1
  31. package/dist/electronic-signature.esm.js +1 -1
  32. package/dist/{electronicSignatureManager-Bv4NSqFL.esm.js → electronicSignatureManager-CAPtbuCM.esm.js} +2 -2
  33. package/dist/email.esm.js +1 -1
  34. package/dist/{emailManager-BqJMritP.esm.js → emailManager-DRBVGjai.esm.js} +1 -1
  35. package/dist/{events-CMFCCu1H.esm.js → events-ethtfu2b.esm.js} +36 -1
  36. package/dist/events.d.ts +27 -1
  37. package/dist/events.esm.js +2 -2
  38. package/dist/extensibility.d.ts +3 -3
  39. package/dist/extensibility.esm.js +24 -24
  40. package/dist/face-match.esm.js +1 -1
  41. package/dist/{faceCaptureManagerFactory-BdQ0rekz.esm.js → faceCaptureManagerFactory-GxPq3RmN.esm.js} +2 -2
  42. package/dist/{faceCaptureSetup-BEIJq6g-.esm.js → faceCaptureSetup-Cq9H-jEj.esm.js} +2 -2
  43. package/dist/{faceMatchManager-XxTEAj9C.esm.js → faceMatchManager-ZlPuKqfF.esm.js} +1 -1
  44. package/dist/{feature-management-Dw96qEMs.esm.js → feature-management-CFRmD8Nr.esm.js} +14 -1
  45. package/dist/feature-management.d.ts +14 -1
  46. package/dist/feature-management.esm.js +2 -2
  47. package/dist/field-comparison.esm.js +1 -1
  48. package/dist/{fieldComparisonManager-BzaX4TvX.esm.js → fieldComparisonManager-C4eefgNT.esm.js} +1 -1
  49. package/dist/fiscal-qr.esm.js +1 -1
  50. package/dist/flow.d.ts +1 -1
  51. package/dist/flow.esm.js +4 -4
  52. package/dist/{flowCompletionService-BDHnpF5D.esm.js → flowCompletionService-DaPTz5PV.esm.js} +1 -1
  53. package/dist/{flowServices-D9XwX7i7.esm.js → flowServices-B0xAzQ49.esm.js} +4 -4
  54. package/dist/geolocation.esm.js +2 -2
  55. package/dist/{geolocationManager-DPpJIcS4.esm.js → geolocationManager-DH2G8j7v.esm.js} +2 -2
  56. package/dist/{geolocationStateMachine-Cw1ZPxPV.esm.js → geolocationStateMachine-B-jBlCh1.esm.js} +1 -1
  57. package/dist/government-validation.esm.js +1 -1
  58. package/dist/home.esm.js +1 -1
  59. package/dist/id-ocr.esm.js +1 -1
  60. package/dist/id-verification.esm.js +1 -1
  61. package/dist/id.d.ts +2 -2
  62. package/dist/id.esm.js +4 -4
  63. package/dist/{idCaptureManager-DMuuFXqa.esm.js → idCaptureManager-Dm5k23is.esm.js} +15 -4
  64. package/dist/{idCaptureManager-Z8N6jdU0.d.ts → idCaptureManager-Doo-_LUL.d.ts} +17 -3
  65. package/dist/{idCaptureStateMachine-ihg_YbB8.esm.js → idCaptureStateMachine-CgSJrf1H.esm.js} +56 -27
  66. package/dist/{idOcrManager-Drs6frVO.esm.js → idOcrManager-HuMeVQrh.esm.js} +1 -1
  67. package/dist/{idVerificationManager-Df97Bf0n.esm.js → idVerificationManager-6R_G7Y-3.esm.js} +1 -1
  68. package/dist/identity-reuse.esm.js +1 -1
  69. package/dist/{identityReuseManager-0ZHGWr9T.esm.js → identityReuseManager-CNbGch_H.esm.js} +1 -1
  70. package/dist/index.esm.js +1 -1
  71. package/dist/{invokeOnCaptureCallback-Cgl54qED.esm.js → invokeOnCaptureCallback-DVtdZdpI.esm.js} +1 -1
  72. package/dist/mandatory-consent.esm.js +1 -1
  73. package/dist/{mandatoryConsentManager-DaKK7S4q.esm.js → mandatoryConsentManager-D7C9v5sI.esm.js} +1 -1
  74. package/dist/{onDeviceFaceResults-BJDw5FPn.esm.js → onDeviceFaceResults-V68q6wRb.esm.js} +3 -3
  75. package/dist/personhood.esm.js +4 -4
  76. package/dist/phone.esm.js +1 -1
  77. package/dist/{phoneManager-WImoAp4i.esm.js → phoneManager-Dus4Ddb9.esm.js} +1 -1
  78. package/dist/qe-signature.esm.js +1 -1
  79. package/dist/{recordingService-DgRIIgz0.esm.js → recordingService-CntO4QHp.esm.js} +1 -1
  80. package/dist/redirect-to-mobile.esm.js +1 -1
  81. package/dist/{redirectToMobileManager-CxEu6KnV.esm.js → redirectToMobileManager-D1WymLy1.esm.js} +1 -1
  82. package/dist/{runChildModule-BygT7eDD.esm.js → runChildModule-Bmc57-lv.esm.js} +2 -2
  83. package/dist/selfie.esm.js +6 -6
  84. package/dist/{selfieManager-CXX0Bdsp.esm.js → selfieManager-DFHGb9GT.esm.js} +3 -3
  85. package/dist/{selfieStateMachine-BOtVaHGI.esm.js → selfieStateMachine-D4Mdt3hy.esm.js} +2 -2
  86. package/dist/{session-BjWDH0Yu.esm.js → session-B3s1n4iz.esm.js} +4 -4
  87. package/dist/session.esm.js +4 -4
  88. package/dist/{sessionInitializer-B9Z-7bmu.esm.js → sessionInitializer-CSGzwGSz.esm.js} +4 -4
  89. package/dist/{setup-BFV4zwpB.esm.js → setup-zGF5eh-D.esm.js} +7 -6
  90. package/dist/signature.esm.js +1 -1
  91. package/dist/trueSight-CNGJLyUp.esm.js +1 -0
  92. package/dist/{trueSightService-1pUahMUt.esm.js → trueSightService-BIC-Xlt6.esm.js} +2 -2
  93. package/dist/trust-graph.esm.js +1 -1
  94. package/dist/{types-C2n-6lCx.d.ts → types-2ybCrKEn.d.ts} +16 -0
  95. package/dist/video-selfie.esm.js +3 -3
  96. package/dist/wasm.esm.js +1 -1
  97. package/dist/watchlist-for-business.esm.js +1 -1
  98. package/dist/watchlist.esm.js +1 -1
  99. package/dist/{watchlistManager-DnVfNc1v.esm.js → watchlistManager-BLf37wLN.esm.js} +1 -1
  100. package/dist/workflow.esm.js +16 -16
  101. package/package.json +1 -1
  102. 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 };
@@ -1,2 +1,2 @@
1
- import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened, v as subscribeEvent } from "./events-CMFCCu1H.esm.js";
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 };
@@ -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-BiKjyojT.js";
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-C2n-6lCx.js";
21
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Z8N6jdU0.js";
20
+ import { n as CaptureIdResponse } from "./types-2ybCrKEn.js";
21
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-Doo-_LUL.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-B9Z-7bmu.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-CSGzwGSz.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-COYh4O_y.esm.js";
7
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BEIJq6g-.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CZZkbrbS.esm.js";
9
- import { n as createConsentManagerFromActor } from "./consentManager-CWEAhAJ5.esm.js";
10
- import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Bk4W2TDJ.esm.js";
11
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-B6gYKygj.esm.js";
12
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BXBNX-pQ.esm.js";
13
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-bhrXytht.esm.js";
14
- import { n as createEkybManagerFromActor } from "./ekybManager-CwhMYgxw.esm.js";
15
- import { n as createEkycManagerFromActor } from "./ekycManager-dimNksoE.esm.js";
16
- import { n as createEmailManagerFromActor } from "./emailManager-BqJMritP.esm.js";
17
- import { n as createSelfieManagerFromActor } from "./selfieManager-CXX0Bdsp.esm.js";
18
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DMuuFXqa.esm.js";
19
- import { n as createPhoneManagerFromActor } from "./phoneManager-WImoAp4i.esm.js";
20
- import { n as createWatchlistManagerFromActor } from "./watchlistManager-DnVfNc1v.esm.js";
21
- import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-0ZHGWr9T.esm.js";
22
- import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-BzaX4TvX.esm.js";
23
- import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-DaKK7S4q.esm.js";
24
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-Drs6frVO.esm.js";
25
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-CxEu6KnV.esm.js";
26
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DPpJIcS4.esm.js";
27
- import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-Df97Bf0n.esm.js";
28
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-XxTEAj9C.esm.js";
6
+ import { n as createAntifraudManagerFromActor } from "./antifraudManager-Cj_80kXY.esm.js";
7
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Cq9H-jEj.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-jVFj5esB.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-B4g0qn5h.esm.js";
14
+ import { n as createEkybManagerFromActor } from "./ekybManager-pBsoICJj.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-DFHGb9GT.esm.js";
18
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dm5k23is.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-DH2G8j7v.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 };
@@ -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-XxTEAj9C.esm.js";
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 };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CMFCCu1H.esm.js";
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-BEIJq6g-.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-Cq9H-jEj.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-BJDw5FPn.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-V68q6wRb.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-DgRIIgz0.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CntO4QHp.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-CMFCCu1H.esm.js";
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 { applyEnvironment as _, getFeatureManagementVersion as a, getIsFeatureManagementLocked as c, logEvent as d, optOutFeatureManagement as f, updateFeatureManagementUser as g, subscribeFeatureManagement as h, getFeatureGate as i, getLayer as l, resetFeatureManagementProviderInstance as m, getExperiment as n, getFeatureParameterStore as o, resetFeatureManagement as p, getFeatureDynamicConfig as r, getIsFeatureManagementInitialized as s, assignExperimentOnce as t, initializeFeatureManagement as u, getEnvironment as v, resetEnvironment as y };
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 { a as getFeatureManagementVersion, d as logEvent, g as updateFeatureManagementUser, h as subscribeFeatureManagement, i as getFeatureGate, l as getLayer, n as getExperiment, o as getFeatureParameterStore, r as getFeatureDynamicConfig, s as getIsFeatureManagementInitialized, t as assignExperimentOnce } from "./feature-management-Dw96qEMs.esm.js";
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-BzaX4TvX.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-C4eefgNT.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -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-CMFCCu1H.esm.js";
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";
@@ -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 { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
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-C2n-6lCx.js";
12
+ import { c as IdCaptureConfig } from "./types-2ybCrKEn.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 { m as addEvent } from "./events-CMFCCu1H.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-D9XwX7i7.esm.js";
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-B0xAzQ49.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-BDHnpF5D.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BygT7eDD.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DaPTz5PV.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Bmc57-lv.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -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-DVMm9USR.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-BZ3Uc4dt.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 { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
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-B9Z-7bmu.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CSGzwGSz.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-DVMm9USR.esm.js";
6
- import "./session-BjWDH0Yu.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-BZ3Uc4dt.esm.js";
6
+ import "./session-B3s1n4iz.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) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DPpJIcS4.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-Cw1ZPxPV.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-DH2G8j7v.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-B-jBlCh1.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CMFCCu1H.esm.js";
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-Cw1ZPxPV.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-B-jBlCh1.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -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-DVMm9USR.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-BZ3Uc4dt.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-CMFCCu1H.esm.js";
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-CMFCCu1H.esm.js";
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: {
@@ -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-Drs6frVO.esm.js";
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-Df97Bf0n.esm.js";
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-C2n-6lCx.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-Z8N6jdU0.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-2ybCrKEn.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-Doo-_LUL.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-CMFCCu1H.esm.js";
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-ihg_YbB8.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DMuuFXqa.esm.js";
7
- import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-Cgl54qED.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-CgSJrf1H.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Dm5k23is.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;
@@ -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-CMFCCu1H.esm.js";
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-ihg_YbB8.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CgSJrf1H.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) {
@@ -219,6 +219,7 @@ function mapCaptureState(snapshot, context) {
219
219
  orientation: context.orientation,
220
220
  idType: context.idType,
221
221
  previewImageUrl: context.previewImageUrl,
222
+ barcodeFastPathCaptured: context.barcodeFastPathCaptured,
222
223
  uploadProgress: context.uploadProgress ?? 0,
223
224
  ageAssurance: context.config.ageAssurance === true,
224
225
  uploadErrorMessage: uploadError ? getErrorTitleKey(uploadError, context.currentMode) : void 0,
@@ -327,8 +328,18 @@ function mapState(snapshot) {
327
328
  status: "mandatoryConsent",
328
329
  regulationType: context.uploadResponse?.regulationType ?? "Other"
329
330
  };
330
- if (snapshot.matches("frontFinished")) return { status: "frontFinished" };
331
- if (snapshot.matches("backFinished")) return { status: "backFinished" };
331
+ if (snapshot.matches("frontFinished")) return {
332
+ status: "frontFinished",
333
+ previewImageUrl: context.flipPreview?.url,
334
+ orientation: context.flipPreview?.orientation,
335
+ mode: context.flipPreview?.mode ?? "id"
336
+ };
337
+ if (snapshot.matches("backFinished")) return {
338
+ status: "backFinished",
339
+ previewImageUrl: context.flipPreview?.url,
340
+ orientation: context.flipPreview?.orientation,
341
+ mode: context.flipPreview?.mode ?? "id"
342
+ };
332
343
  if (snapshot.matches("processing")) return { status: "processing" };
333
344
  if (snapshot.matches("expiredExhausted")) return { status: "expiredExhausted" };
334
345
  if (snapshot.matches("expired")) {
@@ -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-C2n-6lCx.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-2ybCrKEn.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>;
@@ -205,6 +205,13 @@ type IdCaptureCaptureState = {
205
205
  orientation: DetectionOrientation | undefined;
206
206
  idType: string | undefined;
207
207
  previewImageUrl?: string;
208
+ /**
209
+ * Barcode fast-path success — render the checkmark "Successfully processed!"
210
+ * screen with NO captured image (the grabbed frame is a backend signal only;
211
+ * `previewImageUrl` is cleared for this path). See the "after barcode capture
212
+ * (no image)" design.
213
+ */
214
+ barcodeFastPathCaptured: boolean;
208
215
  uploadProgress?: number;
209
216
  ageAssurance: boolean;
210
217
  uploadErrorMessage?: string;
@@ -221,10 +228,17 @@ type IdCaptureMandatoryConsentState = {
221
228
  status: 'mandatoryConsent';
222
229
  regulationType: RegulationTypes;
223
230
  };
224
- type IdCaptureFrontFinishedState = {
231
+ type IdCaptureSideFinishedState = {
232
+ /** Just-captured photo (uxp_idc_exp07), preserved across the side-switch
233
+ * reset so the flip screen can render it. Undefined if none was stashed. */
234
+ previewImageUrl?: string;
235
+ orientation: DetectionOrientation | undefined;
236
+ mode: 'id' | 'passport';
237
+ };
238
+ type IdCaptureFrontFinishedState = IdCaptureSideFinishedState & {
225
239
  status: 'frontFinished';
226
240
  };
227
- type IdCaptureBackFinishedState = {
241
+ type IdCaptureBackFinishedState = IdCaptureSideFinishedState & {
228
242
  status: 'backFinished';
229
243
  };
230
244
  type IdCaptureProcessingState = {