@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.
- package/dist/authentication.d.ts +9 -9
- package/dist/authentication.esm.js +10 -10
- package/dist/{backCameraStream-DXS4n4yS.esm.js → backCameraStream-B57NWDGu.esm.js} +1 -1
- package/dist/curp-validation.d.ts +4 -4
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{deepsightLoader-CCuD-pzB.esm.js → deepsightLoader-BXTRzhYx.esm.js} +4 -4
- package/dist/{deepsightService-D2rnPj53.esm.js → deepsightService-CTK55DG8.esm.js} +3 -3
- package/dist/{deepsightService-Dv1ILk27.d.ts → deepsightService-CYCDsan2.d.ts} +1 -1
- package/dist/document-capture.d.ts +49 -49
- package/dist/document-capture.esm.js +6 -6
- package/dist/document-upload.d.ts +49 -49
- package/dist/document-upload.esm.js +5 -5
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +6 -6
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +6 -6
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +5 -5
- package/dist/{endpoints-PMCuQkqs.esm.js → endpoints-5sPFFmaB.esm.js} +4 -1
- package/dist/{events-Bf73PAdv.esm.js → events-b4_xvENs.esm.js} +2 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-FEuTMK4j.d.ts → faceCaptureManagerFactory-D1NUo68Z.d.ts} +5 -5
- package/dist/{faceCaptureSetup-pxm6Cjua.esm.js → faceCaptureSetup-10lCb_yE.esm.js} +9 -9
- package/dist/flow.d.ts +14 -7
- package/dist/flow.esm.js +9 -5
- package/dist/{flowCompletionService-C2Cjw8WY.esm.js → flowCompletionService-DHXqHOAk.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +5 -5
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +4 -4
- package/dist/{id-aQ6PcfVo.esm.js → id-TUJyOPso.esm.js} +14 -12
- package/dist/id.d.ts +9 -9
- package/dist/id.esm.js +10 -10
- package/dist/{index-C_QjKcTy.d.ts → index-5ZEjz-8I.d.ts} +8 -7
- package/dist/index.d.ts +32 -27
- package/dist/index.esm.js +23 -42
- package/dist/{lib-DVaeY7hq.esm.js → lib-V3Lo-Jit.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +5 -5
- package/dist/redirect-to-mobile.d.ts +106 -0
- package/dist/redirect-to-mobile.esm.js +338 -0
- package/dist/selfie.d.ts +9 -9
- package/dist/selfie.esm.js +10 -10
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{src-BJhTmsja.esm.js → src-D3v6I2la.esm.js} +22 -6
- package/dist/{stats-De--Z9N5.esm.js → stats-D76Thmqp.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{streamingEvents-t3E89TmG.esm.js → streamingEvents-CQq5fJCL.esm.js} +3 -3
- package/dist/{types-DrdrHHxZ.d.ts → types-Bn54lmeM.d.ts} +1 -1
- package/dist/{types-B_l5fu_D.d.ts → types-DnrAr9fb.d.ts} +1 -1
- package/dist/{warmup-CO10kO5G.d.ts → warmup-Da5qDIWZ.d.ts} +1 -1
- package/package.json +5 -1
- /package/dist/{Actor-SKZvDOCc.d.ts → Actor-B6Lr-x6S.d.ts} +0 -0
- /package/dist/{Manager-CVog-etk.d.ts → Manager-CG5CQ1kY.d.ts} +0 -0
- /package/dist/{StateMachine-Coiuk0UD.d.ts → StateMachine-WHeQE3lC.d.ts} +0 -0
- /package/dist/{api-CdJjfxTX.esm.js → api-3fZO5bmj.esm.js} +0 -0
- /package/dist/{camera-HI2fNiV5.d.ts → camera-D7zu0Mls.d.ts} +0 -0
- /package/dist/{chunk-3Wl3T5mL.esm.js → chunk-B1Ox1Owh.esm.js} +0 -0
- /package/dist/{flowCompletionService-DtL1jOz4.d.ts → flowCompletionService-DeWKduBI.d.ts} +0 -0
- /package/dist/{types-dSdX5z-n.d.ts → types-B4KNFqC4.d.ts} +0 -0
- /package/dist/{types-WhAUdEJw.d.ts → types-BYYaKde4.d.ts} +0 -0
- /package/dist/{usStates-IoVg25OV.esm.js → usStates-D4SmlpeT.esm.js} +0 -0
- /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-
|
|
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-
|
|
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
|
-
|
|
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 };
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
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() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-20260313-
|
|
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": [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|