@incodetech/core 2.4.1-agentic.3 → 2.4.1-agentic.5
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/{FaceDetectionProvider-CV1N6-wL.esm.js → FaceDetectionProvider-ZiDiL_hY.esm.js} +4 -4
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-Cp00d-5I.esm.js → apiError-CeyLcwt3.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-Dydkvex4.esm.js → authenticationManager-ffZXiENz.esm.js} +3 -3
- package/dist/{authenticationStateMachine-B952RLuf.esm.js → authenticationStateMachine-ebqsPLXI.esm.js} +2 -2
- package/dist/{browser-pQZA35G2-C0fRj-ID.esm.js → browser-pQZA35G2-Bu4in9gN.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-_q9yJUku.d.ts → consentManager-DXetSxcx.d.ts} +9 -9
- package/dist/{deepsightLoader-CeliAqIy.esm.js → deepsightLoader-CJbBiTpq.esm.js} +3 -3
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Br2x_hfQ.esm.js → dynamicFormsManager-C1pBbCWs.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Dt7h3yOZ.esm.js → dynamicFormsStateMachine-iVdrXC1r.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-bpbuBguD.esm.js → ekybManager-OZ0SeXvq.esm.js} +1 -1
- package/dist/{ekybStateMachine-CkqT0Un2.esm.js → ekybStateMachine-BDh-yJkS.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-qCul2Oix.esm.js → electronicSignatureManager-CHe4KM2h.esm.js} +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-CAUH7R1T.esm.js → faceCaptureManagerFactory-GmZMp6TR.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DimauotJ.esm.js → faceCaptureSetup--MEv7wIJ.esm.js} +3 -3
- package/dist/{feature-management-CvdrPdpa.esm.js → feature-management-hZhfjdAu.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-BUv4Reay.esm.js → flowCompletionService-E8ipjpAG.esm.js} +1 -1
- package/dist/{flowServices-CeSh3IZR.esm.js → flowServices-Co77kn9L.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-D1gQ5fwB.esm.js → geolocationManager-C8DY8c1D.esm.js} +1 -1
- package/dist/{geolocationStateMachine-CVJaQ3ec.esm.js → geolocationStateMachine-BluJR9Ew.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BqVaQpfJ.esm.js → idCaptureManager-6amWi8Ko.esm.js} +3 -3
- package/dist/{idCaptureServices-DUw2flBX.esm.js → idCaptureServices-Bpa4MmVC.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-hI7mQYWl.esm.js → idCaptureStateMachine-BzBA2B4_.esm.js} +8 -8
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.d.ts} +4 -4
- package/dist/{index-BfSZvEHi.d.ts → index-bD4-zpjs.d.ts} +4 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-D99QhLQ4.esm.js → kybChecksManager-CbqLrEox.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-BY_36-hd.esm.js → kybChecksStateMachine-B_GS-KmL.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CNDoNxm3.d.ts → mandatoryConsentManager-CEn59Ytw.d.ts} +7 -7
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{runChildModule-DY7Gxw3g.esm.js → runChildModule-DHDczcGZ.esm.js} +1 -1
- package/dist/{sdkVersion-sD_Jpwep.esm.js → sdkVersion-CxaRTa9r.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieErrorUtils-DiUk0Spe.esm.js → selfieErrorUtils-Dk0ofKio.esm.js} +1 -1
- package/dist/{selfieManager-BrUM1zP0.esm.js → selfieManager-EgnSX_Hu.esm.js} +3 -3
- package/dist/{selfieStateMachine-BzR8y4pn.esm.js → selfieStateMachine-B8pBvum8.esm.js} +3 -3
- package/dist/{session-CkCdOGrY.esm.js → session-CaliXPVw.esm.js} +3 -3
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DaX5j_g9.esm.js → sessionInitializer-Tr_ZkaSs.esm.js} +4 -4
- package/dist/{setup-CR-3VM37.esm.js → setup-Bz4l-E3R.esm.js} +5 -5
- package/dist/{setup-CmqnkqsR.d.ts → setup-Dyv1tJFj.d.ts} +1 -1
- package/dist/step-up.d.ts +17 -24
- package/dist/step-up.esm.js +12 -15
- package/dist/{tri-__fK_lJT.esm.js → tri-CKUbuky5.esm.js} +2 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-DgTlfPhR.esm.js → tri.esm-DvgaFxHR.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/{trueSightService-C96uqLaj.esm.js → trueSightService-DDdJ8TrY.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-B9FzTNcx.esm.js → videoSelfieCameraWarmer-Dsk8JQNy.esm.js} +3 -3
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +14 -14
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-
|
|
1
|
+
//#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.6.0-dev-20261105224144-22a4059ab471ae6b7ddc9d5b9bf1a84e1092a0cc/node_modules/@incodetech/tri-sdk/dist/index.d.ts
|
|
2
2
|
type CollectorKey = 'pointer' | 'pointermove' | 'focus' | 'input' | 'keystroke' | 'clipboard' | 'form' | 'change' | 'selection' | 'tab' | 'visibility' | 'navigation' | 'viewportresize' | 'viewport' | 'scroll' | 'sensors' | 'network-request' | 'networkconnection' | 'screen' | 'wheel' | 'hover' | 'shinsei' | 'fpsignals';
|
|
3
3
|
type CollectorEventMap = {
|
|
4
4
|
/**
|
|
@@ -87,8 +87,9 @@ type TRIConfigBase = {
|
|
|
87
87
|
apiURL: string;
|
|
88
88
|
/**
|
|
89
89
|
* SDK token obtained from a B2B server call or via `createSession`.
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* It identifies the organization and lasts 7 days by default (`expiresAt`
|
|
91
|
+
* from `createSession` says when it ends). The consumer's API key must
|
|
92
|
+
* never be passed here.
|
|
92
93
|
*/
|
|
93
94
|
token: string;
|
|
94
95
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import { a as isConfigured, l as setup, o as reset, t as SetupOptions } from "./setup-Dyv1tJFj.js";
|
|
2
2
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, r as isConfigured, s as setup } from "./setup-
|
|
1
|
+
import { i as reset, r as isConfigured, s as setup } from "./setup-Bz4l-E3R.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
package/dist/kyb-checks.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
-
import { t as createKybChecksManager } from "./kybChecksManager-
|
|
1
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B_GS-KmL.esm.js";
|
|
2
|
+
import { t as createKybChecksManager } from "./kybChecksManager-CbqLrEox.esm.js";
|
|
3
3
|
export { createKybChecksManager, kybChecksMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
|
-
import { t as kybChecksMachine } from "./kybChecksStateMachine-
|
|
2
|
+
import { t as kybChecksMachine } from "./kybChecksStateMachine-B_GS-KmL.esm.js";
|
|
3
3
|
//#region src/modules/kyb-checks/kybChecksActor.ts
|
|
4
4
|
/** Creates and starts a KYB Checks actor, idle until `LOAD`. */
|
|
5
5
|
function createKybChecksActor(options = {}) {
|
package/dist/{kybChecksStateMachine-BY_36-hd.esm.js → kybChecksStateMachine-B_GS-KmL.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
|
-
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
2
|
+
import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-CeyLcwt3.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
4
4
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-Cd0J0F9D.js";
|
|
2
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
2
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CEn59Ytw.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-CNDoNxm3.d.ts → mandatoryConsentManager-CEn59Ytw.d.ts}
RENAMED
|
@@ -57,26 +57,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
57
57
|
type: "setError";
|
|
58
58
|
params: NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
|
-
setLoadError: {
|
|
61
|
-
type: "setLoadError";
|
|
62
|
-
params: NonReducibleUnknown;
|
|
63
|
-
};
|
|
64
60
|
clearError: {
|
|
65
61
|
type: "clearError";
|
|
66
62
|
params: NonReducibleUnknown;
|
|
67
63
|
};
|
|
68
|
-
|
|
69
|
-
type: "
|
|
64
|
+
setLoadError: {
|
|
65
|
+
type: "setLoadError";
|
|
70
66
|
params: NonReducibleUnknown;
|
|
71
67
|
};
|
|
72
68
|
toggleSigned: {
|
|
73
69
|
type: "toggleSigned";
|
|
74
70
|
params: NonReducibleUnknown;
|
|
75
71
|
};
|
|
72
|
+
resetContext: {
|
|
73
|
+
type: "resetContext";
|
|
74
|
+
params: NonReducibleUnknown;
|
|
75
|
+
};
|
|
76
76
|
}>, {
|
|
77
77
|
type: "canSubmit";
|
|
78
78
|
params: unknown;
|
|
79
|
-
}, never, "error" | "idle" | "closed" | "finished" | "
|
|
79
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
80
80
|
readonly id: "mandatoryConsent";
|
|
81
81
|
readonly initial: "idle";
|
|
82
82
|
readonly context: ({ input }: {
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CHe4KM2h.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { w as createEventBus } from "./events-ggpBBaZ8.esm.js";
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DDdJ8TrY.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
6
|
//#region src/internal/flow-events/flowEvents.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Bz4l-E3R.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
|
-
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup
|
|
7
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
8
|
-
import { s as processFace } from "./FaceDetectionProvider-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup--MEv7wIJ.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-GmZMp6TR.esm.js";
|
|
8
|
+
import { s as processFace } from "./FaceDetectionProvider-ZiDiL_hY.esm.js";
|
|
9
9
|
import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BGMtYwk3.esm.js";
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-B8pBvum8.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-EgnSX_Hu.esm.js";
|
|
12
12
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BJ0GVHGr.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ZiDiL_hY.esm.js";
|
|
2
2
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
3
3
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
4
4
|
const isFaceErrorCode = (value) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Bz4l-E3R.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-GmZMp6TR.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-B8pBvum8.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup
|
|
4
|
-
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup--MEv7wIJ.esm.js";
|
|
4
|
+
import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ZiDiL_hY.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-Dk0ofKio.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-DDdJ8TrY.esm.js";
|
|
3
|
+
import "./sessionInitializer-Tr_ZkaSs.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-CeyLcwt3.esm.js";
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
|
7
7
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-Tr_ZkaSs.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-CeyLcwt3.esm.js";
|
|
6
|
+
import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-CaliXPVw.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-E8ipjpAG.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -2,15 +2,15 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
|
|
|
2
2
|
import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
3
3
|
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
5
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
6
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-DDdJ8TrY.esm.js";
|
|
6
|
+
import { t as SDK_VERSION } from "./sdkVersion-CxaRTa9r.esm.js";
|
|
7
7
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
8
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
8
|
+
import { E as updateFeatureManagementUser } from "./feature-management-hZhfjdAu.esm.js";
|
|
9
9
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-CatA2dea.esm.js";
|
|
10
10
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
11
11
|
import { a as isIOS } from "./platform-aPh7gTWh.esm.js";
|
|
12
12
|
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
13
|
-
import { a as isTRIStarted, o as linkSessionWithTRI, s as readTRIFpSignals } from "./tri-
|
|
13
|
+
import { a as isTRIStarted, o as linkSessionWithTRI, s as readTRIFpSignals } from "./tri-CKUbuky5.esm.js";
|
|
14
14
|
import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
|
|
15
15
|
//#region src/internal/version/sdkPlatform.ts
|
|
16
16
|
/**
|
|
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, i as isWasmReady,
|
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
4
4
|
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-ggpBBaZ8.esm.js";
|
|
5
5
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
6
|
-
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-
|
|
7
|
-
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig } from "./sessionInitializer-
|
|
6
|
+
import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-DDdJ8TrY.esm.js";
|
|
7
|
+
import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig } from "./sessionInitializer-Tr_ZkaSs.esm.js";
|
|
8
8
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
9
9
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
10
|
-
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-
|
|
10
|
+
import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-hZhfjdAu.esm.js";
|
|
11
11
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CatA2dea.esm.js";
|
|
12
|
-
import { a as isTRIStarted, c as resetSdkOwnedTRI, i as initializeTRI, s as readTRIFpSignals, t as addTRIFpSignals } from "./tri-
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
12
|
+
import { a as isTRIStarted, c as resetSdkOwnedTRI, i as initializeTRI, s as readTRIFpSignals, t as addTRIFpSignals } from "./tri-CKUbuky5.esm.js";
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Co77kn9L.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as WasmPipeline, i as WasmModuleConfig, n as WasmModelsConfig, t as WarmupConfig } from "./warmup-BO57syF6.js";
|
|
2
|
-
import { c as TransactionalRiskIntelligenceSetupConfig } from "./index-
|
|
2
|
+
import { c as TransactionalRiskIntelligenceSetupConfig } from "./index-bD4-zpjs.js";
|
|
3
3
|
import { c as FeatureManagementRedactedUserInfo } from "./IFeatureManagementCapability-De8wpbGh.js";
|
|
4
4
|
//#region src/internal/environment/environment.d.ts
|
|
5
5
|
/**
|
package/dist/step-up.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ type StepUpScope = {
|
|
|
26
26
|
selectionMode?: 'auto-select' | 'dynamic-select';
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
30
|
-
*
|
|
29
|
+
* The step-up's `consent`, exactly as the Decision API start response
|
|
30
|
+
* returns it (contract v0.2 §6.1: camelCase everywhere).
|
|
31
31
|
*/
|
|
32
32
|
type StepUpPermissions = {
|
|
33
33
|
agentClassId?: string;
|
|
@@ -35,11 +35,8 @@ type StepUpPermissions = {
|
|
|
35
35
|
scopes: StepUpScope[];
|
|
36
36
|
/** Limits keyed by scope name; only scopes that have one are listed. */
|
|
37
37
|
limits?: Record<string, StepUpLimit>;
|
|
38
|
-
/**
|
|
39
|
-
|
|
40
|
-
* has none; the permissions screen then shows no duration.
|
|
41
|
-
*/
|
|
42
|
-
durationSeconds?: number;
|
|
38
|
+
/** How long the approval lasts, in seconds. */
|
|
39
|
+
durationSeconds: number;
|
|
43
40
|
};
|
|
44
41
|
/** The agent class's limit on one scope. Amounts carry no currency. */
|
|
45
42
|
type StepUpLimit = {
|
|
@@ -105,25 +102,23 @@ type StepUpOptionsInput = {
|
|
|
105
102
|
stepUpId: string;
|
|
106
103
|
sessionToken: string;
|
|
107
104
|
interviewId?: string;
|
|
108
|
-
|
|
105
|
+
/** The start response's `consent`, passed on unchanged. */
|
|
106
|
+
consent: StepUpPermissions;
|
|
109
107
|
mode?: StepUpMode;
|
|
110
108
|
onboardingUrl?: string;
|
|
111
109
|
permissionsUi?: StepUpPermissionsUi;
|
|
112
110
|
/**
|
|
113
111
|
* Embedded mode: show the permissions screen before the face check
|
|
114
|
-
* (default) or after it. Ignored with `permissionsUi: 'none'`.
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* scope choice after the face check, which it does not yet: the bank gets
|
|
118
|
-
* 409 `STEP_UP_NOT_PENDING`, so the step-up ends with `VERIFICATION_ERROR`
|
|
119
|
-
* (`detail.code` `PERMISSIONS_NOT_SAVED`).
|
|
112
|
+
* (default) or after it. Ignored with `permissionsUi: 'none'`. Incode
|
|
113
|
+
* activates the mandate once it has both the scope choice and a passed face
|
|
114
|
+
* check, in either order.
|
|
120
115
|
*/
|
|
121
116
|
permissionsOrder?: StepUpPermissionsOrder;
|
|
122
117
|
/**
|
|
123
118
|
* Embedded mode: called when the person approves, with the scopes they kept.
|
|
124
119
|
* The step-up waits for the returned promise, then runs the face check (or
|
|
125
|
-
* finishes, after it). Use it to
|
|
126
|
-
*
|
|
120
|
+
* finishes, after it). Use it to have the bank server record the choice
|
|
121
|
+
* (`POST /api/v1/step-ups/{id}/scopes`). A rejection ends the step-up with
|
|
127
122
|
* `VERIFICATION_ERROR`, `detail.code` `PERMISSIONS_NOT_SAVED`.
|
|
128
123
|
*/
|
|
129
124
|
onPermissionsApproved?: (result: StepUpResult) => void | Promise<unknown>;
|
|
@@ -206,8 +201,7 @@ type StepUpPermissionsState = {
|
|
|
206
201
|
locked: boolean;
|
|
207
202
|
limit?: StepUpLimit;
|
|
208
203
|
}>;
|
|
209
|
-
|
|
210
|
-
duration?: StepUpDuration;
|
|
204
|
+
duration: StepUpDuration;
|
|
211
205
|
/** False when no scope is checked: Approve needs at least one. */
|
|
212
206
|
canApprove: boolean;
|
|
213
207
|
/** Approved; the host is saving the choice before the step-up goes on. */
|
|
@@ -298,12 +292,11 @@ declare function isStepUpError(error: unknown): error is StepUpError;
|
|
|
298
292
|
//#endregion
|
|
299
293
|
//#region src/modules/step-up/stepUpOptions.d.ts
|
|
300
294
|
/**
|
|
301
|
-
* Checks the
|
|
295
|
+
* Checks the consent block from the start response and fills in
|
|
302
296
|
* `displayName` (falls back to the scope name). Keeps each scope's boolean
|
|
303
297
|
* `autoSelect` and known `selectionMode`, and the valid limits of known
|
|
304
|
-
* scopes.
|
|
305
|
-
* `
|
|
306
|
-
* given but not a positive number.
|
|
298
|
+
* scopes. Throws `INVALID_OPTIONS` when a required field is missing, or
|
|
299
|
+
* `durationSeconds` is not a positive number.
|
|
307
300
|
*/
|
|
308
301
|
declare function normalizeStepUpPermissions(raw: unknown): StepUpPermissions;
|
|
309
302
|
/**
|
|
@@ -326,9 +319,9 @@ declare function validateStepUpOptions(raw: unknown): NormalizedStepUpOptions;
|
|
|
326
319
|
* Picks the largest unit that divides the duration exactly, so
|
|
327
320
|
* 36000 s → 10 hours, 5400 s → 90 minutes. A duration that is not a whole
|
|
328
321
|
* number of minutes is rounded up to minutes (never shown shorter than it is),
|
|
329
|
-
* and anything under a minute stays in seconds.
|
|
322
|
+
* and anything under a minute stays in seconds.
|
|
330
323
|
*/
|
|
331
|
-
declare function describeStepUpDuration(durationSeconds: number
|
|
324
|
+
declare function describeStepUpDuration(durationSeconds: number): StepUpDuration;
|
|
332
325
|
//#endregion
|
|
333
326
|
//#region src/modules/step-up/stepUpHostedMessage.d.ts
|
|
334
327
|
/**
|
package/dist/step-up.esm.js
CHANGED
|
@@ -248,7 +248,7 @@ function invalid(message, stepUpId) {
|
|
|
248
248
|
throw new StepUpError("INVALID_OPTIONS", message, stepUpId);
|
|
249
249
|
}
|
|
250
250
|
function normalizeScope(raw, index) {
|
|
251
|
-
if (!isRecord$1(raw) || !isNonEmptyString(raw.name)) invalid(`
|
|
251
|
+
if (!isRecord$1(raw) || !isNonEmptyString(raw.name)) invalid(`consent.scopes[${index}].name must be a non-empty string`);
|
|
252
252
|
const displayName = optionalString(raw.displayName);
|
|
253
253
|
const description = optionalString(raw.description);
|
|
254
254
|
const autoSelect = typeof raw.autoSelect === "boolean" ? raw.autoSelect : void 0;
|
|
@@ -287,22 +287,21 @@ function normalizeLimits(raw, scopeNames) {
|
|
|
287
287
|
return Object.keys(limits).length > 0 ? limits : void 0;
|
|
288
288
|
}
|
|
289
289
|
/**
|
|
290
|
-
* Checks the
|
|
290
|
+
* Checks the consent block from the start response and fills in
|
|
291
291
|
* `displayName` (falls back to the scope name). Keeps each scope's boolean
|
|
292
292
|
* `autoSelect` and known `selectionMode`, and the valid limits of known
|
|
293
|
-
* scopes.
|
|
294
|
-
* `
|
|
295
|
-
* given but not a positive number.
|
|
293
|
+
* scopes. Throws `INVALID_OPTIONS` when a required field is missing, or
|
|
294
|
+
* `durationSeconds` is not a positive number.
|
|
296
295
|
*/
|
|
297
296
|
function normalizeStepUpPermissions(raw) {
|
|
298
|
-
if (!isRecord$1(raw)) invalid("
|
|
297
|
+
if (!isRecord$1(raw)) invalid("consent is required");
|
|
299
298
|
const scopesRaw = raw.scopes;
|
|
300
|
-
if (!Array.isArray(scopesRaw) || scopesRaw.length === 0) invalid("
|
|
299
|
+
if (!Array.isArray(scopesRaw) || scopesRaw.length === 0) invalid("consent.scopes must list at least one scope");
|
|
301
300
|
const scopes = scopesRaw.map(normalizeScope);
|
|
302
301
|
const names = new Set(scopes.map((scope) => scope.name));
|
|
303
|
-
if (names.size !== scopes.length) invalid("
|
|
302
|
+
if (names.size !== scopes.length) invalid("consent.scopes must not repeat a scope name");
|
|
304
303
|
const { durationSeconds } = raw;
|
|
305
|
-
if (
|
|
304
|
+
if (typeof durationSeconds !== "number" || !Number.isFinite(durationSeconds) || durationSeconds <= 0) invalid("consent.durationSeconds must be a positive number");
|
|
306
305
|
const agentClassId = optionalString(raw.agentClassId);
|
|
307
306
|
const purpose = optionalString(raw.purpose);
|
|
308
307
|
const limits = normalizeLimits(raw.limits, names);
|
|
@@ -311,7 +310,7 @@ function normalizeStepUpPermissions(raw) {
|
|
|
311
310
|
...purpose ? { purpose } : {},
|
|
312
311
|
scopes,
|
|
313
312
|
...limits ? { limits } : {},
|
|
314
|
-
|
|
313
|
+
durationSeconds
|
|
315
314
|
};
|
|
316
315
|
}
|
|
317
316
|
/**
|
|
@@ -363,7 +362,7 @@ function validateStepUpOptions(raw) {
|
|
|
363
362
|
if (raw.disableDashboardTheme !== void 0 && typeof raw.disableDashboardTheme !== "boolean") invalid("disableDashboardTheme must be a boolean when given", stepUpId);
|
|
364
363
|
let permissions;
|
|
365
364
|
try {
|
|
366
|
-
permissions = normalizeStepUpPermissions(raw.
|
|
365
|
+
permissions = normalizeStepUpPermissions(raw.consent);
|
|
367
366
|
} catch (error) {
|
|
368
367
|
invalid(error instanceof Error ? error.message : String(error), stepUpId);
|
|
369
368
|
}
|
|
@@ -405,10 +404,9 @@ const UNITS = [
|
|
|
405
404
|
* Picks the largest unit that divides the duration exactly, so
|
|
406
405
|
* 36000 s → 10 hours, 5400 s → 90 minutes. A duration that is not a whole
|
|
407
406
|
* number of minutes is rounded up to minutes (never shown shorter than it is),
|
|
408
|
-
* and anything under a minute stays in seconds.
|
|
407
|
+
* and anything under a minute stays in seconds.
|
|
409
408
|
*/
|
|
410
409
|
function describeStepUpDuration(durationSeconds) {
|
|
411
|
-
if (durationSeconds === void 0) return void 0;
|
|
412
410
|
const seconds = Math.ceil(durationSeconds);
|
|
413
411
|
for (const { unit, seconds: size } of UNITS) if (seconds >= size && seconds % size === 0) return {
|
|
414
412
|
unit,
|
|
@@ -440,7 +438,6 @@ function readWorkflowResult(result) {
|
|
|
440
438
|
}
|
|
441
439
|
function toPermissionsState(context, saving) {
|
|
442
440
|
const { permissions, selectedScopes } = context;
|
|
443
|
-
const duration = describeStepUpDuration(permissions.durationSeconds);
|
|
444
441
|
return {
|
|
445
442
|
status: "permissions",
|
|
446
443
|
...permissions.purpose ? { purpose: permissions.purpose } : {},
|
|
@@ -453,7 +450,7 @@ function toPermissionsState(context, saving) {
|
|
|
453
450
|
...limit ? { limit } : {}
|
|
454
451
|
};
|
|
455
452
|
}),
|
|
456
|
-
|
|
453
|
+
duration: describeStepUpDuration(permissions.durationSeconds),
|
|
457
454
|
canApprove: selectedScopes.length > 0,
|
|
458
455
|
saving
|
|
459
456
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
1
|
+
import { t as SDK_VERSION } from "./sdkVersion-CxaRTa9r.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/TransactionalRiskIntelligenceProvider.ts
|
|
@@ -8,7 +8,7 @@ const LAZY_IMPORT_OPTIONS = {
|
|
|
8
8
|
timeoutMs: 1e4,
|
|
9
9
|
disabledMessage: "TRI will be disabled for this session."
|
|
10
10
|
};
|
|
11
|
-
const importSdk = () => import("./tri.esm-
|
|
11
|
+
const importSdk = () => import("./tri.esm-DvgaFxHR.esm.js");
|
|
12
12
|
/**
|
|
13
13
|
* Concrete implementation of {@link ITransactionalRiskIntelligenceCapability}.
|
|
14
14
|
*
|
package/dist/tri.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as setupTRI, c as TransactionalRiskIntelligenceSetupConfig, i as resetTRI, n as getTRIActivityId, o as startTRI, r as isTRIStarted, s as stopTRI, t as createTRISession } from "./index-
|
|
1
|
+
import { a as setupTRI, c as TransactionalRiskIntelligenceSetupConfig, i as resetTRI, n as getTRIActivityId, o as startTRI, r as isTRIStarted, s as stopTRI, t as createTRISession } from "./index-bD4-zpjs.js";
|
|
2
2
|
export { type TransactionalRiskIntelligenceSetupConfig, createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -2867,7 +2867,7 @@ async function ui(t) {
|
|
|
2867
2867
|
return Promise.race([r, o]).finally(() => {
|
|
2868
2868
|
C(i);
|
|
2869
2869
|
});
|
|
2870
|
-
}(() => import("./browser-pQZA35G2-
|
|
2870
|
+
}(() => import("./browser-pQZA35G2-Bu4in9gN.esm.js"), 1e4);
|
|
2871
2871
|
ci = t, t.then((e) => {
|
|
2872
2872
|
null === e && D(() => {
|
|
2873
2873
|
ci === t && (ci = null);
|
package/dist/tri.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-
|
|
1
|
+
import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-CKUbuky5.esm.js";
|
|
2
2
|
export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
|
|
@@ -2,7 +2,7 @@ import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTran
|
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
3
|
import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
4
|
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-CxaRTa9r.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-Bz4l-E3R.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
|
|
3
3
|
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-Co77kn9L.esm.js";
|
|
7
7
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
10
|
import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-Dsk8JQNy.esm.js";
|
|
13
13
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
14
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
|
|
15
15
|
import { t as MultipartRecordingService } from "./multipartRecordingService-BTqkHGG9.esm.js";
|
package/dist/{videoSelfieCameraWarmer-B9FzTNcx.esm.js → videoSelfieCameraWarmer-Dsk8JQNy.esm.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-Co77kn9L.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ZiDiL_hY.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-Dk0ofKio.esm.js";
|
|
11
11
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BO57syF6.js";
|
|
2
|
-
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-
|
|
2
|
+
import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-Dyv1tJFj.js";
|
|
3
3
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
4
4
|
/** The WASM version bundled and tested with this SDK release. */
|
|
5
5
|
declare const DEFAULT_WASM_VERSION = "v2.14.54-pre6";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-BDrax6Eu.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./warmup-DtB0DJpl.esm.js";
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-Bz4l-E3R.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|