@incodetech/core 2.2.0-rc.5 → 2.2.0-rc.7
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/{BrowserDiagnosticsCryptoProvider-DVsBW0AN.esm.js → BrowserDiagnosticsCryptoProvider-BJSK21UY.esm.js} +1 -1
- package/dist/{IFeatureManagementCapability-DdEUp6tB.d.ts → IFeatureManagementCapability-De8wpbGh.d.ts} +2 -0
- package/dist/{addressSearch-DQyrvDQj.esm.js → addressSearch-D1XpBdUS.esm.js} +1 -1
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-B8Plzf7a.esm.js → antifraudManager-CQFNgSPt.esm.js} +3 -3
- package/dist/{antifraudStateMachine-r4VxSBS4.esm.js → antifraudStateMachine-Bf_JVNwn.esm.js} +2 -2
- package/dist/{apiError-Dtho9qf_.esm.js → apiError-DLDatBW_.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DXnLy-a7.esm.js → authenticationManager-08-DeHG7.esm.js} +4 -4
- package/dist/{authenticationStateMachine-CRJ6ilTX.esm.js → authenticationStateMachine-DXsm3ZJN.esm.js} +4 -4
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-COd7_l2T.esm.js → certificateIssuanceStateMachine-D_R92TYu.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BApTlfA0.esm.js → consentManager-BxjpLZAG.esm.js} +3 -3
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/{consentStateMachine-WD-S-Yhs.esm.js → consentStateMachine-D9D4ON8Z.esm.js} +2 -2
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-OmYvyung.esm.js → crossDocumentDataMatchManager-CGT0V6RV.esm.js} +3 -3
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-UZxcrsrz.esm.js → curpValidationManager-6Nmkn5u1.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-9KwnqeoB.esm.js → curpValidationStateMachine-Ds7KMacK.esm.js} +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.esm.js +3 -3
- package/dist/{customWatchlistStateMachine-B_ey3TFj.esm.js → customWatchlistStateMachine-YWSgKLbF.esm.js} +2 -2
- package/dist/{deepsightLoader-zdZnx5Ny.esm.js → deepsightLoader-BENyeSyy.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.esm.js +3 -3
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-B4Kivr8_.d.ts} +5 -5
- package/dist/{documentCaptureManager-DszmcU-l.esm.js → documentCaptureManager-DsQQhWry.esm.js} +3 -3
- package/dist/{documentCaptureStateMachine-D2jBwwVb.esm.js → documentCaptureStateMachine-BM4Ex_5x.esm.js} +2 -2
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-DT3BoUBK.esm.js → dynamicFormsManager-CGIITYpf.esm.js} +3 -3
- package/dist/{dynamicFormsStateMachine-vrCtQ3gW.esm.js → dynamicFormsStateMachine-CjT9ACFu.esm.js} +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-DmIGaEK6.esm.js → ekybManager-FH5H9w4I.esm.js} +3 -3
- package/dist/{ekybStateMachine-32IR4TYs.esm.js → ekybStateMachine-DF4TSEo5.esm.js} +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-oTstTJuL.esm.js → ekycManager-DgT48ky6.esm.js} +3 -3
- package/dist/{ekycStateMachine-DHvksnrr.esm.js → ekycStateMachine-CQwqiR-R.esm.js} +3 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BsDoCdF_.esm.js → electronicSignatureManager-BFoQXHgw.esm.js} +4 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-tE-YvNtS.esm.js → emailManager-BY0jeYwR.esm.js} +3 -3
- package/dist/{emailStateMachine-Bm894MHB.esm.js → emailStateMachine-Crw8QVmc.esm.js} +2 -2
- package/dist/{events-CxfNJVZW.esm.js → events-DYiyoSlx.esm.js} +5 -6
- package/dist/events.d.ts +11 -9
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +28 -28
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BHCXTj9J.esm.js → faceCaptureManagerFactory-BOXOVkzQ.esm.js} +3 -3
- package/dist/{faceCaptureSetup-eqC24yO9.esm.js → faceCaptureSetup-CSRoNVVa.esm.js} +4 -4
- package/dist/{faceMatchManager-BXp2WUT-.esm.js → faceMatchManager-Ri4UbNz0.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-CJiO2yLO.esm.js → faceMatchStateMachine-20DdZ3jg.esm.js} +2 -2
- package/dist/{feature-management-DS_Nj5Gg.esm.js → feature-management-BNQRs-_1.esm.js} +31 -40
- package/dist/feature-management.d.ts +41 -33
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-DhnYdYZ2.esm.js → fieldComparisonManager-Cg6kPQQx.esm.js} +3 -3
- package/dist/fiscal-qr.esm.js +3 -3
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +6 -6
- package/dist/{flowCompletionService-Bg3Wlac8.esm.js → flowCompletionService-BSJ-_sjm.esm.js} +1 -1
- package/dist/{flowServices-D4A-aOqa.esm.js → flowServices-yVZNf0k-.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CtE8v1SL.esm.js → geolocationManager-B3gAX5hk.esm.js} +3 -3
- package/dist/{geolocationStateMachine-BeWhwin9.esm.js → geolocationStateMachine-BNfb_jIM.esm.js} +3 -3
- package/dist/government-validation.esm.js +3 -3
- package/dist/{governmentValidationStateMachine-BYKYUdza.esm.js → governmentValidationStateMachine-CK9DrZXX.esm.js} +2 -2
- package/dist/home.esm.js +2 -2
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-BGq73YE-.esm.js → idCaptureManager-Cf6LiYpF.esm.js} +13 -17
- package/dist/{idCaptureManager-BjU-Wyow.d.ts → idCaptureManager-CqrqSjJV.d.ts} +20 -10
- package/dist/{idCaptureServices-CqquDPJK.esm.js → idCaptureServices-tPKuX2tk.esm.js} +143 -17
- package/dist/{idCaptureStateMachine-C77vPrfK.esm.js → idCaptureStateMachine-Bmxbuam2.esm.js} +446 -55
- package/dist/{idOcrManager-CvJZhmBR.esm.js → idOcrManager-BIQYQXXj.esm.js} +3 -3
- package/dist/{idOcrStateMachine-Bq_e3l4E.esm.js → idOcrStateMachine-cSxzHpHt.esm.js} +2 -2
- package/dist/{idVerificationManager-CduNXhWd.esm.js → idVerificationManager-JpV_SAsl.esm.js} +3 -3
- package/dist/{idVerificationStateMachine-GEQWUPU2.esm.js → idVerificationStateMachine-nPeUNyFq.esm.js} +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-D5vXknnJ.esm.js → identityReuseManager-kNCg9AbD.esm.js} +3 -3
- package/dist/{identityReuseStateMachine-AubRPhIi.esm.js → identityReuseStateMachine-DyulxDjP.esm.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-1m1VJ3Q4.esm.js → invokeOnCaptureCallback-GpvMuz9o.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +4 -4
- package/dist/{mandatoryConsentManager-BeELm1zS.esm.js → mandatoryConsentManager-B4Niyg_u.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-zroQGzwb.esm.js → mandatoryConsentStateMachine-B4-1u-L8.esm.js} +2 -2
- package/dist/{onDeviceFaceResults-W-0feT1M.esm.js → onDeviceFaceResults-c2C3f8aJ.esm.js} +3 -3
- package/dist/personhood.esm.js +6 -6
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-Cpiai2IM.esm.js → phoneManager-FsJ0W2Ei.esm.js} +3 -3
- package/dist/{phoneStateMachine-E1fUUcNM.esm.js → phoneStateMachine-Ba0wKHyX.esm.js} +2 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DGUDVjsC.esm.js → recordingService-B4lWwVvx.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-C0dfc7f6.esm.js → redirectToMobileManager-y4VQB11M.esm.js} +4 -4
- package/dist/{redirectToMobileStateMachine-C9SYCJcH.esm.js → redirectToMobileStateMachine-Cyv2x0PP.esm.js} +2 -2
- package/dist/{runChildModule-C8zmFi0v.esm.js → runChildModule-CJmel52G.esm.js} +4 -4
- package/dist/sdkVersion-BdayV33Z.esm.js +4 -0
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-nF1U2HVv.esm.js → selfieManager-D0n-sWLB.esm.js} +4 -4
- package/dist/{selfieStateMachine-WweUsh9j.esm.js → selfieStateMachine-CwVVWkl4.esm.js} +4 -4
- package/dist/{session-CSiLRkhY.esm.js → session-ClKGwEr_.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-Cryl_eFw.esm.js → sessionInitializer-DeBJtwsx.esm.js} +5 -4
- package/dist/{setup-DywQeePQ.d.ts → setup-BgoWtvIS.d.ts} +13 -1
- package/dist/{setup-Pq3OUa24.esm.js → setup-D__MD20t.esm.js} +7 -6
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-DdPgcmou.esm.js → signatureManager-Ca43yhwk.esm.js} +3 -3
- package/dist/{signatureStateMachine-Cf73DGWO.esm.js → signatureStateMachine-K1LMRrxG.esm.js} +2 -2
- package/dist/trueSight-D7taBQCC.esm.js +1 -0
- package/dist/{trueSightService-g7xYcH1C.esm.js → trueSightService-dcIpUbq3.esm.js} +4 -6
- package/dist/trust-graph.esm.js +2 -2
- package/dist/{types-M6eb82ra2.d.ts → types-Bdf8_LYB2.d.ts} +69 -13
- package/dist/video-selfie.esm.js +5 -5
- package/dist/{videoSelfieCameraWarmer-DvbVY391.esm.js → videoSelfieCameraWarmer-spkca8yr.esm.js} +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +3 -3
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessStateMachine-BcBMkMvV.esm.js → watchlistForBusinessStateMachine-CxFnlshm.esm.js} +2 -2
- package/dist/{watchlistManager-CjSMmbyq.esm.js → watchlistManager-LoNZH9qm.esm.js} +3 -3
- package/dist/{watchlistStateMachine-Bl7Wy9Cm.esm.js → watchlistStateMachine-DIKQDoUT.esm.js} +2 -2
- package/dist/workflow.esm.js +37 -37
- package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BXeQ-Ucz.esm.js} +1 -1
- package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-BuFLFuzz.esm.js} +1 -1
- package/package.json +1 -1
- package/dist/trueSight-BG20aur1.esm.js +0 -1
package/dist/events.d.ts
CHANGED
|
@@ -263,11 +263,14 @@ type StateChangedPayload = {
|
|
|
263
263
|
*/
|
|
264
264
|
stateName: string;
|
|
265
265
|
};
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
266
|
+
/**
|
|
267
|
+
* Verbatim copy of the console-supplied `analytics` block for a resolved
|
|
268
|
+
* experiment, plus any caller-supplied `conditions`. No field is required or
|
|
269
|
+
* validated by the SDK — the analytics team controls this shape entirely.
|
|
270
|
+
* `module` is reserved: `experimentAssigned` always sets it after the
|
|
271
|
+
* spread, so a console payload can never override it.
|
|
272
|
+
*/
|
|
273
|
+
type ExperimentAssignedPayload = Record<string, unknown> & {
|
|
271
274
|
conditions?: Record<string, boolean | number | string>;
|
|
272
275
|
};
|
|
273
276
|
declare function screenEvent(params: ScreenEventParams): void;
|
|
@@ -283,10 +286,9 @@ declare function experimentAssigned(module: EventModule | string, payload: Exper
|
|
|
283
286
|
//#region src/internal/events/experimentAssignment.d.ts
|
|
284
287
|
/**
|
|
285
288
|
* Records an `experimentsAssigned` interview-event, but only the first time
|
|
286
|
-
* for a given `
|
|
287
|
-
*
|
|
288
|
-
* session can re-log assignments.
|
|
289
|
+
* for a given `dedupeKey` (pass the experiment's `storeParam`) since the
|
|
290
|
+
* last `resetExperimentAssignments()` call.
|
|
289
291
|
*/
|
|
290
|
-
declare function recordExperimentAssignmentOnce(module: EventModule | string, payload: ExperimentAssignedPayload, screenName?: EventScreen | string): void;
|
|
292
|
+
declare function recordExperimentAssignmentOnce(module: EventModule | string, dedupeKey: string, payload: ExperimentAssignedPayload, screenName?: EventScreen | string): void;
|
|
291
293
|
//#endregion
|
|
292
294
|
export { type CaptureAttemptFinishedPayload, type ElementClickedPayload, type Event, type EventModule, type EventScreen, type ExperimentAssignedPayload, type StateChangedPayload, addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-
|
|
1
|
+
import { S as subscribeEvent, _ as stateChanged, a as videoSelfieEvents, d as experimentAssigned, f as moduleClosed, g as screenOpened, h as screenEvent, i as tutorialScreenNamesMapper, l as captureAttemptFinished, m as screenClosed, n as eventModuleNames, p as moduleOpened, r as eventScreenNames, s as recordExperimentAssignmentOnce, t as cameraScreenNamesMapper, u as elementClicked, v as addEvent } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, experimentAssigned, moduleClosed, moduleOpened, recordExperimentAssignmentOnce, screenClosed, screenEvent, screenOpened, stateChanged, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -11,21 +11,21 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js";
|
|
|
11
11
|
import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Hmd7U0JA.js";
|
|
12
12
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DwlCppg0.js";
|
|
13
13
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BBMGTcwW.js";
|
|
14
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
14
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
15
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
16
16
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
|
|
17
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
17
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B4Kivr8_.js";
|
|
18
18
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
19
19
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
20
20
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
21
21
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
22
|
-
import { n as CaptureIdResponse } from "./types-
|
|
23
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
22
|
+
import { n as CaptureIdResponse } from "./types-Bdf8_LYB2.js";
|
|
23
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CqrqSjJV.js";
|
|
24
24
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
25
25
|
import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js";
|
|
26
26
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
27
27
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
28
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
28
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-B29kR0XA.js";
|
|
29
29
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js";
|
|
30
30
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js";
|
|
31
31
|
import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
3
|
-
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
6
|
-
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-
|
|
7
|
-
import { n as createAntifraudManagerFromActor } from "./antifraudManager-
|
|
8
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
9
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
10
|
-
import { n as createConsentManagerFromActor } from "./consentManager-
|
|
11
|
-
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-
|
|
12
|
-
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-
|
|
13
|
-
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-
|
|
14
|
-
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
16
|
-
import { n as createEkycManagerFromActor } from "./ekycManager-
|
|
17
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
20
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
21
|
-
import { n as createWatchlistManagerFromActor } from "./watchlistManager-
|
|
22
|
-
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-
|
|
23
|
-
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-
|
|
24
|
-
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-
|
|
25
|
-
import { n as createIdOcrManagerFromActor } from "./idOcrManager-
|
|
26
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
27
|
-
import { n as createSignatureManagerFromActor } from "./signatureManager-
|
|
28
|
-
import { n as createGeolocationManagerFromActor } from "./geolocationManager-
|
|
29
|
-
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-
|
|
30
|
-
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-
|
|
3
|
+
import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DeBJtwsx.esm.js";
|
|
4
|
+
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
+
import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BFoQXHgw.esm.js";
|
|
7
|
+
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CQFNgSPt.esm.js";
|
|
8
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CSRoNVVa.esm.js";
|
|
9
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-08-DeHG7.esm.js";
|
|
10
|
+
import { n as createConsentManagerFromActor } from "./consentManager-BxjpLZAG.esm.js";
|
|
11
|
+
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-CGT0V6RV.esm.js";
|
|
12
|
+
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-6Nmkn5u1.esm.js";
|
|
13
|
+
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DsQQhWry.esm.js";
|
|
14
|
+
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-CGIITYpf.esm.js";
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-FH5H9w4I.esm.js";
|
|
16
|
+
import { n as createEkycManagerFromActor } from "./ekycManager-DgT48ky6.esm.js";
|
|
17
|
+
import { n as createEmailManagerFromActor } from "./emailManager-BY0jeYwR.esm.js";
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-D0n-sWLB.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cf6LiYpF.esm.js";
|
|
20
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-FsJ0W2Ei.esm.js";
|
|
21
|
+
import { n as createWatchlistManagerFromActor } from "./watchlistManager-LoNZH9qm.esm.js";
|
|
22
|
+
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-kNCg9AbD.esm.js";
|
|
23
|
+
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-Cg6kPQQx.esm.js";
|
|
24
|
+
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-B4Niyg_u.esm.js";
|
|
25
|
+
import { n as createIdOcrManagerFromActor } from "./idOcrManager-BIQYQXXj.esm.js";
|
|
26
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-y4VQB11M.esm.js";
|
|
27
|
+
import { n as createSignatureManagerFromActor } from "./signatureManager-Ca43yhwk.esm.js";
|
|
28
|
+
import { n as createGeolocationManagerFromActor } from "./geolocationManager-B3gAX5hk.esm.js";
|
|
29
|
+
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-JpV_SAsl.esm.js";
|
|
30
|
+
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Ri4UbNz0.esm.js";
|
|
31
31
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
2
|
-
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-
|
|
1
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-20DdZ3jg.esm.js";
|
|
2
|
+
import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-Ri4UbNz0.esm.js";
|
|
3
3
|
export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
|
package/dist/{faceCaptureManagerFactory-BHCXTj9J.esm.js → faceCaptureManagerFactory-BOXOVkzQ.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
3
|
+
import { u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-CSRoNVVa.esm.js";
|
|
5
5
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
|
|
6
6
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
|
|
7
7
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-UvUcOSRb.esm.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as getToken } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
2
|
+
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-UvUcOSRb.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-c2C3f8aJ.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-DQKaRise.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KINpmKtI.esm.js";
|
|
10
10
|
import { t as flagFaceManualReview } from "./manualReviewService-D4IkipnN.esm.js";
|
|
11
|
-
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-
|
|
11
|
+
import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-B4lWwVvx.esm.js";
|
|
12
12
|
//#region src/internal/avatar/concealment.ts
|
|
13
13
|
/**
|
|
14
14
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
+
import { t as faceMatchMachine } from "./faceMatchStateMachine-20DdZ3jg.esm.js";
|
|
4
4
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
5
5
|
function createFaceMatchActor(options) {
|
|
6
6
|
return createActor(faceMatchMachine, { input: { config: options.config } }).start();
|
package/dist/{faceMatchStateMachine-CJiO2yLO.esm.js → faceMatchStateMachine-20DdZ3jg.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
//#region src/modules/face-match/constants.ts
|
|
6
6
|
/**
|
|
7
7
|
* Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
|
|
2
|
+
import { t as SDK_VERSION } from "./sdkVersion-BdayV33Z.esm.js";
|
|
2
3
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
3
4
|
let currentEnvironment;
|
|
4
5
|
/** Effective tier: the explicitly-set value, else the default (see note above). */
|
|
@@ -103,7 +104,8 @@ var FeatureManagementProvider = class FeatureManagementProvider {
|
|
|
103
104
|
};
|
|
104
105
|
this._user = this._getAdjustedUser({
|
|
105
106
|
customIDs: config.customIDs,
|
|
106
|
-
custom: config.custom
|
|
107
|
+
custom: config.custom,
|
|
108
|
+
appVersion: config.appVersion
|
|
107
109
|
});
|
|
108
110
|
const client = new module.StatsigClient(CLIENT_SDK_KEY, this._user, {
|
|
109
111
|
environment: { tier: config.environment },
|
|
@@ -206,6 +208,7 @@ var FeatureManagementProvider = class FeatureManagementProvider {
|
|
|
206
208
|
_getAdjustedUser(user) {
|
|
207
209
|
const persistedUserCustomIDs = this._user.customIDs ?? {};
|
|
208
210
|
const persistedUserCustom = this._user.custom ?? {};
|
|
211
|
+
const appVersion = user.appVersion ?? this._user.appVersion;
|
|
209
212
|
return {
|
|
210
213
|
customIDs: {
|
|
211
214
|
...persistedUserCustomIDs,
|
|
@@ -215,6 +218,7 @@ var FeatureManagementProvider = class FeatureManagementProvider {
|
|
|
215
218
|
...persistedUserCustom,
|
|
216
219
|
...user.custom
|
|
217
220
|
},
|
|
221
|
+
...appVersion !== void 0 ? { appVersion } : {},
|
|
218
222
|
...this._getRedactedFields()
|
|
219
223
|
};
|
|
220
224
|
}
|
|
@@ -454,7 +458,11 @@ function getIsFeatureManagementLocked() {
|
|
|
454
458
|
function buildInitializeOptions(options) {
|
|
455
459
|
const initializeOptions = { environment: options.environment ?? "production" };
|
|
456
460
|
if (options.clientExperimentId) initializeOptions.customIDs = { client_experiment_id: options.clientExperimentId };
|
|
457
|
-
|
|
461
|
+
initializeOptions.custom = {
|
|
462
|
+
...options.custom,
|
|
463
|
+
sdkVersion: SDK_VERSION
|
|
464
|
+
};
|
|
465
|
+
if (options.appVersion) initializeOptions.appVersion = options.appVersion;
|
|
458
466
|
if (options.redactedUserInfo) initializeOptions.redactedUserInfo = options.redactedUserInfo;
|
|
459
467
|
initializeOptions.disableStableId = options.disableStableId ?? true;
|
|
460
468
|
initializeOptions.disablePersistence = options.disablePersistence ?? true;
|
|
@@ -467,18 +475,14 @@ const resolvedExperiments = /* @__PURE__ */ new Map();
|
|
|
467
475
|
const exposedExperiments = /* @__PURE__ */ new Set();
|
|
468
476
|
/**
|
|
469
477
|
* Non-null fallback compared by reference. A `null` code fallback disables
|
|
470
|
-
* Statsig validation
|
|
471
|
-
* `
|
|
478
|
+
* Statsig's type validation, so `undefined`/`null` can never be used here.
|
|
479
|
+
* The `__unavailable` marker exists purely for debuggability: a genuinely
|
|
480
|
+
* not-allocated console payload is an empty object `{}`, which is otherwise
|
|
481
|
+
* indistinguishable from this sentinel by inspection (both resolve to code
|
|
482
|
+
* defaults with no assignment — the reference check is what actually
|
|
483
|
+
* matters at runtime).
|
|
472
484
|
*/
|
|
473
|
-
const EXPERIMENT_UNAVAILABLE_SENTINEL = Object.freeze({
|
|
474
|
-
schema: "v1",
|
|
475
|
-
status: "not_allocated",
|
|
476
|
-
arm: "",
|
|
477
|
-
flagKey: "",
|
|
478
|
-
experimentId: "",
|
|
479
|
-
experimentName: "",
|
|
480
|
-
params: {}
|
|
481
|
-
});
|
|
485
|
+
const EXPERIMENT_UNAVAILABLE_SENTINEL = Object.freeze({ __unavailable: true });
|
|
482
486
|
function isRecord(value) {
|
|
483
487
|
return typeof value === "object" && value !== null;
|
|
484
488
|
}
|
|
@@ -488,43 +492,26 @@ function defaultsResult(spec) {
|
|
|
488
492
|
assignment: null
|
|
489
493
|
};
|
|
490
494
|
}
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
const arm = payload.arm;
|
|
496
|
-
if (typeof flagKey !== "string" || typeof experimentId !== "string" || typeof experimentName !== "string" || typeof arm !== "string" || !flagKey || !experimentId || !experimentName || !arm) return null;
|
|
497
|
-
return {
|
|
498
|
-
flagKey,
|
|
499
|
-
experimentId,
|
|
500
|
-
experimentName,
|
|
501
|
-
variant: arm
|
|
502
|
-
};
|
|
495
|
+
/** Non-empty record means reportable; nothing inside it is validated. */
|
|
496
|
+
function buildAssignment(analytics) {
|
|
497
|
+
if (!isRecord(analytics) || Object.keys(analytics).length === 0) return null;
|
|
498
|
+
return { ...analytics };
|
|
503
499
|
}
|
|
504
500
|
function evaluateExperimentPayload(spec, raw) {
|
|
505
501
|
if (raw === EXPERIMENT_UNAVAILABLE_SENTINEL) return defaultsResult(spec);
|
|
506
|
-
if (!isRecord(raw)
|
|
507
|
-
const
|
|
508
|
-
if (status !== "ongoing" && status !== "completed" && status !== "not_allocated") return defaultsResult(spec);
|
|
509
|
-
if (status === "not_allocated") return defaultsResult(spec);
|
|
510
|
-
const rawParams = isRecord(raw.params) ? raw.params : {};
|
|
511
|
-
const parsedParams = spec.parseParams(rawParams);
|
|
512
|
-
if (parsedParams === null) return defaultsResult(spec);
|
|
502
|
+
if (!isRecord(raw)) return defaultsResult(spec);
|
|
503
|
+
const parsedParams = spec.parseParams(raw);
|
|
513
504
|
const params = {
|
|
514
505
|
...spec.defaults,
|
|
515
506
|
...parsedParams
|
|
516
507
|
};
|
|
517
|
-
if (status === "completed") return {
|
|
518
|
-
params,
|
|
519
|
-
assignment: null
|
|
520
|
-
};
|
|
521
508
|
if (!getFeatureGate(EXPERIMENT_ASSIGNED_ANALYTICS_EVENT_GATE).enabled) return {
|
|
522
509
|
params,
|
|
523
510
|
assignment: null
|
|
524
511
|
};
|
|
525
512
|
return {
|
|
526
513
|
params,
|
|
527
|
-
assignment: buildAssignment(raw)
|
|
514
|
+
assignment: buildAssignment(raw.analytics)
|
|
528
515
|
};
|
|
529
516
|
}
|
|
530
517
|
/**
|
|
@@ -589,8 +576,9 @@ const enumParam = (defaultValue, allowed) => ({
|
|
|
589
576
|
/**
|
|
590
577
|
* Derives the `defaults` / `parseParams` half of an `ExperimentSpec` from a
|
|
591
578
|
* schema. An omitted param keeps its code default (control users still get
|
|
592
|
-
* shipped behavior); a present-but-invalid param
|
|
593
|
-
*
|
|
579
|
+
* shipped behavior); a present-but-invalid param is skipped (falls back to
|
|
580
|
+
* its own default) rather than rejecting the whole payload, so a corrupt
|
|
581
|
+
* console edit to one key never disables the rest of the treatment.
|
|
594
582
|
*/
|
|
595
583
|
function defineExperimentParams(schema) {
|
|
596
584
|
const keys = Object.keys(schema);
|
|
@@ -604,7 +592,10 @@ function defineExperimentParams(schema) {
|
|
|
604
592
|
for (const key of keys) {
|
|
605
593
|
if (!(key in raw) || raw[key] === void 0) continue;
|
|
606
594
|
const value = raw[key];
|
|
607
|
-
if (!schema[key].isValid(value))
|
|
595
|
+
if (!schema[key].isValid(value)) {
|
|
596
|
+
console.warn(`[experiments] Invalid value for param "${key}" — falling back to its default.`);
|
|
597
|
+
continue;
|
|
598
|
+
}
|
|
608
599
|
parsed[key] = value;
|
|
609
600
|
}
|
|
610
601
|
return parsed;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FeatureManagementParameterStore, c as FeatureManagementRedactedUserInfo, i as FeatureManagementLayer, l as FeatureManagementUserUpdate, n as FeatureManagementExperiment, o as FeatureManagementParameterStoreEvaluationOptions, r as FeatureManagementGate, s as FeatureManagementReadStatus, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-
|
|
1
|
+
import { a as FeatureManagementParameterStore, c as FeatureManagementRedactedUserInfo, i as FeatureManagementLayer, l as FeatureManagementUserUpdate, n as FeatureManagementExperiment, o as FeatureManagementParameterStoreEvaluationOptions, r as FeatureManagementGate, s as FeatureManagementReadStatus, t as FeatureManagementEventMetadata } from "./IFeatureManagementCapability-De8wpbGh.js";
|
|
2
2
|
//#region src/integrations/feature-management/featureManagement.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Name of the shared Statsig parameter store fronting SDK-module
|
|
@@ -78,31 +78,34 @@ declare function logEvent(name: string, value?: string | number, options?: {
|
|
|
78
78
|
}): void;
|
|
79
79
|
//#endregion
|
|
80
80
|
//#region src/integrations/feature-management/experiments.d.ts
|
|
81
|
-
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
81
|
+
/**
|
|
82
|
+
* Statsig object payload: declared params live at the root; `analytics` is
|
|
83
|
+
* an optional, code-unvalidated block spread verbatim into the
|
|
84
|
+
* `experimentsAssigned` event. Presence of a non-empty `analytics` record is
|
|
85
|
+
* the only reportability signal — there is no `schema`/`status`/`arm`
|
|
86
|
+
* discriminator.
|
|
87
|
+
*/
|
|
88
|
+
type ExperimentTransport = {
|
|
89
|
+
analytics?: Record<string, unknown>;
|
|
90
|
+
} & Record<string, unknown>;
|
|
91
91
|
type ExperimentSpec<P> = {
|
|
92
92
|
storeParam: string;
|
|
93
93
|
defaults: P;
|
|
94
|
-
parseParams(raw: Record<string, unknown>): Partial<P
|
|
95
|
-
};
|
|
96
|
-
type ExperimentAssignedPayload = {
|
|
97
|
-
flagKey: string;
|
|
98
|
-
experimentId: string;
|
|
99
|
-
experimentName: string;
|
|
100
|
-
variant: string;
|
|
101
|
-
conditions?: Record<string, boolean | number | string>;
|
|
94
|
+
parseParams(raw: Record<string, unknown>): Partial<P>;
|
|
102
95
|
};
|
|
96
|
+
/**
|
|
97
|
+
* Verbatim copy of the console-supplied `analytics` block. Only `flagKey`
|
|
98
|
+
* (used elsewhere for reporting identity) is conventionally present — no
|
|
99
|
+
* field here is required or validated by the SDK.
|
|
100
|
+
*/
|
|
101
|
+
type ExperimentAssignedPayload = Record<string, unknown>;
|
|
103
102
|
type ResolvedExperiment<P> = {
|
|
104
103
|
params: P;
|
|
105
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Null when not reportable: `analytics` absent/empty on the console
|
|
106
|
+
* payload, not allocated (`{}`), unavailable, or the
|
|
107
|
+
* `experiment_assigned_analytics_event` gate is off.
|
|
108
|
+
*/
|
|
106
109
|
assignment: ExperimentAssignedPayload | null;
|
|
107
110
|
};
|
|
108
111
|
type ResolveExperimentOptions = {
|
|
@@ -111,17 +114,15 @@ type ResolveExperimentOptions = {
|
|
|
111
114
|
};
|
|
112
115
|
/**
|
|
113
116
|
* Non-null fallback compared by reference. A `null` code fallback disables
|
|
114
|
-
* Statsig validation
|
|
115
|
-
* `
|
|
117
|
+
* Statsig's type validation, so `undefined`/`null` can never be used here.
|
|
118
|
+
* The `__unavailable` marker exists purely for debuggability: a genuinely
|
|
119
|
+
* not-allocated console payload is an empty object `{}`, which is otherwise
|
|
120
|
+
* indistinguishable from this sentinel by inspection (both resolve to code
|
|
121
|
+
* defaults with no assignment — the reference check is what actually
|
|
122
|
+
* matters at runtime).
|
|
116
123
|
*/
|
|
117
124
|
declare const EXPERIMENT_UNAVAILABLE_SENTINEL: Readonly<{
|
|
118
|
-
|
|
119
|
-
status: "not_allocated";
|
|
120
|
-
arm: "";
|
|
121
|
-
flagKey: "";
|
|
122
|
-
experimentId: "";
|
|
123
|
-
experimentName: "";
|
|
124
|
-
params: {};
|
|
125
|
+
__unavailable: true;
|
|
125
126
|
}>;
|
|
126
127
|
/**
|
|
127
128
|
* Resolves an object-shaped experiment param with exposure suppressed (phase 1).
|
|
@@ -149,7 +150,13 @@ type ExperimentParamDescriptor<T extends ExperimentParamValue> = {
|
|
|
149
150
|
default: T;
|
|
150
151
|
isValid: (value: unknown) => value is T;
|
|
151
152
|
};
|
|
152
|
-
type ExperimentParamsSchema = Record<string, ExperimentParamDescriptor<ExperimentParamValue
|
|
153
|
+
type ExperimentParamsSchema = Record<string, ExperimentParamDescriptor<ExperimentParamValue>> & {
|
|
154
|
+
/**
|
|
155
|
+
* Reserved at the payload root for the pass-through analytics block — a
|
|
156
|
+
* param schema can never declare a param named `analytics`.
|
|
157
|
+
*/
|
|
158
|
+
analytics?: never;
|
|
159
|
+
};
|
|
153
160
|
/** The params map a schema implies — the single source of truth for `P`. */
|
|
154
161
|
type InferExperimentParams<S extends ExperimentParamsSchema> = { [K in keyof S]: S[K] extends ExperimentParamDescriptor<infer T> ? T : never; };
|
|
155
162
|
type NumberParamBounds = {
|
|
@@ -165,9 +172,10 @@ declare const enumParam: <const T extends readonly string[]>(defaultValue: T[num
|
|
|
165
172
|
/**
|
|
166
173
|
* Derives the `defaults` / `parseParams` half of an `ExperimentSpec` from a
|
|
167
174
|
* schema. An omitted param keeps its code default (control users still get
|
|
168
|
-
* shipped behavior); a present-but-invalid param
|
|
169
|
-
*
|
|
175
|
+
* shipped behavior); a present-but-invalid param is skipped (falls back to
|
|
176
|
+
* its own default) rather than rejecting the whole payload, so a corrupt
|
|
177
|
+
* console edit to one key never disables the rest of the treatment.
|
|
170
178
|
*/
|
|
171
179
|
declare function defineExperimentParams<S extends ExperimentParamsSchema>(schema: S): Pick<ExperimentSpec<InferExperimentParams<S>>, 'defaults' | 'parseParams'>;
|
|
172
180
|
//#endregion
|
|
173
|
-
export { EXPERIMENT_UNAVAILABLE_SENTINEL, type ExperimentAssignedPayload, type ExperimentParamDescriptor, type ExperimentParamValue, type ExperimentParamsSchema, type ExperimentSpec, type
|
|
181
|
+
export { EXPERIMENT_UNAVAILABLE_SENTINEL, type ExperimentAssignedPayload, type ExperimentParamDescriptor, type ExperimentParamValue, type ExperimentParamsSchema, type ExperimentSpec, type ExperimentTransport, type FeatureManagementExperiment, type FeatureManagementGate, type FeatureManagementLayer, type FeatureManagementParameterStore, type FeatureManagementParameterStoreEvaluationOptions, type FeatureManagementReadStatus, type FeatureManagementRedactedUserInfo, type FeatureManagementUserUpdate, type InferExperimentParams, type NumberParamBounds, ONBOARDING_WEB_SDK_PARAMETER_STORE, type ResolveExperimentOptions, type ResolvedExperiment, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BNQRs-_1.esm.js";
|
|
2
2
|
export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-
|
|
1
|
+
import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-Cg6kPQQx.esm.js";
|
|
2
2
|
export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
|
package/dist/{fieldComparisonManager-DhnYdYZ2.esm.js → fieldComparisonManager-Cg6kPQQx.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
//#region src/modules/field-comparison/fieldComparisonServices.ts
|
|
7
7
|
/** Submit first and last name for backend field comparison. Throws on failure. */
|
|
8
8
|
async function submitFieldComparison(params, signal) {
|
package/dist/fiscal-qr.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-
|
|
3
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-DYiyoSlx.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-
|
|
5
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-CUeYm5eu.esm.js";
|
|
9
9
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
package/dist/flow.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-EELWyWpd.js";
|
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-DelMqZLe.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BfHiko5D.js";
|
|
12
|
-
import { c as IdCaptureConfig } from "./types-
|
|
12
|
+
import { c as IdCaptureConfig } from "./types-Bdf8_LYB2.js";
|
|
13
13
|
import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ2.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-CJ7Yl9K-2.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { v as addEvent } from "./events-
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
3
|
-
import {
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
5
|
-
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-
|
|
6
|
-
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-
|
|
1
|
+
import { v as addEvent } from "./events-DYiyoSlx.esm.js";
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-yVZNf0k-.esm.js";
|
|
3
|
+
import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
|
+
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BSJ-_sjm.esm.js";
|
|
6
|
+
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CJmel52G.esm.js";
|
|
7
7
|
//#region src/modules/flow/noOpFlowModuleMachine.ts
|
|
8
8
|
const noOpFlowModuleMachine = setup({}).createMachine({
|
|
9
9
|
id: "noOpFlowModule",
|
package/dist/{flowCompletionService-Bg3Wlac8.esm.js → flowCompletionService-BSJ-_sjm.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError } from "./apiError-DLDatBW_.esm.js";
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
6
6
|
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as updateFeatureManagementUser } from "./feature-management-
|
|
1
|
+
import { E as updateFeatureManagementUser } from "./feature-management-BNQRs-_1.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
3
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DeBJtwsx.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
6
|
-
import "./session-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-DLDatBW_.esm.js";
|
|
6
|
+
import "./session-ClKGwEr_.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as createGeolocationManager } from "./geolocationManager-
|
|
2
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { t as createGeolocationManager } from "./geolocationManager-B3gAX5hk.esm.js";
|
|
2
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BNfb_jIM.esm.js";
|
|
3
3
|
export { createGeolocationManager, geolocationMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-BNfb_jIM.esm.js";
|
|
4
4
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
5
5
|
var BrowserGeolocationProvider = class {
|
|
6
6
|
getCurrentPosition() {
|
package/dist/{geolocationStateMachine-BeWhwin9.esm.js → geolocationStateMachine-BNfb_jIM.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
3
|
import { i as isIOS, t as isAndroid } from "./platform-BJrm5nzZ.esm.js";
|
|
4
|
-
import { n as isConnectivityError } from "./apiError-
|
|
5
|
-
import {
|
|
6
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
4
|
+
import { n as isConnectivityError } from "./apiError-DLDatBW_.esm.js";
|
|
5
|
+
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
6
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
9
9
|
const res = await api.post(endpoints.addGeolocation, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-CK9DrZXX.esm.js";
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
6
6
|
function createGovernmentValidationActor(options) {
|
|
7
7
|
return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
|