@incodetech/core 0.0.0-dev-20260313-2675d26 → 0.0.0-dev-20260313-486e658

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/authentication.d.ts +9 -9
  2. package/dist/authentication.esm.js +10 -10
  3. package/dist/{backCameraStream-DXS4n4yS.esm.js → backCameraStream-B57NWDGu.esm.js} +1 -1
  4. package/dist/curp-validation.d.ts +4 -4
  5. package/dist/curp-validation.esm.js +5 -5
  6. package/dist/{deepsightLoader-CCuD-pzB.esm.js → deepsightLoader-BXTRzhYx.esm.js} +4 -4
  7. package/dist/{deepsightService-D2rnPj53.esm.js → deepsightService-CTK55DG8.esm.js} +3 -3
  8. package/dist/{deepsightService-Dv1ILk27.d.ts → deepsightService-CYCDsan2.d.ts} +1 -1
  9. package/dist/document-capture.d.ts +49 -49
  10. package/dist/document-capture.esm.js +6 -6
  11. package/dist/document-upload.d.ts +49 -49
  12. package/dist/document-upload.esm.js +5 -5
  13. package/dist/ekyb.d.ts +2 -2
  14. package/dist/ekyb.esm.js +6 -6
  15. package/dist/ekyc.d.ts +2 -2
  16. package/dist/ekyc.esm.js +6 -6
  17. package/dist/email.d.ts +1 -1
  18. package/dist/email.esm.js +5 -5
  19. package/dist/{endpoints-PMCuQkqs.esm.js → endpoints-5sPFFmaB.esm.js} +4 -1
  20. package/dist/{events-Bf73PAdv.esm.js → events-b4_xvENs.esm.js} +2 -2
  21. package/dist/face-match.d.ts +1 -1
  22. package/dist/face-match.esm.js +5 -5
  23. package/dist/{faceCaptureManagerFactory-FEuTMK4j.d.ts → faceCaptureManagerFactory-D1NUo68Z.d.ts} +5 -5
  24. package/dist/{faceCaptureSetup-pxm6Cjua.esm.js → faceCaptureSetup-10lCb_yE.esm.js} +9 -9
  25. package/dist/flow.d.ts +14 -7
  26. package/dist/flow.esm.js +9 -5
  27. package/dist/{flowCompletionService-C2Cjw8WY.esm.js → flowCompletionService-DHXqHOAk.esm.js} +2 -2
  28. package/dist/geolocation.d.ts +1 -1
  29. package/dist/geolocation.esm.js +5 -5
  30. package/dist/government-validation.d.ts +1 -1
  31. package/dist/government-validation.esm.js +4 -4
  32. package/dist/{id-aQ6PcfVo.esm.js → id-TUJyOPso.esm.js} +14 -12
  33. package/dist/id.d.ts +9 -9
  34. package/dist/id.esm.js +10 -10
  35. package/dist/{index-C_QjKcTy.d.ts → index-5ZEjz-8I.d.ts} +8 -7
  36. package/dist/index.d.ts +32 -27
  37. package/dist/index.esm.js +23 -42
  38. package/dist/{lib-DVaeY7hq.esm.js → lib-V3Lo-Jit.esm.js} +1 -1
  39. package/dist/phone.d.ts +1 -1
  40. package/dist/phone.esm.js +5 -5
  41. package/dist/redirect-to-mobile.d.ts +106 -0
  42. package/dist/redirect-to-mobile.esm.js +338 -0
  43. package/dist/selfie.d.ts +9 -9
  44. package/dist/selfie.esm.js +10 -10
  45. package/dist/session.d.ts +1 -1
  46. package/dist/session.esm.js +3 -3
  47. package/dist/{src-BJhTmsja.esm.js → src-D3v6I2la.esm.js} +22 -6
  48. package/dist/{stats-De--Z9N5.esm.js → stats-D76Thmqp.esm.js} +1 -1
  49. package/dist/stats.esm.js +2 -2
  50. package/dist/{streamingEvents-t3E89TmG.esm.js → streamingEvents-CQq5fJCL.esm.js} +3 -3
  51. package/dist/{types-DrdrHHxZ.d.ts → types-Bn54lmeM.d.ts} +1 -1
  52. package/dist/{types-B_l5fu_D.d.ts → types-DnrAr9fb.d.ts} +1 -1
  53. package/dist/{warmup-CO10kO5G.d.ts → warmup-Da5qDIWZ.d.ts} +1 -1
  54. package/package.json +5 -1
  55. /package/dist/{Actor-SKZvDOCc.d.ts → Actor-B6Lr-x6S.d.ts} +0 -0
  56. /package/dist/{Manager-CVog-etk.d.ts → Manager-CG5CQ1kY.d.ts} +0 -0
  57. /package/dist/{StateMachine-Coiuk0UD.d.ts → StateMachine-WHeQE3lC.d.ts} +0 -0
  58. /package/dist/{api-CdJjfxTX.esm.js → api-3fZO5bmj.esm.js} +0 -0
  59. /package/dist/{camera-HI2fNiV5.d.ts → camera-D7zu0Mls.d.ts} +0 -0
  60. /package/dist/{chunk-3Wl3T5mL.esm.js → chunk-B1Ox1Owh.esm.js} +0 -0
  61. /package/dist/{flowCompletionService-DtL1jOz4.d.ts → flowCompletionService-DeWKduBI.d.ts} +0 -0
  62. /package/dist/{types-dSdX5z-n.d.ts → types-B4KNFqC4.d.ts} +0 -0
  63. /package/dist/{types-WhAUdEJw.d.ts → types-BYYaKde4.d.ts} +0 -0
  64. /package/dist/{usStates-IoVg25OV.esm.js → usStates-D4SmlpeT.esm.js} +0 -0
  65. /package/dist/{xstate.esm-yA5caGbx.esm.js → xstate.esm-07M59Cte.esm.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { a as __toDynamicImportESM } from "./chunk-3Wl3T5mL.esm.js";
1
+ import { a as __toDynamicImportESM } from "./chunk-B1Ox1Owh.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/platform.ts
4
4
  /**
@@ -4419,7 +4419,7 @@ var MotionSensorProvider = class {
4419
4419
  let openViduImport;
4420
4420
  async function loadOpenVidu() {
4421
4421
  if (openViduImport) return openViduImport;
4422
- openViduImport = import("./lib-DVaeY7hq.esm.js").then(__toDynamicImportESM(1));
4422
+ openViduImport = import("./lib-V3Lo-Jit.esm.js").then(__toDynamicImportESM(1));
4423
4423
  return openViduImport;
4424
4424
  }
4425
4425
 
@@ -4890,9 +4890,9 @@ var MlWasmJSApi = class MlWasmJSApi {
4890
4890
  this.checkWasmInitialization("Unable to set geometry params, cpp API hasn't been initialized");
4891
4891
  this.idCaptureWasmApi.setIdCaptureGeometryParams(this.pipelineTypeToWasmEnum(type), areaDown, areaUp, areaIOSPassportUp, areaIOSPassportDown, widthIOSUp, widthIOSDown, widthDown, widthUp, windowOuterWidth, windowOuterHeight, windowInnerWidth, windowInnerHeight);
4892
4892
  }
4893
- async setIdCaptureConfigParams(type, isFixedMask, isIPhone14OrHigher$1, idType, isBlurCheckEnabled, isGlareCheckEnabled, isIdFaceQualityCheckEnabled, isIouCheckEnabled) {
4893
+ async setIdCaptureConfigParams(type, isFixedMask, isIPhone14OrHigher$1, idType, isBlurCheckEnabled, isGlareCheckEnabled, isIdFaceQualityCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled) {
4894
4894
  this.checkWasmInitialization("Unable to set config params, cpp API hasn't been initialized");
4895
- this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(type), isFixedMask, isIPhone14OrHigher$1, idType, isBlurCheckEnabled, isGlareCheckEnabled, isIdFaceQualityCheckEnabled, isIouCheckEnabled);
4895
+ this.idCaptureWasmApi.setIdCaptureConfigParams(this.pipelineTypeToWasmEnum(type), isFixedMask, isIPhone14OrHigher$1, idType, isBlurCheckEnabled, isGlareCheckEnabled, isIdFaceQualityCheckEnabled, isIouCheckEnabled, isFPSLimitEnabled);
4896
4896
  }
4897
4897
  setIdCaptureModelType(pipelineType, modelType) {
4898
4898
  this.checkWasmInitialization("Unable to set model type, cpp API hasn't been initialized");
@@ -5536,7 +5536,7 @@ var IdCaptureProvider = class extends BaseWasmProvider {
5536
5536
  }
5537
5537
  setSettings(settings) {
5538
5538
  this.ensureInitialized();
5539
- mlWasmJSApi_default.setIdCaptureConfigParams(this.getPipelineType(), settings.isFixedMask, settings.isIPhone14OrHigher, settings.idType, settings.blurCheckEnabled, settings.glareCheckEnabled, settings.faceQualityCheckEnabled, settings.iouCheckEnabled);
5539
+ mlWasmJSApi_default.setIdCaptureConfigParams(this.getPipelineType(), settings.isFixedMask, settings.isIPhone14OrHigher, settings.idType, settings.blurCheckEnabled, settings.glareCheckEnabled, settings.faceQualityCheckEnabled, settings.iouCheckEnabled, settings.fpsLimitEnabled);
5540
5540
  }
5541
5541
  setModelType(modelType) {
5542
5542
  this.ensureInitialized();
@@ -5787,4 +5787,20 @@ const DEFAULT_ID_CAPTURE_THRESHOLDS = {
5787
5787
  const DEFAULT_ID_CAPTURE_MODEL_VERSION = "v2";
5788
5788
 
5789
5789
  //#endregion
5790
- export { getDeviceInfo as A, IncodeCanvas as C, stopCameraStream as D, requestCameraAccess as E, isIOS as F, isIPad as I, isIPhone14OrHigher as L, getUserAgent as M, isAndroid as N, createManager as O, isDesktop as P, isSafari as R, createHiddenVideoElement as S, enumerateVideoDevices as T, BrowserEnvironmentProvider as _, FaceDetectionProvider as a, StreamCanvasCapture as b, ScreenOrientationProvider as c, LocalRecordingProvider as d, IpifyProvider as f, BrowserInfoProvider as g, BrowserStorageProvider as h, IdCaptureProvider as i, getWindowDimensions as j, createApi_default as k, OpenViduRecordingProvider as l, BrowserTimerProvider as m, DEFAULT_ID_CAPTURE_THRESHOLDS as n, warmupWasm as o, FingerprintProvider as p, WasmUtilProvider as r, VisibilityProvider as s, DEFAULT_ID_CAPTURE_MODEL_VERSION as t, MotionSensorProvider as u, BrowserGeolocationProvider as v, applyTrackConstraints as w, queryCameraPermission as x, StreamCanvasProcessingSession as y };
5790
+ //#region ../infra/src/wasm/wasmDefaults.ts
5791
+ const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
5792
+ /** The WASM version bundled and tested with this SDK release. */
5793
+ const DEFAULT_WASM_VERSION = "v2.12.84";
5794
+ /** Builds the standard WarmupConfig from the Incode CDN. */
5795
+ function buildDefaultWasmConfig() {
5796
+ const base = `${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`;
5797
+ return {
5798
+ wasmPath: `${base}/webLib.wasm`,
5799
+ wasmSimdPath: `${base}/webLibSimd.wasm`,
5800
+ glueCodePath: `${base}/webLib.js`,
5801
+ modelsBasePath: `${base}/models`
5802
+ };
5803
+ }
5804
+
5805
+ //#endregion
5806
+ export { createManager as A, isSafari as B, queryCameraPermission as C, enumerateVideoDevices as D, applyTrackConstraints as E, isAndroid as F, isDesktop as I, isIOS as L, getDeviceInfo as M, getWindowDimensions as N, requestCameraAccess as O, getUserAgent as P, isIPad as R, StreamCanvasCapture as S, IncodeCanvas as T, BrowserStorageProvider as _, WasmUtilProvider as a, BrowserGeolocationProvider as b, warmupWasm as c, OpenViduRecordingProvider as d, MotionSensorProvider as f, BrowserTimerProvider as g, FingerprintProvider as h, DEFAULT_ID_CAPTURE_THRESHOLDS as i, createApi_default as j, stopCameraStream as k, VisibilityProvider as l, IpifyProvider as m, buildDefaultWasmConfig as n, IdCaptureProvider as o, LocalRecordingProvider as p, DEFAULT_ID_CAPTURE_MODEL_VERSION as r, FaceDetectionProvider as s, DEFAULT_WASM_VERSION as t, ScreenOrientationProvider as u, BrowserInfoProvider as v, createHiddenVideoElement as w, StreamCanvasProcessingSession as x, BrowserEnvironmentProvider as y, isIPhone14OrHigher as z };
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-CdJjfxTX.esm.js";
1
+ import { t as api } from "./api-3fZO5bmj.esm.js";
2
2
 
3
3
  //#region src/modules/stats/statsServices.ts
4
4
  /**
package/dist/stats.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-CdJjfxTX.esm.js";
2
- import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
1
+ import "./api-3fZO5bmj.esm.js";
2
+ import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,6 +1,6 @@
1
- import { A as getDeviceInfo, D as stopCameraStream, E as requestCameraAccess, I as isIPad, M as getUserAgent, u as MotionSensorProvider, x as queryCameraPermission } from "./src-BJhTmsja.esm.js";
2
- import { t as api } from "./api-CdJjfxTX.esm.js";
3
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { C as queryCameraPermission, M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, R as isIPad, f as MotionSensorProvider, k as stopCameraStream } from "./src-D3v6I2la.esm.js";
2
+ import { t as api } from "./api-3fZO5bmj.esm.js";
3
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
4
4
 
5
5
  //#region src/internal/device/getBrowser.ts
6
6
  function getBrowser() {
@@ -1,4 +1,4 @@
1
- import { t as DocumentUploadConfig } from "./types-B_l5fu_D.js";
1
+ import { t as DocumentUploadConfig } from "./types-DnrAr9fb.js";
2
2
 
3
3
  //#region src/modules/flow/types.d.ts
4
4
  type EmptyConfig = Record<string, never>;
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
1
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
2
2
 
3
3
  //#region src/modules/document-upload/types.d.ts
4
4
 
@@ -52,4 +52,4 @@ interface WarmupConfig {
52
52
  */
53
53
  declare function warmupWasm(config: WarmupConfig): Promise<void>;
54
54
  //#endregion
55
- export { warmupWasm as n, WasmPipeline as t };
55
+ export { WasmPipeline as n, warmupWasm as r, WarmupConfig as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260313-2675d26",
3
+ "version": "0.0.0-dev-20260313-486e658",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -72,6 +72,10 @@
72
72
  "./session": {
73
73
  "types": "./dist/session.d.ts",
74
74
  "import": "./dist/session.esm.js"
75
+ },
76
+ "./redirect-to-mobile": {
77
+ "types": "./dist/redirect-to-mobile.d.ts",
78
+ "import": "./dist/redirect-to-mobile.esm.js"
75
79
  }
76
80
  },
77
81
  "files": [