@incodetech/core 0.0.0-dev-20260309-8c96b8e → 0.0.0-dev-20260309-813aa6b
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.esm.js +2 -2
- package/dist/{faceCaptureSetup-D3cIjwWO.esm.js → faceCaptureSetup-pxm6Cjua.esm.js} +1 -1
- package/dist/{id-CbVfoXco.esm.js → id-CC0_Y0Qo.esm.js} +1 -1
- package/dist/id.esm.js +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/selfie.esm.js +2 -2
- package/dist/{streamingEvents-BAYT4t4N.esm.js → streamingEvents-t3E89TmG.esm.js} +6 -5
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
|
2
2
|
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import { h as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
|
|
4
4
|
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import { l as getDeviceClass } from "./streamingEvents-
|
|
5
|
+
import { l as getDeviceClass } from "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
7
|
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
9
9
|
import "./stats-De--Z9N5.esm.js";
|
|
10
|
-
import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManager, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-
|
|
10
|
+
import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManager, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-pxm6Cjua.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
13
13
|
const AUTH_ERROR_MAP = {
|
|
@@ -2,7 +2,7 @@ import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
|
2
2
|
import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import { D as stopCameraStream, E as requestCameraAccess, O as createManager, a as FaceDetectionProvider, b as StreamCanvasCapture, d as LocalRecordingProvider, l as OpenViduRecordingProvider, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
|
|
4
4
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import { a as uploadDeepsightVideo, i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-
|
|
5
|
+
import { a as uploadDeepsightVideo, i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import { r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
7
7
|
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
|
|
@@ -2,7 +2,7 @@ import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./ev
|
|
|
2
2
|
import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import { C as IncodeCanvas, O as createManager, P as isDesktop, _ as BrowserEnvironmentProvider, b as StreamCanvasCapture, f as IpifyProvider, g as BrowserInfoProvider, h as BrowserStorageProvider, i as IdCaptureProvider, j as getWindowDimensions, l as OpenViduRecordingProvider, m as BrowserTimerProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as FingerprintProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
|
|
4
4
|
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-
|
|
5
|
+
import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import { n as isBrowserSimulation } from "./deepsightService-D2rnPj53.esm.js";
|
|
7
7
|
import { n as getApi, r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
package/dist/id.esm.js
CHANGED
|
@@ -2,11 +2,11 @@ import "./events-Bf73PAdv.esm.js";
|
|
|
2
2
|
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import "./src-BJhTmsja.esm.js";
|
|
4
4
|
import "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import "./streamingEvents-
|
|
5
|
+
import "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
7
|
import "./api-CdJjfxTX.esm.js";
|
|
8
8
|
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
-
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
9
|
+
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-CC0_Y0Qo.esm.js";
|
|
10
10
|
import "./stats-De--Z9N5.esm.js";
|
|
11
11
|
|
|
12
12
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ declare class ScreenOrientationProvider implements IScreenOrientationCapability
|
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/internal/device/getBrowser.d.ts
|
|
86
|
-
type Browser = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'other';
|
|
86
|
+
type Browser = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'other' | 'samsung_browser';
|
|
87
87
|
declare function getBrowser(): Browser;
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/internal/device/getDeviceClass.d.ts
|
package/dist/index.esm.js
CHANGED
|
@@ -2,11 +2,11 @@ import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEve
|
|
|
2
2
|
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import { I as isIPad, c as ScreenOrientationProvider, k as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
|
|
4
4
|
import "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-
|
|
5
|
+
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
7
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
8
8
|
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
-
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
9
|
+
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-CC0_Y0Qo.esm.js";
|
|
10
10
|
import "./stats-De--Z9N5.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/setup.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
|
2
2
|
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
3
|
import { h as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
|
|
4
4
|
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
-
import "./streamingEvents-
|
|
5
|
+
import "./streamingEvents-t3E89TmG.esm.js";
|
|
6
6
|
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
7
|
import "./api-CdJjfxTX.esm.js";
|
|
8
8
|
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
9
|
import "./stats-De--Z9N5.esm.js";
|
|
10
|
-
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-
|
|
10
|
+
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-pxm6Cjua.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
13
13
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -7,11 +7,12 @@ function getBrowser() {
|
|
|
7
7
|
const userAgent = getUserAgent();
|
|
8
8
|
if (!userAgent) return "other";
|
|
9
9
|
const ua = userAgent.toLowerCase();
|
|
10
|
-
if (ua.includes("edg/")) return "edge";
|
|
11
|
-
if (ua.includes("
|
|
12
|
-
if (ua.includes("
|
|
13
|
-
if (ua.includes("
|
|
14
|
-
if (ua.includes("
|
|
10
|
+
if (ua.includes("edg/") || ua.includes("edgios/")) return "edge";
|
|
11
|
+
if (ua.includes("samsungbrowser/")) return "samsung_browser";
|
|
12
|
+
if (ua.includes("opr/") || ua.includes("opera") || ua.includes("opios/") || ua.includes("opt/")) return "opera";
|
|
13
|
+
if (ua.includes("chrome") || ua.includes("crios")) return "chrome";
|
|
14
|
+
if (ua.includes("firefox") || ua.includes("fxios")) return "firefox";
|
|
15
|
+
if (ua.includes("safari")) return "safari";
|
|
15
16
|
return "other";
|
|
16
17
|
}
|
|
17
18
|
|