@incodetech/core 0.0.0-dev-20260729-ac6e7017 → 0.0.0-dev-20260730-736ce582

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 (131) hide show
  1. package/LICENSE +15 -0
  2. package/dist/{BrowserStorageProvider-P6aUarE9.esm.js → BrowserStorageProvider-k-FDkC4W.esm.js} +21 -8
  3. package/dist/{BrowserVisibilityObserverProvider-sJclps4C.esm.js → BrowserVisibilityObserverProvider-BX1BiLDK.esm.js} +1 -7
  4. package/dist/{MotionSensorProvider-DYvM90IX.esm.js → MotionSensorProvider-DGiV77J_.esm.js} +13 -9
  5. package/dist/{addressSearch-D_0t2Wdn.esm.js → addressSearch-DQyrvDQj.esm.js} +1 -1
  6. package/dist/ae-signature.esm.js +1 -1
  7. package/dist/antifraud.esm.js +2 -2
  8. package/dist/{antifraudManager-Cj_80kXY.esm.js → antifraudManager-C4_d-1a0.esm.js} +1 -1
  9. package/dist/{antifraudStateMachine-NuzlVVte.esm.js → antifraudStateMachine-r4VxSBS4.esm.js} +1 -1
  10. package/dist/{apiError-BGaSrCTT.esm.js → apiError-B_0_EzO3.esm.js} +1 -1
  11. package/dist/authentication.esm.js +2 -2
  12. package/dist/{authenticationManager-B4NsEnv7.esm.js → authenticationManager-6yroYg0F.esm.js} +4 -4
  13. package/dist/{authenticationStateMachine-4pm5PROL.esm.js → authenticationStateMachine-CFq2MNDs.esm.js} +4 -4
  14. package/dist/camera.esm.js +1 -1
  15. package/dist/certificate-issuance.esm.js +1 -1
  16. package/dist/{certificateIssuanceStateMachine-N__sTAgu.esm.js → certificateIssuanceStateMachine-COd7_l2T.esm.js} +1 -1
  17. package/dist/consent.esm.js +2 -2
  18. package/dist/{consentManager-CbYlnsM-.esm.js → consentManager-lG6fCXOk.esm.js} +1 -1
  19. package/dist/{consentStateMachine-DWL-X0Jb.esm.js → consentStateMachine-WD-S-Yhs.esm.js} +1 -1
  20. package/dist/cross-document-data-match.esm.js +1 -1
  21. package/dist/{crossDocumentDataMatchManager-D4w4_crz.esm.js → crossDocumentDataMatchManager-B5bnUpSo.esm.js} +1 -1
  22. package/dist/curp-validation.esm.js +2 -2
  23. package/dist/{curpValidationManager-KjzGK3MT.esm.js → curpValidationManager-CYkSBXCF.esm.js} +1 -1
  24. package/dist/{curpValidationStateMachine-42RbYcam.esm.js → curpValidationStateMachine-9KwnqeoB.esm.js} +1 -1
  25. package/dist/custom-fields.esm.js +1 -1
  26. package/dist/custom-watchlist.esm.js +1 -1
  27. package/dist/{customWatchlistStateMachine-BbDtH5kk.esm.js → customWatchlistStateMachine-B_ey3TFj.esm.js} +1 -1
  28. package/dist/{deepsightLoader-BHNb-lz0.esm.js → deepsightLoader-qP-QfKV2.esm.js} +8 -12
  29. package/dist/document-capture.esm.js +2 -2
  30. package/dist/document-upload.esm.js +1 -1
  31. package/dist/{documentCaptureManager-DiZWStP_.esm.js → documentCaptureManager-5shMxTaf.esm.js} +1 -1
  32. package/dist/{documentCaptureStateMachine-DAR7pkTk.esm.js → documentCaptureStateMachine-LFVoDSmH.esm.js} +3 -3
  33. package/dist/dynamic-forms.esm.js +2 -2
  34. package/dist/{dynamicFormsManager-BJOHlSVo.esm.js → dynamicFormsManager-DLA5Tiwm.esm.js} +1 -1
  35. package/dist/{dynamicFormsStateMachine-KFis3y39.esm.js → dynamicFormsStateMachine-C_VgTw7Q.esm.js} +2 -2
  36. package/dist/ekyb.esm.js +3 -3
  37. package/dist/{ekybManager-BgU21PZy.esm.js → ekybManager-CdKKow2d.esm.js} +1 -1
  38. package/dist/{ekybStateMachine-BvL39ZuX.esm.js → ekybStateMachine-Bxy2xGs-.esm.js} +3 -3
  39. package/dist/ekyc.esm.js +2 -2
  40. package/dist/{ekycManager-JibqQLH-.esm.js → ekycManager-BnPKaiV_.esm.js} +1 -1
  41. package/dist/{ekycStateMachine-Yl3sQmhm.esm.js → ekycStateMachine-DHvksnrr.esm.js} +2 -2
  42. package/dist/electronic-signature.esm.js +1 -1
  43. package/dist/{electronicSignatureManager-C3B6QjKW.esm.js → electronicSignatureManager-DaIkBEGU.esm.js} +2 -2
  44. package/dist/email.esm.js +2 -2
  45. package/dist/{emailManager-DRBVGjai.esm.js → emailManager-D-3pYOas.esm.js} +1 -1
  46. package/dist/{emailStateMachine-CLtrh2Ot.esm.js → emailStateMachine-Bm894MHB.esm.js} +1 -1
  47. package/dist/{endpoints-DOfmJylF.esm.js → endpoints-CCzL3XD_.esm.js} +13 -3
  48. package/dist/extensibility.d.ts +8 -4
  49. package/dist/extensibility.esm.js +26 -26
  50. package/dist/face-match.esm.js +2 -2
  51. package/dist/{faceCaptureManagerFactory-BqjFdPRN.esm.js → faceCaptureManagerFactory-FWAbakgf.esm.js} +4 -3
  52. package/dist/{faceCaptureSetup-Cyn66A5q.esm.js → faceCaptureSetup-B5NQz4rP.esm.js} +5 -5
  53. package/dist/{faceMatchManager-ZlPuKqfF.esm.js → faceMatchManager-Dnp-edw5.esm.js} +1 -1
  54. package/dist/{faceMatchStateMachine-ubds4WlI.esm.js → faceMatchStateMachine-CJiO2yLO.esm.js} +1 -1
  55. package/dist/field-comparison.esm.js +1 -1
  56. package/dist/{fieldComparisonManager-C4eefgNT.esm.js → fieldComparisonManager-CU1JQDG4.esm.js} +1 -1
  57. package/dist/fiscal-qr.esm.js +1 -1
  58. package/dist/flow.esm.js +19 -6
  59. package/dist/{flowCompletionService-BcvEfVin.esm.js → flowCompletionService-BlbJd0p_.esm.js} +2 -2
  60. package/dist/{flowServices-CSozwL5K.esm.js → flowServices-CPqzhq7k.esm.js} +4 -4
  61. package/dist/geolocation.esm.js +2 -2
  62. package/dist/{geolocationManager-C2IV2og3.esm.js → geolocationManager-0Nlh4v3P.esm.js} +1 -1
  63. package/dist/{geolocationStateMachine-B9WKUYut.esm.js → geolocationStateMachine-BnCvmNA0.esm.js} +2 -2
  64. package/dist/government-validation.esm.js +1 -1
  65. package/dist/{governmentValidationStateMachine-CtG3bIdM.esm.js → governmentValidationStateMachine-BYKYUdza.esm.js} +1 -1
  66. package/dist/id-ocr.esm.js +2 -2
  67. package/dist/id-selfie-flow.esm.js +9 -9
  68. package/dist/id-verification.esm.js +2 -2
  69. package/dist/id.esm.js +4 -4
  70. package/dist/{idCaptureDefaults-BDS43fFL.esm.js → idCaptureDefaults-DrQe0hWr.esm.js} +2 -2
  71. package/dist/{idCaptureManager-tTbq8P3b.esm.js → idCaptureManager-zqT1SpiL.esm.js} +5 -4
  72. package/dist/{idCaptureServices-DhJiLtLv.esm.js → idCaptureServices-DM3R1Go6.esm.js} +4 -4
  73. package/dist/{idCaptureStateMachine-IGYOUwE1.esm.js → idCaptureStateMachine-BWPpgMYZ.esm.js} +12 -12
  74. package/dist/{idOcrManager-HuMeVQrh.esm.js → idOcrManager-DWGed-91.esm.js} +1 -1
  75. package/dist/{idOcrStateMachine-s08FLvEh.esm.js → idOcrStateMachine-Bq_e3l4E.esm.js} +1 -1
  76. package/dist/{idVerificationManager-6R_G7Y-3.esm.js → idVerificationManager-W8v-boCx.esm.js} +1 -1
  77. package/dist/{idVerificationStateMachine-tAF7pvC8.esm.js → idVerificationStateMachine-GEQWUPU2.esm.js} +1 -1
  78. package/dist/identity-reuse.esm.js +2 -2
  79. package/dist/{identityReuseManager-CNbGch_H.esm.js → identityReuseManager-CUVKNTFa.esm.js} +1 -1
  80. package/dist/{identityReuseStateMachine-DG8kbKuy.esm.js → identityReuseStateMachine-AubRPhIi.esm.js} +1 -1
  81. package/dist/index.d.ts +1 -1
  82. package/dist/index.esm.js +1 -1
  83. package/dist/mandatory-consent.esm.js +2 -2
  84. package/dist/{mandatoryConsentManager-D7C9v5sI.esm.js → mandatoryConsentManager-CFd276xc.esm.js} +1 -1
  85. package/dist/{mandatoryConsentStateMachine-CjKpOQXU.esm.js → mandatoryConsentStateMachine-zroQGzwb.esm.js} +1 -1
  86. package/dist/{manualReviewService-BnFXpAg9.esm.js → manualReviewService-D4IkipnN.esm.js} +1 -1
  87. package/dist/{onDeviceFaceResults-D4hkjsjx.esm.js → onDeviceFaceResults-nTfxNMi0.esm.js} +6 -6
  88. package/dist/{permissionGuards-D0cdQjk6.esm.js → permissionGuards-KNkc71eN.esm.js} +1 -1
  89. package/dist/{permissionServices-GFikEK6S.esm.js → permissionServices-3UAjhmjw.esm.js} +2 -2
  90. package/dist/personhood.d.ts +10 -0
  91. package/dist/personhood.esm.js +16 -10
  92. package/dist/phone.esm.js +2 -2
  93. package/dist/{phoneManager-Dus4Ddb9.esm.js → phoneManager-SONkmpec.esm.js} +1 -1
  94. package/dist/{phoneStateMachine-FJ-_x1G4.esm.js → phoneStateMachine-E1fUUcNM.esm.js} +1 -1
  95. package/dist/qe-signature.esm.js +1 -1
  96. package/dist/{recordingService-D0lcCiBi.esm.js → recordingService-DveFYqw-.esm.js} +1 -1
  97. package/dist/redirect-to-mobile.esm.js +2 -2
  98. package/dist/{redirectToMobileManager-D1WymLy1.esm.js → redirectToMobileManager-B7EYFwY_.esm.js} +1 -1
  99. package/dist/{redirectToMobileStateMachine-jI5XPtZJ.esm.js → redirectToMobileStateMachine-C9SYCJcH.esm.js} +1 -1
  100. package/dist/{runChildModule-BhecR2uN.esm.js → runChildModule-D4abJYf4.esm.js} +1 -1
  101. package/dist/{WasmUtilProvider-D13sxEmA.esm.js → safeStorage-Ep56I-f_.esm.js} +43 -5
  102. package/dist/selfie.esm.js +7 -7
  103. package/dist/{selfieErrorUtils-DCRRRj38.esm.js → selfieErrorUtils-DggLa9pg.esm.js} +2 -2
  104. package/dist/{selfieManager-DkKrPj3p.esm.js → selfieManager-DCkM0ke3.esm.js} +4 -4
  105. package/dist/{selfieStateMachine-Bmbmr5CT.esm.js → selfieStateMachine-DPZEiQ1u.esm.js} +3 -3
  106. package/dist/{session-DQcuqKgn.esm.js → session-C6tzttgZ.esm.js} +5 -5
  107. package/dist/session.esm.js +4 -4
  108. package/dist/{sessionInitializer-BL3-IOqN.esm.js → sessionInitializer-Ct7kxkvH.esm.js} +18 -5
  109. package/dist/{setup-SoDT1T3q.esm.js → setup-ChdRXKRI.esm.js} +83 -10
  110. package/dist/{setup-Dj8n_YLP.d.ts → setup-DMFac2Ms.d.ts} +32 -0
  111. package/dist/signature.esm.js +1 -1
  112. package/dist/{signatureStateMachine-Dx92l8pR.esm.js → signatureStateMachine-Cf73DGWO.esm.js} +1 -1
  113. package/dist/{stats-6sK3f5pc.esm.js → stats-B0nFKawG.esm.js} +1 -1
  114. package/dist/stats.esm.js +1 -1
  115. package/dist/trueSight-CTJr7npu.esm.js +1 -0
  116. package/dist/{trueSightService-CUkBhjXi.esm.js → trueSightService-Bx5X8T-y.esm.js} +2 -2
  117. package/dist/video-selfie.d.ts +8 -2
  118. package/dist/video-selfie.esm.js +29 -46
  119. package/dist/{videoSelfieCameraWarmer-CUVw3G7y.esm.js → videoSelfieCameraWarmer-BKR8mkxq.esm.js} +6 -6
  120. package/dist/wasm.d.ts +2 -2
  121. package/dist/wasm.esm.js +3 -3
  122. package/dist/{wasmDefaults-DJiEvV7f.esm.js → wasmDefaults-DTUrftxR.esm.js} +2 -2
  123. package/dist/wasmDsFlagSync-BqUCwLY8.esm.js +12 -0
  124. package/dist/watchlist-for-business.esm.js +1 -1
  125. package/dist/watchlist.esm.js +2 -2
  126. package/dist/{watchlistForBusinessStateMachine-Eo-WEYha.esm.js → watchlistForBusinessStateMachine-BcBMkMvV.esm.js} +1 -1
  127. package/dist/{watchlistManager-BLf37wLN.esm.js → watchlistManager-QakKGrF0.esm.js} +1 -1
  128. package/dist/{watchlistStateMachine-DZSOauwp.esm.js → watchlistStateMachine-Bl7Wy9Cm.esm.js} +1 -1
  129. package/dist/workflow.esm.js +34 -34
  130. package/package.json +4 -3
  131. package/dist/trueSight-w9Pt93aY.esm.js +0 -1
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2025-2026 Incode Technologies, Inc.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,18 +1,25 @@
1
+ import { t as resolveLocalStorage } from "./safeStorage-Ep56I-f_.esm.js";
1
2
  //#region ../infra/src/providers/browser/BrowserStorageProvider.ts
2
3
  /**
3
4
  * Browser-based storage provider wrapping localStorage.
4
5
  * Handles JSON serialization/deserialization automatically.
6
+ *
7
+ * Degrades silently when the host makes localStorage unreachable: reads return
8
+ * `null` and writes are no-ops. Deliberately quiet — hosts that harden against
9
+ * self-XSS by deleting the global would otherwise see a warning on every call.
5
10
  */
6
11
  var BrowserStorageProvider = class {
7
12
  /**
8
13
  * Retrieves a value from localStorage.
9
14
  * @param key - The storage key
10
- * @returns The stored value or null if not found
15
+ * @returns The stored value, or null if not found or storage is unavailable
11
16
  * @throws Error if stored value is invalid JSON
12
17
  */
13
18
  async get(key) {
19
+ const storage = resolveLocalStorage();
20
+ if (!storage) return null;
14
21
  try {
15
- const item = localStorage.getItem(key);
22
+ const item = storage.getItem(key);
16
23
  if (item === null) return null;
17
24
  return JSON.parse(item);
18
25
  } catch (error) {
@@ -21,15 +28,17 @@ var BrowserStorageProvider = class {
21
28
  }
22
29
  }
23
30
  /**
24
- * Stores a value in localStorage.
31
+ * Stores a value in localStorage. No-op when storage is unavailable.
25
32
  * @param key - The storage key
26
33
  * @param value - The value to store (will be serialized as JSON)
27
34
  * @throws Error if value cannot be serialized or quota is exceeded
28
35
  */
29
36
  async set(key, value) {
37
+ const storage = resolveLocalStorage();
38
+ if (!storage) return;
30
39
  try {
31
40
  const serialized = JSON.stringify(value);
32
- localStorage.setItem(key, serialized);
41
+ storage.setItem(key, serialized);
33
42
  } catch (error) {
34
43
  if ((error instanceof DOMException || error.name === "QuotaExceededError") && error.name === "QuotaExceededError") throw new Error(`Storage quota exceeded for key "${key}"`);
35
44
  if (error instanceof TypeError) throw new Error(`Failed to serialize value for key "${key}": ${error.message}`);
@@ -37,17 +46,21 @@ var BrowserStorageProvider = class {
37
46
  }
38
47
  }
39
48
  /**
40
- * Removes a value from localStorage.
49
+ * Removes a value from localStorage. No-op when storage is unavailable.
41
50
  * @param key - The storage key to remove
42
51
  */
43
52
  async remove(key) {
44
- localStorage.removeItem(key);
53
+ const storage = resolveLocalStorage();
54
+ if (!storage) return;
55
+ storage.removeItem(key);
45
56
  }
46
57
  /**
47
- * Clears all values from localStorage.
58
+ * Clears all values from localStorage. No-op when storage is unavailable.
48
59
  */
49
60
  async clear() {
50
- localStorage.clear();
61
+ const storage = resolveLocalStorage();
62
+ if (!storage) return;
63
+ storage.clear();
51
64
  }
52
65
  };
53
66
  //#endregion
@@ -1,9 +1,3 @@
1
- //#region ../infra/src/wasm/wasmDsFlagSync.ts
2
- function setWasmDsFlagSync(enabled) {
3
- if (typeof localStorage === "undefined") return;
4
- localStorage.setItem("ds", enabled ? "1" : "0");
5
- }
6
- //#endregion
7
1
  //#region ../infra/src/providers/browser/BrowserVisibilityObserverProvider.ts
8
2
  var BrowserVisibilityObserverProvider = class {
9
3
  isVisible() {
@@ -20,4 +14,4 @@ var BrowserVisibilityObserverProvider = class {
20
14
  }
21
15
  };
22
16
  //#endregion
23
- export { setWasmDsFlagSync as n, BrowserVisibilityObserverProvider as t };
17
+ export { BrowserVisibilityObserverProvider as t };
@@ -1,3 +1,4 @@
1
+ import { n as resolveSessionStorage } from "./safeStorage-Ep56I-f_.esm.js";
1
2
  //#region ../infra/src/providers/browser/MotionSensorProvider.ts
2
3
  const MOTION_PERMISSION_GRANTED_KEY = "motionSensorsPermissionsGranted";
3
4
  const MOTION_PERMISSION_DENIED_KEY = "motionSensorsPermissionsDenied";
@@ -6,8 +7,9 @@ var MotionSensorProvider = class MotionSensorProvider {
6
7
  return typeof DeviceMotionEvent !== "undefined" && typeof DeviceMotionEvent.requestPermission === "function";
7
8
  }
8
9
  static readSessionFlag(key) {
9
- if (typeof sessionStorage === "undefined") return false;
10
- return sessionStorage.getItem(key) === "true";
10
+ const storage = resolveSessionStorage();
11
+ if (!storage) return false;
12
+ return storage.getItem(key) === "true";
11
13
  }
12
14
  static hasMotionPermissionGrantedInSession() {
13
15
  return MotionSensorProvider.readSessionFlag(MOTION_PERMISSION_GRANTED_KEY);
@@ -114,15 +116,17 @@ var MotionSensorProvider = class MotionSensorProvider {
114
116
  return MotionSensorProvider.hasMotionPermissionDeniedInSession();
115
117
  }
116
118
  markMotionPermissionGrantedInSession() {
117
- if (typeof sessionStorage === "undefined") return;
118
- sessionStorage.setItem(MOTION_PERMISSION_GRANTED_KEY, String(true));
119
- sessionStorage.removeItem(MOTION_PERMISSION_DENIED_KEY);
120
- sessionStorage.setItem("motionSensorsPermissionsRequested", String(true));
119
+ const storage = resolveSessionStorage();
120
+ if (!storage) return;
121
+ storage.setItem(MOTION_PERMISSION_GRANTED_KEY, String(true));
122
+ storage.removeItem(MOTION_PERMISSION_DENIED_KEY);
123
+ storage.setItem("motionSensorsPermissionsRequested", String(true));
121
124
  }
122
125
  markMotionPermissionDeniedInSession() {
123
- if (typeof sessionStorage === "undefined") return;
124
- sessionStorage.setItem(MOTION_PERMISSION_DENIED_KEY, String(true));
125
- sessionStorage.removeItem(MOTION_PERMISSION_GRANTED_KEY);
126
+ const storage = resolveSessionStorage();
127
+ if (!storage) return;
128
+ storage.setItem(MOTION_PERMISSION_DENIED_KEY, String(true));
129
+ storage.removeItem(MOTION_PERMISSION_GRANTED_KEY);
126
130
  }
127
131
  syncSessionPermission() {
128
132
  if (!MotionSensorProvider.isIosMotionPermissionRequired()) {
@@ -1,6 +1,6 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  const usStateOptions = Object.values({
6
6
  AL: {
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-C3B6QjKW.esm.js";
1
+ import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DaIkBEGU.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-NuzlVVte.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-Cj_80kXY.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-C4_d-1a0.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-NuzlVVte.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  //#region src/modules/antifraud/antifraudServices.ts
@@ -1,4 +1,4 @@
1
- import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-CUkBhjXi.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Bx5X8T-y.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-4pm5PROL.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-B4NsEnv7.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CFq2MNDs.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-6yroYg0F.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BqjFdPRN.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-4pm5PROL.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-FWAbakgf.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-CFq2MNDs.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
+ import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Cyn66A5q.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D4hkjsjx.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-B5NQz4rP.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,2 +1,2 @@
1
- import { i as requestPermission, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
2
2
  export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-N__sTAgu.esm.js";
3
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-COd7_l2T.esm.js";
4
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
5
5
  /**
6
6
  * Creates and starts a certificate issuance actor.
@@ -1,5 +1,5 @@
1
1
  import { n as getApi, r as getToken } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-DWL-X0Jb.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CbYlnsM-.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-lG6fCXOk.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as consentMachine } from "./consentStateMachine-DWL-X0Jb.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  //#region src/modules/consent/consentServices.ts
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-D4w4_crz.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-42RbYcam.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-KjzGK3MT.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-CYkSBXCF.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as curpValidationMachine } from "./curpValidationStateMachine-42RbYcam.esm.js";
4
+ import { t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationActor.ts
6
6
  function createCurpValidationActor(options) {
7
7
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationUtils.ts
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
4
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
5
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BbDtH5kk.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
6
  function createCustomWatchlistActor() {
7
7
  return createActor(customWatchlistMachine).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
@@ -1,12 +1,13 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-CUkBhjXi.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-BL3-IOqN.esm.js";
5
- import "./trueSight-w9Pt93aY.esm.js";
6
- import { t as addDeviceStats } from "./stats-6sK3f5pc.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Bx5X8T-y.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-Ct7kxkvH.esm.js";
5
+ import "./trueSight-CTJr7npu.esm.js";
6
+ import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
9
- import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
9
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
10
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-DGiV77J_.esm.js";
10
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
11
12
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
12
13
  import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
@@ -265,11 +266,6 @@ var VisibilityProvider = class {
265
266
  }
266
267
  };
267
268
  //#endregion
268
- //#region src/internal/deepsight/wasmDsFlag.ts
269
- async function setWasmDsFlag(storage, enabled) {
270
- await storage.set("ds", enabled ? 1 : 0);
271
- }
272
- //#endregion
273
269
  //#region src/internal/deepsight/deepsightLoader.ts
274
270
  const SDK_VERSION = "2.0.0";
275
271
  async function loadDeepsightSession(options) {
@@ -281,7 +277,7 @@ async function loadDeepsightSession(options) {
281
277
  }
282
278
  }
283
279
  async function loadDeepsightSessionInternal(options) {
284
- await setWasmDsFlag(options.storage, options.ds === true);
280
+ setWasmDsFlagSync(options.ds === true);
285
281
  const wasmUtil = await WasmUtilProvider.getInstance();
286
282
  const visibility = new VisibilityProvider();
287
283
  const browserEnv = new BrowserEnvironmentProvider();
@@ -1,3 +1,3 @@
1
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-DiZWStP_.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-LFVoDSmH.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-5shMxTaf.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DAR7pkTk.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-LFVoDSmH.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -1,11 +1,11 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
5
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
7
7
  import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
8
- import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
8
+ import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
9
9
  //#region src/modules/document-capture/types.ts
10
10
  const PROCESSING_TYPE_MAP = {
11
11
  processV5CLogbook: "v5cMultiPageLogbook",
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-KFis3y39.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-BJOHlSVo.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C_VgTw7Q.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-DLA5Tiwm.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-KFis3y39.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C_VgTw7Q.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
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-BGaSrCTT.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B_0_EzO3.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-CSozwL5K.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BvL39ZuX.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-BgU21PZy.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-CPqzhq7k.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Bxy2xGs-.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CdKKow2d.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-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-BvL39ZuX.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-Bxy2xGs-.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-CSozwL5K.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-CPqzhq7k.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- 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-D_0t2Wdn.esm.js";
6
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
7
7
  //#region src/modules/ekyb/ekybValidators.ts
8
8
  function cleanCnpjString(cnpj) {
9
9
  return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
2
- import { t as ekycMachine } from "./ekycStateMachine-Yl3sQmhm.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-JibqQLH-.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-BnPKaiV_.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-Yl3sQmhm.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
2
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { a as ADDRESS_STATE_SOURCES, c as EMAIL_SOURCES, d as NAME_SOURCES, f as POSTAL_CODE_SOURCES, h as TAX_ID_SOURCES, i as toEkycConfig, l as HOUSE_NO_SOURCES, m as STREET_SOURCES, n as getEKYCFields, o as CITY_SOURCES, p as STATE_CODE_HINTS, r as isFieldOptional, s as COUNTRY_SELECTOR_DISABLED_SOURCES, t as getEKYCCountry, u as MIDDLE_NAME_SOURCES } from "./ekycUtils-Dew1rBG0.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- 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-D_0t2Wdn.esm.js";
6
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
7
7
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
8
8
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
9
9
  var metadata_min_json_default = {
@@ -1,2 +1,2 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-C3B6QjKW.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DaIkBEGU.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-BGaSrCTT.esm.js";
4
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-B_0_EzO3.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-CLtrh2Ot.esm.js";
2
- import { t as createEmailManager } from "./emailManager-DRBVGjai.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-D-3pYOas.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-CLtrh2Ot.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
4
4
  //#region src/modules/email/emailActor.ts
5
5
  function createEmailActor(options) {
6
6
  return createActor(emailMachine, { input: { config: options.config } }).start();
@@ -1,6 +1,6 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { t as endpoints } from "./endpoints-DOfmJylF.esm.js";
3
+ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";