@incodetech/core 0.0.0-dev-20260728-13fa1fcf → 0.0.0-dev-20260728-af4e1aee

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 (50) hide show
  1. package/dist/authentication.esm.js +2 -2
  2. package/dist/{authenticationManager-_ORG1UHc.esm.js → authenticationManager-BDkpqQ-5.esm.js} +2 -2
  3. package/dist/{authenticationStateMachine-B6D1-OHs.esm.js → authenticationStateMachine-lTogTlQv.esm.js} +2 -2
  4. package/dist/consent.d.ts +1 -1
  5. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-DLOyIZzt.d.ts} +5 -5
  6. package/dist/{deepsightLoader-BTaHIFJe.esm.js → deepsightLoader-DDu_KUyv.esm.js} +1 -1
  7. package/dist/document-capture.d.ts +1 -1
  8. package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-B-J1lXcH.d.ts} +4 -4
  9. package/dist/ekyb.esm.js +3 -3
  10. package/dist/{ekybManager-DUFNmJTE.esm.js → ekybManager-BQQyRMqw.esm.js} +1 -1
  11. package/dist/{ekybStateMachine-B_2GynKh.esm.js → ekybStateMachine-jsiqdGjv.esm.js} +1 -1
  12. package/dist/extensibility.d.ts +7 -6
  13. package/dist/extensibility.esm.js +8 -7
  14. package/dist/{faceCaptureManagerFactory-padlYUpO.esm.js → faceCaptureManagerFactory-DaYwl0Yq.esm.js} +1 -1
  15. package/dist/{faceCaptureSetup-D7wL9pqU.esm.js → faceCaptureSetup-DlmX-9nD.esm.js} +2 -2
  16. package/dist/flow.d.ts +2 -2
  17. package/dist/flow.esm.js +1 -1
  18. package/dist/{flowServices-DSlnJDz_.esm.js → flowServices-T5JoA_1N.esm.js} +2 -2
  19. package/dist/id-ocr.d.ts +2 -2
  20. package/dist/id.esm.js +2 -2
  21. package/dist/{idCaptureManager-iTvQbzxA.esm.js → idCaptureManager-DaqabBBZ.esm.js} +1 -1
  22. package/dist/{idCaptureStateMachine-q4n-6o5I.esm.js → idCaptureStateMachine-CU1CsT7x.esm.js} +5 -5
  23. package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-dLuxey6y.d.ts} +2 -2
  24. package/dist/identity-reuse.d.ts +1 -1
  25. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-D6pD4hcZ.d.ts} +1 -1
  26. package/dist/index.esm.js +1 -1
  27. package/dist/mandatory-consent.d.ts +1 -1
  28. package/dist/{mandatoryConsentManager-XOWt-AgD.d.ts → mandatoryConsentManager-IKpruo6V.d.ts} +5 -5
  29. package/dist/{onDeviceFaceResults-BmqIjCbi.esm.js → onDeviceFaceResults-bUR2uNg0.esm.js} +1 -1
  30. package/dist/personhood.esm.js +2 -2
  31. package/dist/{recordingService-yaOQEalD.esm.js → recordingService-ChBo1rvx.esm.js} +1 -1
  32. package/dist/selfie.esm.js +4 -4
  33. package/dist/{selfieManager-B2_n13LR.esm.js → selfieManager-9Eci1f5e.esm.js} +2 -2
  34. package/dist/{selfieStateMachine-CrEcZaGF.esm.js → selfieStateMachine-CKRTfYh8.esm.js} +2 -2
  35. package/dist/session-B3d0Xtee.esm.js +1 -0
  36. package/dist/session.esm.js +2 -2
  37. package/dist/{sessionInitializer-D2MRL--r.esm.js → sessionInitializer-CgjN51b2.esm.js} +1 -1
  38. package/dist/{setup-BIxOSpxN.esm.js → setup-BFGd-cxt.esm.js} +2 -2
  39. package/dist/video-selfie.esm.js +3 -3
  40. package/dist/wasm.esm.js +1 -1
  41. package/dist/watchlist.d.ts +1 -50
  42. package/dist/watchlist.esm.js +1 -69
  43. package/dist/watchlistManager-DLXef90v.d.ts +68 -0
  44. package/dist/watchlistManager-FRMpgcWW.esm.js +83 -0
  45. package/dist/workflow.d.ts +1 -1
  46. package/dist/workflow.esm.js +7 -7
  47. package/package.json +3 -3
  48. package/dist/session-DInWb8_z.esm.js +0 -1
  49. /package/dist/{types-BfgmV7s7.d.ts → types-BfgmV7s72.d.ts} +0 -0
  50. /package/dist/{types-CJ7Yl9K-.d.ts → types-CJ7Yl9K-2.d.ts} +0 -0
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-B6D1-OHs.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-_ORG1UHc.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-lTogTlQv.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BDkpqQ-5.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-padlYUpO.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DaYwl0Yq.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-B6D1-OHs.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-lTogTlQv.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-D7wL9pqU.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DlmX-9nD.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -82,6 +82,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
+ resetContext: {
86
+ type: "resetContext";
87
+ params: NonReducibleUnknown;
88
+ };
85
89
  setConsentData: {
86
90
  type: "setConsentData";
87
91
  params: NonReducibleUnknown;
@@ -90,14 +94,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
90
94
  type: "toggleCheckbox";
91
95
  params: NonReducibleUnknown;
92
96
  };
93
- resetContext: {
94
- type: "resetContext";
95
- params: NonReducibleUnknown;
96
- };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
100
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
100
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
101
101
  readonly id: "consent";
102
102
  readonly initial: "idle";
103
103
  readonly context: ({ input }: {
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
4
- import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-D2MRL--r.esm.js";
4
+ import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CgjN51b2.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
7
7
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-B4BObr_7.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-B-J1lXcH.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -98,10 +98,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
98
98
  id: string | undefined;
99
99
  };
100
100
  }>, Values<{
101
- decrementAttemptsRemaining: {
102
- type: "decrementAttemptsRemaining";
103
- params: NonReducibleUnknown;
104
- };
105
101
  setStream: {
106
102
  type: "setStream";
107
103
  params: NonReducibleUnknown;
@@ -118,6 +114,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
118
114
  type: "stopStream";
119
115
  params: NonReducibleUnknown;
120
116
  };
117
+ decrementAttemptsRemaining: {
118
+ type: "decrementAttemptsRemaining";
119
+ params: NonReducibleUnknown;
120
+ };
121
121
  setCapturedDocument: {
122
122
  type: "setCapturedDocument";
123
123
  params: NonReducibleUnknown;
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-DSlnJDz_.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-B_2GynKh.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DUFNmJTE.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-T5JoA_1N.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-jsiqdGjv.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BQQyRMqw.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.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
- import { t as ekybMachine } from "./ekybStateMachine-B_2GynKh.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-jsiqdGjv.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-DSlnJDz_.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-T5JoA_1N.esm.js";
4
4
  import { 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";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
@@ -9,10 +9,10 @@ import { t as IStorageCapability } from "./IStorageCapability-B8IGxCwe.js";
9
9
  import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-BK-v1UYb.js";
10
10
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BT7dmOHi.js";
11
11
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-B2KZQ9zw.js";
12
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
12
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DLOyIZzt.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-BEWD-Lvo.js";
15
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-pEqMY_Oo.js";
15
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B-J1lXcH.js";
16
16
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-BYac2uEY.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";
@@ -20,10 +20,11 @@ import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t a
20
20
  import { n as CaptureIdResponse } from "./types-DznwkfTc.js";
21
21
  import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-D6fKtXhM.js";
22
22
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
23
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
23
+ import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
24
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D6pD4hcZ.js";
24
25
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
25
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-XOWt-AgD.js";
26
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
26
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-IKpruo6V.js";
27
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-dLuxey6y.js";
27
28
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
28
29
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
29
30
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
@@ -151,4 +152,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
151
152
  //#region src/internal/fingerprint/fingerprintApi.d.ts
152
153
  declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
153
154
  //#endregion
154
- export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
155
+ export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, 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,22 +1,23 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-D2MRL--r.esm.js";
2
+ import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-CgjN51b2.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-CFsD4BgV.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-D7wL9pqU.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DlmX-9nD.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-_ORG1UHc.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BDkpqQ-5.esm.js";
9
9
  import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
10
10
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
11
11
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
12
12
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
13
13
  import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DI0sCyVB.esm.js";
14
- import { n as createEkybManagerFromActor } from "./ekybManager-DUFNmJTE.esm.js";
14
+ import { n as createEkybManagerFromActor } from "./ekybManager-BQQyRMqw.esm.js";
15
15
  import { n as createEkycManagerFromActor } from "./ekycManager-Cl2e4Knv.esm.js";
16
16
  import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
17
- import { n as createSelfieManagerFromActor } from "./selfieManager-B2_n13LR.esm.js";
18
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-iTvQbzxA.esm.js";
17
+ import { n as createSelfieManagerFromActor } from "./selfieManager-9Eci1f5e.esm.js";
18
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DaqabBBZ.esm.js";
19
19
  import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
20
+ import { n as createWatchlistManagerFromActor } from "./watchlistManager-FRMpgcWW.esm.js";
20
21
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
21
22
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
22
23
  import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BOOjm7SU.esm.js";
@@ -31,4 +32,4 @@ async function getFingerprint(disableIpify) {
31
32
  return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
32
33
  }
33
34
  //#endregion
34
- 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, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
35
+ 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,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.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-D7wL9pqU.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-DlmX-9nD.esm.js";
5
5
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
6
6
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
7
7
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.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-CkHL1BjH.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-bUR2uNg0.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-5Cu6a8iN.esm.js";
10
- import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-yaOQEalD.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-ChBo1rvx.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`
package/dist/flow.d.ts CHANGED
@@ -11,11 +11,11 @@ import { t as DynamicFormsConfig } from "./types-xIEGXWk8.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
12
  import { c as IdCaptureConfig } from "./types-DznwkfTc.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-DjHL5Wa9.js";
14
- import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
14
+ import { t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
16
16
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
17
17
  import { o as FlowEventSubscribable } from "./index-X9serOZT.js";
18
- import { n as ModuleRegistry } from "./types-BfgmV7s7.js";
18
+ import { n as ModuleRegistry } from "./types-BfgmV7s72.js";
19
19
  //#region src/modules/flow/flowUtils.d.ts
20
20
  type NormalizeFlowModulesOptions = {
21
21
  isDesktop?: boolean;
package/dist/flow.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { m as addEvent } from "./events-Dy8PyVO5.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-DSlnJDz_.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-T5JoA_1N.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
5
  import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
@@ -1,9 +1,9 @@
1
1
  import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
2
2
  import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D2MRL--r.esm.js";
4
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CgjN51b2.esm.js";
5
5
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
- import "./session-DInWb8_z.esm.js";
6
+ import "./session-B3d0Xtee.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/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
1
+ import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-dLuxey6y.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
package/dist/id.esm.js CHANGED
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
2
2
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.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-q4n-6o5I.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-iTvQbzxA.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-CU1CsT7x.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DaqabBBZ.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
8
8
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
9
9
  function buildSubImage(canvas) {
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
4
4
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
5
5
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-q4n-6o5I.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CU1CsT7x.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) {
@@ -3,13 +3,13 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-D2MRL--r.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-CgjN51b2.esm.js";
7
7
  import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
- import "./session-DInWb8_z.esm.js";
8
+ import "./session-B3d0Xtee.esm.js";
9
9
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
12
- import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
12
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
13
13
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
14
14
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
15
15
  import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
@@ -17,7 +17,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
17
17
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
18
18
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
19
19
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
20
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-yaOQEalD.esm.js";
20
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-ChBo1rvx.esm.js";
21
21
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
22
22
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
23
23
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1625,7 +1625,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1625
1625
  });
1626
1626
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1627
1627
  if (!input.dependencies) return;
1628
- const { loadDeepsightSession } = await import("./deepsightLoader-BTaHIFJe.esm.js");
1628
+ const { loadDeepsightSession } = await import("./deepsightLoader-DDu_KUyv.esm.js");
1629
1629
  return loadDeepsightSession({
1630
1630
  ds: input.ds,
1631
1631
  storage: input.dependencies.storage,
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
2
2
  import "./StateMachine-EDpYWy0i.js";
3
3
  import { t as Manager } from "./Manager-CQQ99QOI.js";
4
4
  import "./Actor-iTq7YY48.js";
5
- import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
5
+ import { a as UpdateOcrResponse, i as UpdateOcrDataParams, n as OcrData, t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
6
6
  //#region src/modules/id-ocr/idOcrStateMachine.d.ts
7
7
  type IdOcrOcrDocument = 'first' | 'second';
8
8
  type IdOcrContext = {
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
1
+ import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D6pD4hcZ.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
125
125
  type: "hasSelection";
126
126
  params: unknown;
127
127
  };
128
- }>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
128
+ }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
129
129
  readonly id: "identityReuse";
130
130
  readonly initial: "idle";
131
131
  readonly context: ({ input }: {
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-BIxOSpxN.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-BFGd-cxt.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-DjHL5Wa9.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-XOWt-AgD.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-IKpruo6V.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -61,18 +61,18 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
61
61
  type: "clearError";
62
62
  params: NonReducibleUnknown;
63
63
  };
64
- resetContext: {
65
- type: "resetContext";
66
- params: NonReducibleUnknown;
67
- };
68
64
  toggleSigned: {
69
65
  type: "toggleSigned";
70
66
  params: NonReducibleUnknown;
71
67
  };
68
+ resetContext: {
69
+ type: "resetContext";
70
+ params: NonReducibleUnknown;
71
+ };
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
75
- }, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
75
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
76
76
  readonly id: "mandatoryConsent";
77
77
  readonly initial: "idle";
78
78
  readonly context: ({ input }: {
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-BTaHIFJe.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-DDu_KUyv.esm.js");
520
520
  return loadDeepsightSession({
521
521
  ds: options.ds,
522
522
  storage: options.storage
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
4
4
  import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-BX83zwtT.esm.js";
5
5
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
6
6
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-D2MRL--r.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CgjN51b2.esm.js";
8
8
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
10
10
  import { i as requestPermission, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
12
12
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region ../infra/src/crypto/randomUUID.ts
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
6
6
  //#region src/internal/manualReview/manualReviewService.ts
7
7
  async function flagFaceManualReview() {
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.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 { t as faceCaptureMachine } from "./faceCaptureSetup-D7wL9pqU.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-padlYUpO.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DlmX-9nD.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DaYwl0Yq.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CrEcZaGF.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-B2_n13LR.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-CKRTfYh8.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-9Eci1f5e.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-padlYUpO.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DaYwl0Yq.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CrEcZaGF.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CKRTfYh8.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-D7wL9pqU.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DlmX-9nD.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
7
7
  /**
@@ -0,0 +1 @@
1
+ import "./sessionInitializer-CgjN51b2.esm.js";
@@ -1,8 +1,8 @@
1
1
  import { n as getApi } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { i as initializeSession } from "./sessionInitializer-D2MRL--r.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-CgjN51b2.esm.js";
4
4
  import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
5
- import "./session-DInWb8_z.esm.js";
5
+ import "./session-B3d0Xtee.esm.js";
6
6
  import { n as getFinishStatus } from "./flowCompletionService-D5oIlcza.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
@@ -1614,7 +1614,7 @@ function isBrowserSimulation(browserEnv) {
1614
1614
  }
1615
1615
  //#endregion
1616
1616
  //#region src/internal/version/sdkVersion.ts
1617
- const SDK_VERSION = "0.0.0-dev-20260728-13fa1fcf";
1617
+ const SDK_VERSION = "0.0.0-dev-20260728-af4e1aee";
1618
1618
  //#endregion
1619
1619
  //#region src/internal/fingerprint/fingerprintService.ts
1620
1620
  function formatOsVersion(os) {
@@ -7,9 +7,9 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
7
7
  import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
9
9
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
10
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-D2MRL--r.esm.js";
10
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-CgjN51b2.esm.js";
11
11
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
12
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DSlnJDz_.esm.js";
12
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-T5JoA_1N.esm.js";
13
13
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
14
14
  var BrowserPageLifecycleProvider = class {
15
15
  sendBeacon(url, body, contentType = "application/json") {
@@ -1,14 +1,14 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BIxOSpxN.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BFGd-cxt.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-BDTZNnca.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DSlnJDz_.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-T5JoA_1N.esm.js";
7
7
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
9
9
  import { t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
10
10
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
11
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BmqIjCbi.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-bUR2uNg0.esm.js";
12
12
  import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
13
13
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
14
14
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as warmupWasm } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-B4DUtYET.esm.js";
3
- import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BIxOSpxN.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BFGd-cxt.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -1,53 +1,4 @@
1
- import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- //#region src/modules/watchlist/watchlistStateMachine.d.ts
3
- type WatchlistResult = 'success' | 'skipped';
4
- declare const watchlistMachine: any;
5
- //#endregion
6
- //#region src/modules/watchlist/watchlistManager.d.ts
7
- type WatchlistIdleState = {
8
- status: 'idle';
9
- };
10
- type WatchlistProcessingState = {
11
- status: 'processing';
12
- };
13
- type WatchlistSuccessState = {
14
- status: 'success';
15
- };
16
- type WatchlistFinishedState = {
17
- status: 'finished';
18
- result: WatchlistResult;
19
- };
20
- /**
21
- * Union of all possible global watchlist manager states.
22
- *
23
- * @example
24
- * ```typescript
25
- * const state = watchlistManager.getState();
26
- * if (state.status === 'finished') {
27
- * console.log('Global watchlist check complete');
28
- * }
29
- * ```
30
- */
31
- type WatchlistState = WatchlistIdleState | WatchlistProcessingState | WatchlistSuccessState | WatchlistFinishedState;
32
- /**
33
- * Creates a global watchlist manager for headless or UI-driven usage.
34
- *
35
- * @example Headless usage
36
- * ```typescript
37
- * const manager = createWatchlistManager();
38
- * manager.subscribe((state) => console.log(state.status));
39
- * manager.load();
40
- * ```
41
- */
42
- declare function createWatchlistManager(): Manager<WatchlistState> & {
43
- /**
44
- * Kicks off the global watchlist check.
45
- * Transitions from 'idle' to 'processing'.
46
- */
47
- load(): void;
48
- };
49
- type WatchlistManager = ReturnType<typeof createWatchlistManager>;
50
- //#endregion
1
+ import { n as WatchlistState, o as watchlistMachine, r as createWatchlistManager, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
51
2
  //#region src/modules/watchlist/types.d.ts
52
3
  /**
53
4
  * Configuration options for the global watchlist module.
@@ -1,71 +1,3 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
1
  import { t as watchlistMachine } from "./watchlistStateMachine-64y9XBjm.esm.js";
5
- //#region src/modules/watchlist/watchlistActor.ts
6
- function createWatchlistActor() {
7
- return createActor(watchlistMachine).start();
8
- }
9
- //#endregion
10
- //#region src/modules/watchlist/watchlistManager.ts
11
- /**
12
- * Maps a Watchlist state-machine snapshot to the exact Figma "Tracked
13
- * Events" screen name. Source: Watchlist | Custom Watchlist Figma file
14
- * (`https://www.figma.com/design/Xm4BgXotNwdi5iRdHTIX0N/Watchlist-%7C-Custom-Watchlist----Latest-Design?node-id=3031-82920`).
15
- * Family is `watchlist.*` — shared across global watchlist, custom
16
- * watchlist, and watchlist-for-business (distinct module tokens per
17
- * AdSign/QSign precedent).
18
- *
19
- * `idle` and `finished` are intentionally unmapped — the Figma canvas does
20
- * not define screens for the entry / terminal moments. `finished` collapses
21
- * into `moduleClosed`.
22
- */
23
- function getWatchlistScreenName(snapshot) {
24
- const stateName = topLevelStateName(snapshot.value);
25
- if (stateName === void 0) return void 0;
26
- switch (stateName) {
27
- case "processing": return "watchlist.processing";
28
- case "success": return "watchlist.success";
29
- default: return;
30
- }
31
- }
32
- function mapState(snapshot) {
33
- const typedSnapshot = snapshot;
34
- if (typedSnapshot.matches("processing")) return { status: "processing" };
35
- if (typedSnapshot.matches("success")) return { status: "success" };
36
- if (typedSnapshot.matches("finished")) return {
37
- status: "finished",
38
- result: typedSnapshot.context.result ?? "skipped"
39
- };
40
- return { status: "idle" };
41
- }
42
- function createApi({ actor }) {
43
- return {
44
- /**
45
- * Kicks off the global watchlist check.
46
- * Transitions from 'idle' to 'processing'.
47
- */
48
- load() {
49
- actor.send({ type: "LOAD" });
50
- } };
51
- }
52
- /**
53
- * Creates a global watchlist manager for headless or UI-driven usage.
54
- *
55
- * @example Headless usage
56
- * ```typescript
57
- * const manager = createWatchlistManager();
58
- * manager.subscribe((state) => console.log(state.status));
59
- * manager.load();
60
- * ```
61
- */
62
- function createWatchlistManager() {
63
- return createManager({
64
- actor: createWatchlistActor(),
65
- mapState,
66
- createApi,
67
- instrumentation: createManagerInstrumentation(eventModuleNames.watchlist, { getEventScreenName: getWatchlistScreenName })
68
- });
69
- }
70
- //#endregion
2
+ import { t as createWatchlistManager } from "./watchlistManager-FRMpgcWW.esm.js";
71
3
  export { createWatchlistManager, watchlistMachine };
@@ -0,0 +1,68 @@
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
3
+ import "./Actor-iTq7YY48.js";
4
+ //#region src/modules/watchlist/watchlistStateMachine.d.ts
5
+ type WatchlistResult = 'success' | 'skipped';
6
+ declare const watchlistMachine: any;
7
+ type WatchlistMachine = typeof watchlistMachine;
8
+ //#endregion
9
+ //#region src/modules/watchlist/watchlistActor.d.ts
10
+ type WatchlistActor = ActorRefFrom<WatchlistMachine>;
11
+ //#endregion
12
+ //#region src/modules/watchlist/watchlistManager.d.ts
13
+ type WatchlistIdleState = {
14
+ status: 'idle';
15
+ };
16
+ type WatchlistProcessingState = {
17
+ status: 'processing';
18
+ };
19
+ type WatchlistSuccessState = {
20
+ status: 'success';
21
+ };
22
+ type WatchlistFinishedState = {
23
+ status: 'finished';
24
+ result: WatchlistResult;
25
+ };
26
+ /**
27
+ * Union of all possible global watchlist manager states.
28
+ *
29
+ * @example
30
+ * ```typescript
31
+ * const state = watchlistManager.getState();
32
+ * if (state.status === 'finished') {
33
+ * console.log('Global watchlist check complete');
34
+ * }
35
+ * ```
36
+ */
37
+ type WatchlistState = WatchlistIdleState | WatchlistProcessingState | WatchlistSuccessState | WatchlistFinishedState;
38
+ /**
39
+ * Creates a global watchlist manager for headless or UI-driven usage.
40
+ *
41
+ * @example Headless usage
42
+ * ```typescript
43
+ * const manager = createWatchlistManager();
44
+ * manager.subscribe((state) => console.log(state.status));
45
+ * manager.load();
46
+ * ```
47
+ */
48
+ declare function createWatchlistManager(): Manager<WatchlistState> & {
49
+ /**
50
+ * Kicks off the global watchlist check.
51
+ * Transitions from 'idle' to 'processing'.
52
+ */
53
+ load(): void;
54
+ };
55
+ /**
56
+ * Creates a watchlist manager from a pre-built actor.
57
+ * Use this when overriding the machine via `.provide()` for custom backends or testing.
58
+ */
59
+ declare function createWatchlistManagerFromActor(actor: WatchlistActor): Manager<WatchlistState> & {
60
+ /**
61
+ * Kicks off the global watchlist check.
62
+ * Transitions from 'idle' to 'processing'.
63
+ */
64
+ load(): void;
65
+ };
66
+ type WatchlistManager = ReturnType<typeof createWatchlistManager>;
67
+ //#endregion
68
+ export { WatchlistActor as a, createWatchlistManagerFromActor as i, WatchlistState as n, watchlistMachine as o, createWatchlistManager as r, WatchlistManager as t };
@@ -0,0 +1,83 @@
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { t as watchlistMachine } from "./watchlistStateMachine-64y9XBjm.esm.js";
5
+ //#region src/modules/watchlist/watchlistActor.ts
6
+ function createWatchlistActor() {
7
+ return createActor(watchlistMachine).start();
8
+ }
9
+ //#endregion
10
+ //#region src/modules/watchlist/watchlistManager.ts
11
+ /**
12
+ * Maps a Watchlist state-machine snapshot to the exact Figma "Tracked
13
+ * Events" screen name. Source: Watchlist | Custom Watchlist Figma file
14
+ * (`https://www.figma.com/design/Xm4BgXotNwdi5iRdHTIX0N/Watchlist-%7C-Custom-Watchlist----Latest-Design?node-id=3031-82920`).
15
+ * Family is `watchlist.*` — shared across global watchlist, custom
16
+ * watchlist, and watchlist-for-business (distinct module tokens per
17
+ * AdSign/QSign precedent).
18
+ *
19
+ * `idle` and `finished` are intentionally unmapped — the Figma canvas does
20
+ * not define screens for the entry / terminal moments. `finished` collapses
21
+ * into `moduleClosed`.
22
+ */
23
+ function getWatchlistScreenName(snapshot) {
24
+ const stateName = topLevelStateName(snapshot.value);
25
+ if (stateName === void 0) return void 0;
26
+ switch (stateName) {
27
+ case "processing": return "watchlist.processing";
28
+ case "success": return "watchlist.success";
29
+ default: return;
30
+ }
31
+ }
32
+ function mapState(snapshot) {
33
+ const typedSnapshot = snapshot;
34
+ if (typedSnapshot.matches("processing")) return { status: "processing" };
35
+ if (typedSnapshot.matches("success")) return { status: "success" };
36
+ if (typedSnapshot.matches("finished")) return {
37
+ status: "finished",
38
+ result: typedSnapshot.context.result ?? "skipped"
39
+ };
40
+ return { status: "idle" };
41
+ }
42
+ function createApi({ actor }) {
43
+ return {
44
+ /**
45
+ * Kicks off the global watchlist check.
46
+ * Transitions from 'idle' to 'processing'.
47
+ */
48
+ load() {
49
+ actor.send({ type: "LOAD" });
50
+ } };
51
+ }
52
+ /**
53
+ * Creates a global watchlist manager for headless or UI-driven usage.
54
+ *
55
+ * @example Headless usage
56
+ * ```typescript
57
+ * const manager = createWatchlistManager();
58
+ * manager.subscribe((state) => console.log(state.status));
59
+ * manager.load();
60
+ * ```
61
+ */
62
+ function createWatchlistManager() {
63
+ return createManager({
64
+ actor: createWatchlistActor(),
65
+ mapState,
66
+ createApi,
67
+ instrumentation: createManagerInstrumentation(eventModuleNames.watchlist, { getEventScreenName: getWatchlistScreenName })
68
+ });
69
+ }
70
+ /**
71
+ * Creates a watchlist manager from a pre-built actor.
72
+ * Use this when overriding the machine via `.provide()` for custom backends or testing.
73
+ */
74
+ function createWatchlistManagerFromActor(actor) {
75
+ return createManager({
76
+ actor,
77
+ mapState,
78
+ createApi,
79
+ instrumentation: createManagerInstrumentation(eventModuleNames.watchlist, { getEventScreenName: getWatchlistScreenName })
80
+ });
81
+ }
82
+ //#endregion
83
+ export { createWatchlistManagerFromActor as n, createWatchlistManager as t };
@@ -4,7 +4,7 @@ import "./StateMachine-EDpYWy0i.js";
4
4
  import { t as Manager } from "./Manager-CQQ99QOI.js";
5
5
  import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
6
6
  import { o as FlowEventSubscribable } from "./index-X9serOZT.js";
7
- import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s7.js";
7
+ import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s72.js";
8
8
  //#region src/modules/workflow/types.d.ts
9
9
  /** Possible node types returned by the workflow server. */
10
10
  type WorkflowNodeType = 'MODULE' | 'FINISH' | 'ASYNC_RESOLUTION';
@@ -2,28 +2,29 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-D2MRL--r.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CgjN51b2.esm.js";
6
6
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
7
- import { g as toEkybConfig } from "./flowServices-DSlnJDz_.esm.js";
7
+ import { g as toEkybConfig } from "./flowServices-T5JoA_1N.esm.js";
8
8
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { n as electronicSignatureMachine } from "./electronicSignatureManager-BXIpAJ5m.esm.js";
12
12
  import "./ae-signature.esm.js";
13
13
  import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
14
- import { t as authenticationMachine } from "./authenticationStateMachine-B6D1-OHs.esm.js";
14
+ import { t as authenticationMachine } from "./authenticationStateMachine-lTogTlQv.esm.js";
15
15
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
16
16
  import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
17
17
  import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
18
18
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
19
19
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
20
20
  import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BQqAwNQ-.esm.js";
21
- import { t as ekybMachine } from "./ekybStateMachine-B_2GynKh.esm.js";
21
+ import { t as ekybMachine } from "./ekybStateMachine-jsiqdGjv.esm.js";
22
22
  import { t as ekycMachine } from "./ekycStateMachine-9Mm7LBea.esm.js";
23
23
  import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
24
- import { t as selfieMachine } from "./selfieStateMachine-CrEcZaGF.esm.js";
25
- import { t as idCaptureMachine } from "./idCaptureStateMachine-q4n-6o5I.esm.js";
24
+ import { t as selfieMachine } from "./selfieStateMachine-CKRTfYh8.esm.js";
25
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-CU1CsT7x.esm.js";
26
26
  import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
27
+ import { t as watchlistMachine } from "./watchlistStateMachine-64y9XBjm.esm.js";
27
28
  import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
28
29
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.esm.js";
29
30
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Cqi8173Y.esm.js";
@@ -36,7 +37,6 @@ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModu
36
37
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-loZfWcU9.esm.js";
37
38
  import "./qe-signature.esm.js";
38
39
  import { t as signatureMachine } from "./signatureStateMachine-zRLvEGTw.esm.js";
39
- import { t as watchlistMachine } from "./watchlistStateMachine-64y9XBjm.esm.js";
40
40
  import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-Rc6BAwlr.esm.js";
41
41
  //#region src/internal/orchestration/defaultModules.ts
42
42
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260728-13fa1fcf",
3
+ "version": "0.0.0-dev-20260728-af4e1aee",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -276,8 +276,8 @@
276
276
  "tsdown": "^0.22.8",
277
277
  "typescript": "^5.9.3",
278
278
  "vitest": "4.1.4",
279
- "@incodetech/config": "1.0.2",
280
- "@incodetech/infra": "1.2.0"
279
+ "@incodetech/infra": "1.2.0",
280
+ "@incodetech/config": "1.0.2"
281
281
  },
282
282
  "scripts": {
283
283
  "build": "tsdown -c tsdown.config.ts",
@@ -1 +0,0 @@
1
- import "./sessionInitializer-D2MRL--r.esm.js";