@incodetech/core 0.0.0-dev-20260812-d815489d → 0.0.0-dev-20260813-05be24fd

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 (78) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-MCXwNgkw.esm.js → BrowserDiagnosticsCryptoProvider-xWKH3i5m.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-NxOKXjwM.esm.js → apiError-Bh5jJDwa.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-BtNvLFrM.esm.js → authenticationManager-6X836UsH.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-D6o3iOsE.esm.js → authenticationStateMachine-CluMTpyq.esm.js} +3 -3
  7. package/dist/{backCameraStream-CUeYm5eu.esm.js → backCameraStream-BMGalshK.esm.js} +1 -1
  8. package/dist/camera.esm.js +1 -1
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-DLOyIZzt.d.ts} +1 -1
  11. package/dist/{deepsightLoader-Dsau38U1.esm.js → deepsightLoader-BNePv44d.esm.js} +3 -3
  12. package/dist/device.d.ts +11 -1
  13. package/dist/device.esm.js +24 -3
  14. package/dist/document-capture.d.ts +1 -1
  15. package/dist/document-capture.esm.js +2 -2
  16. package/dist/document-upload.d.ts +4 -4
  17. package/dist/document-upload.esm.js +1 -1
  18. package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-B4Kivr8_.d.ts} +5 -5
  19. package/dist/{documentCaptureManager-DszmcU-l.esm.js → documentCaptureManager-CaXWUo_N.esm.js} +1 -1
  20. package/dist/{documentCaptureStateMachine-D2jBwwVb.esm.js → documentCaptureStateMachine-DpWiaUPB.esm.js} +3 -3
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-Dz4Fhu6e.esm.js → dynamicFormsManager-C3XilJZS.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-CgptZMHY.esm.js → dynamicFormsStateMachine-Uwpvzltz.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +3 -3
  25. package/dist/{ekybManager-BVs8Wy7X.esm.js → ekybManager-BhTcRAYK.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-Rg7YTCug.esm.js → ekybStateMachine-Bc5HqKSs.esm.js} +1 -1
  27. package/dist/electronic-signature.esm.js +1 -1
  28. package/dist/{electronicSignatureManager-DeMepXDO.esm.js → electronicSignatureManager-DEisiQdJ.esm.js} +1 -1
  29. package/dist/extensibility.d.ts +5 -5
  30. package/dist/extensibility.esm.js +10 -10
  31. package/dist/{faceCaptureManagerFactory-D3Z-muvK.esm.js → faceCaptureManagerFactory-JLijMm7I.esm.js} +2 -2
  32. package/dist/{faceCaptureSetup-DXmSGArd.esm.js → faceCaptureSetup-ClcArckT.esm.js} +4 -4
  33. package/dist/fiscal-qr.esm.js +1 -1
  34. package/dist/flow.esm.js +3 -3
  35. package/dist/{flowCompletionService-C-3-pFwh.esm.js → flowCompletionService-C4KEty23.esm.js} +1 -1
  36. package/dist/{flowServices-BlKkpE6n.esm.js → flowServices-ENHThXD2.esm.js} +3 -3
  37. package/dist/geolocation.esm.js +2 -2
  38. package/dist/{geolocationManager-Nt1s4X5N.esm.js → geolocationManager-ATdWrkpX.esm.js} +1 -1
  39. package/dist/{geolocationStateMachine-0_rVQgAj.esm.js → geolocationStateMachine-DybB2P4f.esm.js} +2 -2
  40. package/dist/{getDeviceClass-9y-kbVDw.esm.js → getDeviceClass-Sh0zhEv7.esm.js} +1 -1
  41. package/dist/id-ocr.d.ts +1 -1
  42. package/dist/id-selfie-flow.esm.js +7 -7
  43. package/dist/id.esm.js +3 -3
  44. package/dist/{idCaptureManager-LP_8NlkN.esm.js → idCaptureManager-ujFKf8cX.esm.js} +3 -3
  45. package/dist/{idCaptureServices-Dmh8Zwqh.esm.js → idCaptureServices-BgLU7pXx.esm.js} +5 -5
  46. package/dist/{idCaptureStateMachine-Dlwiu7vC.esm.js → idCaptureStateMachine-HCtXk2AZ.esm.js} +10 -10
  47. package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-dLuxey6y.d.ts} +1 -1
  48. package/dist/identity-reuse.d.ts +1 -1
  49. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-D6pD4hcZ.d.ts} +1 -1
  50. package/dist/index.esm.js +1 -1
  51. package/dist/mandatory-consent.d.ts +1 -1
  52. package/dist/{mandatoryConsentManager-CVxw-noP.d.ts → mandatoryConsentManager-UOu4V9jm.d.ts} +1 -1
  53. package/dist/{mediaRecorderOptions-dALSV8af.esm.js → mediaRecorderOptions-vXDI73LZ.esm.js} +1 -1
  54. package/dist/{onDeviceFaceResults-BWDrvDvG.esm.js → onDeviceFaceResults-B5rPzpoQ.esm.js} +5 -5
  55. package/dist/{permissionGuards-KINpmKtI.esm.js → permissionGuards-D2OgV9XX.esm.js} +1 -1
  56. package/dist/{permissionServices-UvUcOSRb.esm.js → permissionServices-B7sMtZ8f.esm.js} +1 -1
  57. package/dist/personhood.esm.js +4 -4
  58. package/dist/{platform-BJrm5nzZ.esm.js → platform-Q4r1nvWX.esm.js} +4 -1
  59. package/dist/qe-signature.esm.js +1 -1
  60. package/dist/{recordingService-BeWTqCod.esm.js → recordingService-CQh6Gr_i.esm.js} +3 -3
  61. package/dist/{runChildModule-BtPfbpAF.esm.js → runChildModule-CFPsnusY.esm.js} +1 -1
  62. package/dist/selfie.esm.js +5 -5
  63. package/dist/{selfieErrorUtils-_3npmJFa.esm.js → selfieErrorUtils-ArUCoICg.esm.js} +1 -1
  64. package/dist/{selfieManager-Bz-C2_TA.esm.js → selfieManager-C0g7Vp_-.esm.js} +2 -2
  65. package/dist/{selfieStateMachine-37RTRq0J.esm.js → selfieStateMachine-f41JbQGR.esm.js} +3 -3
  66. package/dist/{session-DcLSQGD4.esm.js → session-VxbK3Pak.esm.js} +4 -4
  67. package/dist/session.esm.js +4 -4
  68. package/dist/{sessionInitializer-Cf4454sK.esm.js → sessionInitializer-0N6YWECx.esm.js} +3 -3
  69. package/dist/{setup-rfEug5XR.esm.js → setup-iGHmYqSo.esm.js} +4 -4
  70. package/dist/trueSight-BrXyaPMg.esm.js +1 -0
  71. package/dist/{trueSightService-BZmXBTxe.esm.js → trueSightService-Co1FQU5u.esm.js} +2 -2
  72. package/dist/video-selfie.esm.js +4 -4
  73. package/dist/{videoSelfieCameraWarmer-D83Oy3Wz.esm.js → videoSelfieCameraWarmer-DfwzFg2z.esm.js} +5 -5
  74. package/dist/wasm.esm.js +1 -1
  75. package/dist/workflow.d.ts +4 -4
  76. package/dist/workflow.esm.js +15 -15
  77. package/package.json +1 -1
  78. package/dist/trueSight-CNDDfLHG.esm.js +0 -1
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("/PdX728nVz+GbsCl8DfGXi/g0SZSgZI2L/pgPCTtKkA=", "OiE1depJflmsBwgGrYFT/FuNRA3xYRVe8DuiUSCQybI=");
21
+ const key = decodeTruesightKey("tcom+sye8FwdTHqRdO3U4jZ52EhZYMQDVYRcMWTViuk=", "RB04NdLp1xCRdh2lFCYwZ3k3cIkrc6lHaTLMWsHG/Mg=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DeMepXDO.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DEisiQdJ.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-BZmXBTxe.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Co1FQU5u.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-D6o3iOsE.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BtNvLFrM.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CluMTpyq.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-6X836UsH.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D3Z-muvK.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-D6o3iOsE.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-JLijMm7I.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CluMTpyq.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.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-DXmSGArd.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BWDrvDvG.esm.js";
8
- import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-ClcArckT.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B5rPzpoQ.esm.js";
8
+ import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
11
11
  const AUTH_ERROR_MAP = {
@@ -1,4 +1,4 @@
1
- import { i as isIOS, o as isIPhone14OrHigher, r as isDesktop, s as isSafari, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
1
+ import { a as isIOS, c as isSafari, i as isDesktop, s as isIPhone14OrHigher, t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
2
2
  import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-_2sXMXiF.esm.js";
3
3
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
4
4
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -97,7 +97,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
100
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
100
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
101
101
  readonly id: "consent";
102
102
  readonly initial: "idle";
103
103
  readonly context: ({ input }: {
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-BZmXBTxe.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-Cf4454sK.esm.js";
5
- import "./trueSight-CNDDfLHG.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Co1FQU5u.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-0N6YWECx.esm.js";
5
+ import "./trueSight-BrXyaPMg.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
package/dist/device.d.ts CHANGED
@@ -30,6 +30,16 @@ declare class ScreenOrientationProvider implements IScreenOrientationCapability
30
30
  type Browser = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'other' | 'samsung_browser';
31
31
  declare function getBrowser(): Browser;
32
32
  //#endregion
33
+ //#region src/internal/device/browserSupportClassification.d.ts
34
+ /** iOS/iPadOS/macOS — the only platforms where Safari is a supported option. */
35
+ declare function isApplePlatform(): boolean;
36
+ /**
37
+ * Whether capture/WASM are known to work in the current browser.
38
+ * WebView: always. Firefox/Brave: never. Apple platforms: Safari or Chrome.
39
+ * Everywhere else: Chrome only.
40
+ */
41
+ declare function isSupportedBrowser(): boolean;
42
+ //#endregion
33
43
  //#region src/internal/device/getDeviceClass.d.ts
34
44
  type DeviceClass = 'ios' | 'android' | 'desktop';
35
45
  declare function getDeviceClass(): DeviceClass;
@@ -51,4 +61,4 @@ type ScreenOrientationObserver = {
51
61
  };
52
62
  declare function createScreenOrientationObserver(provider: IScreenOrientationCapability, deviceClass: DeviceClass): ScreenOrientationObserver;
53
63
  //#endregion
54
- export { type Browser, type DeviceClass, type ScreenOrientationObserver, ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isDesktopDeviceEmulation, isDesktopOrEmulated, isIPad };
64
+ export { type Browser, type DeviceClass, type ScreenOrientationObserver, ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isApplePlatform, isDesktopDeviceEmulation, isDesktopOrEmulated, isIPad, isSupportedBrowser };
@@ -1,7 +1,28 @@
1
- import { a as isIPad, c as isTabletWithoutAndroid } from "./platform-BJrm5nzZ.esm.js";
1
+ import { a as isIOS, l as isTabletWithoutAndroid, n as isAndroidWebView, o as isIPad, r as isBraveBrowser } from "./platform-Q4r1nvWX.esm.js";
2
+ import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
2
3
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
3
4
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
4
- import { t as getDeviceClass } from "./getDeviceClass-9y-kbVDw.esm.js";
5
+ import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
6
+ //#region src/internal/device/browserSupportClassification.ts
7
+ const APPLE_PLATFORM_SUPPORTED_BROWSERS = /* @__PURE__ */ new Set(["safari", "chrome"]);
8
+ /** iOS/iPadOS/macOS — the only platforms where Safari is a supported option. */
9
+ function isApplePlatform() {
10
+ const userAgent = getUserAgent();
11
+ return isIOS(userAgent) || /Mac OS/i.test(userAgent);
12
+ }
13
+ /**
14
+ * Whether capture/WASM are known to work in the current browser.
15
+ * WebView: always. Firefox/Brave: never. Apple platforms: Safari or Chrome.
16
+ * Everywhere else: Chrome only.
17
+ */
18
+ function isSupportedBrowser() {
19
+ if (isAndroidWebView()) return true;
20
+ const browser = getBrowser();
21
+ if (browser === "firefox" || isBraveBrowser()) return false;
22
+ if (isApplePlatform()) return APPLE_PLATFORM_SUPPORTED_BROWSERS.has(browser);
23
+ return browser === "chrome";
24
+ }
25
+ //#endregion
5
26
  //#region src/internal/device/redirectDeviceClassification.ts
6
27
  /**
7
28
  * Conservative redirect-specific check. A mobile identity must also expose an
@@ -104,4 +125,4 @@ var ScreenOrientationProvider = class {
104
125
  }
105
126
  };
106
127
  //#endregion
107
- export { ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isDesktopDeviceEmulation, isDesktopOrEmulated, isIPad };
128
+ export { ScreenOrientationProvider, createScreenOrientationObserver, getBrowser, getDeviceClass, isApplePlatform, isDesktopDeviceEmulation, isDesktopOrEmulated, isIPad, isSupportedBrowser };
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-B4Kivr8_.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,3 +1,3 @@
1
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-D2jBwwVb.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DszmcU-l.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DpWiaUPB.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-CaXWUo_N.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -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;
@@ -4,7 +4,7 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
8
8
  //#region src/modules/document-upload/documentUploadServices.ts
9
9
  async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
10
10
  const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
@@ -98,10 +98,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
98
98
  id: string | undefined;
99
99
  };
100
100
  }>, Values<{
101
- decrementAttemptsRemaining: {
102
- type: "decrementAttemptsRemaining";
103
- params: NonReducibleUnknown;
104
- };
105
101
  setStream: {
106
102
  type: "setStream";
107
103
  params: NonReducibleUnknown;
@@ -118,6 +114,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
118
114
  type: "stopStream";
119
115
  params: NonReducibleUnknown;
120
116
  };
117
+ decrementAttemptsRemaining: {
118
+ type: "decrementAttemptsRemaining";
119
+ params: NonReducibleUnknown;
120
+ };
121
121
  setCapturedDocument: {
122
122
  type: "setCapturedDocument";
123
123
  params: NonReducibleUnknown;
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
251
251
  type: "fileSizeOkForNonGallery";
252
252
  params: unknown;
253
253
  };
254
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "tutorial" | "preview" | "failure" | "nextPage" | "finalizing" | {
254
+ }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "failure" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
255
255
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
256
256
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
257
257
  readonly id: "documentCapture";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.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 { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-D2jBwwVb.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DpWiaUPB.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -3,9 +3,9 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { 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 { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
6
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
8
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.esm.js";
6
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
8
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
11
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CgptZMHY.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Dz4Fhu6e.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Uwpvzltz.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-C3XilJZS.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.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 dynamicFormsMachine } from "./dynamicFormsStateMachine-CgptZMHY.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Uwpvzltz.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-NxOKXjwM.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-Bh5jJDwa.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 { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
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-BlKkpE6n.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Rg7YTCug.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-BVs8Wy7X.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-ENHThXD2.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Bc5HqKSs.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BhTcRAYK.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-CxfNJVZW.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-Rg7YTCug.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Bc5HqKSs.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-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.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-BlKkpE6n.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-ENHThXD2.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-DQyrvDQj.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-DeMepXDO.esm.js";
1
+ import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-DEisiQdJ.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-NxOKXjwM.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Bh5jJDwa.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -11,10 +11,10 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
11
11
  import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Cyiwbg-r.js";
12
12
  import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DlAKn0rp.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-D8DEugXP.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
15
15
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BxWhpCLA.js";
17
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js";
17
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B4Kivr8_.js";
18
18
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
19
19
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
20
20
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
@@ -23,10 +23,10 @@ import { n as CaptureIdResponse } from "./types-GqIocZi-2.js";
23
23
  import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DCypF_2I.js";
24
24
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
25
25
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
26
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
26
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-D6pD4hcZ.js";
27
27
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
28
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CVxw-noP.js";
29
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
28
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-UOu4V9jm.js";
29
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-dLuxey6y.js";
30
30
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
31
31
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
32
32
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
@@ -1,22 +1,22 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-Cf4454sK.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-0N6YWECx.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DeMepXDO.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DEisiQdJ.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-B8Plzf7a.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DXmSGArd.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BtNvLFrM.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-ClcArckT.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-6X836UsH.esm.js";
10
10
  import { n as createConsentManagerFromActor } from "./consentManager-BApTlfA0.esm.js";
11
11
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-OmYvyung.esm.js";
12
12
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-UZxcrsrz.esm.js";
13
- import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DszmcU-l.esm.js";
14
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Dz4Fhu6e.esm.js";
15
- import { n as createEkybManagerFromActor } from "./ekybManager-BVs8Wy7X.esm.js";
13
+ import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CaXWUo_N.esm.js";
14
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-C3XilJZS.esm.js";
15
+ import { n as createEkybManagerFromActor } from "./ekybManager-BhTcRAYK.esm.js";
16
16
  import { n as createEkycManagerFromActor } from "./ekycManager-oTstTJuL.esm.js";
17
17
  import { n as createEmailManagerFromActor } from "./emailManager-tE-YvNtS.esm.js";
18
- import { n as createSelfieManagerFromActor } from "./selfieManager-Bz-C2_TA.esm.js";
19
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-LP_8NlkN.esm.js";
18
+ import { n as createSelfieManagerFromActor } from "./selfieManager-C0g7Vp_-.esm.js";
19
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-ujFKf8cX.esm.js";
20
20
  import { n as createPhoneManagerFromActor } from "./phoneManager-Cpiai2IM.esm.js";
21
21
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CjSMmbyq.esm.js";
22
22
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-D5vXknnJ.esm.js";
@@ -25,7 +25,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
25
25
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-CvJZhmBR.esm.js";
26
26
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-C0dfc7f6.esm.js";
27
27
  import { n as createSignatureManagerFromActor } from "./signatureManager-DdPgcmou.esm.js";
28
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Nt1s4X5N.esm.js";
28
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-ATdWrkpX.esm.js";
29
29
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-CduNXhWd.esm.js";
30
30
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BXp2WUT-.esm.js";
31
31
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,10 +1,10 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-CxfNJVZW.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 { r as concealmentToAvatar } from "./faceCaptureSetup-DXmSGArd.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-ClcArckT.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-UvUcOSRb.esm.js";
7
+ import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B7sMtZ8f.esm.js";
8
8
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
9
9
  function getPermissionStatus(snapshot) {
10
10
  if (!snapshot.matches("permissions")) return;
@@ -1,14 +1,14 @@
1
1
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as sendTo, 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
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BWDrvDvG.esm.js";
4
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B7sMtZ8f.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-B5rPzpoQ.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.esm.js";
9
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D2OgV9XX.esm.js";
10
10
  import { n as flagFaceManualReview, t as imageFileToDataUrl } from "./imageFile-DutiOU7n.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-BeWTqCod.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-CQh6Gr_i.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -5,7 +5,7 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
5
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
8
- import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
8
+ import { n as getBackCameraStream } from "./backCameraStream-BMGalshK.esm.js";
9
9
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
10
10
  import { BrowserQRCodeReader } from "@zxing/browser";
11
11
  //#region src/modules/fiscal-qr/fiscalQrConstants.ts
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-CxfNJVZW.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-BlKkpE6n.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-ENHThXD2.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-C-3-pFwh.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BtPfbpAF.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-C4KEty23.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CFPsnusY.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-NxOKXjwM.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-Bh5jJDwa.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { E as updateFeatureManagementUser } from "./feature-management-DS_Nj5Gg.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Cf4454sK.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-0N6YWECx.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-NxOKXjwM.esm.js";
6
- import "./session-DcLSQGD4.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-Bh5jJDwa.esm.js";
6
+ import "./session-VxbK3Pak.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-Nt1s4X5N.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-0_rVQgAj.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-ATdWrkpX.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-DybB2P4f.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-0_rVQgAj.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-DybB2P4f.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { i as isIOS, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
4
- import { n as isConnectivityError } from "./apiError-NxOKXjwM.esm.js";
3
+ import { a as isIOS, t as isAndroid } from "./platform-Q4r1nvWX.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-Bh5jJDwa.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,5 +1,5 @@
1
1
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
2
- import { c as isTabletWithoutAndroid } from "./platform-BJrm5nzZ.esm.js";
2
+ import { l as isTabletWithoutAndroid } from "./platform-Q4r1nvWX.esm.js";
3
3
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
4
4
  //#region src/internal/device/getDeviceClass.ts
5
5
  function getDeviceClass() {
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-dLuxey6y.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -1,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-rfEug5XR.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-iGHmYqSo.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-BlKkpE6n.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-ENHThXD2.esm.js";
5
5
  import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BWDrvDvG.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-B5rPzpoQ.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
- import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-_3npmJFa.esm.js";
9
+ import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-ArUCoICg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-WeHbQM7W.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-Dmh8Zwqh.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-C-3-pFwh.esm.js";
14
- import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-D83Oy3Wz.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-BgLU7pXx.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-C4KEty23.esm.js";
14
+ import { a as delay, c as isWrongVideoSelfieIdSide, n as defaultAcquireCamera, r as CameraCompositor, s as isSelfieValidationError } from "./videoSelfieCameraWarmer-DfwzFg2z.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;