@incodetech/core 2.3.0-rc.2 → 2.3.0-rc.3

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 (67) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-Crg8fwBl.esm.js → BrowserDiagnosticsCryptoProvider-C2E4mGEX.esm.js} +1 -1
  2. package/dist/{FaceDetectionProvider-i55W_Jkj.esm.js → FaceDetectionProvider-DAVK6BAe.esm.js} +4 -4
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-DcnaKSwk.esm.js → apiError-BArJSmSN.esm.js} +1 -1
  5. package/dist/authentication.d.ts +2 -2
  6. package/dist/authentication.esm.js +2 -2
  7. package/dist/{authenticationManager-D-UWdyhr.esm.js → authenticationManager-DNciG_Ri.esm.js} +3 -3
  8. package/dist/{authenticationManager-CjXBjC-c.d.ts → authenticationManager-DcTHmYmL.d.ts} +1 -1
  9. package/dist/{authenticationStateMachine-Cklrmjfo.esm.js → authenticationStateMachine-BFOcuSH6.esm.js} +2 -2
  10. package/dist/consent.d.ts +1 -1
  11. package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
  12. package/dist/{deepsightLoader-BNDIPbEK.esm.js → deepsightLoader-DPJZSnHo.esm.js} +3 -3
  13. package/dist/document-capture.d.ts +1 -1
  14. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
  15. package/dist/dynamic-forms.esm.js +2 -2
  16. package/dist/{dynamicFormsManager-DOu0Xgs0.esm.js → dynamicFormsManager-BDi3ffWG.esm.js} +1 -1
  17. package/dist/{dynamicFormsStateMachine-DehYndAZ.esm.js → dynamicFormsStateMachine-B7-mpYDT.esm.js} +1 -1
  18. package/dist/ekyb.esm.js +3 -3
  19. package/dist/{ekybManager-CCcz4-FC.esm.js → ekybManager-BfpqWpNP.esm.js} +1 -1
  20. package/dist/{ekybStateMachine-xesYf5pK.esm.js → ekybStateMachine-BGnzaF__.esm.js} +1 -1
  21. package/dist/electronic-signature.esm.js +1 -1
  22. package/dist/{electronicSignatureManager-8VGN2aKU.esm.js → electronicSignatureManager-Bc8MLmTL.esm.js} +1 -1
  23. package/dist/extensibility.d.ts +7 -7
  24. package/dist/extensibility.esm.js +10 -10
  25. package/dist/{faceCaptureManagerFactory-BeUl8fl1.d.ts → faceCaptureManagerFactory-Cx-8SqRy.d.ts} +45 -37
  26. package/dist/{faceCaptureManagerFactory-Bl6EffXD.esm.js → faceCaptureManagerFactory-qPW__uXd.esm.js} +1 -1
  27. package/dist/{faceCaptureSetup-CDGmqC8J.esm.js → faceCaptureSetup-DpM1YYl9.esm.js} +243 -42
  28. package/dist/{feature-management-J3rr-HDW.esm.js → feature-management-Bzr9uaS4.esm.js} +1 -1
  29. package/dist/feature-management.esm.js +1 -1
  30. package/dist/flow.esm.js +3 -3
  31. package/dist/{flowCompletionService-CayNS1FR.esm.js → flowCompletionService-D0qKFy5Y.esm.js} +1 -1
  32. package/dist/{flowServices-DX5ygAyn.esm.js → flowServices-CnyFU9Bz.esm.js} +4 -4
  33. package/dist/geolocation.esm.js +2 -2
  34. package/dist/{geolocationManager-DYXuNsN2.esm.js → geolocationManager-BqM__4xb.esm.js} +1 -1
  35. package/dist/{geolocationStateMachine-C-37vSiR.esm.js → geolocationStateMachine-DpxY4O3h.esm.js} +1 -1
  36. package/dist/id-selfie-flow.esm.js +8 -7
  37. package/dist/id.esm.js +3 -3
  38. package/dist/idCaptureDefaults-Cd-qOMUt.esm.js +282 -0
  39. package/dist/{idCaptureManager-BFtpmjsP.esm.js → idCaptureManager-CO4WBQQN.esm.js} +3 -3
  40. package/dist/{idCaptureServices-C7aPT72E.esm.js → idCaptureServices-CFuKdAW7.esm.js} +4 -4
  41. package/dist/{idCaptureStateMachine-BEbzg_R1.esm.js → idCaptureStateMachine-CzyZ_21z.esm.js} +9 -9
  42. package/dist/identity-reuse.d.ts +1 -1
  43. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  44. package/dist/index.esm.js +1 -1
  45. package/dist/mandatory-consent.d.ts +1 -1
  46. package/dist/{mandatoryConsentManager-vhv1co_n.d.ts → mandatoryConsentManager-Csfl7_XQ.d.ts} +4 -4
  47. package/dist/{multipartRecordingService-OEgIRvqC.esm.js → multipartRecordingService-CuXLH4tK.esm.js} +446 -1
  48. package/dist/personhood.esm.js +4 -4
  49. package/dist/qe-signature.esm.js +1 -1
  50. package/dist/{runChildModule-CT0aKjFV.esm.js → runChildModule-CTeh8a1T.esm.js} +1 -1
  51. package/dist/{sdkVersion-DTrl2Jm7.esm.js → sdkVersion-DYlnESxD.esm.js} +1 -1
  52. package/dist/selfie.d.ts +2 -2
  53. package/dist/selfie.esm.js +5 -5
  54. package/dist/{selfieManager-0gvnAH1m.esm.js → selfieManager-CFGf-DmP.esm.js} +3 -3
  55. package/dist/{selfieManager-4RRLi21P.d.ts → selfieManager-jXqwqosi.d.ts} +1 -1
  56. package/dist/{selfieStateMachine-rfneTd9x.esm.js → selfieStateMachine-BJVwANex.esm.js} +2 -2
  57. package/dist/{session-ZAdron5D.esm.js → session-Cs6z9Stj.esm.js} +3 -3
  58. package/dist/session.esm.js +4 -4
  59. package/dist/{sessionInitializer-C1A6s33W.esm.js → sessionInitializer-DKCQfxZ2.esm.js} +3 -3
  60. package/dist/{setup-6e71xCI7.esm.js → setup-B-qr0dC6.esm.js} +4 -4
  61. package/dist/{trueSightService-DJ1kSDlH.esm.js → trueSightService-De306VXK.esm.js} +3 -3
  62. package/dist/video-selfie.esm.js +4 -5
  63. package/dist/{videoSelfieCameraWarmer-BqXupt3L.esm.js → videoSelfieCameraWarmer-BRz5aQPN.esm.js} +3 -3
  64. package/dist/wasm.esm.js +1 -1
  65. package/dist/workflow.esm.js +14 -14
  66. package/package.json +3 -3
  67. package/dist/idCaptureDefaults-CxOh31Xf.esm.js +0 -727
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("jT5DPJyD2sQpjj8PR9D+0VtNK2XUiYSC1QUif1VzjxQ=", "xWN2BHTsKihlE9v1CQyoU7ty7roWWZoqXcHh1yiGfUg=");
21
+ const key = decodeTruesightKey("o8WNglnINDnqDqpgkjTyMiwwS8Ae0RFbir/NPb7aaKY=", "f4w0790LmAae3WUwQuJVkDvngW/yVXldIKFEHXATpBc=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,8 +1,8 @@
1
- import { t as ensureWasmPipelines } from "./setup-6e71xCI7.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B-qr0dC6.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-CUUnwYxe.esm.js";
3
3
  import { i as BaseWasmProvider } from "./safeStorage-B-trhxg6.esm.js";
4
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DJ1kSDlH.esm.js";
5
- import "./sessionInitializer-C1A6s33W.esm.js";
4
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-De306VXK.esm.js";
5
+ import "./sessionInitializer-DKCQfxZ2.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-CZcy2J53.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
@@ -156,7 +156,7 @@ function startDetection(params) {
156
156
  };
157
157
  }
158
158
  async function initializeDeepsightSession(options) {
159
- const { loadDeepsightSession } = await import("./deepsightLoader-BNDIPbEK.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-DPJZSnHo.esm.js");
160
160
  return loadDeepsightSession({
161
161
  ds: options.ds,
162
162
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-8VGN2aKU.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Bc8MLmTL.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-DJ1kSDlH.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-De306VXK.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BeUl8fl1.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-Cx-8SqRy.js";
2
2
  import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-DcTHmYmL.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-Cklrmjfo.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D-UWdyhr.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BFOcuSH6.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DNciG_Ri.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-6e71xCI7.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B-qr0dC6.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Bl6EffXD.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-Cklrmjfo.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-qPW__uXd.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BFOcuSH6.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-CQQ99QOI.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BeUl8fl1.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-Cx-8SqRy.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CDGmqC8J.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-i55W_Jkj.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DpM1YYl9.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-DAVK6BAe.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { s as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-CX3hJGKc.esm.js";
7
7
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-BhYFeKiG.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-uhDPdU6i.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,14 +78,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
- setConsentData: {
82
- type: "setConsentData";
83
- params: NonReducibleUnknown;
84
- };
85
- toggleCheckbox: {
86
- type: "toggleCheckbox";
87
- params: NonReducibleUnknown;
88
- };
89
81
  clearError: {
90
82
  type: "clearError";
91
83
  params: NonReducibleUnknown;
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
86
  type: "resetContext";
95
87
  params: NonReducibleUnknown;
96
88
  };
89
+ setConsentData: {
90
+ type: "setConsentData";
91
+ params: NonReducibleUnknown;
92
+ };
93
+ toggleCheckbox: {
94
+ type: "toggleCheckbox";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,7 +1,7 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
2
- import { l as trueSightLog } from "./trueSightService-DJ1kSDlH.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-C1A6s33W.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-DTrl2Jm7.esm.js";
2
+ import { l as trueSightLog } from "./trueSightService-De306VXK.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-DKCQfxZ2.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-DYlnESxD.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.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 };
@@ -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" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
254
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "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,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DehYndAZ.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DOu0Xgs0.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B7-mpYDT.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-BDi3ffWG.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DehYndAZ.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-B7-mpYDT.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-B-3Q-LUw.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-DcnaKSwk.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BArJSmSN.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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 { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-DX5ygAyn.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-xesYf5pK.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-CCcz4-FC.esm.js";
1
+ import { A as isSupportedCountry, O as SUPPORTED_COUNTRIES, b as ALL_COUNTRIES, v as toEkybConfig, w as DEV_ONLY_COUNTRIES } from "./flowServices-CnyFU9Bz.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BGnzaF__.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BfpqWpNP.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-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-xesYf5pK.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BGnzaF__.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-B-3Q-LUw.esm.js";
3
- import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-DX5ygAyn.esm.js";
3
+ import { A as isSupportedCountry, C as COUNTRIES_WITH_CNPJ_VALIDATION, D as INVALID_CNPJ_PATTERNS, E as FIELD_ORDER, S as CNPJ_SECOND_DIGIT_FACTORS, T as FIELD_NAME_MAPPING, _ as sortModulesByOrder, b as ALL_COUNTRIES, g as requiresAddressValidation, h as isFieldOptional, k as UBO_FIELD_LABELS, m as hasAtLeastOneAddressField, n as getFlow, v as toEkybConfig, x as CNPJ_FIRST_DIGIT_FACTORS, y as ADDRESS_FIELDS } from "./flowServices-CnyFU9Bz.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.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-DyHGgeX8.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-8VGN2aKU.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Bc8MLmTL.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, 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-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-B-3Q-LUw.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-DcnaKSwk.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BArJSmSN.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -5,31 +5,31 @@ import "./Actor-iTq7YY48.js";
5
5
  import { c as ElectronicSignatureFileDataHolder } from "./types-D0gekt4U.js";
6
6
  import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-Ds-KEVTq.js";
7
7
  import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
8
- import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-BeUl8fl1.js";
8
+ import { b as AuthenticationActor, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, h as ProcessFaceResponse, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, y as SendFaceImageResponse } from "./faceCaptureManagerFactory-Cx-8SqRy.js";
9
9
  import "./createFaceAvatar-BlcTYgJv.js";
10
10
  import { i as IStorageCapability } from "./IWasmUtilCapability-CNWRl7jr.js";
11
11
  import "./StreamCanvasCapture-_8gdW5Lk.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CjXBjC-c.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DcTHmYmL.js";
13
13
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-DCgEidHz.js";
14
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-BhYFeKiG.js";
14
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.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-SSKNrm5Z.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-8-W2KY4n.js";
18
18
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
19
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DensIj5F.js";
19
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
20
20
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-D5R_uxLQ.js";
21
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
23
23
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
24
- import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-4RRLi21P.js";
24
+ import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-jXqwqosi.js";
25
25
  import { i as CaptureIdResponse } from "./types-byBHOzCG2.js";
26
26
  import { B as WasmUtilProvider, d as IdCaptureActor, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-De7O0TOD.js";
27
27
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-CsnJnG-C.js";
30
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
30
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-BFDI7iFK.js";
31
31
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
32
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-vhv1co_n.js";
32
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Csfl7_XQ.js";
33
33
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BF_cXZq8.js";
34
34
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
35
35
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-6e71xCI7.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B-qr0dC6.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-B-trhxg6.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-C1A6s33W.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-DKCQfxZ2.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-8VGN2aKU.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-Bc8MLmTL.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DNkw66oW.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CDGmqC8J.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D-UWdyhr.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DpM1YYl9.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DNciG_Ri.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-C3-CI0_s.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-B6E1XJDw.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-9XhFVZ5S.esm.js";
@@ -14,12 +14,12 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-CzWZTkW-.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DWTED5Ur.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-CwAiM9WY.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DOu0Xgs0.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-CCcz4-FC.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BDi3ffWG.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-BfpqWpNP.esm.js";
19
19
  import { n as createEkycManagerFromActor } from "./ekycManager-BlQ-Qj4E.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-bR1N5rV_.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-0gvnAH1m.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-BFtpmjsP.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-CFGf-DmP.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CO4WBQQN.esm.js";
23
23
  import { n as createPhoneManagerFromActor } from "./phoneManager-IjhSv5XS.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-CixcLNDT.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CIMkpEhu.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-r46XfZGE.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-FLEWJtv8.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-B72np4ZO.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DYXuNsN2.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-BqM__4xb.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-CacFOtKO.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-DT42c77H.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Bmv0HzuY.esm.js";
@@ -28,6 +28,51 @@ type CreateAuthenticationActorOptions = {
28
28
  type AuthenticationActor = ActorRefFrom<AuthenticationMachine>;
29
29
  declare function createAuthenticationActor(options: CreateAuthenticationActorOptions): AuthenticationActor;
30
30
  //#endregion
31
+ //#region src/internal/faceCapture/recordingService.d.ts
32
+ type RecordingService = {
33
+ start(stream: MediaStream): Promise<void>;
34
+ /**
35
+ * Prepares the recording metadata needed by the face-image upload.
36
+ *
37
+ * Local video-liveness recordings must stop here because their upload id is
38
+ * sent with the image. Scoped face recordings return no legacy id, pause at
39
+ * the end of each attempt, and resume the same upload after a rejection; the
40
+ * state machine finalizes them only after the backend accepts the capture.
41
+ */
42
+ prepareUpload(): Promise<{
43
+ recordingId: string | null;
44
+ }>;
45
+ stop(): Promise<{
46
+ recordingId: string | null;
47
+ }>;
48
+ /** Best-effort page-background handling for protected camera cycles. */
49
+ pauseForBackground?(): void;
50
+ /** Resumes the same recorder after its protected presentation track recovers. */
51
+ resumeFromBackground?(stream: MediaStream): Promise<void>;
52
+ /**
53
+ * Present only on step-scoped services (one recording per capture step,
54
+ * ENG-56648). Ends the recorder's camera clone synchronously and pauses the
55
+ * container without completing the upload; the next `start(stream)` resumes
56
+ * it with a fresh clone and the step owner completes it with `stop()`.
57
+ * Idempotent, and a no-op once the recording is completing.
58
+ */
59
+ suspend?(): void;
60
+ /**
61
+ * Stops the recorder and returns the raw (un-encrypted, not uploaded)
62
+ * video as base64. Used by the captureOnly flow, which hands video bytes
63
+ * to the integrator via `onCapture` instead of uploading to Incode.
64
+ *
65
+ * Returns `{ videoBase64: undefined }` when video is not available for
66
+ * any reason, including:
67
+ * - the recorder was never started or is already stopped,
68
+ * - video assembly fails.
69
+ */
70
+ stopAndGetVideo(): Promise<{
71
+ videoBase64: string | undefined;
72
+ }>;
73
+ cleanup(): void;
74
+ };
75
+ //#endregion
31
76
  //#region src/modules/selfie/types.d.ts
32
77
  /**
33
78
  * Public selfie configuration.
@@ -79,43 +124,6 @@ type ProcessFaceResponse = {
79
124
  };
80
125
  declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
81
126
  //#endregion
82
- //#region src/internal/faceCapture/recordingService.d.ts
83
- type RecordingService = {
84
- start(stream: MediaStream): Promise<void>;
85
- /**
86
- * Prepares the recording metadata needed by the face-image upload.
87
- *
88
- * Local video-liveness recordings must stop here because their upload id is
89
- * sent with the image. Scoped face recordings return no legacy id, pause at
90
- * the end of each attempt, and resume the same upload after a rejection; the
91
- * state machine finalizes them only after the backend accepts the capture.
92
- */
93
- prepareUpload(): Promise<{
94
- recordingId: string | null;
95
- }>;
96
- stop(): Promise<{
97
- recordingId: string | null;
98
- }>;
99
- /** Best-effort page-background handling for protected camera cycles. */
100
- pauseForBackground?(): void;
101
- /** Resumes the same recorder after its protected presentation track recovers. */
102
- resumeFromBackground?(stream: MediaStream): Promise<void>;
103
- /**
104
- * Stops the recorder and returns the raw (un-encrypted, not uploaded)
105
- * video as base64. Used by the captureOnly flow, which hands video bytes
106
- * to the integrator via `onCapture` instead of uploading to Incode.
107
- *
108
- * Returns `{ videoBase64: undefined }` when video is not available for
109
- * any reason, including:
110
- * - the recorder was never started or is already stopped,
111
- * - video assembly fails.
112
- */
113
- stopAndGetVideo(): Promise<{
114
- videoBase64: string | undefined;
115
- }>;
116
- cleanup(): void;
117
- };
118
- //#endregion
119
127
  //#region src/internal/faceCapture/faceCaptureSetup.d.ts
120
128
  type FaceCaptureConfig = BaseFaceCaptureConfig;
121
129
  type FaceCaptureInput = {
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
4
- import { i as concealmentToAvatar } from "./faceCaptureSetup-CDGmqC8J.esm.js";
4
+ import { i as concealmentToAvatar } from "./faceCaptureSetup-DpM1YYl9.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-B2e8p268.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Bj_fyWtv.esm.js";