@incodetech/core 0.0.0-dev-20260817-bc947e65 → 0.0.0-dev-20260817-6f67bc98

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 (65) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-CeB8PPCB.esm.js → BrowserDiagnosticsCryptoProvider-BXSFBvOE.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CAGx1hYA.esm.js → apiError-DZnaOIQH.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-BRentI5Q.esm.js → authenticationManager-Bm_Lsw5F.esm.js} +2 -2
  6. package/dist/{authenticationStateMachine-DoJyCBy9.esm.js → authenticationStateMachine-BayAdNMr.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
  9. package/dist/custom-watchlist.d.ts +2 -51
  10. package/dist/custom-watchlist.esm.js +2 -69
  11. package/dist/customWatchlistManager-BgS0M1gL.esm.js +73 -0
  12. package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
  13. package/dist/{deepsightLoader-TugpcbVw.esm.js → deepsightLoader-DfdJiIoC.esm.js} +3 -3
  14. package/dist/document-capture.d.ts +2 -2
  15. package/dist/document-upload.d.ts +4 -4
  16. package/dist/{documentCaptureManager-DlGYd-sJ.d.ts → documentCaptureManager-Bvipl_tY.d.ts} +67 -67
  17. package/dist/dynamic-forms.esm.js +2 -2
  18. package/dist/{dynamicFormsManager-B1AwqKJq.esm.js → dynamicFormsManager-BZda7v1t.esm.js} +1 -1
  19. package/dist/{dynamicFormsStateMachine-C0MaK5kR.esm.js → dynamicFormsStateMachine-DapZg0ey.esm.js} +1 -1
  20. package/dist/ekyb.esm.js +3 -3
  21. package/dist/{ekybManager-CFX-2QeH.esm.js → ekybManager-_PAl6u4J.esm.js} +1 -1
  22. package/dist/{ekybStateMachine-DRNthukN.esm.js → ekybStateMachine-CyWcn0DR.esm.js} +1 -1
  23. package/dist/electronic-signature.esm.js +1 -1
  24. package/dist/{electronicSignatureManager-DjkKIFQO.esm.js → electronicSignatureManager-DnzvYbDc.esm.js} +1 -1
  25. package/dist/extensibility.d.ts +5 -4
  26. package/dist/extensibility.esm.js +11 -10
  27. package/dist/{faceCaptureManagerFactory-BR4Djtxq.esm.js → faceCaptureManagerFactory-CvtozmiB.esm.js} +1 -1
  28. package/dist/{faceCaptureSetup-BrINzLQC.esm.js → faceCaptureSetup-5OGpCrkg.esm.js} +2 -2
  29. package/dist/flow.d.ts +1 -1
  30. package/dist/flow.esm.js +3 -3
  31. package/dist/{flowCompletionService-CuQBuTIt.esm.js → flowCompletionService-CFxRuksm.esm.js} +1 -1
  32. package/dist/{flowServices-DOCcS4El.esm.js → flowServices-TZ7MhN39.esm.js} +3 -3
  33. package/dist/geolocation.esm.js +2 -2
  34. package/dist/{geolocationManager-BwU4AxSa.esm.js → geolocationManager-CiGF0fF_.esm.js} +1 -1
  35. package/dist/{geolocationStateMachine-CZJkDVYy.esm.js → geolocationStateMachine-Yw8hWJ6d.esm.js} +1 -1
  36. package/dist/id-selfie-flow.esm.js +6 -6
  37. package/dist/id.esm.js +3 -3
  38. package/dist/{idCaptureManager-DKn2ZCnG.esm.js → idCaptureManager-CX1WP8JO.esm.js} +2 -2
  39. package/dist/{idCaptureServices-BL2-qun8.esm.js → idCaptureServices-D_CGOhQj.esm.js} +2 -2
  40. package/dist/{idCaptureStateMachine-Dx09EK1n.esm.js → idCaptureStateMachine-muQL8JQR.esm.js} +7 -7
  41. package/dist/index.esm.js +1 -1
  42. package/dist/mandatory-consent.d.ts +1 -1
  43. package/dist/{mandatoryConsentManager-CVxw-noP.d.ts → mandatoryConsentManager-BbfpILqv.d.ts} +4 -4
  44. package/dist/{onDeviceFaceResults-BQRhIDkM.esm.js → onDeviceFaceResults-D9hTt7RX.esm.js} +3 -3
  45. package/dist/personhood.esm.js +3 -3
  46. package/dist/qe-signature.esm.js +1 -1
  47. package/dist/{recordingService-C-10Tz0e.esm.js → recordingService-pr2ELDP_.esm.js} +1 -1
  48. package/dist/{runChildModule-BLZhThos.esm.js → runChildModule-Dt1IRBCv.esm.js} +1 -1
  49. package/dist/selfie.esm.js +4 -4
  50. package/dist/{selfieManager-CCnEhmjY.esm.js → selfieManager-CJAyP2MP.esm.js} +2 -2
  51. package/dist/{selfieStateMachine-DnCmDrQl.esm.js → selfieStateMachine-Do4FrLwX.esm.js} +2 -2
  52. package/dist/{session-C5JFkK6n.esm.js → session-0jHUdMX7.esm.js} +4 -4
  53. package/dist/session.esm.js +4 -4
  54. package/dist/{sessionInitializer-D8mvQvX-.esm.js → sessionInitializer-CyeooZGJ.esm.js} +2 -2
  55. package/dist/{setup-80RUloD5.esm.js → setup-fErCLE2Z.esm.js} +4 -4
  56. package/dist/trueSight-BWOlUrwa.esm.js +1 -0
  57. package/dist/{trueSightService-DEt69QTK.esm.js → trueSightService-Cl5CZse8.esm.js} +2 -2
  58. package/dist/video-selfie.esm.js +3 -3
  59. package/dist/{videoSelfieCameraWarmer-BN_XZ8NA.esm.js → videoSelfieCameraWarmer-C2fbVokP.esm.js} +2 -2
  60. package/dist/wasm.esm.js +1 -1
  61. package/dist/workflow.d.ts +4 -4
  62. package/dist/workflow.esm.js +14 -14
  63. package/package.json +1 -1
  64. package/dist/trueSight-CyTgR1gN.esm.js +0 -1
  65. /package/dist/{types-DelMqZLe.d.ts → types-DelMqZLe2.d.ts} +0 -0
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
18
18
  */
19
19
  function getTruesightKey() {
20
20
  try {
21
- const key = decodeTruesightKey("+vs24FOTkO4PCOfa3KRmmP/+7GrGA760lGvg6f/Aj0g=", "q6Hgrsfsdl+gZgc6GUaCdT2qOyFiwdOO7gbuxaK8Swk=");
21
+ const key = decodeTruesightKey("JH5fV6e5050KKm6XN1KkbP3yXsLcwbg7uDOl01iy+Og=", "8+TaCbWb1oElD7DOMwXxcB8jdsqUAyeM4rRG32C6xCU=");
22
22
  return key.length === KEY_LENGTH_BYTES ? key : null;
23
23
  } catch {
24
24
  return null;
@@ -1,4 +1,4 @@
1
- import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DjkKIFQO.esm.js";
1
+ import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DnzvYbDc.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-DEt69QTK.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-Cl5CZse8.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-DoJyCBy9.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BRentI5Q.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BayAdNMr.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Bm_Lsw5F.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-CxfNJVZW.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BR4Djtxq.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-DoJyCBy9.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CvtozmiB.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BayAdNMr.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BrINzLQC.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BQRhIDkM.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-5OGpCrkg.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-D9hTt7RX.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Sh0zhEv7.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-3Pbtj-RV.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -82,10 +82,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
82
82
  type: "clearError";
83
83
  params: NonReducibleUnknown;
84
84
  };
85
- resetContext: {
86
- type: "resetContext";
87
- params: NonReducibleUnknown;
88
- };
89
85
  setConsentData: {
90
86
  type: "setConsentData";
91
87
  params: NonReducibleUnknown;
@@ -94,6 +90,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
94
90
  type: "toggleCheckbox";
95
91
  params: NonReducibleUnknown;
96
92
  };
93
+ resetContext: {
94
+ type: "resetContext";
95
+ params: NonReducibleUnknown;
96
+ };
97
97
  }>, {
98
98
  type: "canSubmit";
99
99
  params: unknown;
@@ -1,53 +1,4 @@
1
- import { t as Manager } from "./Manager-CQQ99QOI.js";
2
- //#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
3
- type CustomWatchlistResult = 'success' | 'skipped';
4
- declare const customWatchlistMachine: any;
5
- //#endregion
6
- //#region src/modules/custom-watchlist/customWatchlistManager.d.ts
7
- type CustomWatchlistIdleState = {
8
- status: 'idle';
9
- };
10
- type CustomWatchlistProcessingState = {
11
- status: 'processing';
12
- };
13
- type CustomWatchlistSuccessState = {
14
- status: 'success';
15
- };
16
- type CustomWatchlistFinishedState = {
17
- status: 'finished';
18
- result: CustomWatchlistResult;
19
- };
20
- /**
21
- * Union of all possible custom watchlist manager states.
22
- *
23
- * @example
24
- * ```typescript
25
- * const state = customWatchlistManager.getState();
26
- * if (state.status === 'finished') {
27
- * console.log('Custom watchlist check complete');
28
- * }
29
- * ```
30
- */
31
- type CustomWatchlistState = CustomWatchlistIdleState | CustomWatchlistProcessingState | CustomWatchlistSuccessState | CustomWatchlistFinishedState;
32
- /**
33
- * Creates a custom watchlist manager for headless or UI-driven usage.
34
- *
35
- * @example Headless usage
36
- * ```typescript
37
- * const manager = createCustomWatchlistManager();
38
- * manager.subscribe((state) => console.log(state.status));
39
- * manager.load();
40
- * ```
41
- */
42
- declare function createCustomWatchlistManager(): Manager<CustomWatchlistState> & {
43
- /**
44
- * Kicks off the custom watchlist check.
45
- * Transitions from 'idle' to 'processing'.
46
- */
47
- load(): void;
48
- };
49
- type CustomWatchlistManager = ReturnType<typeof createCustomWatchlistManager>;
50
- //#endregion
1
+ import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, o as customWatchlistMachine, r as createCustomWatchlistManager, t as CustomWatchlistManager } from "./customWatchlistManager-PBWHr_oM.js";
51
2
  //#region src/modules/custom-watchlist/types.d.ts
52
3
  /**
53
4
  * Configuration for the custom watchlist module (INCODE_WATCHLIST flow key).
@@ -62,4 +13,4 @@ type CustomWatchlistConfig = {
62
13
  autoExecution: boolean;
63
14
  };
64
15
  //#endregion
65
- export { type CustomWatchlistConfig, type CustomWatchlistManager, type CustomWatchlistState, createCustomWatchlistManager, customWatchlistMachine };
16
+ export { type CustomWatchlistActor, type CustomWatchlistConfig, type CustomWatchlistManager, type CustomWatchlistState, createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -1,70 +1,3 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
- import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
1
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
5
- //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
- function createCustomWatchlistActor() {
7
- return createActor(customWatchlistMachine).start();
8
- }
9
- //#endregion
10
- //#region src/modules/custom-watchlist/customWatchlistManager.ts
11
- /**
12
- * Maps a Custom Watchlist state-machine snapshot to the exact Figma
13
- * "Tracked Events" screen name. Source: Watchlist | Custom Watchlist
14
- * Figma file (`https://www.figma.com/design/Xm4BgXotNwdi5iRdHTIX0N/Watchlist-%7C-Custom-Watchlist----Latest-Design?node-id=3031-82920`).
15
- * Family is `watchlist.*`, shared with the global watchlist manager — both
16
- * keep their own module token (`watchlist` vs `customWatchlist`) per the
17
- * AdSign/QSign precedent.
18
- *
19
- * `idle` and `finished` are intentionally unmapped — the Figma canvas does
20
- * not define screens for them; `finished` collapses into `moduleClosed`.
21
- */
22
- function getCustomWatchlistScreenName(snapshot) {
23
- const stateName = topLevelStateName(snapshot.value);
24
- if (stateName === void 0) return void 0;
25
- switch (stateName) {
26
- case "processing": return "watchlist.processing";
27
- case "success": return "watchlist.success";
28
- default: return;
29
- }
30
- }
31
- function mapState(snapshot) {
32
- const typedSnapshot = snapshot;
33
- if (typedSnapshot.matches("processing")) return { status: "processing" };
34
- if (typedSnapshot.matches("success")) return { status: "success" };
35
- if (typedSnapshot.matches("finished")) return {
36
- status: "finished",
37
- result: typedSnapshot.context.result ?? "skipped"
38
- };
39
- return { status: "idle" };
40
- }
41
- function createApi({ actor }) {
42
- return {
43
- /**
44
- * Kicks off the custom watchlist check.
45
- * Transitions from 'idle' to 'processing'.
46
- */
47
- load() {
48
- actor.send({ type: "LOAD" });
49
- } };
50
- }
51
- /**
52
- * Creates a custom watchlist manager for headless or UI-driven usage.
53
- *
54
- * @example Headless usage
55
- * ```typescript
56
- * const manager = createCustomWatchlistManager();
57
- * manager.subscribe((state) => console.log(state.status));
58
- * manager.load();
59
- * ```
60
- */
61
- function createCustomWatchlistManager() {
62
- return createManager({
63
- actor: createCustomWatchlistActor(),
64
- mapState,
65
- createApi,
66
- instrumentation: createManagerInstrumentation(eventModuleNames.customWatchList, { getEventScreenName: getCustomWatchlistScreenName })
67
- });
68
- }
69
- //#endregion
70
- export { createCustomWatchlistManager, customWatchlistMachine };
2
+ import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-BgS0M1gL.esm.js";
3
+ export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
@@ -0,0 +1,73 @@
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CxfNJVZW.esm.js";
2
+ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
5
+ //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
+ function createCustomWatchlistActor() {
7
+ return createActor(customWatchlistMachine).start();
8
+ }
9
+ //#endregion
10
+ //#region src/modules/custom-watchlist/customWatchlistManager.ts
11
+ /**
12
+ * Maps a Custom Watchlist state-machine snapshot to the exact Figma
13
+ * "Tracked Events" screen name. Source: Watchlist | Custom Watchlist
14
+ * Figma file (`https://www.figma.com/design/Xm4BgXotNwdi5iRdHTIX0N/Watchlist-%7C-Custom-Watchlist----Latest-Design?node-id=3031-82920`).
15
+ * Family is `watchlist.*`, shared with the global watchlist manager — both
16
+ * keep their own module token (`watchlist` vs `customWatchlist`) per the
17
+ * AdSign/QSign precedent.
18
+ *
19
+ * `idle` and `finished` are intentionally unmapped — the Figma canvas does
20
+ * not define screens for them; `finished` collapses into `moduleClosed`.
21
+ */
22
+ function getCustomWatchlistScreenName(snapshot) {
23
+ const stateName = topLevelStateName(snapshot.value);
24
+ if (stateName === void 0) return void 0;
25
+ switch (stateName) {
26
+ case "processing": return "watchlist.processing";
27
+ case "success": return "watchlist.success";
28
+ default: return;
29
+ }
30
+ }
31
+ function mapState(snapshot) {
32
+ const typedSnapshot = snapshot;
33
+ if (typedSnapshot.matches("processing")) return { status: "processing" };
34
+ if (typedSnapshot.matches("success")) return { status: "success" };
35
+ if (typedSnapshot.matches("finished")) return {
36
+ status: "finished",
37
+ result: typedSnapshot.context.result ?? "skipped"
38
+ };
39
+ return { status: "idle" };
40
+ }
41
+ function createApi({ actor }) {
42
+ return {
43
+ /**
44
+ * Kicks off the custom watchlist check.
45
+ * Transitions from 'idle' to 'processing'.
46
+ */
47
+ load() {
48
+ actor.send({ type: "LOAD" });
49
+ } };
50
+ }
51
+ /**
52
+ * Creates a custom watchlist manager for headless or UI-driven usage.
53
+ *
54
+ * @example Headless usage
55
+ * ```typescript
56
+ * const manager = createCustomWatchlistManager();
57
+ * manager.subscribe((state) => console.log(state.status));
58
+ * manager.load();
59
+ * ```
60
+ */
61
+ function createCustomWatchlistManager() {
62
+ return createCustomWatchlistManagerFromActor(createCustomWatchlistActor());
63
+ }
64
+ function createCustomWatchlistManagerFromActor(actor) {
65
+ return createManager({
66
+ actor,
67
+ mapState,
68
+ createApi,
69
+ instrumentation: createManagerInstrumentation(eventModuleNames.customWatchList, { getEventScreenName: getCustomWatchlistScreenName })
70
+ });
71
+ }
72
+ //#endregion
73
+ export { createCustomWatchlistManagerFromActor as n, createCustomWatchlistManager as t };
@@ -0,0 +1,64 @@
1
+ import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
3
+ import "./Actor-iTq7YY48.js";
4
+ //#region src/modules/custom-watchlist/customWatchlistStateMachine.d.ts
5
+ type CustomWatchlistResult = 'success' | 'skipped';
6
+ declare const customWatchlistMachine: any;
7
+ type CustomWatchlistMachine = typeof customWatchlistMachine;
8
+ //#endregion
9
+ //#region src/modules/custom-watchlist/customWatchlistActor.d.ts
10
+ type CustomWatchlistActor = ActorRefFrom<CustomWatchlistMachine>;
11
+ //#endregion
12
+ //#region src/modules/custom-watchlist/customWatchlistManager.d.ts
13
+ type CustomWatchlistIdleState = {
14
+ status: 'idle';
15
+ };
16
+ type CustomWatchlistProcessingState = {
17
+ status: 'processing';
18
+ };
19
+ type CustomWatchlistSuccessState = {
20
+ status: 'success';
21
+ };
22
+ type CustomWatchlistFinishedState = {
23
+ status: 'finished';
24
+ result: CustomWatchlistResult;
25
+ };
26
+ /**
27
+ * Union of all possible custom watchlist manager states.
28
+ *
29
+ * @example
30
+ * ```typescript
31
+ * const state = customWatchlistManager.getState();
32
+ * if (state.status === 'finished') {
33
+ * console.log('Custom watchlist check complete');
34
+ * }
35
+ * ```
36
+ */
37
+ type CustomWatchlistState = CustomWatchlistIdleState | CustomWatchlistProcessingState | CustomWatchlistSuccessState | CustomWatchlistFinishedState;
38
+ /**
39
+ * Creates a custom watchlist manager for headless or UI-driven usage.
40
+ *
41
+ * @example Headless usage
42
+ * ```typescript
43
+ * const manager = createCustomWatchlistManager();
44
+ * manager.subscribe((state) => console.log(state.status));
45
+ * manager.load();
46
+ * ```
47
+ */
48
+ declare function createCustomWatchlistManager(): Manager<CustomWatchlistState> & {
49
+ /**
50
+ * Kicks off the custom watchlist check.
51
+ * Transitions from 'idle' to 'processing'.
52
+ */
53
+ load(): void;
54
+ };
55
+ declare function createCustomWatchlistManagerFromActor(actor: CustomWatchlistActor): Manager<CustomWatchlistState> & {
56
+ /**
57
+ * Kicks off the custom watchlist check.
58
+ * Transitions from 'idle' to 'processing'.
59
+ */
60
+ load(): void;
61
+ };
62
+ type CustomWatchlistManager = ReturnType<typeof createCustomWatchlistManager>;
63
+ //#endregion
64
+ export { CustomWatchlistActor as a, createCustomWatchlistManagerFromActor as i, CustomWatchlistState as n, customWatchlistMachine as o, createCustomWatchlistManager as r, CustomWatchlistManager as t };
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-DEt69QTK.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-D8mvQvX-.esm.js";
5
- import "./trueSight-CyTgR1gN.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-Cl5CZse8.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-CyeooZGJ.esm.js";
5
+ import "./trueSight-BWOlUrwa.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
@@ -1,3 +1,3 @@
1
- import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DlGYd-sJ.js";
1
+ import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-DelMqZLe2.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-Bvipl_tY.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 };
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
38
38
  id: string | undefined;
39
39
  };
40
40
  }>, Values<{
41
- setError: {
42
- type: "setError";
43
- params: NonReducibleUnknown;
44
- };
45
41
  setStream: {
46
42
  type: "setStream";
47
43
  params: NonReducibleUnknown;
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
54
50
  type: "setProgress";
55
51
  params: NonReducibleUnknown;
56
52
  };
53
+ setError: {
54
+ type: "setError";
55
+ params: NonReducibleUnknown;
56
+ };
57
57
  clearError: {
58
58
  type: "clearError";
59
59
  params: NonReducibleUnknown;