@incodetech/core 0.0.0-dev-20260727-6d540cf0 → 0.0.0-dev-20260728-bbd74326

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 (38) hide show
  1. package/dist/authentication.esm.js +2 -2
  2. package/dist/{authenticationManager-BugCSsnK.esm.js → authenticationManager-DAAdpM_f.esm.js} +2 -2
  3. package/dist/{authenticationStateMachine-B15J5KEE.esm.js → authenticationStateMachine-oxArsYdg.esm.js} +2 -2
  4. package/dist/{deepsightLoader-3f48VAWS.esm.js → deepsightLoader-Dlc_Weco.esm.js} +1 -1
  5. package/dist/document-upload.d.ts +4 -4
  6. package/dist/ekyb.esm.js +3 -3
  7. package/dist/{ekybManager-D86lOKbu.esm.js → ekybManager-C8D2E58Z.esm.js} +1 -1
  8. package/dist/{ekybStateMachine-CscfKZxA.esm.js → ekybStateMachine-vndKNS03.esm.js} +1 -1
  9. package/dist/extensibility.d.ts +2 -2
  10. package/dist/extensibility.esm.js +6 -6
  11. package/dist/{faceCaptureManagerFactory-CWqmMqXq.esm.js → faceCaptureManagerFactory-C6IocH9G.esm.js} +1 -1
  12. package/dist/{faceCaptureSetup-DJSy9KIH.esm.js → faceCaptureSetup-6sVLFiOS.esm.js} +2 -2
  13. package/dist/flow.d.ts +1 -1
  14. package/dist/flow.esm.js +1 -1
  15. package/dist/{flowServices-BxqjVAV0.esm.js → flowServices-Cr7_BFYP.esm.js} +2 -2
  16. package/dist/id.d.ts +2 -2
  17. package/dist/id.esm.js +2 -2
  18. package/dist/{idCaptureManager-CpqVWwfk.esm.js → idCaptureManager-DmGinDs-.esm.js} +4 -2
  19. package/dist/{idCaptureManager-DECjdrKj.d.ts → idCaptureManager-DmVmaxd9.d.ts} +1 -1
  20. package/dist/{idCaptureStateMachine-f9guPQn1.esm.js → idCaptureStateMachine-B-txehAH.esm.js} +24 -9
  21. package/dist/index.esm.js +1 -1
  22. package/dist/{onDeviceFaceResults-CXPJhFPL.esm.js → onDeviceFaceResults-CWYb5Pry.esm.js} +1 -1
  23. package/dist/personhood.esm.js +2 -2
  24. package/dist/{recordingService-rNoh1PIz.esm.js → recordingService-CWs4c_bi.esm.js} +1 -1
  25. package/dist/selfie.esm.js +4 -4
  26. package/dist/{selfieManager-Br-jyeHB.esm.js → selfieManager-BG79dEch.esm.js} +2 -2
  27. package/dist/{selfieStateMachine-BKelTRVc.esm.js → selfieStateMachine-DIhTwBBG.esm.js} +2 -2
  28. package/dist/session-5JaQ3ELc.esm.js +1 -0
  29. package/dist/session.esm.js +2 -2
  30. package/dist/{sessionInitializer-JZoRl_kK.esm.js → sessionInitializer-CMwm-WD5.esm.js} +1 -1
  31. package/dist/{setup-D8Ptyi5X.esm.js → setup-DOqvwH5q.esm.js} +2 -2
  32. package/dist/{types-B02qlnfB.d.ts → types-DByREvr1.d.ts} +2 -0
  33. package/dist/video-selfie.esm.js +3 -3
  34. package/dist/wasm.esm.js +1 -1
  35. package/dist/workflow.d.ts +4 -4
  36. package/dist/workflow.esm.js +6 -6
  37. package/package.json +3 -3
  38. package/dist/session-Dvgjq8G1.esm.js +0 -1
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-B15J5KEE.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BugCSsnK.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DAAdpM_f.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-CWqmMqXq.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-B15J5KEE.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.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-DJSy9KIH.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CXPJhFPL.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CWYb5Pry.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
@@ -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-JZoRl_kK.esm.js";
4
+ import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CMwm-WD5.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";
@@ -38,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
+ setError: {
42
+ type: "setError";
43
+ params: NonReducibleUnknown;
44
+ };
41
45
  setStream: {
42
46
  type: "setStream";
43
47
  params: NonReducibleUnknown;
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
50
54
  type: "setProgress";
51
55
  params: NonReducibleUnknown;
52
56
  };
53
- setError: {
54
- type: "setError";
55
- params: NonReducibleUnknown;
56
- };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  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-BxqjVAV0.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-CscfKZxA.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-D86lOKbu.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-Cr7_BFYP.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-vndKNS03.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-C8D2E58Z.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-CscfKZxA.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-vndKNS03.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-BxqjVAV0.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-Cr7_BFYP.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";
@@ -18,8 +18,8 @@ import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as D
18
18
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
19
19
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
20
20
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
21
- import { n as CaptureIdResponse } from "./types-B02qlnfB.js";
22
- import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DECjdrKj.js";
21
+ import { n as CaptureIdResponse } from "./types-DByREvr1.js";
22
+ import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DmVmaxd9.js";
23
23
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
24
24
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
25
25
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
@@ -1,22 +1,22 @@
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-JZoRl_kK.esm.js";
2
+ import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-CMwm-WD5.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-DJSy9KIH.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BugCSsnK.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DAAdpM_f.esm.js";
9
9
  import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
10
10
  import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
13
13
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
14
14
  import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DI0sCyVB.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-D86lOKbu.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-C8D2E58Z.esm.js";
16
16
  import { n as createEkycManagerFromActor } from "./ekycManager-DRrG5I6e.esm.js";
17
17
  import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-Br-jyeHB.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CpqVWwfk.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BG79dEch.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DmGinDs-.esm.js";
20
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
21
21
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
22
22
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
@@ -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-DJSy9KIH.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-6sVLFiOS.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-CXPJhFPL.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-CWYb5Pry.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-rNoh1PIz.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-CWs4c_bi.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
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-BAvkiv6L.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-B4BObr_7.js";
10
10
  import { t as DynamicFormsConfig } from "./types-xIEGXWk8.js";
11
11
  import { t as EkybConfig } from "./types-BfHiko5D.js";
12
- import { c as IdCaptureConfig } from "./types-B02qlnfB.js";
12
+ import { c as IdCaptureConfig } from "./types-DByREvr1.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-BQgIv5p8.js";
14
14
  import { t as IdOcrConfig } from "./types-CBJI9n6h2.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
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-BxqjVAV0.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-Cr7_BFYP.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-JZoRl_kK.esm.js";
4
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CMwm-WD5.esm.js";
5
5
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
- import "./session-Dvgjq8G1.esm.js";
6
+ import "./session-5JaQ3ELc.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.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-B02qlnfB.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-DECjdrKj.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-DByREvr1.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-DmVmaxd9.js";
6
6
  //#region src/modules/id/idCaptureOnlyManager.d.ts
7
7
  type IdCaptureOnlyManager = IdCaptureManager;
8
8
  /**
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-f9guPQn1.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CpqVWwfk.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-B-txehAH.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DmGinDs-.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-f9guPQn1.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-B-txehAH.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) {
@@ -118,6 +118,7 @@ function getCaptureStatus(snapshot) {
118
118
  capturing: snapshot.matches({ capture: "capturing" }),
119
119
  capturingManual: snapshot.matches({ capture: "capturingManual" }),
120
120
  uploading: snapshot.matches({ capture: "uploading" }),
121
+ uploadCompleted: snapshot.matches({ capture: "uploadCompleted" }),
121
122
  submittingBarcode: snapshot.matches({ capture: "submittingBarcode" }),
122
123
  uploadError: snapshot.matches({ capture: "uploadError" }),
123
124
  success: snapshot.matches({ capture: "success" })
@@ -125,7 +126,7 @@ function getCaptureStatus(snapshot) {
125
126
  if (matches.initializing) return "initializing";
126
127
  if (matches.detecting || matches.manualCaptureWaiting) return "detecting";
127
128
  if (matches.capturing || matches.capturingManual) return "capturing";
128
- if (matches.uploading || matches.submittingBarcode) return "uploading";
129
+ if (matches.uploading || matches.uploadCompleted || matches.submittingBarcode) return "uploading";
129
130
  if (matches.uploadError) return "uploadError";
130
131
  if (matches.success) return "success";
131
132
  }
@@ -581,6 +582,7 @@ function getCaptureSubstateScreen(snapshot, screens) {
581
582
  case "capturing": return `${screens.capturePrefix}.takingphoto`;
582
583
  case "capturingManual": return `${screens.capturePrefix}.manual`;
583
584
  case "uploading":
585
+ case "uploadCompleted":
584
586
  case "validatingUpload": return `${screens.analyzingPrefix}.uploading`;
585
587
  case "uploadError": return getCaptureErrorScreen(screens, context.uploadError);
586
588
  case "success": return getSuccessScreen(snapshot, screens);
@@ -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-BjTTkLmd.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-B02qlnfB.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-DByREvr1.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>;
@@ -3,20 +3,20 @@ 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-JZoRl_kK.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-CMwm-WD5.esm.js";
7
7
  import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
- import "./session-Dvgjq8G1.esm.js";
8
+ import "./session-5JaQ3ELc.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-CXPJhFPL.esm.js";
12
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
13
13
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
14
14
  import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
15
15
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
16
16
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
17
17
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
18
18
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
19
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-rNoh1PIz.esm.js";
19
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-CWs4c_bi.esm.js";
20
20
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
21
21
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
22
22
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1534,6 +1534,13 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
1534
1534
  session?.dispose();
1535
1535
  };
1536
1536
  });
1537
+ const uploadProgressTickerActor = fromCallback(({ sendBack }) => {
1538
+ const timer = BrowserTimerProvider.getInstance();
1539
+ const interval = timer.setInterval(() => {
1540
+ sendBack({ type: "UPLOAD_PROGRESS_TICK" });
1541
+ }, 400);
1542
+ return () => timer.clearInterval(interval);
1543
+ });
1537
1544
  const uploadIdImageActor = fromPromise(async ({ input, signal }) => {
1538
1545
  const image = input.canvas.getBase64Image();
1539
1546
  if (!image) throw new Error(ID_ERROR_CODES.UPLOAD_ERROR);
@@ -1607,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1607
1614
  });
1608
1615
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1609
1616
  if (!input.dependencies) return;
1610
- const { loadDeepsightSession } = await import("./deepsightLoader-3f48VAWS.esm.js");
1617
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dlc_Weco.esm.js");
1611
1618
  return loadDeepsightSession({
1612
1619
  ds: input.ds,
1613
1620
  storage: input.dependencies.storage,
@@ -1919,6 +1926,7 @@ const idCaptureMachine = setup({
1919
1926
  initializeCamera: initializeCameraActor,
1920
1927
  runDetection: runDetectionActor,
1921
1928
  uploadIdImage: uploadIdImageActor,
1929
+ uploadProgressTicker: uploadProgressTickerActor,
1922
1930
  processId: processIdActor,
1923
1931
  submitBarcode: submitBarcodeActor,
1924
1932
  startRecording: startRecordingActor,
@@ -2670,7 +2678,10 @@ const idCaptureMachine = setup({
2670
2678
  },
2671
2679
  uploading: {
2672
2680
  entry: assign({ uploadProgress: () => 0 }),
2673
- invoke: {
2681
+ invoke: [{
2682
+ id: "uploadProgressTicker",
2683
+ src: "uploadProgressTicker"
2684
+ }, {
2674
2685
  id: "uploadIdImage",
2675
2686
  src: "uploadIdImage",
2676
2687
  input: ({ context, self }) => {
@@ -2699,7 +2710,7 @@ const idCaptureMachine = setup({
2699
2710
  };
2700
2711
  },
2701
2712
  onDone: {
2702
- target: "validatingUpload",
2713
+ target: "uploadCompleted",
2703
2714
  actions: [assign({
2704
2715
  uploadResponse: ({ event }) => event.output,
2705
2716
  uploadProgress: () => 100,
@@ -2713,9 +2724,13 @@ const idCaptureMachine = setup({
2713
2724
  attemptsRemaining: context.attemptsRemaining - 1
2714
2725
  }))
2715
2726
  }
2716
- },
2717
- on: { UPLOAD_PROGRESS: { actions: assign({ uploadProgress: ({ event }) => event.progress }) } }
2727
+ }],
2728
+ on: {
2729
+ UPLOAD_PROGRESS: { actions: assign({ uploadProgress: ({ context, event }) => Math.max(context.uploadProgress ?? 0, Math.round(event.progress / 100 * 80)) }) },
2730
+ UPLOAD_PROGRESS_TICK: { actions: assign({ uploadProgress: ({ context }) => Math.min(95, (context.uploadProgress ?? 0) + 1) }) }
2731
+ }
2718
2732
  },
2733
+ uploadCompleted: { after: { [800]: { target: "validatingUpload" } } },
2719
2734
  validatingUpload: { always: [
2720
2735
  {
2721
2736
  target: "uploadError",
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-D8Ptyi5X.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-DOqvwH5q.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-3f48VAWS.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dlc_Weco.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-JZoRl_kK.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CMwm-WD5.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-CXPJhFPL.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-CWYb5Pry.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-CXPJhFPL.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-CWYb5Pry.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-DJSy9KIH.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CWqmMqXq.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.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-BKelTRVc.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Br-jyeHB.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BG79dEch.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-CWqmMqXq.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-BKelTRVc.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.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-DJSy9KIH.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CXPJhFPL.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-6sVLFiOS.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CWYb5Pry.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-CMwm-WD5.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-JZoRl_kK.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-CMwm-WD5.esm.js";
4
4
  import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
5
- import "./session-Dvgjq8G1.esm.js";
5
+ import "./session-5JaQ3ELc.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-20260727-6d540cf0";
1617
+ const SDK_VERSION = "0.0.0-dev-20260728-bbd74326";
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-JZoRl_kK.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-CMwm-WD5.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-BxqjVAV0.esm.js";
12
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-Cr7_BFYP.esm.js";
13
13
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
14
14
  var BrowserPageLifecycleProvider = class {
15
15
  sendBeacon(url, body, contentType = "application/json") {
@@ -683,6 +683,8 @@ type IdCaptureEvent = {
683
683
  } | {
684
684
  type: 'UPLOAD_PROGRESS';
685
685
  progress: number;
686
+ } | {
687
+ type: 'UPLOAD_PROGRESS_TICK';
686
688
  } | {
687
689
  type: 'SET_FRAME_RECT';
688
690
  frameRect: {
@@ -1,14 +1,14 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-D8Ptyi5X.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DOqvwH5q.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-BxqjVAV0.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-Cr7_BFYP.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-CXPJhFPL.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-CWYb5Pry.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-D8Ptyi5X.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-DOqvwH5q.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -320,10 +320,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
320
320
  id: string | undefined;
321
321
  };
322
322
  }>, Values<{
323
- setError: {
324
- type: "setError";
325
- params: NonReducibleUnknown;
326
- };
327
323
  setLoadingResult: {
328
324
  type: "setLoadingResult";
329
325
  params: NonReducibleUnknown;
@@ -352,6 +348,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
352
348
  type: "setFinishStatusFailed";
353
349
  params: NonReducibleUnknown;
354
350
  };
351
+ setError: {
352
+ type: "setError";
353
+ params: NonReducibleUnknown;
354
+ };
355
355
  setModuleError: {
356
356
  type: "setModuleError";
357
357
  params: NonReducibleUnknown;
@@ -2,27 +2,27 @@ 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-JZoRl_kK.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CMwm-WD5.esm.js";
6
6
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
7
- import { g as toEkybConfig } from "./flowServices-BxqjVAV0.esm.js";
7
+ import { g as toEkybConfig } from "./flowServices-Cr7_BFYP.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-B15J5KEE.esm.js";
14
+ import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.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-CscfKZxA.esm.js";
21
+ import { t as ekybMachine } from "./ekybStateMachine-vndKNS03.esm.js";
22
22
  import { t as ekycMachine } from "./ekycStateMachine-DRbbavZy.esm.js";
23
23
  import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
24
- import { t as selfieMachine } from "./selfieStateMachine-BKelTRVc.esm.js";
25
- import { t as idCaptureMachine } from "./idCaptureStateMachine-f9guPQn1.esm.js";
24
+ import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.esm.js";
25
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-B-txehAH.esm.js";
26
26
  import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
27
27
  import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
28
28
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260727-6d540cf0",
3
+ "version": "0.0.0-dev-20260728-bbd74326",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -281,8 +281,8 @@
281
281
  "tsdown": "^0.22.8",
282
282
  "typescript": "^5.9.3",
283
283
  "vitest": "4.1.4",
284
- "@incodetech/config": "1.0.2",
285
- "@incodetech/infra": "1.2.0"
284
+ "@incodetech/infra": "1.2.0",
285
+ "@incodetech/config": "1.0.2"
286
286
  },
287
287
  "scripts": {
288
288
  "build": "tsdown -c tsdown.config.ts",
@@ -1 +0,0 @@
1
- import "./sessionInitializer-JZoRl_kK.esm.js";