@incodetech/core 0.0.0-dev-20260728-bbd74326 → 0.0.0-dev-20260728-dcd649b0

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 (39) hide show
  1. package/dist/authentication.esm.js +2 -2
  2. package/dist/{authenticationManager-DAAdpM_f.esm.js → authenticationManager-CXhA0lc5.esm.js} +2 -2
  3. package/dist/{authenticationStateMachine-oxArsYdg.esm.js → authenticationStateMachine-CwH4siI_.esm.js} +2 -2
  4. package/dist/{deepsightLoader-Dlc_Weco.esm.js → deepsightLoader-CXK44MVG.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-C8D2E58Z.esm.js → ekybManager-kWGFMAN5.esm.js} +1 -1
  8. package/dist/{ekybStateMachine-vndKNS03.esm.js → ekybStateMachine-DmwnW772.esm.js} +1 -1
  9. package/dist/extensibility.d.ts +1 -1
  10. package/dist/extensibility.esm.js +7 -7
  11. package/dist/{faceCaptureManagerFactory-C6IocH9G.esm.js → faceCaptureManagerFactory-DjcsAq8u.esm.js} +1 -1
  12. package/dist/{faceCaptureSetup-6sVLFiOS.esm.js → faceCaptureSetup-8qt4c6tR.esm.js} +2 -2
  13. package/dist/flow.esm.js +1 -1
  14. package/dist/{flowServices-Cr7_BFYP.esm.js → flowServices-BcWQgzDl.esm.js} +2 -2
  15. package/dist/id.esm.js +2 -2
  16. package/dist/{idCaptureManager-DmGinDs-.esm.js → idCaptureManager-Cb7aXt7D.esm.js} +1 -1
  17. package/dist/{idCaptureStateMachine-B-txehAH.esm.js → idCaptureStateMachine-DuQgO4_L.esm.js} +5 -5
  18. package/dist/index.esm.js +1 -1
  19. package/dist/{onDeviceFaceResults-CWYb5Pry.esm.js → onDeviceFaceResults-B7udIDIL.esm.js} +1 -1
  20. package/dist/personhood.esm.js +2 -2
  21. package/dist/{recordingService-CWs4c_bi.esm.js → recordingService-DXircQgK.esm.js} +1 -1
  22. package/dist/redirect-to-mobile.d.ts +1 -1
  23. package/dist/redirect-to-mobile.esm.js +2 -2
  24. package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-BO0BVfgM.esm.js} +4 -1
  25. package/dist/{redirectToMobileManager-DZlJhqvq.d.ts → redirectToMobileManager-BiVH2Ymm.d.ts} +3 -0
  26. package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-BQuhw8_L.esm.js} +68 -10
  27. package/dist/selfie.esm.js +4 -4
  28. package/dist/{selfieManager-BG79dEch.esm.js → selfieManager-5iJjQHdZ.esm.js} +2 -2
  29. package/dist/{selfieStateMachine-DIhTwBBG.esm.js → selfieStateMachine-DyoAe6Uh.esm.js} +2 -2
  30. package/dist/session-BzSGKQL2.esm.js +1 -0
  31. package/dist/session.esm.js +2 -2
  32. package/dist/{sessionInitializer-CMwm-WD5.esm.js → sessionInitializer-oAi9ICPo.esm.js} +1 -1
  33. package/dist/{setup-DOqvwH5q.esm.js → setup-BpjU9IYU.esm.js} +2 -2
  34. package/dist/video-selfie.esm.js +3 -3
  35. package/dist/wasm.esm.js +1 -1
  36. package/dist/workflow.d.ts +4 -4
  37. package/dist/workflow.esm.js +7 -7
  38. package/package.json +1 -1
  39. package/dist/session-5JaQ3ELc.esm.js +0 -1
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DAAdpM_f.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CwH4siI_.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CXhA0lc5.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-C6IocH9G.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DjcsAq8u.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-oxArsYdg.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CwH4siI_.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-6sVLFiOS.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-8qt4c6tR.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B7udIDIL.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-CMwm-WD5.esm.js";
4
+ import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-oAi9ICPo.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,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
- setError: {
42
- type: "setError";
43
- params: NonReducibleUnknown;
44
- };
45
41
  setStream: {
46
42
  type: "setStream";
47
43
  params: NonReducibleUnknown;
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
54
50
  type: "setProgress";
55
51
  params: NonReducibleUnknown;
56
52
  };
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-Cr7_BFYP.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-vndKNS03.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-C8D2E58Z.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-BcWQgzDl.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-DmwnW772.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-kWGFMAN5.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-vndKNS03.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-DmwnW772.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-Cr7_BFYP.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-BcWQgzDl.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";
@@ -25,7 +25,7 @@ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as
25
25
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
26
26
  import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Ck2e2W4o.js";
27
27
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-5vi0uwLZ.js";
28
- import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-DZlJhqvq.js";
28
+ import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
29
29
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
30
30
  import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
31
31
  import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
@@ -1,28 +1,28 @@
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-CMwm-WD5.esm.js";
2
+ import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-oAi9ICPo.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-6sVLFiOS.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-8qt4c6tR.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DAAdpM_f.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CXhA0lc5.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-C8D2E58Z.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-kWGFMAN5.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-BG79dEch.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DmGinDs-.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-5iJjQHdZ.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cb7aXt7D.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";
23
23
  import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BOOjm7SU.esm.js";
24
24
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-gscmFPxD.esm.js";
25
- import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Ct_5C_La.esm.js";
25
+ import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BO0BVfgM.esm.js";
26
26
  import { n as createGeolocationManagerFromActor } from "./geolocationManager-zeqAcVHC.esm.js";
27
27
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BTsyXjv6.esm.js";
28
28
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-fPX11GnX.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-6sVLFiOS.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-8qt4c6tR.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-CWYb5Pry.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-B7udIDIL.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-CWs4c_bi.esm.js";
10
+ import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-DXircQgK.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.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-Cr7_BFYP.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-BcWQgzDl.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-CMwm-WD5.esm.js";
4
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-oAi9ICPo.esm.js";
5
5
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
- import "./session-5JaQ3ELc.esm.js";
6
+ import "./session-BzSGKQL2.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.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-B-txehAH.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DmGinDs-.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-DuQgO4_L.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Cb7aXt7D.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-B-txehAH.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-DuQgO4_L.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,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-CMwm-WD5.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-oAi9ICPo.esm.js";
7
7
  import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
- import "./session-5JaQ3ELc.esm.js";
8
+ import "./session-BzSGKQL2.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-CWYb5Pry.esm.js";
12
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-B7udIDIL.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-CWs4c_bi.esm.js";
19
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-DXircQgK.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"]);
@@ -1614,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1614
1614
  });
1615
1615
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1616
1616
  if (!input.dependencies) return;
1617
- const { loadDeepsightSession } = await import("./deepsightLoader-Dlc_Weco.esm.js");
1617
+ const { loadDeepsightSession } = await import("./deepsightLoader-CXK44MVG.esm.js");
1618
1618
  return loadDeepsightSession({
1619
1619
  ds: input.ds,
1620
1620
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-DOqvwH5q.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-BpjU9IYU.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-Dlc_Weco.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-CXK44MVG.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-CMwm-WD5.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-oAi9ICPo.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-CWYb5Pry.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-B7udIDIL.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-CWYb5Pry.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-B7udIDIL.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() {
@@ -1,5 +1,5 @@
1
1
  import { n as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
2
- import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-DZlJhqvq.js";
2
+ import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
3
3
  //#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
4
4
  declare const defaultRedirectToMobileServices: RedirectToMobileServices;
5
5
  //#endregion
@@ -1,3 +1,3 @@
1
- import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D78eaxsp.esm.js";
2
- import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-Ct_5C_La.esm.js";
1
+ import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
2
+ import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-BO0BVfgM.esm.js";
3
3
  export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
3
3
  import { c as createManager, 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
- import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D78eaxsp.esm.js";
5
+ import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
6
6
  //#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
7
7
  const POLL_INTERVAL_MS = 5e3;
8
8
  const QR_REFRESH_INTERVAL_MS = 5e3;
@@ -64,6 +64,9 @@ function mapState(snapshot) {
64
64
  redirectUrl: context.redirectUrl,
65
65
  phonePrefix: context.phonePrefix,
66
66
  smsSent: context.smsSent,
67
+ smsFailed: context.smsFailed,
68
+ smsResendTimer: context.smsResendTimer,
69
+ canResendSms: canResendSmsFromContext(context),
67
70
  error: context.error
68
71
  };
69
72
  if (typedSnapshot.matches("finished")) return { status: "finished" };
@@ -25,6 +25,9 @@ type RedirectToMobileRedirectingState = {
25
25
  redirectUrl: string;
26
26
  phonePrefix: string;
27
27
  smsSent: boolean;
28
+ smsFailed: boolean;
29
+ smsResendTimer: number;
30
+ canResendSms: boolean;
28
31
  error: string | undefined;
29
32
  };
30
33
  type RedirectToMobileFinishedState = {
@@ -45,6 +45,10 @@ const defaultRedirectToMobileServices = {
45
45
  //#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.ts
46
46
  const POLL_INTERVAL_MS = 5e3;
47
47
  const QR_REFRESH_INTERVAL_MS = 5e3;
48
+ const SMS_RESEND_TIMER_SECONDS = 30;
49
+ function canResendSmsFromContext(context) {
50
+ return !context.smsResendTimerActive && !context.smsFailed;
51
+ }
48
52
  function buildRedirectUrl(baseUrl, customUrl, config, urlUuid) {
49
53
  const uuid = getUrlSearchParam(baseUrl, "uuid") ?? "";
50
54
  return buildUrlWithSearchParams(customUrl ?? baseUrl, {
@@ -103,6 +107,17 @@ const redirectToMobileMachine = setup({
103
107
  uuid: input.uuid,
104
108
  params
105
109
  }, signal);
110
+ }),
111
+ smsResendTimer: fromCallback(({ input, sendBack }) => {
112
+ const timer = BrowserTimerProvider.getInstance();
113
+ let remaining = input.seconds;
114
+ if (remaining <= 0) return () => {};
115
+ const interval = timer.setInterval(() => {
116
+ sendBack({ type: "SMS_RESEND_TICK" });
117
+ remaining -= 1;
118
+ if (remaining <= 0) timer.clearInterval(interval);
119
+ }, 1e3);
120
+ return () => timer.clearInterval(interval);
106
121
  })
107
122
  },
108
123
  actions: {
@@ -118,12 +133,36 @@ const redirectToMobileMachine = setup({
118
133
  return { phonePrefix: event.output.phonePrefix };
119
134
  }),
120
135
  setError: assign(({ event }) => ({ error: String(event.error) })),
121
- setSmsSent: assign({ smsSent: () => true }),
136
+ completeSmsSend: assign(() => {
137
+ return {
138
+ smsSent: true,
139
+ smsFailed: false,
140
+ smsResendTimer: SMS_RESEND_TIMER_SECONDS,
141
+ smsResendTimerActive: true,
142
+ error: void 0
143
+ };
144
+ }),
122
145
  resetSmsSent: assign({
123
146
  smsSent: () => false,
147
+ smsFailed: () => false,
148
+ smsResendTimer: () => 0,
149
+ smsResendTimerActive: () => false,
124
150
  error: () => void 0
125
151
  }),
126
- setSmsError: assign(({ event }) => ({ error: String(event.error) })),
152
+ completeSmsFailure: assign(({ event }) => ({
153
+ smsSent: false,
154
+ smsFailed: true,
155
+ error: String(event.error),
156
+ smsResendTimer: 0,
157
+ smsResendTimerActive: false
158
+ })),
159
+ tickSmsResendTimer: assign(({ context }) => {
160
+ const newTimer = Math.max(0, context.smsResendTimer - 1);
161
+ return {
162
+ smsResendTimer: newTimer,
163
+ smsResendTimerActive: newTimer > 0
164
+ };
165
+ }),
127
166
  updateQrUrl: assign(({ context, event }) => {
128
167
  const { urlUuid } = event;
129
168
  return {
@@ -132,7 +171,10 @@ const redirectToMobileMachine = setup({
132
171
  };
133
172
  })
134
173
  },
135
- guards: { hasPhishingResistance: ({ context }) => context.config.qrPhishingResistance === true }
174
+ guards: {
175
+ hasPhishingResistance: ({ context }) => context.config.qrPhishingResistance === true,
176
+ canResendSms: ({ context }) => canResendSmsFromContext(context)
177
+ }
136
178
  }).createMachine({
137
179
  id: "redirectToMobile",
138
180
  initial: "idle",
@@ -144,6 +186,9 @@ const redirectToMobileMachine = setup({
144
186
  urlUuid: "",
145
187
  phonePrefix: "",
146
188
  smsSent: false,
189
+ smsFailed: false,
190
+ smsResendTimer: 0,
191
+ smsResendTimerActive: false,
147
192
  error: void 0
148
193
  }),
149
194
  states: {
@@ -215,14 +260,27 @@ const redirectToMobileMachine = setup({
215
260
  }),
216
261
  onDone: {
217
262
  target: "sent",
218
- actions: "setSmsSent"
263
+ actions: "completeSmsSend"
219
264
  },
220
- onError: {
221
- target: "idle",
222
- actions: "setSmsError"
223
- }
265
+ onError: [{
266
+ target: "sent",
267
+ actions: "completeSmsFailure"
268
+ }]
224
269
  } },
225
- sent: { on: { SEND_SMS: "sending" } }
270
+ sent: {
271
+ invoke: {
272
+ id: "smsResendTimer",
273
+ src: "smsResendTimer",
274
+ input: ({ context }) => ({ seconds: context.smsResendTimer })
275
+ },
276
+ on: {
277
+ SMS_RESEND_TICK: { actions: "tickSmsResendTimer" },
278
+ SEND_SMS: {
279
+ target: "sending",
280
+ guard: "canResendSms"
281
+ }
282
+ }
283
+ }
226
284
  }
227
285
  }
228
286
  },
@@ -241,4 +299,4 @@ const redirectToMobileMachine = setup({
241
299
  }
242
300
  });
243
301
  //#endregion
244
- export { defaultRedirectToMobileServices as n, redirectToMobileMachine as t };
302
+ export { redirectToMobileMachine as n, defaultRedirectToMobileServices as r, canResendSmsFromContext as t };
@@ -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-6sVLFiOS.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C6IocH9G.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-8qt4c6tR.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DjcsAq8u.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-DIhTwBBG.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BG79dEch.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-DyoAe6Uh.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-5iJjQHdZ.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-C6IocH9G.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DjcsAq8u.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-DIhTwBBG.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DyoAe6Uh.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-6sVLFiOS.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CWYb5Pry.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-8qt4c6tR.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B7udIDIL.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-oAi9ICPo.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-CMwm-WD5.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-oAi9ICPo.esm.js";
4
4
  import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
5
- import "./session-5JaQ3ELc.esm.js";
5
+ import "./session-BzSGKQL2.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-bbd74326";
1617
+ const SDK_VERSION = "0.0.0-dev-20260728-dcd649b0";
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-CMwm-WD5.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-oAi9ICPo.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-Cr7_BFYP.esm.js";
12
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-BcWQgzDl.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-DOqvwH5q.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BpjU9IYU.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-Cr7_BFYP.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BcWQgzDl.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-CWYb5Pry.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-B7udIDIL.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-DOqvwH5q.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BpjU9IYU.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -320,6 +320,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
320
320
  id: string | undefined;
321
321
  };
322
322
  }>, Values<{
323
+ setError: {
324
+ type: "setError";
325
+ params: NonReducibleUnknown;
326
+ };
323
327
  setLoadingResult: {
324
328
  type: "setLoadingResult";
325
329
  params: NonReducibleUnknown;
@@ -348,10 +352,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
348
352
  type: "setFinishStatusFailed";
349
353
  params: NonReducibleUnknown;
350
354
  };
351
- setError: {
352
- type: "setError";
353
- params: NonReducibleUnknown;
354
- };
355
355
  setModuleError: {
356
356
  type: "setModuleError";
357
357
  params: NonReducibleUnknown;
@@ -2,32 +2,32 @@ 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-CMwm-WD5.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-oAi9ICPo.esm.js";
6
6
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
7
- import { g as toEkybConfig } from "./flowServices-Cr7_BFYP.esm.js";
7
+ import { g as toEkybConfig } from "./flowServices-BcWQgzDl.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-oxArsYdg.esm.js";
14
+ import { t as authenticationMachine } from "./authenticationStateMachine-CwH4siI_.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-vndKNS03.esm.js";
21
+ import { t as ekybMachine } from "./ekybStateMachine-DmwnW772.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-DIhTwBBG.esm.js";
25
- import { t as idCaptureMachine } from "./idCaptureStateMachine-B-txehAH.esm.js";
24
+ import { t as selfieMachine } from "./selfieStateMachine-DyoAe6Uh.esm.js";
25
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-DuQgO4_L.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";
29
29
  import { t as idOcrStateMachine } from "./idOcrStateMachine-jfAyK4Bb.esm.js";
30
- import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D78eaxsp.esm.js";
30
+ import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
31
31
  import { t as geolocationMachine } from "./geolocationStateMachine-DxSETS9_.esm.js";
32
32
  import { t as idVerificationMachine } from "./idVerificationStateMachine-7BSciEJk.esm.js";
33
33
  import { t as faceMatchMachine } from "./faceMatchStateMachine-D_7UX1rV.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260728-bbd74326",
3
+ "version": "0.0.0-dev-20260728-dcd649b0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -1 +0,0 @@
1
- import "./sessionInitializer-CMwm-WD5.esm.js";