@incodetech/core 0.0.0-dev-20260930-3196371b → 0.0.0-dev-20261001-c9faf7b3

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 (69) hide show
  1. package/dist/{FaceDetectionProvider-BYzjZIMl.esm.js → FaceDetectionProvider-BCpoAa6q.esm.js} +4 -4
  2. package/dist/{PhoneValidationProvider-CG6ZVdz1.esm.js → PhoneValidationProvider-SZiOS0jB.esm.js} +3 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-qA-LUSTe.esm.js → apiError-BY8w2rW_.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-VxawN-MW.esm.js → authenticationManager-RxVgNHws.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-BYtzvKoa.esm.js → authenticationStateMachine-DrDYoXsY.esm.js} +2 -2
  8. package/dist/{deepsightLoader-CL3eV1kC.esm.js → deepsightLoader-D7V1Utfm.esm.js} +4 -4
  9. package/dist/device.esm.js +1 -1
  10. package/dist/document-capture.d.ts +1 -1
  11. package/dist/{documentCaptureManager-C8eO0hbv.d.ts → documentCaptureManager-CbAGkHWh.d.ts} +1 -1
  12. package/dist/dynamic-forms.esm.js +2 -2
  13. package/dist/{dynamicFormsManager-DPBsBDNJ.esm.js → dynamicFormsManager-B5kJwfNs.esm.js} +1 -1
  14. package/dist/{dynamicFormsStateMachine-XfUx47_K.esm.js → dynamicFormsStateMachine-D0aCcv8u.esm.js} +1 -1
  15. package/dist/ekyb.esm.js +3 -3
  16. package/dist/{ekybManager-D7BXwUai.esm.js → ekybManager-CPUzBZZo.esm.js} +1 -1
  17. package/dist/{ekybStateMachine-Di7BV-zM.esm.js → ekybStateMachine-CDXxTvI7.esm.js} +1 -1
  18. package/dist/ekyc.esm.js +2 -2
  19. package/dist/{ekycManager-AHzro9W9.esm.js → ekycManager-qCfa2cno.esm.js} +1 -1
  20. package/dist/{ekycStateMachine-CySBCorS.esm.js → ekycStateMachine-Lqh8tcY3.esm.js} +13 -5
  21. package/dist/electronic-signature.esm.js +1 -1
  22. package/dist/{electronicSignatureManager-BZTwVFs5.esm.js → electronicSignatureManager-BXyguomV.esm.js} +1 -1
  23. package/dist/extensibility.d.ts +2 -2
  24. package/dist/extensibility.esm.js +12 -12
  25. package/dist/{faceCaptureManagerFactory-ANyjMQIp.esm.js → faceCaptureManagerFactory-DqjXPBEK.esm.js} +1 -1
  26. package/dist/{faceCaptureSetup-6csV0M_s.esm.js → faceCaptureSetup-rF5PYwYL.esm.js} +4 -4
  27. package/dist/{feature-management-DBViR6-i.esm.js → feature-management-CIUACc95.esm.js} +3 -3
  28. package/dist/feature-management.esm.js +1 -1
  29. package/dist/flow.esm.js +3 -3
  30. package/dist/{flowCompletionService-QglUBwjI.esm.js → flowCompletionService-5eRchhZL.esm.js} +1 -1
  31. package/dist/{flowServices-C7p6ihSq.esm.js → flowServices-DByUxP86.esm.js} +4 -4
  32. package/dist/geolocation.esm.js +2 -2
  33. package/dist/{geolocationManager-Co3CJ8pv.esm.js → geolocationManager-CE-AB8OS.esm.js} +1 -1
  34. package/dist/{geolocationStateMachine-DE0L1Rx0.esm.js → geolocationStateMachine-Chg6oZkn.esm.js} +1 -1
  35. package/dist/{getDeviceClass-5NYZg9s6.esm.js → getDeviceClass-bsWdEDxP.esm.js} +1 -1
  36. package/dist/{getParsedUserAgent-B2iFDql1.esm.js → getParsedUserAgent-DhQPeKqw.esm.js} +1 -1
  37. package/dist/id-selfie-flow.esm.js +8 -8
  38. package/dist/id.esm.js +3 -3
  39. package/dist/{idCaptureDefaults-ZU-k3b0E.esm.js → idCaptureDefaults-DTQLiKl_.esm.js} +1 -1
  40. package/dist/{idCaptureManager-beSA6gUc.esm.js → idCaptureManager-DKZmtiAq.esm.js} +4 -4
  41. package/dist/{idCaptureServices-BAqdDOZY.esm.js → idCaptureServices-DKnBBQ9m.esm.js} +4 -4
  42. package/dist/{idCaptureStateMachine-DWZuLU6b.esm.js → idCaptureStateMachine-CkTcTtvv.esm.js} +10 -10
  43. package/dist/index.esm.js +1 -1
  44. package/dist/phone-number.esm.js +1 -1
  45. package/dist/phone.d.ts +1 -1
  46. package/dist/phone.esm.js +2 -2
  47. package/dist/{phoneManager-D4FVaENS.d.ts → phoneManager-BO-LTih5.d.ts} +5 -0
  48. package/dist/{phoneManager-DA8hsPmm.esm.js → phoneManager-ZqgujdZa.esm.js} +14 -7
  49. package/dist/{phoneStateMachine-D7NuZKLM.esm.js → phoneStateMachine-pue0_Jsi.esm.js} +35 -16
  50. package/dist/phoneValidation-DnBcNUNh.esm.js +48 -0
  51. package/dist/qe-signature.esm.js +1 -1
  52. package/dist/{rolldown-runtime-FDOR9p9I.esm.js → rolldown-runtime-B-1-B7_t.esm.js} +10 -1
  53. package/dist/{runChildModule-CqfxejMs.esm.js → runChildModule-C-LPaMsf.esm.js} +1 -1
  54. package/dist/{sdkVersion-Dq3uicI6.esm.js → sdkVersion-CKmLq6Yg.esm.js} +1 -1
  55. package/dist/selfie.esm.js +6 -6
  56. package/dist/{selfieErrorUtils-CtHekDP4.esm.js → selfieErrorUtils-CLXOOKJT.esm.js} +1 -1
  57. package/dist/{selfieManager-DfSQd-gr.esm.js → selfieManager-4iWKwGue.esm.js} +3 -3
  58. package/dist/{selfieStateMachine-BYDDf7by.esm.js → selfieStateMachine-CkmHANQS.esm.js} +3 -3
  59. package/dist/{session-BrwAKJdk.esm.js → session-DpyinLjk.esm.js} +3 -3
  60. package/dist/session.esm.js +4 -4
  61. package/dist/{sessionInitializer-CeFwN0wO.esm.js → sessionInitializer-zGfo0X6X.esm.js} +4 -4
  62. package/dist/{setup-CIdQ7NcS.esm.js → setup-Bsrm9V60.esm.js} +4 -4
  63. package/dist/{src-35ekGRzK.esm.js → src-DJAJjRYQ.esm.js} +1 -1
  64. package/dist/{trueSightService-AEb9rZ94.esm.js → trueSightService-Bq4srERA.esm.js} +1 -1
  65. package/dist/video-selfie.esm.js +3 -3
  66. package/dist/{videoSelfieCameraWarmer-B-iPKu3W.esm.js → videoSelfieCameraWarmer-CZBq_Irb.esm.js} +4 -4
  67. package/dist/wasm.esm.js +2 -2
  68. package/dist/workflow.esm.js +16 -16
  69. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
- import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-AEb9rZ94.esm.js";
1
+ import { c as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-Bq4srERA.esm.js";
2
2
  import { s as wasmRuntime } from "./warmup-DLq_t-Zu.esm.js";
3
3
  import { i as BaseWasmProvider } from "./safeStorage-Q_iUpxa8.esm.js";
4
- import { t as ensureWasmPipelines } from "./setup-CIdQ7NcS.esm.js";
5
- import "./sessionInitializer-CeFwN0wO.esm.js";
4
+ import { t as ensureWasmPipelines } from "./setup-Bsrm9V60.esm.js";
5
+ import "./sessionInitializer-zGfo0X6X.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-Dz3XWA64.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-CL3eV1kC.esm.js");
159
+ const { loadDeepsightSession } = await import("./deepsightLoader-D7V1Utfm.esm.js");
160
160
  return loadDeepsightSession({
161
161
  ds: options.ds,
162
162
  storage: options.storage
@@ -1,3 +1,4 @@
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
1
2
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
2
3
  var metadata_min_json_default = {
3
4
  "version": 4,
@@ -9838,6 +9839,7 @@ function isPossiblePhoneNumber() {
9838
9839
  }
9839
9840
  //#endregion
9840
9841
  //#region ../infra/src/providers/browser/PhoneValidationProvider.ts
9842
+ var PhoneValidationProvider_exports = /* @__PURE__ */ __exportAll({ PhoneValidationProvider: () => PhoneValidationProvider });
9841
9843
  var PhoneValidationProvider = class {
9842
9844
  isPossible(phone) {
9843
9845
  return isPossiblePhoneNumber(phone);
@@ -9859,4 +9861,4 @@ var PhoneValidationProvider = class {
9859
9861
  }
9860
9862
  };
9861
9863
  //#endregion
9862
- export { metadata_min_json_default as S, checkNumberLength as _, FIRST_GROUP_PATTERN as a, isObject as b, extractCountryCallingCode as c, getCountryByNationalNumber as d, extractNationalNumberFromPossiblyIncompleteNumber as f, VALID_PUNCTUATION as g, VALID_DIGITS as h, PhoneNumber as i, extractCountryCallingCodeFromInternationalNumberWithoutPlusSign as l, PLUS_CHARS as m, parsePhoneNumber as n, formatNationalNumberUsingFormat as o, stripIddPrefix as p, parseDigits as r, applyInternationalSeparatorStyle as s, PhoneValidationProvider as t, getCountryByCallingCode as u, Metadata as v, withMetadataArgument as x, getCountryCallingCode as y };
9864
+ export { metadata_min_json_default as C, withMetadataArgument as S, VALID_PUNCTUATION as _, PhoneNumber as a, getCountryCallingCode as b, applyInternationalSeparatorStyle as c, getCountryByCallingCode as d, getCountryByNationalNumber as f, VALID_DIGITS as g, PLUS_CHARS as h, parseDigits as i, extractCountryCallingCode as l, stripIddPrefix as m, PhoneValidationProvider_exports as n, FIRST_GROUP_PATTERN as o, extractNationalNumberFromPossiblyIncompleteNumber as p, parsePhoneNumber as r, formatNationalNumberUsingFormat as s, PhoneValidationProvider as t, extractCountryCallingCodeFromInternationalNumberWithoutPlusSign as u, checkNumberLength as v, isObject as x, Metadata as y };
@@ -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-BZTwVFs5.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BXyguomV.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-AEb9rZ94.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Bq4srERA.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-BYtzvKoa.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-VxawN-MW.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DrDYoXsY.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-RxVgNHws.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-CIdQ7NcS.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Bsrm9V60.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ANyjMQIp.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BYtzvKoa.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DqjXPBEK.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-DrDYoXsY.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-Bg3FuvIs.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-6csV0M_s.esm.js";
4
- import { c as isOnDeviceMode } from "./FaceDetectionProvider-BYzjZIMl.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-rF5PYwYL.esm.js";
4
+ import { c as isOnDeviceMode } from "./FaceDetectionProvider-BCpoAa6q.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
7
7
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,8 +1,8 @@
1
- import { l as trueSightLog } from "./trueSightService-AEb9rZ94.esm.js";
1
+ import { l as trueSightLog } from "./trueSightService-Bq4srERA.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
3
- import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-CeFwN0wO.esm.js";
4
- import { t as SDK_VERSION } from "./sdkVersion-Dq3uicI6.esm.js";
5
- import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
3
+ import { _ as IpifyProvider, b as BrowserEnvironmentProvider, h as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, v as getThumbmarkId } from "./sessionInitializer-zGfo0X6X.esm.js";
4
+ import { t as SDK_VERSION } from "./sdkVersion-CKmLq6Yg.esm.js";
5
+ import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
8
8
  import { t as MotionSensorProvider } from "./MotionSensorProvider-1Ul_1GPn.esm.js";
@@ -2,7 +2,7 @@ import { a as isIOS, f as isTabletWithoutAndroid, l as isIslandBrowser, n as isA
2
2
  import { n as getUserAgentBrands, t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
3
3
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
4
4
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
5
- import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
5
+ import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
6
6
  //#region src/internal/device/browserSupportClassification.ts
7
7
  /**
8
8
  * Third-party in-app browsers. These are real WebViews — `isAndroidWebView` and
@@ -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-C8eO0hbv.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CbAGkHWh.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 };
@@ -252,7 +252,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
252
252
  type: "fileSizeOkForNonGallery";
253
253
  params: unknown;
254
254
  };
255
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
255
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
256
256
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
257
257
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
258
258
  readonly id: "documentCapture";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-XfUx47_K.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DPBsBDNJ.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D0aCcv8u.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-B5kJwfNs.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-Bg3FuvIs.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-XfUx47_K.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-D0aCcv8u.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-Bs3D8B_G.esm.js";
3
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-qA-LUSTe.esm.js";
3
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BY8w2rW_.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-C7p6ihSq.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-Di7BV-zM.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-D7BXwUai.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-DByUxP86.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-CDXxTvI7.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CPUzBZZo.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-Bg3FuvIs.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-Di7BV-zM.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-CDXxTvI7.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-Bs3D8B_G.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-C7p6ihSq.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-DByUxP86.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-CoXo7lfZ.esm.js";
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-CySBCorS.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-AHzro9W9.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-Lqh8tcY3.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-qCfa2cno.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -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-Bg3FuvIs.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-CySBCorS.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-Lqh8tcY3.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -4,10 +4,12 @@ import { _ as STATE_CODE_HINTS, a as toEkycConfig, c as CITY_SOURCES, d as EMAIL
4
4
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.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-CoXo7lfZ.esm.js";
7
- import { t as PhoneValidationProvider } from "./PhoneValidationProvider-CG6ZVdz1.esm.js";
7
+ import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-DnBcNUNh.esm.js";
8
8
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
9
9
  //#region src/modules/ekyc/ekycValidators.ts
10
- const phoneValidator = new PhoneValidationProvider();
10
+ async function loadPhoneValidator() {
11
+ if (!await loadPhoneValidation()) throw new Error("Failed to load the phone validation rules");
12
+ }
11
13
  /** Progressively formats an SSN as XXX-XX-XXXX */
12
14
  function formatSSN(value) {
13
15
  const ssn = value?.replace(/\D/g, "") ?? "";
@@ -28,10 +30,10 @@ function isPoBox(address) {
28
30
  return PO_BOX_REGEX.test(address.replace(/\s/g, ""));
29
31
  }
30
32
  function validatePhone(phone, country) {
31
- return phoneValidator.isValid(phone, country);
33
+ return getPhoneValidation()?.isValid(phone, country) ?? false;
32
34
  }
33
35
  function formatPhoneE164(phone, country) {
34
- return phoneValidator.formatE164(phone, country) ?? phone;
36
+ return getPhoneValidation()?.formatE164(phone, country) ?? phone;
35
37
  }
36
38
  const ONE_OF_REQUIRED_ERROR_KEY = "verification.errors.dobOrSsnRequired";
37
39
  const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
@@ -439,7 +441,13 @@ const isCountryNotSupportedGuard = ({ event }) => {
439
441
  };
440
442
  //#endregion
441
443
  //#region src/modules/ekyc/ekycActors.ts
442
- const fetchModuleConfigActor = fromPromise(async ({ input, signal }) => fetchModuleConfig(input.flowId, signal));
444
+ const fetchModuleConfigActor = fromPromise(async ({ input, signal }) => {
445
+ const phoneRules = loadPhoneValidator();
446
+ phoneRules.catch(() => void 0);
447
+ const config = await fetchModuleConfig(input.flowId, signal);
448
+ if (getEKYCFields(config).phone !== false) await phoneRules;
449
+ return config;
450
+ });
443
451
  const fetchPrefillDataActor = fromPromise(async ({ signal }) => {
444
452
  const [ocrData, otpStatus] = await Promise.all([fetchOcrData(signal).catch(() => void 0), fetchOtpStatus(signal).catch(() => void 0)]);
445
453
  return {
@@ -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-BZTwVFs5.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-BXyguomV.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-Bs3D8B_G.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-qA-LUSTe.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BY8w2rW_.esm.js";
6
6
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-CEp51O83.esm.js";
@@ -16,7 +16,7 @@ import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchMana
16
16
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-C7qzg_Cm.js";
17
17
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
18
18
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
19
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-C8eO0hbv.js";
19
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CbAGkHWh.js";
20
20
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
21
21
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BaZ_7CEu.js";
22
22
  import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-DW-ynodd.js";
@@ -24,7 +24,7 @@ import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t a
24
24
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-Chxm9JRK.js";
25
25
  import { i as CaptureIdResponse } from "./types-CrZKPInf2.js";
26
26
  import { G as WasmUtilProvider, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState, v as IdCaptureActor } from "./idCaptureManager-DHfSJbYv.js";
27
- import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-D4FVaENS.js";
27
+ import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BO-LTih5.js";
28
28
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
29
29
  import { i as WatchlistForBusinessState, l as WatchlistForBusinessActor, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager } from "./watchlistForBusinessManager-B3GDPZrr.js";
30
30
  import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-B1birg5X.js";
@@ -1,12 +1,12 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
- import { l as BrowserStorageProvider } from "./setup-CIdQ7NcS.esm.js";
3
- import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-CeFwN0wO.esm.js";
2
+ import { l as BrowserStorageProvider } from "./setup-Bsrm9V60.esm.js";
3
+ import { g as getFingerprint, y as getDeviceFingerprintInfo } from "./sessionInitializer-zGfo0X6X.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BZTwVFs5.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BXyguomV.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-GZ1hVKjb.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-6csV0M_s.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-VxawN-MW.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-rF5PYwYL.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-RxVgNHws.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-J6v-R_BZ.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-C-G9BmH0.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-De2pPrbH.esm.js";
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-Dv6q4FDh.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-DEBrvDy2.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-D7qUUMWK.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DPBsBDNJ.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-D7BXwUai.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-AHzro9W9.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-B5kJwfNs.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-CPUzBZZo.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-qCfa2cno.esm.js";
20
20
  import { n as createEmailManagerFromActor } from "./emailManager-BG1i_Sg_.esm.js";
21
- import { n as createSelfieManagerFromActor } from "./selfieManager-DfSQd-gr.esm.js";
22
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-beSA6gUc.esm.js";
23
- import { n as createPhoneManagerFromActor } from "./phoneManager-DA8hsPmm.esm.js";
21
+ import { n as createSelfieManagerFromActor } from "./selfieManager-4iWKwGue.esm.js";
22
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-DKZmtiAq.esm.js";
23
+ import { n as createPhoneManagerFromActor } from "./phoneManager-ZqgujdZa.esm.js";
24
24
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-C2fFRjfx.esm.js";
25
25
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-Lcvy9ZUU.esm.js";
26
26
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-C7fNvcKG.esm.js";
@@ -29,7 +29,7 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
29
29
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-rcTMBnAD.esm.js";
30
30
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BV0CBEHA.esm.js";
31
31
  import { n as createSignatureManagerFromActor } from "./signatureManager-CmIjQ-cK.esm.js";
32
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-Co3CJ8pv.esm.js";
32
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-CE-AB8OS.esm.js";
33
33
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-BLo9Ai_v.esm.js";
34
34
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BE5cnWcf.esm.js";
35
35
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-DmDy-g8s.esm.js";
@@ -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-Bg3FuvIs.esm.js";
4
- import { r as concealmentToAvatar } from "./faceCaptureSetup-6csV0M_s.esm.js";
4
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-rF5PYwYL.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B9IqVf3c.esm.js";
@@ -1,21 +1,21 @@
1
- import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-AEb9rZ94.esm.js";
1
+ import { l as trueSightLog, m as isTrueSightTesting } from "./trueSightService-Bq4srERA.esm.js";
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import "./sessionInitializer-CeFwN0wO.esm.js";
4
+ import "./sessionInitializer-zGfo0X6X.esm.js";
5
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-Dz3XWA64.esm.js";
7
7
  import { t as isAndroid } from "./platform-DkcRc9JV.esm.js";
8
8
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-B9IqVf3c.esm.js";
11
- import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-BYzjZIMl.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as initializeDeepsightSession, r as initializeCamera, s as stopStream, t as FaceDetectionProvider } from "./FaceDetectionProvider-BCpoAa6q.esm.js";
12
12
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
13
13
  import { i as flagFaceManualReview, n as runProtectedAttempt, o as PROTECTED_CAPTURE_TARGET, r as cameraCycleProvider, t as createCameraCycleOwnership } from "./createCameraCycleOwnership-26-cuXnc.esm.js";
14
14
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
16
16
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DS36X5Hh.esm.js";
17
17
  import { a as getAdaptiveMediaRecorderOptions, i as createRecordingCompositor, n as WorkerEncoderRecordingProvider, t as MultipartRecordingService } from "./multipartRecordingService-CMjkhS2x.esm.js";
18
- import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
18
+ import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
21
21
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
@@ -1,5 +1,5 @@
1
- import { n as __toESM } from "./rolldown-runtime-FDOR9p9I.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-Dq3uicI6.esm.js";
1
+ import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CKmLq6Yg.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -243,7 +243,7 @@ const stringifyEventMetadata = (metadata) => {
243
243
  }
244
244
  return stringified;
245
245
  };
246
- const importStatsigJsClient = () => import("./src-35ekGRzK.esm.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
246
+ const importStatsigJsClient = () => import("./src-DJAJjRYQ.esm.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
247
247
  //#endregion
248
248
  //#region src/integrations/feature-management/featureManagement.ts
249
249
  /**
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-DBViR6-i.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-CIUACc95.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-ijlbX_Wx.esm.js";
2
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-C7p6ihSq.esm.js";
2
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-DByUxP86.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-QglUBwjI.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CqfxejMs.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-5eRchhZL.esm.js";
6
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-C-LPaMsf.esm.js";
7
7
  import { n as isAdvanceableError } from "./advanceableErrors-CpF2cBy6.esm.js";
8
8
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
9
  const noOpFlowModuleMachine = setup({}).createMachine({
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
3
- import { i as toIncodeApiError } from "./apiError-qA-LUSTe.esm.js";
3
+ import { i as toIncodeApiError } from "./apiError-BY8w2rW_.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,10 +1,10 @@
1
1
  import { n as getWasmStatus } from "./warmup-DLq_t-Zu.esm.js";
2
- import { E as updateFeatureManagementUser } from "./feature-management-DBViR6-i.esm.js";
2
+ import { E as updateFeatureManagementUser } from "./feature-management-CIUACc95.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-CeFwN0wO.esm.js";
4
+ import { i as initializeSession, l as whenSessionFingerprintSettled, r as getSessionFingerprintResult, u as getStandaloneFlowPolicy } from "./sessionInitializer-zGfo0X6X.esm.js";
5
5
  import { t as endpoints } from "./endpoints-Bs3D8B_G.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-qA-LUSTe.esm.js";
7
- import "./session-BrwAKJdk.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-BY8w2rW_.esm.js";
7
+ import "./session-DpyinLjk.esm.js";
8
8
  import { a as toEkycConfig } from "./ekycUtils-3FIL6m1x.esm.js";
9
9
  //#region src/modules/flow/dashboardConfig.ts
10
10
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-Co3CJ8pv.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DE0L1Rx0.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CE-AB8OS.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-Chg6oZkn.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-DE0L1Rx0.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-Chg6oZkn.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-Bs3D8B_G.esm.js";
3
3
  import { a as isIOS, t as isAndroid } from "./platform-DkcRc9JV.esm.js";
4
- import { n as isConnectivityError } from "./apiError-qA-LUSTe.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-BY8w2rW_.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,4 +1,4 @@
1
- import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
1
+ import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
2
2
  import { f as isTabletWithoutAndroid } from "./platform-DkcRc9JV.esm.js";
3
3
  import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
4
4
  //#region src/internal/device/getDeviceClass.ts
@@ -1,4 +1,4 @@
1
- import { t as __commonJSMin } from "./rolldown-runtime-FDOR9p9I.esm.js";
1
+ import { t as __commonJSMin } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  //#endregion
3
3
  //#region ../infra/src/device/getParsedUserAgent.ts
4
4
  var import_ua_parser = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1,18 +1,18 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Q_iUpxa8.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-CIdQ7NcS.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Bsrm9V60.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-C7p6ihSq.esm.js";
4
+ import { a as resolveDashboardModuleConfig, d as facingModeForStep } from "./flowServices-DByUxP86.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
7
- import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BYzjZIMl.esm.js";
7
+ import { n as encryptSelfieImage, o as startDetection, t as FaceDetectionProvider } from "./FaceDetectionProvider-BCpoAa6q.esm.js";
8
8
  import { o as StreamCanvasProcessingSession, r as CameraCompositor } from "./multipartRecordingService-CMjkhS2x.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-CtHekDP4.esm.js";
11
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-ZU-k3b0E.esm.js";
12
- import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-BAqdDOZY.esm.js";
10
+ import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-CLXOOKJT.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DTQLiKl_.esm.js";
12
+ import { _ as ID_ERROR_CODES, g as validateUploadResponse, h as uploadIdImage, u as processId } from "./idCaptureServices-DKnBBQ9m.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-QglUBwjI.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-B-iPKu3W.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-5eRchhZL.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CZBq_Irb.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
2
2
  import { i as assign, s as createActor } from "./xstate.esm-Bg3FuvIs.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-Ccyzgxj1.esm.js";
4
- import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-DWZuLU6b.esm.js";
5
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-beSA6gUc.esm.js";
6
- import { _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-BAqdDOZY.esm.js";
4
+ import { a as isRedirectFlowType, c as createIdCaptureOnlyDeliveryActor, d as renderWallet, f as createDeviceWalletManager, h as resolveWalletPlatform, i as DIGITAL_ID_REGISTRY, l as createIdProtectedCaptureController, n as provideIdProtectedCaptureController, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as attachIdProtectedCaptureController, t as idCaptureMachine } from "./idCaptureStateMachine-CkTcTtvv.esm.js";
5
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DKZmtiAq.esm.js";
6
+ import { _ as ID_ERROR_CODES, a as getRealQualityValue, b as resolveIdCaptureThresholds, c as pauseRecordingForAttempt, d as resumeRecordingAfterPause, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, i as finalizeRecordingSession, l as prepareRecordingForCameraRetry, m as stopStream, n as barcodeToBase64, o as initializeIdCapture, p as stopRecording, r as disposeRecordingSession, s as isSuspendableRecordingSession, t as addBarcode, u as processId } from "./idCaptureServices-DKnBBQ9m.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
8
8
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
9
9
  /**
@@ -1,5 +1,5 @@
1
1
  import { b as resolveWasmSource, p as WASM_MODEL_FILES } from "./wasmWebClient-DPPQlS-U.esm.js";
2
- import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-AEb9rZ94.esm.js";
2
+ import { E as getBarcodeEnhanceModelUrl } from "./trueSightService-Bq4srERA.esm.js";
3
3
  import { s as wasmRuntime, t as getResolvedModelSource } from "./warmup-DLq_t-Zu.esm.js";
4
4
  import { i as BaseWasmProvider } from "./safeStorage-Q_iUpxa8.esm.js";
5
5
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,13 +1,13 @@
1
- import { l as BrowserStorageProvider } from "./setup-CIdQ7NcS.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-Bsrm9V60.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 { s as createActor, u as createManager } from "./xstate.esm-Bg3FuvIs.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DyNj8RY_.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-B9IqVf3c.esm.js";
8
- import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
9
- import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-DWZuLU6b.esm.js";
10
- import { b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-BAqdDOZY.esm.js";
8
+ import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
9
+ import { l as createIdProtectedCaptureController, m as mapDeviceWalletScreenName, n as provideIdProtectedCaptureController, p as BrowserDigitalCredentialsProvider, t as idCaptureMachine, u as findIdProtectedCaptureController } from "./idCaptureStateMachine-CkTcTtvv.esm.js";
10
+ import { b as resolveIdCaptureThresholds, v as resolveCaptureOptimizingTreatment, y as resolveCountdownStepMs } from "./idCaptureServices-DKnBBQ9m.esm.js";
11
11
  //#region src/modules/id/digitalUpload/instrumentation.ts
12
12
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
13
13
  function isHoldingState(value) {