@incodetech/core 0.0.0-dev-20261019-85aedbc6 → 0.0.0-dev-20261020-4fdb6e30
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-Df4qmsXB.esm.js → FaceDetectionProvider-BUzA3Xfz.esm.js} +8 -8
- package/dist/{addressSearch-DPjIKJrX.esm.js → addressSearch-DU_A-KRF.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-BwcrZg0n.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-D8_nlJ1M.esm.js} +1 -1
- package/dist/{api-Cz90EHyu.esm.js → api-DibA_Spu.esm.js} +1 -0
- package/dist/{apiError-CQHIP6hu.esm.js → apiError-DQX-8xf0.esm.js} +1 -1
- package/dist/{attemptCarry-BMddDZ5A.esm.js → attemptCarry-D8p84a3b.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BVlxcXQZ.esm.js → authenticationManager-kIVTFluN.esm.js} +4 -4
- package/dist/{authenticationStateMachine-CTO-_4n7.esm.js → authenticationStateMachine-Dw7_3wfC.esm.js} +3 -3
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-BcjLNZr8.esm.js → certificateIssuanceManager-C62wP3C7.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-BNW_4W4w.esm.js → certificateIssuanceStateMachine-rcv1Mp0-.esm.js} +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-BPbAag3h.esm.js} +2 -2
- package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-CxsgBheC.esm.js} +1 -1
- package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → createCameraCycleOwnership-DeOVMWUZ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-DsMEIE6e.esm.js} +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DoeVJCNS.esm.js → curpValidationManager-CFNdKD46.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-CrQhQIde.esm.js → curpValidationStateMachine-Cv974Od7.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-BQwd7ePG.esm.js} +2 -2
- package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-CqmaXZ3M.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-CmSNuU2y.esm.js} +1 -1
- package/dist/{deepsightLoader-C4RtdYjn.esm.js → deepsightLoader-D2VBOKJi.esm.js} +4 -4
- package/dist/{deepsightService-B8hMBbJg.esm.js → deepsightService-CnJgXXcj.esm.js} +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-CMfVuU9p.esm.js → documentCaptureManager-vY0yCoxj.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-B0otvm7y.esm.js → documentCaptureStateMachine-DMxJXs3Z.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BLdp4hsP.esm.js → dynamicFormsManager-CXIp_2Xe.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-CVSM12LU.esm.js → dynamicFormsStateMachine-CfXLcfiy.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-gmaV05pn.esm.js → ekybManager-D0Sw9nmF.esm.js} +2 -2
- package/dist/{ekybStateMachine-DtuJmmV9.esm.js → ekybStateMachine-B2uk9I24.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-BY3ufkgU.esm.js} +2 -2
- package/dist/{ekycStateMachine-CDnI_NRq.esm.js → ekycStateMachine-TQRh3i_I.esm.js} +2 -2
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Bm-5veg1.esm.js → electronicSignatureManager-G9vJ-4cT.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-DBZy6IDJ.esm.js → emailManager-BvhLvbtd.esm.js} +2 -2
- package/dist/{emailStateMachine-CqStAlYx.esm.js → emailStateMachine-eeQ8dRbM.esm.js} +2 -2
- package/dist/{events-Du2A4-Qr.esm.js → events-D98twgMK.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +2 -2
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-CJXZNNRo.esm.js → faceCaptureManagerFactory-CyKQqMpH.esm.js} +2 -2
- package/dist/{faceCaptureSetup-7PPCUxmc.esm.js → faceCaptureSetup-D13GSqvK.esm.js} +9 -9
- package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-CUWKh2pf.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-BUcjsIb1.esm.js} +1 -1
- package/dist/{feature-management-CYKUe07p.esm.js → feature-management-BlPsdK6I.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-8Gcne7cb.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-B_5Lj4dm.esm.js} +2 -2
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-BeNd5fI4.esm.js → flowCompletionService-ko1tsdfm.esm.js} +2 -2
- package/dist/{flowServices-DMHy0Gy0.esm.js → flowServices-Df-LxNoR.esm.js} +5 -5
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-BrcxNhOd.esm.js → geolocationManager-Bn_aK63v.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BRRYxFC4.esm.js → geolocationStateMachine-D0GMeMwZ.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-DLptXxxu.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-DfdpoCJG.esm.js} +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.esm.js +7 -7
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-grsqbfj3.esm.js → idCaptureManager-CXflpRS0.esm.js} +5 -5
- package/dist/{idCaptureServices-DP7cdxGt.esm.js → idCaptureServices-DPeT_Qu3.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-BOanpXZB.esm.js → idCaptureStateMachine-BfGPXYID.esm.js} +16 -16
- package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-C_jlAnBS.esm.js} +2 -2
- package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-DY8ZB5GG.esm.js} +1 -1
- package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-BgQ1clLr.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-Etb91dYy.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-YGTaaYtd.esm.js} +2 -2
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-B4e6VCrG.esm.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-DraeGfc2.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-okPILEru.d.ts → mandatoryConsentManager-BQ43yndC.d.ts} +4 -4
- package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-CAqIt6wt.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-DsjIqvJ9.esm.js} +1 -1
- package/dist/{multipartRecordingService-DQSNXWnJ.esm.js → multipartRecordingService-CtTauPSp.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-D606jJ0_.esm.js → phoneManager-CQBXuOex.esm.js} +2 -2
- package/dist/{phoneStateMachine-BdkpVdC_.esm.js → phoneStateMachine-gXJD8NRW.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-u9c-GRQS.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-DE95zYD3.esm.js} +1 -1
- package/dist/{runChildModule-4t__a123.esm.js → runChildModule-DnpPfTcQ.esm.js} +2 -2
- package/dist/{sdkVersion-Q_L1l5zd.esm.js → sdkVersion-2pk-smMJ.esm.js} +1 -1
- package/dist/selfie.esm.js +9 -9
- package/dist/{selfieErrorUtils-Dl1sas9p.esm.js → selfieErrorUtils-oXui3FHr.esm.js} +1 -1
- package/dist/{selfieManager-BU6M3q44.esm.js → selfieManager-CAPsp6sB.esm.js} +4 -4
- package/dist/{selfieStateMachine-CjM5rC07.esm.js → selfieStateMachine-Cvv2tql3.esm.js} +3 -3
- package/dist/{session-DW-AKxI9.esm.js → session-BeOhtQJt.esm.js} +77 -9
- package/dist/session.d.ts +57 -7
- package/dist/session.esm.js +6 -6
- package/dist/{sessionInitializer-CbqzkPea.esm.js → sessionInitializer-BN6B9VSX.esm.js} +6 -6
- package/dist/{setup-B4md_lth.esm.js → setup-Bn3e6ZFS.esm.js} +7 -7
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-N-SHTwT-.esm.js} +2 -2
- package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-D4-juDs9.esm.js} +1 -1
- package/dist/{stats-BEvexnKC.esm.js → stats-BJO0RcTZ.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-CivvaoYN.esm.js → trueSightService-8jhpuYdN.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-DUwrz5fh.esm.js → videoSelfieCameraWarmer-DV0XqPfw.esm.js} +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-BYtjD7SO.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-B66E7jud.esm.js → watchlistForBusinessStateMachine-MVAywRD_.esm.js} +1 -1
- package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-C4FrX43N.esm.js} +2 -2
- package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-By4V_fk4.esm.js} +1 -1
- package/dist/workflow.esm.js +35 -35
- package/package.json +1 -1
package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-B4e6VCrG.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/identity-reuse/identityReuseServices.ts
|
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-Bn3e6ZFS.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { r as MandatoryConsentConfig } from "./types-Ckir_BEs.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-BQ43yndC.js";
|
|
3
3
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
2
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CAqIt6wt.esm.js";
|
|
3
3
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-okPILEru.d.ts → mandatoryConsentManager-BQ43yndC.d.ts}
RENAMED
|
@@ -56,14 +56,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
|
56
56
|
type: "setError";
|
|
57
57
|
params: NonReducibleUnknown;
|
|
58
58
|
};
|
|
59
|
-
clearError: {
|
|
60
|
-
type: "clearError";
|
|
61
|
-
params: NonReducibleUnknown;
|
|
62
|
-
};
|
|
63
59
|
toggleSigned: {
|
|
64
60
|
type: "toggleSigned";
|
|
65
61
|
params: NonReducibleUnknown;
|
|
66
62
|
};
|
|
63
|
+
clearError: {
|
|
64
|
+
type: "clearError";
|
|
65
|
+
params: NonReducibleUnknown;
|
|
66
|
+
};
|
|
67
67
|
resetContext: {
|
|
68
68
|
type: "resetContext";
|
|
69
69
|
params: NonReducibleUnknown;
|
package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-CAqIt6wt.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
3
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DsjIqvJ9.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
5
5
|
function createMandatoryConsentActor(options) {
|
|
6
6
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
package/dist/{multipartRecordingService-DQSNXWnJ.esm.js → multipartRecordingService-CtTauPSp.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { a as isIOS } from "./platform-DkcRc9JV.esm.js";
|
|
4
4
|
import { o as BrowserNetworkStatusProvider } from "./connectivity-HSl0diCx.esm.js";
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
2
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
1
|
+
import { t as phoneMachine } from "./phoneStateMachine-gXJD8NRW.esm.js";
|
|
2
|
+
import { t as createPhoneManager } from "./phoneManager-CQBXuOex.esm.js";
|
|
3
3
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-DnBcNUNh.esm.js";
|
|
4
4
|
import { n as isOtpComplete } from "./otp-D2k3PeSL.esm.js";
|
|
5
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
5
|
+
import { t as phoneMachine } from "./phoneStateMachine-gXJD8NRW.esm.js";
|
|
6
6
|
//#region src/modules/phone/phoneActor.ts
|
|
7
7
|
function createPhoneActor(options) {
|
|
8
8
|
return createActor(phoneMachine, { input: { config: options.config } }).start();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
5
|
+
import { t as carryAttempts } from "./attemptCarry-D8p84a3b.esm.js";
|
|
6
6
|
import { n as loadPhoneValidation } from "./phoneValidation-DnBcNUNh.esm.js";
|
|
7
7
|
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
8
8
|
//#region src/modules/phone/phoneServices.ts
|
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-G9vJ-4cT.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-DE95zYD3.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-u9c-GRQS.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-u9c-GRQS.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
|
-
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-
|
|
5
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-DE95zYD3.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
7
|
const POLL_INTERVAL_MS = 5e3;
|
|
8
8
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { w as createEventBus } from "./events-
|
|
3
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { w as createEventBus } from "./events-D98twgMK.esm.js";
|
|
3
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-8jhpuYdN.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,15 +1,15 @@
|
|
|
1
|
-
import { u as BrowserStorageProvider } from "./setup-
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-Bn3e6ZFS.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-D98twgMK.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 { c as processFace } from "./FaceDetectionProvider-
|
|
9
|
-
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
10
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
11
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
12
|
-
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-
|
|
6
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-D13GSqvK.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CyKQqMpH.esm.js";
|
|
8
|
+
import { c as processFace } from "./FaceDetectionProvider-BUzA3Xfz.esm.js";
|
|
9
|
+
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-DeOVMWUZ.esm.js";
|
|
10
|
+
import { t as selfieMachine } from "./selfieStateMachine-Cvv2tql3.esm.js";
|
|
11
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CAPsp6sB.esm.js";
|
|
12
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DraeGfc2.esm.js";
|
|
13
13
|
/**
|
|
14
14
|
* Selfie state machine variant for the captureOnly flow. Shares the full base
|
|
15
15
|
* face-capture state tree; only the upload/process step is local instead of
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
1
|
+
import { d as FACE_ERROR_CODES } from "./FaceDetectionProvider-BUzA3Xfz.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-Bn3e6ZFS.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
+
import { n as eventModuleNames } from "./events-D98twgMK.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-CyKQqMpH.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-Cvv2tql3.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 { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
5
|
-
import { n as validateUploadResponse } from "./selfieErrorUtils-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D13GSqvK.esm.js";
|
|
4
|
+
import { c as processFace, d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-BUzA3Xfz.esm.js";
|
|
5
|
+
import { n as validateUploadResponse } from "./selfieErrorUtils-oXui3FHr.esm.js";
|
|
6
6
|
/**
|
|
7
7
|
* The selfie capture state machine.
|
|
8
8
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as getApi, u as endpoints } from "./api-
|
|
2
|
-
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
4
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { n as getApi, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
|
+
import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-8jhpuYdN.esm.js";
|
|
3
|
+
import "./sessionInitializer-BN6B9VSX.esm.js";
|
|
4
|
+
import { i as toIncodeApiError } from "./apiError-DQX-8xf0.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
|
|
@@ -14,6 +14,18 @@ const QR_VALIDATION_ERROR_CODES = {
|
|
|
14
14
|
invalidQRuuid: 4081,
|
|
15
15
|
onboardingUrlAlreadyUsed: 4083
|
|
16
16
|
};
|
|
17
|
+
/**
|
|
18
|
+
* Incode status codes `POST /omni/session/continue` rejects a handoff link
|
|
19
|
+
* with (as `IncodeApiError.status`). Trying again does not help: the same link
|
|
20
|
+
* fails the same way.
|
|
21
|
+
*/
|
|
22
|
+
const SESSION_CONTINUE_ERROR_CODES = {
|
|
23
|
+
invalidUuid: 4026,
|
|
24
|
+
invalidQrValidation: 4081,
|
|
25
|
+
continuationPeriodExpired: 4086,
|
|
26
|
+
continuationLimitReached: 4087,
|
|
27
|
+
sessionNotActive: 4088
|
|
28
|
+
};
|
|
17
29
|
var QrValidationError = class extends Error {
|
|
18
30
|
constructor(status, statusText) {
|
|
19
31
|
super(`POST ${endpoints.qrValidateUuid} failed: ${status} ${statusText}`);
|
|
@@ -23,7 +35,14 @@ var QrValidationError = class extends Error {
|
|
|
23
35
|
}
|
|
24
36
|
};
|
|
25
37
|
/**
|
|
26
|
-
* Creates a new onboarding session
|
|
38
|
+
* Creates a new onboarding session, or continues an existing one when
|
|
39
|
+
* `options.uuid` is set (see {@link CreateSessionOptions.uuid}).
|
|
40
|
+
*
|
|
41
|
+
* The server allows a limited number of continues (a server setting, two by
|
|
42
|
+
* default), within 48 hours of the session start. Each successful call with a
|
|
43
|
+
* `uuid` spends one, a reload of the handoff link included. A refused continue
|
|
44
|
+
* throws an `IncodeApiError` whose `status` is one of
|
|
45
|
+
* {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
27
46
|
*
|
|
28
47
|
* @param apiKey - The API key from the Incode dashboard
|
|
29
48
|
* @param options - Session creation options
|
|
@@ -40,6 +59,17 @@ var QrValidationError = class extends Error {
|
|
|
40
59
|
* ```
|
|
41
60
|
*/
|
|
42
61
|
async function createSession(apiKey, options, signal) {
|
|
62
|
+
if (options.uuid) {
|
|
63
|
+
const session = await continueSession(apiKey, {
|
|
64
|
+
uuid: options.uuid,
|
|
65
|
+
urlUuid: options.urlUuid
|
|
66
|
+
}, signal);
|
|
67
|
+
noteSessionCreated(session, {
|
|
68
|
+
configurationId: options.configurationId,
|
|
69
|
+
language: options.language
|
|
70
|
+
});
|
|
71
|
+
return session;
|
|
72
|
+
}
|
|
43
73
|
try {
|
|
44
74
|
const session = (await getApi().post(endpoints.createSession, {
|
|
45
75
|
configurationId: options.configurationId,
|
|
@@ -47,7 +77,6 @@ async function createSession(apiKey, options, signal) {
|
|
|
47
77
|
externalCustomerId: options.externalCustomerId,
|
|
48
78
|
language: options.language ?? "en-US",
|
|
49
79
|
customFields: options.customFields,
|
|
50
|
-
uuid: options.uuid ?? null,
|
|
51
80
|
urlUuid: options.urlUuid ?? null,
|
|
52
81
|
interviewId: options.interviewId ?? null,
|
|
53
82
|
...options.loginHint != null && options.loginHint !== "" ? { loginHint: options.loginHint } : {}
|
|
@@ -71,6 +100,45 @@ async function createSession(apiKey, options, signal) {
|
|
|
71
100
|
}
|
|
72
101
|
}
|
|
73
102
|
/**
|
|
103
|
+
* Continues the session behind a desktop→mobile handoff link through
|
|
104
|
+
* `POST /omni/session/continue`. Only `uuid` and `urlUuid` are sent, and the
|
|
105
|
+
* response `sessionId` is returned as `interviewId`. `createSession` and
|
|
106
|
+
* `bootstrapSession` call it when `uuid` is set.
|
|
107
|
+
*
|
|
108
|
+
* Each successful call spends one continue. A refused continue throws an
|
|
109
|
+
* `IncodeApiError` whose `status` is one of {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
110
|
+
*
|
|
111
|
+
* @param apiKey - The API key from the Incode dashboard
|
|
112
|
+
* @param options - The handoff link's `uuid` and `urlUuid`
|
|
113
|
+
* @param signal - Optional AbortSignal for request cancellation
|
|
114
|
+
* @returns The continued session with token
|
|
115
|
+
*/
|
|
116
|
+
async function continueSession(apiKey, options, signal) {
|
|
117
|
+
try {
|
|
118
|
+
const { sessionId, token, endScreenTitle, endScreenText } = (await getApi().post(endpoints.sessionContinue, {
|
|
119
|
+
uuid: options.uuid,
|
|
120
|
+
urlUuid: options.urlUuid ?? null
|
|
121
|
+
}, {
|
|
122
|
+
headers: {
|
|
123
|
+
"x-api-key": apiKey,
|
|
124
|
+
"api-version": "1.0"
|
|
125
|
+
},
|
|
126
|
+
signal
|
|
127
|
+
})).data;
|
|
128
|
+
const session = {
|
|
129
|
+
token,
|
|
130
|
+
interviewId: sessionId,
|
|
131
|
+
endScreenTitle,
|
|
132
|
+
endScreenText
|
|
133
|
+
};
|
|
134
|
+
noteSessionCreated(session);
|
|
135
|
+
trueSightLog("info", "session", "orchestration", "session continued");
|
|
136
|
+
return session;
|
|
137
|
+
} catch (error) {
|
|
138
|
+
toIncodeApiError(endpoints.sessionContinue, error);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
74
142
|
* Validates and rotates a QR anti-phishing URL UUID before creating a session.
|
|
75
143
|
*
|
|
76
144
|
* This call is unauthenticated; the `{ onboardingId, urlUuid }` pair itself
|
|
@@ -121,8 +189,8 @@ async function refreshQrUrlUuid(options, signal) {
|
|
|
121
189
|
}
|
|
122
190
|
/**
|
|
123
191
|
* Validates and rotates a QR anti-phishing `urlUuid` (when present), then
|
|
124
|
-
* creates a session bound to the refreshed value.
|
|
125
|
-
* behaves identically to {@link createSession}.
|
|
192
|
+
* creates (or, with `uuid`, continues) a session bound to the refreshed value.
|
|
193
|
+
* When `urlUuid` is absent, behaves identically to {@link createSession}.
|
|
126
194
|
*
|
|
127
195
|
* Use this when the host owns session creation and wants the SDK to handle
|
|
128
196
|
* phishing-resistance rotation in a single call. For raw control, compose
|
|
@@ -156,4 +224,4 @@ async function bootstrapSession(apiKey, options, signal) {
|
|
|
156
224
|
}, signal);
|
|
157
225
|
}
|
|
158
226
|
//#endregion
|
|
159
|
-
export {
|
|
227
|
+
export { continueSession as a, validateQrUuid as c, bootstrapSession as i, QrValidationError as n, createSession as o, SESSION_CONTINUE_ERROR_CODES as r, refreshQrUrlUuid as s, QR_VALIDATION_ERROR_CODES as t };
|
package/dist/session.d.ts
CHANGED
|
@@ -4,7 +4,10 @@ import { n as FinishStatus, r as GetFinishStatusFn, s as getFinishStatus } from
|
|
|
4
4
|
type CreateSessionOptions = {
|
|
5
5
|
/** The configuration/flow ID from the Incode dashboard */
|
|
6
6
|
configurationId: string;
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* External ID to associate with this session.
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
8
11
|
externalId?: string;
|
|
9
12
|
/** External customer ID */
|
|
10
13
|
externalCustomerId?: string;
|
|
@@ -12,15 +15,28 @@ type CreateSessionOptions = {
|
|
|
12
15
|
language?: string;
|
|
13
16
|
/** Custom fields to attach to the session */
|
|
14
17
|
customFields?: Record<string, unknown>;
|
|
15
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Onboarding-link UUID (the `uuid` of a desktop→mobile handoff link). When
|
|
20
|
+
* set, the session is continued through `POST /omni/session/continue`
|
|
21
|
+
* instead of started, and only `uuid` and `urlUuid` are sent.
|
|
22
|
+
*/
|
|
16
23
|
uuid?: string;
|
|
17
24
|
/** QR anti-phishing token for continuing a phishing-resistant session from a mobile link */
|
|
18
25
|
urlUuid?: string;
|
|
19
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Interview ID for continuing an existing interview.
|
|
28
|
+
* @deprecated
|
|
29
|
+
*/
|
|
20
30
|
interviewId?: string;
|
|
21
31
|
/** Hint forwarded to POST /omni/start as `loginHint` (e.g. from `auth_hint` URL param for identity search). */
|
|
22
32
|
loginHint?: string;
|
|
23
33
|
};
|
|
34
|
+
type ContinueSessionOptions = {
|
|
35
|
+
/** Onboarding-link UUID: the `uuid` of a desktop→mobile handoff link. */
|
|
36
|
+
uuid: string;
|
|
37
|
+
/** QR anti-phishing token from the link, already rotated by {@link refreshQrUrlUuid}. */
|
|
38
|
+
urlUuid?: string;
|
|
39
|
+
};
|
|
24
40
|
type Session = {
|
|
25
41
|
token: string;
|
|
26
42
|
interviewId: string;
|
|
@@ -49,6 +65,18 @@ declare const QR_VALIDATION_ERROR_CODES: {
|
|
|
49
65
|
readonly onboardingUrlAlreadyUsed: 4083;
|
|
50
66
|
};
|
|
51
67
|
type QrValidationErrorCode = (typeof QR_VALIDATION_ERROR_CODES)[keyof typeof QR_VALIDATION_ERROR_CODES];
|
|
68
|
+
/**
|
|
69
|
+
* Incode status codes `POST /omni/session/continue` rejects a handoff link
|
|
70
|
+
* with (as `IncodeApiError.status`). Trying again does not help: the same link
|
|
71
|
+
* fails the same way.
|
|
72
|
+
*/
|
|
73
|
+
declare const SESSION_CONTINUE_ERROR_CODES: {
|
|
74
|
+
readonly invalidUuid: 4026;
|
|
75
|
+
readonly invalidQrValidation: 4081;
|
|
76
|
+
readonly continuationPeriodExpired: 4086;
|
|
77
|
+
readonly continuationLimitReached: 4087;
|
|
78
|
+
readonly sessionNotActive: 4088;
|
|
79
|
+
};
|
|
52
80
|
type RefreshQrUrlUuidOptions = {
|
|
53
81
|
/** QR anti-phishing token from the incoming URL. When empty/undefined, the call is a no-op. */
|
|
54
82
|
urlUuid?: string;
|
|
@@ -68,7 +96,14 @@ declare class QrValidationError extends Error {
|
|
|
68
96
|
constructor(status: number, statusText: string);
|
|
69
97
|
}
|
|
70
98
|
/**
|
|
71
|
-
* Creates a new onboarding session
|
|
99
|
+
* Creates a new onboarding session, or continues an existing one when
|
|
100
|
+
* `options.uuid` is set (see {@link CreateSessionOptions.uuid}).
|
|
101
|
+
*
|
|
102
|
+
* The server allows a limited number of continues (a server setting, two by
|
|
103
|
+
* default), within 48 hours of the session start. Each successful call with a
|
|
104
|
+
* `uuid` spends one, a reload of the handoff link included. A refused continue
|
|
105
|
+
* throws an `IncodeApiError` whose `status` is one of
|
|
106
|
+
* {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
72
107
|
*
|
|
73
108
|
* @param apiKey - The API key from the Incode dashboard
|
|
74
109
|
* @param options - Session creation options
|
|
@@ -85,6 +120,21 @@ declare class QrValidationError extends Error {
|
|
|
85
120
|
* ```
|
|
86
121
|
*/
|
|
87
122
|
declare function createSession(apiKey: string, options: CreateSessionOptions, signal?: AbortSignal): Promise<Session>;
|
|
123
|
+
/**
|
|
124
|
+
* Continues the session behind a desktop→mobile handoff link through
|
|
125
|
+
* `POST /omni/session/continue`. Only `uuid` and `urlUuid` are sent, and the
|
|
126
|
+
* response `sessionId` is returned as `interviewId`. `createSession` and
|
|
127
|
+
* `bootstrapSession` call it when `uuid` is set.
|
|
128
|
+
*
|
|
129
|
+
* Each successful call spends one continue. A refused continue throws an
|
|
130
|
+
* `IncodeApiError` whose `status` is one of {@link SESSION_CONTINUE_ERROR_CODES}.
|
|
131
|
+
*
|
|
132
|
+
* @param apiKey - The API key from the Incode dashboard
|
|
133
|
+
* @param options - The handoff link's `uuid` and `urlUuid`
|
|
134
|
+
* @param signal - Optional AbortSignal for request cancellation
|
|
135
|
+
* @returns The continued session with token
|
|
136
|
+
*/
|
|
137
|
+
declare function continueSession(apiKey: string, options: ContinueSessionOptions, signal?: AbortSignal): Promise<Session>;
|
|
88
138
|
/**
|
|
89
139
|
* Validates and rotates a QR anti-phishing URL UUID before creating a session.
|
|
90
140
|
*
|
|
@@ -115,8 +165,8 @@ declare function validateQrUuid(options: ValidateQrUuidOptions, signal?: AbortSi
|
|
|
115
165
|
declare function refreshQrUrlUuid(options: RefreshQrUrlUuidOptions, signal?: AbortSignal): Promise<string | undefined>;
|
|
116
166
|
/**
|
|
117
167
|
* Validates and rotates a QR anti-phishing `urlUuid` (when present), then
|
|
118
|
-
* creates a session bound to the refreshed value.
|
|
119
|
-
* behaves identically to {@link createSession}.
|
|
168
|
+
* creates (or, with `uuid`, continues) a session bound to the refreshed value.
|
|
169
|
+
* When `urlUuid` is absent, behaves identically to {@link createSession}.
|
|
120
170
|
*
|
|
121
171
|
* Use this when the host owns session creation and wants the SDK to handle
|
|
122
172
|
* phishing-resistance rotation in a single call. For raw control, compose
|
|
@@ -291,4 +341,4 @@ declare function isConnectivityLost(): boolean;
|
|
|
291
341
|
*/
|
|
292
342
|
declare function resumeConnectivity(): boolean;
|
|
293
343
|
//#endregion
|
|
294
|
-
export { type BootstrapSessionOptions, type CreateSessionOptions, type DeviceFingerprintResult, type FinishStatus, type GetFinishStatusFn, IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, type QrValidationErrorCode, type QrValidationResult, type RefreshQrUrlUuidOptions, type Session, SessionExpiredError, type SessionInitOptions, type SessionInitResult, type ValidateQrUuidOptions, bootstrapSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|
|
344
|
+
export { type BootstrapSessionOptions, type ContinueSessionOptions, type CreateSessionOptions, type DeviceFingerprintResult, type FinishStatus, type GetFinishStatusFn, IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, type QrValidationErrorCode, type QrValidationResult, type RefreshQrUrlUuidOptions, SESSION_CONTINUE_ERROR_CODES, type Session, SessionExpiredError, type SessionInitOptions, type SessionInitResult, type ValidateQrUuidOptions, bootstrapSession, continueSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|
package/dist/session.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
3
|
-
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession, l as whenSessionFingerprintSettled } from "./sessionInitializer-BN6B9VSX.esm.js";
|
|
4
4
|
import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-HSl0diCx.esm.js";
|
|
5
|
-
import { t as IncodeApiError } from "./apiError-
|
|
6
|
-
import { a as
|
|
7
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import { t as IncodeApiError } from "./apiError-DQX-8xf0.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-BeOhtQJt.esm.js";
|
|
7
|
+
import { n as getFinishStatus } from "./flowCompletionService-ko1tsdfm.esm.js";
|
|
8
8
|
//#region src/internal/session/sessionExpired.ts
|
|
9
9
|
var SessionExpiredError = class extends Error {
|
|
10
10
|
constructor() {
|
|
@@ -28,4 +28,4 @@ function onSessionExpired(listener) {
|
|
|
28
28
|
return unsubscribe;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, SessionExpiredError, bootstrapSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|
|
31
|
+
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, SESSION_CONTINUE_ERROR_CODES, SessionExpiredError, bootstrapSession, continueSession, createSession, getFinishStatus, initializeSession, isConnectivityLost, onConnectivityChange, onSessionExpired, refreshQrUrlUuid, resumeConnectivity, validateQrUuid, whenSessionFingerprintSettled };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-
|
|
2
|
-
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-
|
|
3
|
-
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-
|
|
4
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
5
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
6
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-
|
|
1
|
+
import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-D98twgMK.esm.js";
|
|
2
|
+
import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
3
|
+
import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-8jhpuYdN.esm.js";
|
|
4
|
+
import { t as SDK_VERSION } from "./sdkVersion-2pk-smMJ.esm.js";
|
|
5
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BlPsdK6I.esm.js";
|
|
6
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-BJO0RcTZ.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
|
|
8
8
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
9
9
|
import { a as isIOS } from "./platform-DkcRc9JV.esm.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { P as setWasmIntegrityObserver, _ as setWasmDiagnosticsHandler, w as resolveWasmConfig, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
|
|
2
2
|
import { a as setWasmOnDeviceMode, d as drainWasmDiagnostics, f as getWasmDiagnosticsMode, n as getWarmupFacts, p as rearmWasmDiagnostics, s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
|
|
3
3
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
4
|
-
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-
|
|
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-
|
|
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 { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-
|
|
4
|
+
import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-D98twgMK.esm.js";
|
|
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-DibA_Spu.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-8jhpuYdN.esm.js";
|
|
7
|
+
import { a as resetSessionInit, b as BrowserEnvironmentProvider, c as setClientIpLookupEnabled, d as registerFlowPreloader, f as resetStandaloneFlowPolicy, i as initializeSession, m as setStandaloneFlowPolicy, o as setClientFingerprintEnabled, p as resolveStandaloneFlowPolicy, s as setClientHostingApp, x as fingerprintSignalsReporter } from "./sessionInitializer-BN6B9VSX.esm.js";
|
|
8
8
|
import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
|
|
9
9
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.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-
|
|
11
|
-
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
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-BlPsdK6I.esm.js";
|
|
11
|
+
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
|
|
12
12
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
|
|
13
|
-
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-
|
|
13
|
+
import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-Df-LxNoR.esm.js";
|
|
14
14
|
//#region ../infra/src/wasm/wasmRuntimeProfile.ts
|
|
15
15
|
/**
|
|
16
16
|
* The WASM facts TrueSight reports as `session.webProfile.wasm`
|
package/dist/signature.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
2
|
-
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-
|
|
1
|
+
import { t as signatureMachine } from "./signatureStateMachine-D4-juDs9.esm.js";
|
|
2
|
+
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-N-SHTwT-.esm.js";
|
|
3
3
|
export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
4
|
+
import { t as signatureMachine } from "./signatureStateMachine-D4-juDs9.esm.js";
|
|
5
5
|
//#region src/modules/signature/signatureActor.ts
|
|
6
6
|
function createSignatureActor(options) {
|
|
7
7
|
return createActor(signatureMachine, { input: { config: options.config } }).start();
|
package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-D4-juDs9.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/signature/signatureServices.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken, t as api, u as endpoints } from "./api-
|
|
1
|
+
import { r as getToken, t as api, u as endpoints } from "./api-DibA_Spu.esm.js";
|
|
2
2
|
//#region src/modules/stats/statsServices.ts
|
|
3
3
|
const deviceStatsQueue = [];
|
|
4
4
|
async function postDeviceStatsNow(stats) {
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
1
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BJO0RcTZ.esm.js";
|
|
2
2
|
export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-BjZw_7OB.esm.js";
|
|
2
2
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
|
-
import { C as subscribeEvent, n as eventModuleNames } from "./events-
|
|
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-
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { C as subscribeEvent, n as eventModuleNames } from "./events-D98twgMK.esm.js";
|
|
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-DibA_Spu.esm.js";
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-2pk-smMJ.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;
|
|
@@ -1389,7 +1389,7 @@ function categoryForEndpoint(endpoint) {
|
|
|
1389
1389
|
if (/\/omni\/es\//.test(endpoint)) return "other";
|
|
1390
1390
|
if (/face|selfie|video|speech|personhood|authenticate|recordings/.test(endpoint)) return "faceScan";
|
|
1391
1391
|
if (/front-id|back-id|second-id|process\/id|images|barcode|ocr|document|curp|cfdi|address-statement|digital-id|device\/wallet/.test(endpoint)) return "idScan";
|
|
1392
|
-
if (/start|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
|
|
1392
|
+
if (/start|session\/continue|flow|workflow|feature-config|onboarding|finish-status/.test(endpoint)) return "orchestration";
|
|
1393
1393
|
return "other";
|
|
1394
1394
|
}
|
|
1395
1395
|
/** Coarse contract category from the RAW `event.module` value (plan rule). */
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-D98twgMK.esm.js";
|
|
2
2
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
4
|
/**
|