@incodetech/core 0.0.0-dev-20260717-87fac45b → 0.0.0-dev-20260717-8aab9f6d

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 (59) hide show
  1. package/dist/ae-signature.esm.js +1 -1
  2. package/dist/{apiError-COvIGYWe.esm.js → apiError-B-PkYxln.esm.js} +13 -1
  3. package/dist/authentication.esm.js +2 -2
  4. package/dist/{authenticationManager-DK8fsUqL.esm.js → authenticationManager-CCsoE3a3.esm.js} +2 -2
  5. package/dist/{authenticationStateMachine-BlT8fkR6.esm.js → authenticationStateMachine-DfscLUkp.esm.js} +2 -2
  6. package/dist/consent.d.ts +1 -1
  7. package/dist/{consentManager-CsyToF8t.d.ts → consentManager-3Pbtj-RV.d.ts} +5 -5
  8. package/dist/cpf-ocr.d.ts +1 -1
  9. package/dist/{cpfOcrManager-CQkUAeWO.d.ts → cpfOcrManager-C-3PWS2h.d.ts} +1 -1
  10. package/dist/{deepsightLoader-C7HOhX6C.esm.js → deepsightLoader-Dv4RBBlg.esm.js} +1 -1
  11. package/dist/document-capture.d.ts +1 -1
  12. package/dist/{documentCaptureManager-DBqK5ner.d.ts → documentCaptureManager-CBP2DkPr.d.ts} +4 -4
  13. package/dist/dynamic-forms.esm.js +2 -2
  14. package/dist/{dynamicFormsManager-COik5bJ7.esm.js → dynamicFormsManager-DxDndOS0.esm.js} +1 -1
  15. package/dist/{dynamicFormsStateMachine-BV-Fn13x.esm.js → dynamicFormsStateMachine-kajUEkCO.esm.js} +1 -1
  16. package/dist/ekyb.esm.js +2 -2
  17. package/dist/{ekybManager-BMjf8ZNw.esm.js → ekybManager-CwzaAdjM.esm.js} +1 -1
  18. package/dist/{ekybStateMachine-DfpEPLzD.esm.js → ekybStateMachine-BOG89tFg.esm.js} +1 -1
  19. package/dist/electronic-signature.esm.js +1 -1
  20. package/dist/{electronicSignatureManager-DSZu9OHT.esm.js → electronicSignatureManager-Ty1oUQ8W.esm.js} +1 -1
  21. package/dist/extensibility.d.ts +7 -7
  22. package/dist/extensibility.esm.js +8 -8
  23. package/dist/{faceCaptureManagerFactory-BFv1KlL_.esm.js → faceCaptureManagerFactory-aKmM3ism.esm.js} +1 -1
  24. package/dist/{faceCaptureSetup-Bxo1VNVw.esm.js → faceCaptureSetup-CbLgaydb.esm.js} +2 -2
  25. package/dist/flow.esm.js +2 -2
  26. package/dist/{flowCompletionService-DQSC7Kso.esm.js → flowCompletionService-B30WLCxd.esm.js} +1 -1
  27. package/dist/{flowServices-ymcivfU0.esm.js → flowServices-CaH1ElaI.esm.js} +3 -3
  28. package/dist/geolocation.d.ts +1 -1
  29. package/dist/geolocation.esm.js +2 -2
  30. package/dist/geolocationManager-BOuGkRoP.d.ts +500 -0
  31. package/dist/{geolocationManager-D58ehBHU.esm.js → geolocationManager-CUchGjvz.esm.js} +28 -12
  32. package/dist/{geolocationStateMachine-BorcBNZ6.esm.js → geolocationStateMachine-DRAULUHq.esm.js} +46 -20
  33. package/dist/id-ocr.d.ts +1 -1
  34. package/dist/id.esm.js +2 -2
  35. package/dist/{idCaptureManager-BBfWW9Y0.esm.js → idCaptureManager-Cni6kB_4.esm.js} +1 -1
  36. package/dist/{idCaptureStateMachine-_1pROAbA.esm.js → idCaptureStateMachine-CZWjw6Qa.esm.js} +5 -5
  37. package/dist/{idOcrManager-vXa7GdRh.d.ts → idOcrManager-B-JyjyPb.d.ts} +1 -1
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-D6pD4hcZ.d.ts → identityReuseManager-v2TH5g7e.d.ts} +1 -1
  40. package/dist/index.esm.js +1 -1
  41. package/dist/mandatory-consent.d.ts +1 -1
  42. package/dist/{mandatoryConsentManager-BR8SLvd1.d.ts → mandatoryConsentManager-Bztc-cm2.d.ts} +5 -5
  43. package/dist/{onDeviceFaceResults-B3oTx-NK.esm.js → onDeviceFaceResults-wRyQ24qM.esm.js} +1 -1
  44. package/dist/personhood.esm.js +2 -2
  45. package/dist/qe-signature.esm.js +1 -1
  46. package/dist/{recordingService-Comyo6yK.esm.js → recordingService-5by5uVOf.esm.js} +1 -1
  47. package/dist/selfie.esm.js +4 -4
  48. package/dist/{selfieManager-CCR6VpoQ.esm.js → selfieManager-D57f1R4V.esm.js} +2 -2
  49. package/dist/{selfieStateMachine-D30gwMGq.esm.js → selfieStateMachine-nqQV3aNZ.esm.js} +2 -2
  50. package/dist/session-dUSz_co4.esm.js +1 -0
  51. package/dist/session.esm.js +4 -4
  52. package/dist/{sessionInitializer-CrzyJ4Y0.esm.js → sessionInitializer-CCiF0nzE.esm.js} +1 -1
  53. package/dist/{setup-CBijDJ0d.esm.js → setup-DmEcArzU.esm.js} +1 -1
  54. package/dist/video-selfie.esm.js +2 -2
  55. package/dist/wasm.esm.js +1 -1
  56. package/dist/workflow.esm.js +10 -10
  57. package/package.json +3 -3
  58. package/dist/geolocationManager-BWhRzBjk.d.ts +0 -155
  59. package/dist/session-B9KT6qnE.esm.js +0 -1
package/dist/id.esm.js CHANGED
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
2
2
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
5
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-_1pROAbA.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BBfWW9Y0.esm.js";
5
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, h as MANUAL_UPLOAD_MAX_RETRIES, i as preloadIdRecordingProvider, l as uploadIdImage, m as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, o as startRecordingSession, p as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, r as initializeIdCapture, s as stopRecording, t as idCaptureMachine, u as uploadManualIdFile } from "./idCaptureStateMachine-CZWjw6Qa.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Cni6kB_4.esm.js";
7
7
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
8
8
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
9
9
  function buildSubImage(canvas) {
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
4
4
  import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
5
5
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DwNCUB2I.esm.js";
6
6
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-_1pROAbA.esm.js";
7
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CZWjw6Qa.esm.js";
8
8
  //#region src/modules/id/digitalUpload/instrumentation.ts
9
9
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
10
10
  function isHoldingState(value) {
@@ -3,20 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
6
- import { t as getDisableIpify } from "./sessionInitializer-CrzyJ4Y0.esm.js";
6
+ import { t as getDisableIpify } from "./sessionInitializer-CCiF0nzE.esm.js";
7
7
  import { n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
8
8
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
11
- import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-B3oTx-NK.esm.js";
11
+ import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-wRyQ24qM.esm.js";
12
12
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
13
13
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
14
14
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
15
15
  import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
16
16
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
17
17
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-DguX5vFY.esm.js";
18
- import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-Comyo6yK.esm.js";
19
- import "./session-B9KT6qnE.esm.js";
18
+ import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-5by5uVOf.esm.js";
19
+ import "./session-dUSz_co4.esm.js";
20
20
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-Dzfws4i0.esm.js";
21
21
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
22
22
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1548,7 +1548,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1548
1548
  });
1549
1549
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1550
1550
  if (!input.dependencies) return;
1551
- const { loadDeepsightSession } = await import("./deepsightLoader-C7HOhX6C.esm.js");
1551
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dv4RBBlg.esm.js");
1552
1552
  return loadDeepsightSession({
1553
1553
  ds: input.ds,
1554
1554
  storage: input.dependencies.storage,
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
271
271
  type: "shouldProceedWithoutSubmitToSecondId";
272
272
  params: unknown;
273
273
  };
274
- }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
274
+ }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
275
275
  readonly id: "idOcr";
276
276
  readonly initial: "idle";
277
277
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-D6pD4hcZ.js";
1
+ import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
125
125
  type: "hasSelection";
126
126
  params: unknown;
127
127
  };
128
- }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
128
+ }>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
129
129
  readonly id: "identityReuse";
130
130
  readonly initial: "idle";
131
131
  readonly context: ({ input }: {
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-CBijDJ0d.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-DmEcArzU.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,2 +1,2 @@
1
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BR8SLvd1.js";
1
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-Bztc-cm2.js";
2
2
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -80,18 +80,18 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
80
80
  type: "clearError";
81
81
  params: NonReducibleUnknown;
82
82
  };
83
- toggleSigned: {
84
- type: "toggleSigned";
85
- params: NonReducibleUnknown;
86
- };
87
83
  resetContext: {
88
84
  type: "resetContext";
89
85
  params: NonReducibleUnknown;
90
86
  };
87
+ toggleSigned: {
88
+ type: "toggleSigned";
89
+ params: NonReducibleUnknown;
90
+ };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({ input }: {
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-C7HOhX6C.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-Dv4RBBlg.esm.js");
520
520
  return loadDeepsightSession({
521
521
  ds: options.ds,
522
522
  storage: options.storage
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
4
4
  import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-DzT65Fvf.esm.js";
5
5
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
6
6
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
7
- import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-CrzyJ4Y0.esm.js";
7
+ import { c as isBrowserSimulation, d as getThumbmarkId, f as getDeviceFingerprintInfo, n as getFingerprintEnabled, p as BrowserEnvironmentProvider } from "./sessionInitializer-CCiF0nzE.esm.js";
8
8
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
9
9
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
10
10
  import { i as requestPermission, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
12
12
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-B3oTx-NK.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-wRyQ24qM.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region ../infra/src/crypto/randomUUID.ts
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DSZu9OHT.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-Ty1oUQ8W.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
3
  import { t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
4
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-B3oTx-NK.esm.js";
4
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-wRyQ24qM.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BhSZDDNb.esm.js";
6
6
  //#region src/internal/manualReview/manualReviewService.ts
7
7
  async function flagFaceManualReview() {
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Bxo1VNVw.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BFv1KlL_.esm.js";
5
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CbLgaydb.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-aKmM3ism.esm.js";
7
7
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
8
8
  import { t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-D30gwMGq.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CCR6VpoQ.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-nqQV3aNZ.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-D57f1R4V.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
2
  import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
3
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BFv1KlL_.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-aKmM3ism.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-D30gwMGq.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-nqQV3aNZ.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Bxo1VNVw.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B3oTx-NK.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CbLgaydb.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-wRyQ24qM.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
7
7
  Object.values(FACE_ERROR_CODES);
@@ -0,0 +1 @@
1
+ import "./sessionInitializer-CCiF0nzE.esm.js";
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
- import { i as initializeSession } from "./sessionInitializer-CrzyJ4Y0.esm.js";
4
- import { n as toIncodeApiError, t as IncodeApiError } from "./apiError-COvIGYWe.esm.js";
5
- import "./session-B9KT6qnE.esm.js";
6
- import { n as getFinishStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
3
+ import { i as initializeSession } from "./sessionInitializer-CCiF0nzE.esm.js";
4
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
5
+ import "./session-dUSz_co4.esm.js";
6
+ import { n as getFinishStatus } from "./flowCompletionService-B30WLCxd.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1609,7 +1609,7 @@ function isBrowserSimulation(browserEnv) {
1609
1609
  }
1610
1610
  //#endregion
1611
1611
  //#region src/internal/version/sdkVersion.ts
1612
- const SDK_VERSION = "0.0.0-dev-20260717-87fac45b";
1612
+ const SDK_VERSION = "0.0.0-dev-20260717-8aab9f6d";
1613
1613
  //#endregion
1614
1614
  //#region src/internal/fingerprint/fingerprintService.ts
1615
1615
  function formatOsVersion(os) {
@@ -6,7 +6,7 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
6
6
  import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
7
7
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
8
8
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
9
- import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-CrzyJ4Y0.esm.js";
9
+ import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-CCiF0nzE.esm.js";
10
10
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
11
11
  //#region ../infra/src/wasm/wasmDefaults.ts
12
12
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
@@ -1,5 +1,5 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-CBijDJ0d.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DmEcArzU.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-BDTZNnca.esm.js";
5
5
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
@@ -7,7 +7,7 @@ import { c as createManager, o as createActor, r as assign, t as setup } from ".
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
9
9
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
10
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-B3oTx-NK.esm.js";
10
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-wRyQ24qM.esm.js";
11
11
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
12
12
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
13
13
  import { n as uploadSelfie, t as processFace } from "./selfieUploadService-B4LnSIf6.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { i as warmupWasm } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
- import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-CBijDJ0d.esm.js";
2
+ import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-DmEcArzU.esm.js";
3
3
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -2,34 +2,34 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
4
4
  import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CrzyJ4Y0.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CCiF0nzE.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
- import { n as toIncodeApiError } from "./apiError-COvIGYWe.esm.js";
9
- import { n as electronicSignatureMachine } from "./electronicSignatureManager-DSZu9OHT.esm.js";
8
+ import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
9
+ import { n as electronicSignatureMachine } from "./electronicSignatureManager-Ty1oUQ8W.esm.js";
10
10
  import "./ae-signature.esm.js";
11
11
  import { t as antifraudMachine } from "./antifraudStateMachine-Bf-IiCq7.esm.js";
12
- import { t as authenticationMachine } from "./authenticationStateMachine-BlT8fkR6.esm.js";
12
+ import { t as authenticationMachine } from "./authenticationStateMachine-DfscLUkp.esm.js";
13
13
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Ce568YfR.esm.js";
14
14
  import { t as consentMachine } from "./consentStateMachine-Pc3Ez3mV.esm.js";
15
15
  import { t as curpValidationMachine } from "./curpValidationStateMachine-7i3TD8J2.esm.js";
16
16
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D23XTxl2.esm.js";
17
17
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-qgsrlcVh.esm.js";
18
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BV-Fn13x.esm.js";
19
- import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-DfpEPLzD.esm.js";
18
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-kajUEkCO.esm.js";
19
+ import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-BOG89tFg.esm.js";
20
20
  import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-a7oP-XWo.esm.js";
21
21
  import { t as emailMachine } from "./emailStateMachine-ChNwY22u.esm.js";
22
- import { t as selfieMachine } from "./selfieStateMachine-D30gwMGq.esm.js";
23
- import { t as idCaptureMachine } from "./idCaptureStateMachine-_1pROAbA.esm.js";
22
+ import { t as selfieMachine } from "./selfieStateMachine-nqQV3aNZ.esm.js";
23
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-CZWjw6Qa.esm.js";
24
24
  import { t as phoneMachine } from "./phoneStateMachine-wDQtaT38.esm.js";
25
25
  import { n as identityReuseMachine } from "./identityReuseStateMachine-CM45EBrb.esm.js";
26
26
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
27
27
  import { t as idOcrStateMachine } from "./idOcrStateMachine-CpZZL411.esm.js";
28
28
  import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D-8ipBq2.esm.js";
29
- import { t as geolocationMachine } from "./geolocationStateMachine-BorcBNZ6.esm.js";
29
+ import { t as geolocationMachine } from "./geolocationStateMachine-DRAULUHq.esm.js";
30
30
  import { t as idVerificationMachine } from "./idVerificationStateMachine-D-1GlgC5.esm.js";
31
31
  import { t as faceMatchMachine } from "./faceMatchStateMachine-BfzusGo1.esm.js";
32
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DQSC7Kso.esm.js";
32
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-B30WLCxd.esm.js";
33
33
  import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Crz1nHwJ.esm.js";
34
34
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DkakcwTj.esm.js";
35
35
  import "./qe-signature.esm.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260717-87fac45b",
3
+ "version": "0.0.0-dev-20260717-8aab9f6d",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -281,8 +281,8 @@
281
281
  "tsdown": "^0.22.8",
282
282
  "typescript": "^5.9.3",
283
283
  "vitest": "4.1.4",
284
- "@incodetech/infra": "1.2.0",
285
- "@incodetech/config": "1.0.2"
284
+ "@incodetech/config": "1.0.2",
285
+ "@incodetech/infra": "1.2.0"
286
286
  },
287
287
  "scripts": {
288
288
  "build": "tsdown -c tsdown.config.ts",
@@ -1,155 +0,0 @@
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 ../infra/src/capabilities/IGeolocationCapability.d.ts
5
- type GeolocationCoords = {
6
- latitude: number;
7
- longitude: number;
8
- };
9
- type IGeolocationCapability = {
10
- getCurrentPosition(): Promise<GeolocationCoords>;
11
- };
12
- //#endregion
13
- //#region src/modules/geolocation/types.d.ts
14
- /**
15
- * Configuration options for the Geolocation module.
16
- *
17
- * @example
18
- * ```typescript
19
- * const config: GeolocationConfig = {
20
- * allowUserToSkipGeolocation: true,
21
- * };
22
- * ```
23
- */
24
- type GeolocationConfig = {
25
- /**
26
- * Whether the user is allowed to skip geolocation capture.
27
- * When true, a skip button is shown on the permission-denied screen.
28
- * Backend field name from flow/workflow configuration.
29
- * @default false
30
- */
31
- allowUserToSkipGeolocation?: boolean;
32
- };
33
- //#endregion
34
- //#region src/modules/geolocation/geolocationStateMachine.d.ts
35
- type GeolocationDeviceType = 'ios' | 'android' | 'desktop';
36
- declare const geolocationMachine: any;
37
- type GeolocationMachine = typeof geolocationMachine;
38
- //#endregion
39
- //#region src/modules/geolocation/geolocationActor.d.ts
40
- type CreateGeolocationActorOptions = {
41
- config: GeolocationConfig;
42
- geolocation?: IGeolocationCapability;
43
- };
44
- type GeolocationActor = ActorRefFrom<GeolocationMachine>;
45
- //#endregion
46
- //#region src/modules/geolocation/geolocationManager.d.ts
47
- /** Geolocation manager is in initial state, waiting for `request()` to be called */
48
- type GeolocationIdleState = {
49
- status: 'idle';
50
- };
51
- /** Browser geolocation permission prompt is active */
52
- type GeolocationRequestingState = {
53
- status: 'requestingLocation';
54
- };
55
- /** Coordinates are being submitted to the backend */
56
- type GeolocationSubmittingState = {
57
- status: 'submitting';
58
- };
59
- /**
60
- * Location successfully acquired — call `continue()` to proceed
61
- * @property location - Location name returned from backend, or null
62
- */
63
- type GeolocationAcquiredState = {
64
- status: 'locationAcquired';
65
- location: string | null;
66
- };
67
- /**
68
- * User denied geolocation permission — shows device-specific instructions
69
- * @property deviceType - Used by UI to render the correct instruction panel
70
- * @property canSkip - Whether the skip button should be shown
71
- */
72
- type GeolocationPermissionDeniedState = {
73
- status: 'permissionDenied';
74
- deviceType: GeolocationDeviceType;
75
- canSkip: boolean;
76
- };
77
- /** Geolocation flow completed successfully */
78
- type GeolocationFinishedState = {
79
- status: 'finished';
80
- };
81
- /**
82
- * Union of all possible geolocation manager states.
83
- *
84
- * @example
85
- * ```typescript
86
- * const state = geolocationManager.getState();
87
- * if (state.status === 'locationAcquired') {
88
- * console.log(state.location);
89
- * }
90
- * if (state.status === 'permissionDenied') {
91
- * console.log(state.deviceType); // 'ios' | 'android' | 'desktop'
92
- * }
93
- * ```
94
- */
95
- type GeolocationState = GeolocationIdleState | GeolocationRequestingState | GeolocationSubmittingState | GeolocationAcquiredState | GeolocationPermissionDeniedState | GeolocationFinishedState;
96
- /**
97
- * Creates a geolocation manager for headless or UI-driven usage.
98
- *
99
- * @example Headless usage
100
- * ```typescript
101
- * const manager = createGeolocationManager({ config: { allowUserToSkipGeolocation: true } });
102
- * manager.subscribe((state) => console.log(state.status));
103
- * manager.request();
104
- * ```
105
- */
106
- declare function createGeolocationManager(options: CreateGeolocationActorOptions): Manager<GeolocationState> & {
107
- /**
108
- * Initiates the browser geolocation permission request.
109
- * Transitions from 'idle' to 'requestingLocation'.
110
- */
111
- request(): void;
112
- /**
113
- * Confirms the acquired location and completes the module.
114
- * Should be called when state is 'locationAcquired'.
115
- */
116
- continue(): void;
117
- /**
118
- * Skips geolocation when the user has denied permission.
119
- * Only works when `config.allowUserToSkipGeolocation` is true.
120
- */
121
- skip(): void;
122
- /**
123
- * Resets the manager back to initial state.
124
- */
125
- reset(): void;
126
- };
127
- /**
128
- * Creates a geolocation manager from a pre-built actor.
129
- * Use this when overriding the machine via `.provide()` for custom backends
130
- * or for story-isolation testing.
131
- */
132
- declare function createGeolocationManagerFromActor(actor: GeolocationActor): Manager<GeolocationState> & {
133
- /**
134
- * Initiates the browser geolocation permission request.
135
- * Transitions from 'idle' to 'requestingLocation'.
136
- */
137
- request(): void;
138
- /**
139
- * Confirms the acquired location and completes the module.
140
- * Should be called when state is 'locationAcquired'.
141
- */
142
- continue(): void;
143
- /**
144
- * Skips geolocation when the user has denied permission.
145
- * Only works when `config.allowUserToSkipGeolocation` is true.
146
- */
147
- skip(): void;
148
- /**
149
- * Resets the manager back to initial state.
150
- */
151
- reset(): void;
152
- };
153
- type GeolocationManager = ReturnType<typeof createGeolocationManager>;
154
- //#endregion
155
- export { GeolocationActor as a, createGeolocationManagerFromActor as i, GeolocationState as n, geolocationMachine as o, createGeolocationManager as r, GeolocationConfig as s, GeolocationManager as t };
@@ -1 +0,0 @@
1
- import "./sessionInitializer-CrzyJ4Y0.esm.js";