@incodetech/core 0.0.0-dev-20260402-7cf9db4 → 0.0.0-dev-20260402-0dc2fb9
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/{Manager-D_DMzMWz.esm.js → Manager-B-qS9P9T.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-9VAzOfOv.esm.js → StreamCanvasCapture-BowJVbkC.esm.js} +1 -1
- package/dist/{addressSearch-CYGzuJJ3.esm.js → addressSearch-CmmLAvRi.esm.js} +2 -2
- package/dist/authentication.esm.js +5 -5
- package/dist/{authenticationManager-C9iQ1d2a.esm.js → authenticationManager-BzsB0zC8.esm.js} +4 -4
- package/dist/consent.d.ts +53 -53
- package/dist/consent.esm.js +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/document-capture.d.ts +348 -79
- package/dist/document-capture.esm.js +170 -45
- package/dist/document-upload.d.ts +49 -49
- package/dist/document-upload.esm.js +2 -2
- package/dist/ekyb.esm.js +5 -5
- package/dist/ekyc.esm.js +3 -3
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-C5GCSw78.esm.js → emailManager-E3Cr6KIG.esm.js} +2 -2
- package/dist/{endpoints-CCuj1KZH.esm.js → endpoints-DEXxYYFi.esm.js} +1 -0
- package/dist/extensibility.esm.js +10 -17
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureSetup-DYRykM5Y.esm.js → faceCaptureSetup-Bc7QPf-C.esm.js} +3 -3
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-CBvXiMKa.esm.js → flowCompletionService-CUT-cibE.esm.js} +1 -1
- package/dist/{flowServices-CQ3rTJLE.esm.js → flowServices-GUqxIdRY.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/government-validation.esm.js +2 -2
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-D5rjCu9r.esm.js → idCaptureManager-1x6DxWdp.esm.js} +4 -4
- package/dist/index.esm.js +5 -5
- package/dist/mandatory-consent.d.ts +47 -47
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-CQJim-Ky.esm.js → phoneManager-B0ZiIWOO.esm.js} +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-DYW1C2GP.esm.js → selfieManager-CtfKnz4C.esm.js} +3 -3
- package/dist/{session-TBPhHmyy.esm.js → session-CIxnj9Wm.esm.js} +10 -3
- package/dist/session.esm.js +2 -2
- package/dist/signature.esm.js +2 -2
- package/package.json +1 -1
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
import "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import { f as BrowserStorageProvider } from "./StreamCanvasCapture-
|
|
3
|
+
import { f as BrowserStorageProvider } from "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import "./browserSimulation-zWJAZ1vA.esm.js";
|
|
5
5
|
import "./api-3fZO5bmj.esm.js";
|
|
6
|
-
import { C as fromPromise, w as createActor } from "./Manager-
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import { c as
|
|
6
|
+
import { C as fromPromise, w as createActor } from "./Manager-B-qS9P9T.esm.js";
|
|
7
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
8
|
+
import { c as getDeviceFingerprintInfo, s as getFingerprint } from "./session-CIxnj9Wm.esm.js";
|
|
9
9
|
import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
|
|
10
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
10
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-1x6DxWdp.esm.js";
|
|
11
11
|
import "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
12
12
|
import "./camera-D-MPXRbZ.esm.js";
|
|
13
13
|
import "./stats-D4C7iDy1.esm.js";
|
|
14
14
|
import "./backCameraStream-BJwEXNl4.esm.js";
|
|
15
15
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DctESPCy.esm.js";
|
|
16
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
17
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
18
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
19
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
20
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
16
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-Bc7QPf-C.esm.js";
|
|
17
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BzsB0zC8.esm.js";
|
|
18
|
+
import { n as createEmailManagerFromActor } from "./emailManager-E3Cr6KIG.esm.js";
|
|
19
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-CtfKnz4C.esm.js";
|
|
20
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-B0ZiIWOO.esm.js";
|
|
21
21
|
|
|
22
|
-
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
23
|
-
async function getFingerprint(disableIpify) {
|
|
24
|
-
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
|
25
|
-
return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
//#endregion
|
|
29
22
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAuthenticationManagerFromActor, createEmailManagerFromActor, createIdCaptureManagerFromActor, createPhoneManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import { i as IncodeCanvas, l as mlWasmJSApi_default, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import { a as uploadDeepsightVideo, c as requestPermission, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture, u as flagFaceManualReview } from "./StreamCanvasCapture-
|
|
3
|
+
import { a as uploadDeepsightVideo, c as requestPermission, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture, u as flagFaceManualReview } from "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import { r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
|
-
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, x as assign } from "./Manager-
|
|
6
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
+
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
6
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
7
7
|
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-D-MPXRbZ.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-D4C7iDy1.esm.js";
|
|
9
9
|
import { n as getDesktopCameraStream, t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./browserSimulation-zWJAZ1vA.esm.js";
|
|
2
2
|
import "./api-3fZO5bmj.esm.js";
|
|
3
|
-
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./session-
|
|
3
|
+
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
4
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
5
|
+
import "./session-CIxnj9Wm.esm.js";
|
|
6
6
|
import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
|
|
7
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
8
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
7
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-GUqxIdRY.esm.js";
|
|
8
|
+
import { t as getFinishStatus } from "./flowCompletionService-CUT-cibE.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/flow/flowStateMachine.ts
|
|
11
11
|
const flowMachine = setup({
|
package/dist/{flowCompletionService-CBvXiMKa.esm.js → flowCompletionService-CUT-cibE.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./session-
|
|
2
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./session-CIxnj9Wm.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isIOS, t as isAndroid } from "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
3
|
-
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
7
7
|
var BrowserGeolocationProvider = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, S as fromCallback, b as setup, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
package/dist/id.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import "./StreamCanvasCapture-
|
|
3
|
+
import "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import "./browserSimulation-zWJAZ1vA.esm.js";
|
|
5
5
|
import "./api-3fZO5bmj.esm.js";
|
|
6
|
-
import "./Manager-
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import "./session-
|
|
6
|
+
import "./Manager-B-qS9P9T.esm.js";
|
|
7
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
8
|
+
import "./session-CIxnj9Wm.esm.js";
|
|
9
9
|
import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
|
|
10
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
10
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-1x6DxWdp.esm.js";
|
|
11
11
|
import "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
12
12
|
import "./camera-D-MPXRbZ.esm.js";
|
|
13
13
|
import "./stats-D4C7iDy1.esm.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as isDesktop } from "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import { d as IdCaptureModelType, i as IncodeCanvas, l as mlWasmJSApi_default, o as getWindowDimensions, t as BaseWasmProvider, u as WasmPipelineType } from "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import { c as requestPermission, d as flagIdManualReview, f as BrowserStorageProvider, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
3
|
+
import { c as requestPermission, d as flagIdManualReview, f as BrowserStorageProvider, i as stopRecording$1, l as StreamCanvasProcessingSession, n as createRecordingSession, o as OpenViduRecordingProvider, p as getDeviceClass, r as startRecording, s as checkPermission, t as StreamCanvasCapture } from "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import { r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
|
-
import { C as fromPromise, S as fromCallback, b as setup, c as getDefaultManagerScreenName, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign, y as revokeObjectURL } from "./Manager-
|
|
6
|
-
import { t as endpoints } from "./endpoints-
|
|
7
|
-
import { t as getDisableIpify } from "./session-
|
|
5
|
+
import { C as fromPromise, S as fromCallback, b as setup, c as getDefaultManagerScreenName, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign, y as revokeObjectURL } from "./Manager-B-qS9P9T.esm.js";
|
|
6
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./session-CIxnj9Wm.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
9
9
|
import { t as addDeviceStats } from "./stats-D4C7iDy1.esm.js";
|
|
10
10
|
import { t as getBackCameraStream } from "./backCameraStream-BJwEXNl4.esm.js";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { i as isIPad } from "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import { c as warmupWasm, s as getUserAgent } from "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import { c as requestPermission, p as getDeviceClass, s as checkPermission } from "./StreamCanvasCapture-
|
|
3
|
+
import { c as requestPermission, p as getDeviceClass, s as checkPermission } from "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import "./browserSimulation-zWJAZ1vA.esm.js";
|
|
5
5
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-3fZO5bmj.esm.js";
|
|
6
|
-
import { _ as flushEventQueue, a as tutorialScreenNamesMapper, d as moduleClosed, f as moduleOpened, g as addEvent, h as screenOpened, i as eventScreenNames, l as captureAttemptFinished, m as screenEvent, n as cameraScreenNamesMapper, o as videoSelfieEvents, p as screenClosed, r as eventModuleNames, u as elementClicked, v as subscribeEvent } from "./Manager-
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import { a as isSessionInitialized, i as initializeSession, n as getSessionFeatures, o as resetSessionInit, t as getDisableIpify
|
|
6
|
+
import { _ as flushEventQueue, a as tutorialScreenNamesMapper, d as moduleClosed, f as moduleOpened, g as addEvent, h as screenOpened, i as eventScreenNames, l as captureAttemptFinished, m as screenEvent, n as cameraScreenNamesMapper, o as videoSelfieEvents, p as screenClosed, r as eventModuleNames, u as elementClicked, v as subscribeEvent } from "./Manager-B-qS9P9T.esm.js";
|
|
7
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
8
|
+
import { a as isSessionInitialized, i as initializeSession, l as createSession, n as getSessionFeatures, o as resetSessionInit, t as getDisableIpify } from "./session-CIxnj9Wm.esm.js";
|
|
9
9
|
import "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
|
|
10
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
10
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-1x6DxWdp.esm.js";
|
|
11
11
|
import "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
12
12
|
import "./camera-D-MPXRbZ.esm.js";
|
|
13
13
|
import "./stats-D4C7iDy1.esm.js";
|
|
@@ -3,7 +3,7 @@ import "./camera-Dv2WEhGe.js";
|
|
|
3
3
|
import "./types-BWGxcjiZ.js";
|
|
4
4
|
import { i as RegulationTypes } from "./types-BX1ZlbSR.js";
|
|
5
5
|
import { t as Manager } from "./Manager-BndLda4_.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as xstate441 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
9
9
|
type MandatoryConsentConfig = {
|
|
@@ -30,7 +30,7 @@ type MandatoryConsentContext = {
|
|
|
30
30
|
type MandatoryConsentInput = {
|
|
31
31
|
config: MandatoryConsentConfig;
|
|
32
32
|
};
|
|
33
|
-
declare const mandatoryConsentMachine:
|
|
33
|
+
declare const mandatoryConsentMachine: xstate441.StateMachine<MandatoryConsentContext, {
|
|
34
34
|
type: "LOAD";
|
|
35
35
|
} | {
|
|
36
36
|
type: "TOGGLE";
|
|
@@ -43,53 +43,53 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
43
43
|
} | {
|
|
44
44
|
type: "RESET";
|
|
45
45
|
}, {
|
|
46
|
-
[x: string]:
|
|
46
|
+
[x: string]: xstate441.ActorRefFromLogic<xstate441.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
47
47
|
config: MandatoryConsentConfig;
|
|
48
|
-
},
|
|
48
|
+
}, xstate441.EventObject>> | xstate441.ActorRefFromLogic<xstate441.PromiseActorLogic<void, {
|
|
49
49
|
consentId: string;
|
|
50
50
|
isSigned: boolean;
|
|
51
|
-
},
|
|
52
|
-
},
|
|
51
|
+
}, xstate441.EventObject>> | undefined;
|
|
52
|
+
}, xstate441.Values<{
|
|
53
53
|
fetchConsent: {
|
|
54
54
|
src: "fetchConsent";
|
|
55
|
-
logic:
|
|
55
|
+
logic: xstate441.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
56
56
|
config: MandatoryConsentConfig;
|
|
57
|
-
},
|
|
57
|
+
}, xstate441.EventObject>;
|
|
58
58
|
id: string | undefined;
|
|
59
59
|
};
|
|
60
60
|
submitConsent: {
|
|
61
61
|
src: "submitConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate441.PromiseActorLogic<void, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
isSigned: boolean;
|
|
65
|
-
},
|
|
65
|
+
}, xstate441.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>,
|
|
68
|
+
}>, xstate441.Values<{
|
|
69
69
|
setError: {
|
|
70
70
|
type: "setError";
|
|
71
|
-
params:
|
|
71
|
+
params: xstate441.NonReducibleUnknown;
|
|
72
72
|
};
|
|
73
73
|
clearError: {
|
|
74
74
|
type: "clearError";
|
|
75
|
-
params:
|
|
75
|
+
params: xstate441.NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
resetContext: {
|
|
78
78
|
type: "resetContext";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate441.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
setConsent: {
|
|
82
82
|
type: "setConsent";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate441.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
toggleSigned: {
|
|
86
86
|
type: "toggleSigned";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate441.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
}>, {
|
|
90
90
|
type: "canSubmit";
|
|
91
91
|
params: unknown;
|
|
92
|
-
}, never, "error" | "idle" | "
|
|
92
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate441.NonReducibleUnknown, xstate441.EventObject, xstate441.MetaObject, {
|
|
93
93
|
readonly id: "mandatoryConsent";
|
|
94
94
|
readonly initial: "idle";
|
|
95
95
|
readonly context: ({
|
|
@@ -98,70 +98,70 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
98
98
|
spawn: {
|
|
99
99
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
100
100
|
src: "fetchConsent";
|
|
101
|
-
logic:
|
|
101
|
+
logic: xstate441.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
102
102
|
config: MandatoryConsentConfig;
|
|
103
|
-
},
|
|
103
|
+
}, xstate441.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
} extends infer T ? T extends {
|
|
106
106
|
src: "fetchConsent";
|
|
107
|
-
logic:
|
|
107
|
+
logic: xstate441.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
108
108
|
config: MandatoryConsentConfig;
|
|
109
|
-
},
|
|
109
|
+
}, xstate441.EventObject>;
|
|
110
110
|
id: string | undefined;
|
|
111
111
|
} ? T extends {
|
|
112
112
|
src: TSrc;
|
|
113
|
-
} ?
|
|
113
|
+
} ? xstate441.ConditionalRequired<[options?: ({
|
|
114
114
|
id?: T["id"] | undefined;
|
|
115
115
|
systemId?: string;
|
|
116
|
-
input?:
|
|
116
|
+
input?: xstate441.InputFrom<T["logic"]> | undefined;
|
|
117
117
|
syncSnapshot?: boolean;
|
|
118
|
-
} & { [K in
|
|
118
|
+
} & { [K in xstate441.RequiredActorOptions<T>]: unknown }) | undefined], xstate441.IsNotNever<xstate441.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
119
119
|
src: "submitConsent";
|
|
120
|
-
logic:
|
|
120
|
+
logic: xstate441.PromiseActorLogic<void, {
|
|
121
121
|
consentId: string;
|
|
122
122
|
isSigned: boolean;
|
|
123
|
-
},
|
|
123
|
+
}, xstate441.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
} extends infer T_1 ? T_1 extends {
|
|
126
126
|
src: "submitConsent";
|
|
127
|
-
logic:
|
|
127
|
+
logic: xstate441.PromiseActorLogic<void, {
|
|
128
128
|
consentId: string;
|
|
129
129
|
isSigned: boolean;
|
|
130
|
-
},
|
|
130
|
+
}, xstate441.EventObject>;
|
|
131
131
|
id: string | undefined;
|
|
132
132
|
} ? T_1 extends {
|
|
133
133
|
src: TSrc;
|
|
134
|
-
} ?
|
|
134
|
+
} ? xstate441.ConditionalRequired<[options?: ({
|
|
135
135
|
id?: T_1["id"] | undefined;
|
|
136
136
|
systemId?: string;
|
|
137
|
-
input?:
|
|
137
|
+
input?: xstate441.InputFrom<T_1["logic"]> | undefined;
|
|
138
138
|
syncSnapshot?: boolean;
|
|
139
|
-
} & { [K_1 in
|
|
139
|
+
} & { [K_1 in xstate441.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate441.IsNotNever<xstate441.RequiredActorOptions<T_1>>> : never : never : never)): xstate441.ActorRefFromLogic<xstate441.GetConcreteByKey<xstate441.Values<{
|
|
140
140
|
fetchConsent: {
|
|
141
141
|
src: "fetchConsent";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate441.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
143
143
|
config: MandatoryConsentConfig;
|
|
144
|
-
},
|
|
144
|
+
}, xstate441.EventObject>;
|
|
145
145
|
id: string | undefined;
|
|
146
146
|
};
|
|
147
147
|
submitConsent: {
|
|
148
148
|
src: "submitConsent";
|
|
149
|
-
logic:
|
|
149
|
+
logic: xstate441.PromiseActorLogic<void, {
|
|
150
150
|
consentId: string;
|
|
151
151
|
isSigned: boolean;
|
|
152
|
-
},
|
|
152
|
+
}, xstate441.EventObject>;
|
|
153
153
|
id: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
}>, "src", TSrc>["logic"]>;
|
|
156
|
-
<TLogic extends
|
|
156
|
+
<TLogic extends xstate441.AnyActorLogic>(src: TLogic, ...[options]: xstate441.ConditionalRequired<[options?: ({
|
|
157
157
|
id?: never;
|
|
158
158
|
systemId?: string;
|
|
159
|
-
input?:
|
|
159
|
+
input?: xstate441.InputFrom<TLogic> | undefined;
|
|
160
160
|
syncSnapshot?: boolean;
|
|
161
|
-
} & { [K in
|
|
161
|
+
} & { [K in xstate441.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate441.IsNotNever<xstate441.RequiredLogicInput<TLogic>>>): xstate441.ActorRefFromLogic<TLogic>;
|
|
162
162
|
};
|
|
163
163
|
input: MandatoryConsentInput;
|
|
164
|
-
self:
|
|
164
|
+
self: xstate441.ActorRef<xstate441.MachineSnapshot<MandatoryConsentContext, {
|
|
165
165
|
type: "LOAD";
|
|
166
166
|
} | {
|
|
167
167
|
type: "TOGGLE";
|
|
@@ -173,7 +173,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
173
173
|
type: "RETRY";
|
|
174
174
|
} | {
|
|
175
175
|
type: "RESET";
|
|
176
|
-
}, Record<string,
|
|
176
|
+
}, Record<string, xstate441.AnyActorRef | undefined>, xstate441.StateValue, string, unknown, any, any>, {
|
|
177
177
|
type: "LOAD";
|
|
178
178
|
} | {
|
|
179
179
|
type: "TOGGLE";
|
|
@@ -185,7 +185,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
185
185
|
type: "RETRY";
|
|
186
186
|
} | {
|
|
187
187
|
type: "RESET";
|
|
188
|
-
},
|
|
188
|
+
}, xstate441.AnyEventObject>;
|
|
189
189
|
}) => {
|
|
190
190
|
config: MandatoryConsentConfig;
|
|
191
191
|
consent: undefined;
|
|
@@ -222,7 +222,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
222
222
|
} | {
|
|
223
223
|
type: "RESET";
|
|
224
224
|
};
|
|
225
|
-
self:
|
|
225
|
+
self: xstate441.ActorRef<xstate441.MachineSnapshot<MandatoryConsentContext, {
|
|
226
226
|
type: "LOAD";
|
|
227
227
|
} | {
|
|
228
228
|
type: "TOGGLE";
|
|
@@ -234,7 +234,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
234
234
|
type: "RETRY";
|
|
235
235
|
} | {
|
|
236
236
|
type: "RESET";
|
|
237
|
-
}, Record<string,
|
|
237
|
+
}, Record<string, xstate441.AnyActorRef>, xstate441.StateValue, string, unknown, any, any>, {
|
|
238
238
|
type: "LOAD";
|
|
239
239
|
} | {
|
|
240
240
|
type: "TOGGLE";
|
|
@@ -246,7 +246,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
246
246
|
type: "RETRY";
|
|
247
247
|
} | {
|
|
248
248
|
type: "RESET";
|
|
249
|
-
},
|
|
249
|
+
}, xstate441.AnyEventObject>;
|
|
250
250
|
}) => {
|
|
251
251
|
config: MandatoryConsentConfig;
|
|
252
252
|
};
|
|
@@ -299,7 +299,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
299
299
|
} | {
|
|
300
300
|
type: "RESET";
|
|
301
301
|
};
|
|
302
|
-
self:
|
|
302
|
+
self: xstate441.ActorRef<xstate441.MachineSnapshot<MandatoryConsentContext, {
|
|
303
303
|
type: "LOAD";
|
|
304
304
|
} | {
|
|
305
305
|
type: "TOGGLE";
|
|
@@ -311,7 +311,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
311
311
|
type: "RETRY";
|
|
312
312
|
} | {
|
|
313
313
|
type: "RESET";
|
|
314
|
-
}, Record<string,
|
|
314
|
+
}, Record<string, xstate441.AnyActorRef>, xstate441.StateValue, string, unknown, any, any>, {
|
|
315
315
|
type: "LOAD";
|
|
316
316
|
} | {
|
|
317
317
|
type: "TOGGLE";
|
|
@@ -323,7 +323,7 @@ declare const mandatoryConsentMachine: xstate204.StateMachine<MandatoryConsentCo
|
|
|
323
323
|
type: "RETRY";
|
|
324
324
|
} | {
|
|
325
325
|
type: "RESET";
|
|
326
|
-
},
|
|
326
|
+
}, xstate441.AnyEventObject>;
|
|
327
327
|
}) => {
|
|
328
328
|
consentId: string;
|
|
329
329
|
isSigned: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
|
6
6
|
async function fetchMandatoryConsent(regulationType, signal) {
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./endpoints-
|
|
2
|
+
import "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
import "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
5
|
-
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-
|
|
5
|
+
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-B0ZiIWOO.esm.js";
|
|
6
6
|
|
|
7
7
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, S as fromCallback, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, S as fromCallback, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/phone/phoneServices.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, S as fromCallback, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, S as fromCallback, b as setup, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CRhCvln7.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region ../infra/src/url/urlUtils.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./platform-B3nGssGZ.esm.js";
|
|
2
2
|
import "./BaseWasmProvider-BFXU7jj8.esm.js";
|
|
3
|
-
import "./StreamCanvasCapture-
|
|
3
|
+
import "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
4
4
|
import "./browserSimulation-zWJAZ1vA.esm.js";
|
|
5
5
|
import "./api-3fZO5bmj.esm.js";
|
|
6
|
-
import "./Manager-
|
|
7
|
-
import "./endpoints-
|
|
6
|
+
import "./Manager-B-qS9P9T.esm.js";
|
|
7
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
8
8
|
import "./camera-D-MPXRbZ.esm.js";
|
|
9
9
|
import "./stats-D4C7iDy1.esm.js";
|
|
10
10
|
import "./backCameraStream-BJwEXNl4.esm.js";
|
|
11
11
|
import "./WasmUtilProvider-DctESPCy.esm.js";
|
|
12
|
-
import { n as processFace } from "./faceCaptureSetup-
|
|
13
|
-
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-
|
|
12
|
+
import { n as processFace } from "./faceCaptureSetup-Bc7QPf-C.esm.js";
|
|
13
|
+
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-CtfKnz4C.esm.js";
|
|
14
14
|
|
|
15
15
|
export { createSelfieManager, processFace, selfieMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as BrowserStorageProvider } from "./StreamCanvasCapture-
|
|
2
|
-
import { C as fromPromise, r as eventModuleNames, w as createActor, x as assign } from "./Manager-
|
|
1
|
+
import { f as BrowserStorageProvider } from "./StreamCanvasCapture-BowJVbkC.esm.js";
|
|
2
|
+
import { C as fromPromise, r as eventModuleNames, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DctESPCy.esm.js";
|
|
4
|
-
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, n as processFace, r as uploadSelfie, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
+
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, n as processFace, r as uploadSelfie, t as faceCaptureMachine } from "./faceCaptureSetup-Bc7QPf-C.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
7
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as isBrowserSimulation } from "./browserSimulation-zWJAZ1vA.esm.js";
|
|
2
2
|
import { n as getApi, t as api } from "./api-3fZO5bmj.esm.js";
|
|
3
|
-
import { g as addEvent } from "./Manager-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
+
import { g as addEvent } from "./Manager-B-qS9P9T.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
5
5
|
import { t as BrowserEnvironmentProvider } from "./BrowserEnvironmentProvider-DApG6lNu.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
@@ -2956,6 +2956,13 @@ function resetFeatureConfigCache() {
|
|
|
2956
2956
|
cachedFeatures$1 = null;
|
|
2957
2957
|
}
|
|
2958
2958
|
|
|
2959
|
+
//#endregion
|
|
2960
|
+
//#region src/internal/fingerprint/fingerprintApi.ts
|
|
2961
|
+
async function getFingerprint(disableIpify) {
|
|
2962
|
+
const shouldDisableIpify = disableIpify ?? getDisableIpify();
|
|
2963
|
+
return new FingerprintProvider(new IpifyProvider()).getFingerprint(shouldDisableIpify);
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2959
2966
|
//#endregion
|
|
2960
2967
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
2961
2968
|
const SDK_VERSION = "2.0.0";
|
|
@@ -3127,4 +3134,4 @@ function resetSessionInit() {
|
|
|
3127
3134
|
}
|
|
3128
3135
|
|
|
3129
3136
|
//#endregion
|
|
3130
|
-
export { isSessionInitialized as a,
|
|
3137
|
+
export { isSessionInitialized as a, getDeviceFingerprintInfo as c, initializeSession as i, createSession as l, getSessionFeatures as n, resetSessionInit as o, getSessionFingerprintResult as r, getFingerprint as s, getDisableIpify as t };
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import "./endpoints-
|
|
3
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
2
|
+
import "./endpoints-DEXxYYFi.esm.js";
|
|
3
|
+
import { t as getFinishStatus } from "./flowCompletionService-CUT-cibE.esm.js";
|
|
4
4
|
|
|
5
5
|
export { getFinishStatus };
|
package/dist/signature.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
2
|
-
import { C as fromPromise, b as setup, g as addEvent, i as eventScreenNames, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { C as fromPromise, b as setup, g as addEvent, i as eventScreenNames, r as eventModuleNames, s as createManagerInstrumentation, t as createManager, w as createActor, x as assign } from "./Manager-B-qS9P9T.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DEXxYYFi.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/signature/signatureServices.ts
|
|
6
6
|
/**
|