@incodetech/core 0.0.0-dev-20260518-3e2a44e2 → 0.0.0-dev-20260518-2d0ef651

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 (129) hide show
  1. package/dist/{OpenViduRecordingProvider-CMu6XVdc.esm.js → OpenViduRecordingProvider-VOPVZlAg.esm.js} +1 -1
  2. package/dist/ae-signature.d.ts +3 -3
  3. package/dist/antifraud.d.ts +1 -1
  4. package/dist/authentication.d.ts +11 -11
  5. package/dist/authentication.esm.js +4 -4
  6. package/dist/{authenticationManager-C83GNIhl.d.ts → authenticationManager-BfnQDaRP.d.ts} +2 -2
  7. package/dist/{authenticationManager-5M-fKzXx.esm.js → authenticationManager-DMZLpFAc.esm.js} +1 -1
  8. package/dist/{authenticationStateMachine-BMZqatiF.esm.js → authenticationStateMachine-CkX7xUXI.esm.js} +2 -2
  9. package/dist/camera.d.ts +1 -1
  10. package/dist/consent.d.ts +52 -52
  11. package/dist/cpf-ocr.d.ts +18 -18
  12. package/dist/cross-document-data-match.d.ts +1 -1
  13. package/dist/curp-validation.d.ts +5 -5
  14. package/dist/custom-fields.d.ts +2 -2
  15. package/dist/custom-watchlist.d.ts +1 -1
  16. package/dist/custom-watchlist.esm.js +3 -39
  17. package/dist/customWatchlistStateMachine-C8Kwsa4Z.esm.js +41 -0
  18. package/dist/{deepsightService-CEVxzehb.d.ts → deepsightService-DPLEfa92.d.ts} +2 -2
  19. package/dist/document-capture.d.ts +74 -74
  20. package/dist/document-capture.esm.js +1 -1
  21. package/dist/document-upload.d.ts +50 -50
  22. package/dist/dynamic-forms.d.ts +2 -2
  23. package/dist/ekyb.d.ts +6 -6
  24. package/dist/ekyb.esm.js +4 -4
  25. package/dist/{ekybStateMachine-BYHoDF3i.esm.js → ekybStateMachine-AJRmn0Iw.esm.js} +2 -2
  26. package/dist/ekyc.d.ts +3 -3
  27. package/dist/ekyc.esm.js +2 -2
  28. package/dist/{ekycStateMachine-oeO0Iekd.esm.js → ekycStateMachine-DlWfov8R.esm.js} +1 -1
  29. package/dist/electronic-signature.d.ts +3 -3
  30. package/dist/email.d.ts +3 -3
  31. package/dist/email.esm.js +2 -2
  32. package/dist/{emailManager-wAV0LE-H.esm.js → emailManager-DSGhvDFD.esm.js} +1 -1
  33. package/dist/{emailManager-DIfnS5g1.d.ts → emailManager-xt37-xiT.d.ts} +2 -2
  34. package/dist/extensibility.d.ts +15 -15
  35. package/dist/extensibility.esm.js +13 -13
  36. package/dist/face-match.d.ts +1 -1
  37. package/dist/face-match.esm.js +1 -1
  38. package/dist/{faceCaptureManagerFactory-yqtpxjnN.d.ts → faceCaptureManagerFactory-BM68qGaT.d.ts} +8 -8
  39. package/dist/{faceCaptureSetup-B3faSpYA.esm.js → faceCaptureSetup-ClABBzp1.esm.js} +1 -1
  40. package/dist/flow-events.d.ts +5 -5
  41. package/dist/flow.d.ts +11 -11
  42. package/dist/flow.esm.js +4 -4
  43. package/dist/{flowServices-BwTlu6Kc.esm.js → flowServices-BIhFyPJe.esm.js} +1 -1
  44. package/dist/geolocation.d.ts +2 -2
  45. package/dist/geolocation.esm.js +1 -1
  46. package/dist/government-validation.d.ts +2 -2
  47. package/dist/government-validation.esm.js +1 -1
  48. package/dist/home.d.ts +14 -14
  49. package/dist/id-ocr.d.ts +54 -54
  50. package/dist/id-ocr.esm.js +1 -1
  51. package/dist/id-verification.d.ts +27 -27
  52. package/dist/id-verification.esm.js +1 -1
  53. package/dist/id.d.ts +10 -10
  54. package/dist/id.esm.js +5 -5
  55. package/dist/{idCaptureManager-Fyd0eam-.d.ts → idCaptureManager-ebBTfNi0.d.ts} +7 -7
  56. package/dist/{idCaptureManager-DjT2Jeqb.esm.js → idCaptureManager-nOyXOb20.esm.js} +1 -1
  57. package/dist/{idCaptureStateMachine-D2qOM55y.esm.js → idCaptureStateMachine-Dracn7mt.esm.js} +4 -4
  58. package/dist/identity-reuse.d.ts +42 -42
  59. package/dist/{index-BcRG8rtJ.d.ts → index-BGUoiDNw.d.ts} +2 -2
  60. package/dist/{index-CuR5NxvD.d.ts → index-CXnOXqCd.d.ts} +120 -120
  61. package/dist/index.d.ts +2 -2
  62. package/dist/index.esm.js +2 -2
  63. package/dist/mandatory-consent.d.ts +55 -55
  64. package/dist/mandatory-consent.esm.js +1 -1
  65. package/dist/openviduLazy-BF6k6HES.esm.js +3 -0
  66. package/dist/{openviduLazy-Cok70ZSg.esm.js → openviduLazy-BpjP5qzP.esm.js} +1 -1
  67. package/dist/phone.d.ts +3 -3
  68. package/dist/phone.esm.js +2 -2
  69. package/dist/{phoneManager-B6M30hKE.d.ts → phoneManager-DKwybjHQ.d.ts} +2 -2
  70. package/dist/{phoneManager-DAJbGhlY.esm.js → phoneManager-OEibtxkz.esm.js} +1 -1
  71. package/dist/qe-signature.d.ts +3 -3
  72. package/dist/qe-signature.esm.js +1 -1
  73. package/dist/{recordingService-Ig2UgbLv.esm.js → recordingService-C8p_rt_R.esm.js} +4 -4
  74. package/dist/redirect-to-mobile.d.ts +2 -2
  75. package/dist/redirect-to-mobile.esm.js +1 -1
  76. package/dist/selfie.d.ts +11 -11
  77. package/dist/selfie.esm.js +5 -5
  78. package/dist/{selfieManager-D0lSgd-J.d.ts → selfieManager-BU_qtl7G.d.ts} +2 -2
  79. package/dist/{selfieManager-Duisl7qN.esm.js → selfieManager-DOEfclbg.esm.js} +1 -1
  80. package/dist/{selfieStateMachine-D76whWEf.esm.js → selfieStateMachine-s7HwywEt.esm.js} +2 -2
  81. package/dist/{session-iVp1Sc3p.esm.js → session-BNIUemlQ.esm.js} +1 -1
  82. package/dist/session.d.ts +4 -4
  83. package/dist/session.esm.js +2 -2
  84. package/dist/{setup-C5AITV8m.d.ts → setup-CpAA5S7A.d.ts} +1 -1
  85. package/dist/{setup-gQX5D1GY.esm.js → setup-DEuVpB1E.esm.js} +1 -1
  86. package/dist/signature.d.ts +2 -2
  87. package/dist/signature.esm.js +1 -1
  88. package/dist/trust-graph.d.ts +1 -1
  89. package/dist/{types-CFV9G_7j.d.ts → types-CSDi2j_3.d.ts} +1 -1
  90. package/dist/{types-BP1m8VRw.d.ts → types-DZvOY_B1.d.ts} +1 -1
  91. package/dist/{types-B06Ypu2F.d.ts → types-DkpwYjYw.d.ts} +1 -1
  92. package/dist/wasm.d.ts +2 -2
  93. package/dist/wasm.esm.js +2 -2
  94. package/dist/watchlist-for-business.d.ts +1 -1
  95. package/dist/watchlist-for-business.esm.js +4 -72
  96. package/dist/watchlist.d.ts +1 -1
  97. package/dist/watchlist.esm.js +3 -39
  98. package/dist/watchlistForBusinessStateMachine-CcP2y7Is.esm.js +74 -0
  99. package/dist/watchlistStateMachine-CvaQBrPb.esm.js +41 -0
  100. package/dist/workflow.d.ts +131 -131
  101. package/dist/workflow.esm.js +32 -25
  102. package/package.json +1 -1
  103. package/dist/openviduLazy-Cm0XFh_v.esm.js +0 -3
  104. /package/dist/{Actor-CI32dTbG.d.ts → Actor-BIU0OEvS.d.ts} +0 -0
  105. /package/dist/{Manager-C8PrhBOx.d.ts → Manager-B9HFXDz5.d.ts} +0 -0
  106. /package/dist/{StateMachine-BCQrZJhf.d.ts → StateMachine-BUhmcPQ3.d.ts} +0 -0
  107. /package/dist/{addressSearch-BpTbTWCa.esm.js → addressSearch-C0cnIN09.esm.js} +0 -0
  108. /package/dist/{camera-DBSxa6ML.d.ts → camera-6QfEti0q.d.ts} +0 -0
  109. /package/dist/{deepsightLoader-Cm4JIT_z.esm.js → deepsightLoader-CIhGf15c.esm.js} +0 -0
  110. /package/dist/{displayErrors-DqJ_IbsG.d.ts → displayErrors-CiAteUnc.d.ts} +0 -0
  111. /package/dist/{documentCaptureStateMachine-BqzTDy9k.esm.js → documentCaptureStateMachine-B_EXa0JV.esm.js} +0 -0
  112. /package/dist/{emailStateMachine-DOf4j58N.esm.js → emailStateMachine-C-PnV8U2.esm.js} +0 -0
  113. /package/dist/{faceMatchStateMachine-DNFrxTFS.esm.js → faceMatchStateMachine-BKRJK-rn.esm.js} +0 -0
  114. /package/dist/{flowCompletionService-P54yzGvA.esm.js → flowCompletionService-CjM7mfgS.esm.js} +0 -0
  115. /package/dist/{flowCompletionService-DhkT4SRY.d.ts → flowCompletionService-D1-bLzxr.d.ts} +0 -0
  116. /package/dist/{geolocationStateMachine-asasuHY2.esm.js → geolocationStateMachine-DmIYlpdo.esm.js} +0 -0
  117. /package/dist/{governmentValidationStateMachine-BDDYrJTo.esm.js → governmentValidationStateMachine-XvOxfRtH.esm.js} +0 -0
  118. /package/dist/{idOcrStateMachine-YbjjC_Gg.esm.js → idOcrStateMachine-CgOapd0S.esm.js} +0 -0
  119. /package/dist/{idVerificationStateMachine-xbw9HP1Z.esm.js → idVerificationStateMachine-BfnsFUNz.esm.js} +0 -0
  120. /package/dist/{invokeOnCaptureCallback-rc6kBHo5.esm.js → invokeOnCaptureCallback-BE5-7t5A.esm.js} +0 -0
  121. /package/dist/{lib-BB0B_qQX.esm.js → lib-B8KyJQ8X.esm.js} +0 -0
  122. /package/dist/{mandatoryConsentStateMachine-Cnco1jvn.esm.js → mandatoryConsentStateMachine-KWAkefyP.esm.js} +0 -0
  123. /package/dist/{phoneStateMachine-CuPARRaT.esm.js → phoneStateMachine-BrGKd1rQ.esm.js} +0 -0
  124. /package/dist/{qe-signature-DFo_Cc-I.esm.js → qe-signature-M3fXf3cK.esm.js} +0 -0
  125. /package/dist/{redirectToMobileStateMachine-BOEqe46A.esm.js → redirectToMobileStateMachine-Cyza2d_B.esm.js} +0 -0
  126. /package/dist/{runChildModule-CqqwqAkW.esm.js → runChildModule-B_pYbMX7.esm.js} +0 -0
  127. /package/dist/{signatureStateMachine-B5-QVUve.esm.js → signatureStateMachine-C2bFHzhT.esm.js} +0 -0
  128. /package/dist/{types-CAD4va6a.d.ts → types-DvX3vIRm.d.ts} +0 -0
  129. /package/dist/{warmup-CEcppFiS.d.ts → warmup-NOr3xE7Y.d.ts} +0 -0
package/dist/wasm.esm.js CHANGED
@@ -1,11 +1,11 @@
1
- import { c as buildDefaultWasmConfig, i as setWasmConfig, l as resolveWasmConfig, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil } from "./setup-gQX5D1GY.esm.js";
1
+ import { c as buildDefaultWasmConfig, i as setWasmConfig, l as resolveWasmConfig, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil } from "./setup-DEuVpB1E.esm.js";
2
2
  import { n as warmupWasm } from "./BaseWasmProvider-C_DLEI40.esm.js";
3
3
  import "./WasmUtilProvider-j98OJf-S.esm.js";
4
4
  import "./BrowserTimerProvider-DhNc_x02.esm.js";
5
5
  import "./api-CESGtpbH.esm.js";
6
6
  import "./events-D6-e4vok.esm.js";
7
7
  import "./endpoints-CnN3SyDa.esm.js";
8
- import "./session-iVp1Sc3p.esm.js";
8
+ import "./session-BNIUemlQ.esm.js";
9
9
  import "./IpifyProvider-D7jx52AL.esm.js";
10
10
  import "./browserSimulation-gxD8cSpM.esm.js";
11
11
 
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C8PrhBOx.js";
1
+ import { t as Manager } from "./Manager-B9HFXDz5.js";
2
2
 
3
3
  //#region src/modules/watchlist-for-business/watchlistForBusinessManager.d.ts
4
4
  /** Waiting for `load()` to be called. */
@@ -1,77 +1,9 @@
1
- import { t as api } from "./api-CESGtpbH.esm.js";
1
+ import "./api-CESGtpbH.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
3
- import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
4
- import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
3
+ import "./endpoints-CnN3SyDa.esm.js";
4
+ import { c as createManager, s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
5
+ import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-CcP2y7Is.esm.js";
5
6
 
6
- //#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
7
- async function submitWatchlistForBusiness(data, signal) {
8
- const res = await api.post(endpoints.watchlistForBusinessSubmit, data, { signal });
9
- if (!res.ok) throw new Error(`POST ${endpoints.watchlistForBusinessSubmit} failed: ${res.status} ${res.statusText}`);
10
- return res.data;
11
- }
12
-
13
- //#endregion
14
- //#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.ts
15
- const DEFAULT_COUNTRY = "US";
16
- function computeIsValid(businessName) {
17
- return businessName.trim().length > 0;
18
- }
19
- const watchlistForBusinessMachine = setup({
20
- types: {
21
- context: {},
22
- events: {}
23
- },
24
- actors: { submitWatchlistForBusiness: fromPromise(async ({ input, signal }) => {
25
- await submitWatchlistForBusiness(input, signal);
26
- }) },
27
- actions: {
28
- setCountry: assign(({ event }) => {
29
- const { country } = event;
30
- return { country };
31
- }),
32
- setBusinessName: assign(({ event }) => {
33
- const { value } = event;
34
- return {
35
- businessName: value,
36
- isValid: computeIsValid(value)
37
- };
38
- })
39
- },
40
- guards: { isValid: ({ context }) => context.isValid }
41
- }).createMachine({
42
- id: "watchlist-for-business",
43
- initial: "idle",
44
- context: {
45
- country: DEFAULT_COUNTRY,
46
- businessName: "",
47
- isValid: false
48
- },
49
- states: {
50
- idle: { on: { LOAD: { target: "form" } } },
51
- form: { on: {
52
- SET_COUNTRY: { actions: "setCountry" },
53
- SET_BUSINESS_NAME: { actions: "setBusinessName" },
54
- SUBMIT: {
55
- target: "submitting",
56
- guard: "isValid"
57
- }
58
- } },
59
- submitting: { invoke: {
60
- id: "submitWatchlistForBusiness",
61
- src: "submitWatchlistForBusiness",
62
- input: ({ context }) => ({
63
- countryCodes: [context.country],
64
- businessName: context.businessName
65
- }),
66
- onDone: { target: "success" },
67
- onError: { target: "finished" }
68
- } },
69
- success: { after: { 3e3: { target: "finished" } } },
70
- finished: { type: "final" }
71
- }
72
- });
73
-
74
- //#endregion
75
7
  //#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
76
8
  function createWatchlistForBusinessActor() {
77
9
  return createActor(watchlistForBusinessMachine).start();
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-C8PrhBOx.js";
1
+ import { t as Manager } from "./Manager-B9HFXDz5.js";
2
2
 
3
3
  //#region src/modules/watchlist/watchlistStateMachine.d.ts
4
4
  type WatchlistResult = 'success' | 'skipped';
@@ -1,46 +1,10 @@
1
1
  import "./api-CESGtpbH.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D6-e4vok.esm.js";
3
3
  import "./endpoints-CnN3SyDa.esm.js";
4
- import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
5
- import { t as processWatchlist } from "./watchlistServices-DMbUhkBX.esm.js";
4
+ import { c as createManager, s as createActor } from "./xstate.esm-B70JrNqo.esm.js";
5
+ import "./watchlistServices-DMbUhkBX.esm.js";
6
+ import { t as watchlistMachine } from "./watchlistStateMachine-CvaQBrPb.esm.js";
6
7
 
7
- //#region src/modules/watchlist/watchlistStateMachine.ts
8
- const watchlistMachine = setup({
9
- types: {
10
- context: {},
11
- events: {}
12
- },
13
- actors: { processWatchlist: fromPromise(async ({ signal }) => {
14
- await processWatchlist(signal);
15
- }) },
16
- actions: {
17
- markSuccess: assign({ result: "success" }),
18
- markSkipped: assign({ result: "skipped" })
19
- }
20
- }).createMachine({
21
- id: "watchlist",
22
- initial: "idle",
23
- context: { result: null },
24
- states: {
25
- idle: { on: { LOAD: { target: "processing" } } },
26
- processing: { invoke: {
27
- id: "processWatchlist",
28
- src: "processWatchlist",
29
- onDone: { target: "success" },
30
- onError: {
31
- target: "finished",
32
- actions: "markSkipped"
33
- }
34
- } },
35
- success: { after: { 3e3: {
36
- target: "finished",
37
- actions: "markSuccess"
38
- } } },
39
- finished: { type: "final" }
40
- }
41
- });
42
-
43
- //#endregion
44
8
  //#region src/modules/watchlist/watchlistActor.ts
45
9
  function createWatchlistActor() {
46
10
  return createActor(watchlistMachine).start();
@@ -0,0 +1,74 @@
1
+ import { t as api } from "./api-CESGtpbH.esm.js";
2
+ import { t as endpoints } from "./endpoints-CnN3SyDa.esm.js";
3
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
4
+
5
+ //#region src/modules/watchlist-for-business/watchlistForBusinessServices.ts
6
+ async function submitWatchlistForBusiness(data, signal) {
7
+ const res = await api.post(endpoints.watchlistForBusinessSubmit, data, { signal });
8
+ if (!res.ok) throw new Error(`POST ${endpoints.watchlistForBusinessSubmit} failed: ${res.status} ${res.statusText}`);
9
+ return res.data;
10
+ }
11
+
12
+ //#endregion
13
+ //#region src/modules/watchlist-for-business/watchlistForBusinessStateMachine.ts
14
+ const DEFAULT_COUNTRY = "US";
15
+ function computeIsValid(businessName) {
16
+ return businessName.trim().length > 0;
17
+ }
18
+ const watchlistForBusinessMachine = setup({
19
+ types: {
20
+ context: {},
21
+ events: {}
22
+ },
23
+ actors: { submitWatchlistForBusiness: fromPromise(async ({ input, signal }) => {
24
+ await submitWatchlistForBusiness(input, signal);
25
+ }) },
26
+ actions: {
27
+ setCountry: assign(({ event }) => {
28
+ const { country } = event;
29
+ return { country };
30
+ }),
31
+ setBusinessName: assign(({ event }) => {
32
+ const { value } = event;
33
+ return {
34
+ businessName: value,
35
+ isValid: computeIsValid(value)
36
+ };
37
+ })
38
+ },
39
+ guards: { isValid: ({ context }) => context.isValid }
40
+ }).createMachine({
41
+ id: "watchlist-for-business",
42
+ initial: "idle",
43
+ context: {
44
+ country: DEFAULT_COUNTRY,
45
+ businessName: "",
46
+ isValid: false
47
+ },
48
+ states: {
49
+ idle: { on: { LOAD: { target: "form" } } },
50
+ form: { on: {
51
+ SET_COUNTRY: { actions: "setCountry" },
52
+ SET_BUSINESS_NAME: { actions: "setBusinessName" },
53
+ SUBMIT: {
54
+ target: "submitting",
55
+ guard: "isValid"
56
+ }
57
+ } },
58
+ submitting: { invoke: {
59
+ id: "submitWatchlistForBusiness",
60
+ src: "submitWatchlistForBusiness",
61
+ input: ({ context }) => ({
62
+ countryCodes: [context.country],
63
+ businessName: context.businessName
64
+ }),
65
+ onDone: { target: "success" },
66
+ onError: { target: "finished" }
67
+ } },
68
+ success: { after: { 3e3: { target: "finished" } } },
69
+ finished: { type: "final" }
70
+ }
71
+ });
72
+
73
+ //#endregion
74
+ export { watchlistForBusinessMachine as t };
@@ -0,0 +1,41 @@
1
+ import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-B70JrNqo.esm.js";
2
+ import { t as processWatchlist } from "./watchlistServices-DMbUhkBX.esm.js";
3
+
4
+ //#region src/modules/watchlist/watchlistStateMachine.ts
5
+ const watchlistMachine = setup({
6
+ types: {
7
+ context: {},
8
+ events: {}
9
+ },
10
+ actors: { processWatchlist: fromPromise(async ({ signal }) => {
11
+ await processWatchlist(signal);
12
+ }) },
13
+ actions: {
14
+ markSuccess: assign({ result: "success" }),
15
+ markSkipped: assign({ result: "skipped" })
16
+ }
17
+ }).createMachine({
18
+ id: "watchlist",
19
+ initial: "idle",
20
+ context: { result: null },
21
+ states: {
22
+ idle: { on: { LOAD: { target: "processing" } } },
23
+ processing: { invoke: {
24
+ id: "processWatchlist",
25
+ src: "processWatchlist",
26
+ onDone: { target: "success" },
27
+ onError: {
28
+ target: "finished",
29
+ actions: "markSkipped"
30
+ }
31
+ } },
32
+ success: { after: { 3e3: {
33
+ target: "finished",
34
+ actions: "markSuccess"
35
+ } } },
36
+ finished: { type: "final" }
37
+ }
38
+ });
39
+
40
+ //#endregion
41
+ export { watchlistMachine as t };