@incodetech/core 0.0.0-dev-20261014-1670df29 → 0.0.0-dev-20261019-c4ddd050
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/{BaseWasmProvider-BL9wIRnN.d.ts → BaseWasmProvider-Bq3OHo7P.d.ts} +2 -2
- package/dist/BrowserDiagnosticsEnvelopeProvider-BQca6KPG.esm.js +43 -0
- package/dist/{FaceDetectionProvider-nnhjmMV8.esm.js → FaceDetectionProvider-DU18Bqru.esm.js} +10 -11
- package/dist/{IIdCaptureCapability-DBsv9-7M.d.ts → IIdCaptureCapability-CGcEt2Cw.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-CPX0RGdQ.d.ts → IWasmUtilCapability-GF2n7sfm.d.ts} +2 -2
- package/dist/{StreamCanvasCapture-DVmzJux5.d.ts → StreamCanvasCapture-7JRf-2ck.d.ts} +2 -2
- package/dist/{WasmUtilProvider-CIdnE7Fx.esm.js → WasmUtilProvider-DtJuBdt-.esm.js} +18 -5
- package/dist/{addressSearch-BiYZjvp3.esm.js → addressSearch-DPjIKJrX.esm.js} +1 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-HL08jeDX.esm.js → antifraudManager-CaweCYnY.esm.js} +2 -2
- package/dist/{antifraudStateMachine-DoJVzblM.esm.js → antifraudStateMachine-DRl0UVyA.esm.js} +1 -2
- package/dist/{endpoints-DHzlkQNe.esm.js → api-Cz90EHyu.esm.js} +149 -1
- package/dist/{apiError-BQGiCr9h.esm.js → apiError-C1miOdqH.esm.js} +1 -1
- package/dist/{attemptCarry-BCQgBZ7b.esm.js → attemptCarry-BMddDZ5A.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CANv5-W5.d.ts → authenticationManager-BIZC55Bi.d.ts} +1 -1
- package/dist/{authenticationManager-BLRj_oL4.esm.js → authenticationManager-CqDorXqA.esm.js} +5 -5
- package/dist/{authenticationStateMachine-O7C5PXyH.esm.js → authenticationStateMachine-BXx7f4sn.esm.js} +3 -3
- package/dist/avatar.d.ts +1 -1
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-DpQlzzx5.esm.js → certificateIssuanceManager-BcjLNZr8.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-CaOzoYfA.esm.js → certificateIssuanceStateMachine-BNW_4W4w.esm.js} +1 -2
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-CTdFloVJ.d.ts} +9 -9
- package/dist/{consentManager-CjrxY737.esm.js → consentManager-CvEu8h_W.esm.js} +2 -2
- package/dist/{consentStateMachine-BCj5Jb3g.esm.js → consentStateMachine-DJTgN_-1.esm.js} +1 -2
- package/dist/{createCameraCycleOwnership-kdlhkmmY.esm.js → createCameraCycleOwnership-Dj_LHUvN.esm.js} +2 -3
- package/dist/{createFaceAvatar-DXgmQmQy.d.ts → createFaceAvatar-lYX0VTYs.d.ts} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-BHnGRsto.esm.js → crossDocumentDataMatchManager-Cu141CE8.esm.js} +2 -3
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-B-1EZbP_.d.ts → curpValidationManager-C9sqoh9n.d.ts} +1 -1
- package/dist/{curpValidationManager-DmfAsC6f.esm.js → curpValidationManager-DoeVJCNS.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-B9sCPRaH.esm.js → curpValidationStateMachine-CrQhQIde.esm.js} +2 -3
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-BV6UyLFV.esm.js → customFieldsManager-D1ex2cFM.esm.js} +2 -3
- package/dist/{customWatchlistManager-DML0UPzf.esm.js → customWatchlistManager-CTI-SGk0.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-D9gI5uu7.esm.js → customWatchlistStateMachine-hmRd0f2I.esm.js} +1 -2
- package/dist/{deepsightLoader-UXGc403Q.esm.js → deepsightLoader-BecXGyF5.esm.js} +6 -6
- package/dist/{deepsightService-DI0uiE68.esm.js → deepsightService-C9R8Kk7Z.esm.js} +3 -3
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-pkph2Ise.esm.js → documentCaptureManager-kEAqgodu.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-BTiH2YGb.esm.js → documentCaptureStateMachine-B0otvm7y.esm.js} +4 -5
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-jXO_VdVI.esm.js → dynamicFormsManager-D68GX8LV.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-BxGrebr6.esm.js → dynamicFormsStateMachine-DyPx0rDS.esm.js} +2 -3
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-BsEC0z6j.esm.js → ekybManager-DCojt0Sb.esm.js} +2 -2
- package/dist/{ekybStateMachine-782_EAbL.esm.js → ekybStateMachine-Bwep4xO9.esm.js} +3 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-BdJRUsz0.esm.js → ekycManager-BO-Lui3t.esm.js} +2 -2
- package/dist/{ekycStateMachine-x6Klot8g.esm.js → ekycStateMachine-CDnI_NRq.esm.js} +2 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-BvKmLsO7.esm.js → electronicSignatureManager-D1OD1Ix0.esm.js} +3 -4
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-wsqyGXcv.esm.js → emailManager-DBZy6IDJ.esm.js} +2 -2
- package/dist/{emailStateMachine-g1zgI6-w.esm.js → emailStateMachine-CqStAlYx.esm.js} +2 -3
- package/dist/{events-CAgFE-k3.esm.js → events-Du2A4-Qr.esm.js} +184 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +13 -13
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-jKQ2QtY-.d.ts → faceCaptureManagerFactory-1hzeS_rB.d.ts} +7 -7
- package/dist/{faceCaptureManagerFactory-Bkq-Zyud.esm.js → faceCaptureManagerFactory-BDSqqDHQ.esm.js} +4 -4
- package/dist/{faceCaptureSetup-DGbFv_lR.esm.js → faceCaptureSetup-DpDaCGHX.esm.js} +15 -11
- package/dist/{faceMatchManager-9Nj9aPci.esm.js → faceMatchManager-DWFUQjMQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-B9ZUnlyU.esm.js → faceMatchStateMachine-CUCvlydD.esm.js} +1 -2
- package/dist/{feature-management-BxNNoDb_.esm.js → feature-management-hbYKJe7F.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Dk38hXZP.esm.js → fieldComparisonManager-v3knTYV_.esm.js} +2 -3
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-DmBkQfs0.esm.js → fiscalQrManager-Dt9fHG7h.esm.js} +3 -3
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +6 -6
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-DoOZsAkE.esm.js → flowCompletionService-DIVcQI9i.esm.js} +2 -3
- package/dist/{flowServices-J5PML3Fw.esm.js → flowServices-Dj9ezDqQ.esm.js} +6 -7
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CsEoGzz_.esm.js → geolocationManager-DCa8mcl5.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BRd4yWfe.esm.js → geolocationStateMachine-wshwneyL.esm.js} +3 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CP0SiOOe.esm.js → governmentValidationManager-BtXWHICu.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-C3YQ8yCZ.esm.js → governmentValidationStateMachine-COL-Vs48.esm.js} +1 -2
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +3 -3
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +3 -3
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-DADOO6VS.esm.js → idCaptureDefaults-BGsG2OAs.esm.js} +3 -4
- package/dist/{idCaptureManager-BY97SRCV.d.ts → idCaptureManager-0M02hSuC.d.ts} +7 -7
- package/dist/{idCaptureManager-CTqOUIzb.esm.js → idCaptureManager-ChUVO_Th.esm.js} +7 -7
- package/dist/{idCaptureServices-Bq4RdayZ.esm.js → idCaptureServices-Cr0AZJZ4.esm.js} +6 -7
- package/dist/{idCaptureStateMachine-C_c-xD-u.esm.js → idCaptureStateMachine-DOY0en7m.esm.js} +23 -20
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-DxoCesYP.esm.js → idOcrManager-D3-HNMXP.esm.js} +2 -2
- package/dist/{idOcrStateMachine-kPn7DB2I.esm.js → idOcrStateMachine-DyENX6Ki.esm.js} +1 -2
- package/dist/{idVerificationManager-CDhRUU5n.esm.js → idVerificationManager-iWz7Avkr.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-0HTVVxse.esm.js → idVerificationStateMachine-CL1kUdBe.esm.js} +1 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BleUi6TK.esm.js → identityReuseManager-CD1ucp1d.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-BrBUpfn5.esm.js → identityReuseStateMachine-DfV81wQC.esm.js} +1 -2
- package/dist/{index-DfEuu-Ew.d.ts → index-CKQ9QBZP.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-BW7V3vub.esm.js → invokeOnCaptureCallback-DYrkOXO6.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CX_Dyht7.esm.js → mandatoryConsentManager-Cwqx1nK7.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-ntGT3XBv.d.ts → mandatoryConsentManager-D7GURP4i.d.ts} +6 -6
- package/dist/{mandatoryConsentStateMachine-CoaSB7P7.esm.js → mandatoryConsentStateMachine-pXWqAHo_.esm.js} +1 -2
- package/dist/{multipartRecordingService-BUQfonSs.esm.js → multipartRecordingService-DQSNXWnJ.esm.js} +1 -2
- package/dist/{permissionGuards-Bf4LbHjC.esm.js → permissionGuards-gcy3U0SL.esm.js} +1 -1
- package/dist/{permissionServices-d2UW0r_L.esm.js → permissionServices-Ca-tSNhT.esm.js} +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-DCkYa3x8.esm.js → phoneManager-D606jJ0_.esm.js} +2 -2
- package/dist/{phoneStateMachine-D1NKQ-zM.esm.js → phoneStateMachine-BdkpVdC_.esm.js} +2 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-B1yQHFLu.esm.js → redirectToMobileManager-uHW3dyuQ.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine--Sr9NEVT.esm.js → redirectToMobileStateMachine-b-H-ipGM.esm.js} +1 -2
- package/dist/{runChildModule-ibVgOupr.esm.js → runChildModule-CXsu4NXy.esm.js} +2 -2
- package/dist/{sdkVersion-DgSsq5kd.esm.js → sdkVersion-Bx-LJhwF.esm.js} +1 -1
- package/dist/selfie.d.ts +4 -4
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-DaLNGKZY.esm.js → selfieErrorUtils-CLcYhbSz.esm.js} +1 -1
- package/dist/{selfieManager-1J0IEyFq.d.ts → selfieManager-BJdNu_nd.d.ts} +1 -1
- package/dist/{selfieManager-CiGj1cvO.esm.js → selfieManager-fEl60oGM.esm.js} +5 -5
- package/dist/{selfieStateMachine-vA55Kf8-.esm.js → selfieStateMachine-ZHCxVxgk.esm.js} +3 -3
- package/dist/{session-CW9L_h0-.esm.js → session-CJF0KSgd.esm.js} +4 -5
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-8oSHIE22.esm.js → sessionInitializer-DX5Xbg3k.esm.js} +7 -8
- package/dist/{setup-slU1A4sr.esm.js → setup-FG4H1iF8.esm.js} +93 -198
- package/dist/{setup-lgkQ8dJW.d.ts → setup-YPKTUCY5.d.ts} +23 -5
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-qqXyH93e.esm.js → signatureManager-f_dPAGXn.esm.js} +2 -2
- package/dist/{signatureStateMachine-BkRSrkKp.esm.js → signatureStateMachine-C-nUq_oq.esm.js} +1 -2
- package/dist/{stats-DmG_tkGk.esm.js → stats-BEvexnKC.esm.js} +1 -2
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-Bzjy3-tE.esm.js → trueSightService-njLq2z78.esm.js} +914 -225
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BGXxRwQM.d.ts → types-B6HsSzpk.d.ts} +1 -1
- package/dist/{types-CyPUIpzf.d.ts → types-BAxn7MpY.d.ts} +5 -5
- package/dist/{types-DTYr9pCB.d.ts → types-CK8Jbjkp.d.ts} +1 -1
- package/dist/{types-BvFmYX5c.d.ts → types-Ckir_BEs.d.ts} +1 -1
- package/dist/{types-zpO4fU6a.d.ts → types-yPH8lAH-.d.ts} +3 -3
- package/dist/types-zOgZqMni.d.ts +6 -0
- package/dist/video-selfie.d.ts +3 -3
- package/dist/video-selfie.esm.js +7 -8
- package/dist/{videoSelfieCameraWarmer-COsjS4Q1.esm.js → videoSelfieCameraWarmer-D_sB-BJo.esm.js} +7 -8
- package/dist/{videoSelfieStepDetector-C5QHOvWb.d.ts → videoSelfieStepDetector-CGsTltqB.d.ts} +4 -4
- package/dist/{warmup-DMtbyb2l.esm.js → warmup-BElYWRh7.esm.js} +322 -3
- package/dist/{warmup-BUPPRAA1.d.ts → warmup-BO57syF6.d.ts} +1 -0
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +3 -4
- package/dist/{wasmDsFlagSync-BXCGqP48.esm.js → wasmDsFlagSync-CYj5LL9z.esm.js} +1 -1
- package/dist/{wasmWebClient-kbYZ2sxw.esm.js → wasmWebClient-BjZw_7OB.esm.js} +315 -17
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-BvF4jK3S.esm.js → watchlistForBusinessManager-CZZOFkGl.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-121XK-Et.esm.js → watchlistForBusinessStateMachine-B66E7jud.esm.js} +1 -2
- package/dist/{watchlistManager-CNWEOYSq.esm.js → watchlistManager-DXtX94SN.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Dgfm42w2.esm.js → watchlistStateMachine-McALifag.esm.js} +1 -2
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +35 -36
- package/package.json +1 -1
- package/dist/BrowserDiagnosticsCryptoProvider-BuzqvbhN.esm.js +0 -77
- package/dist/api-Bx3gKW_y.esm.js +0 -129
- package/dist/types-C71Zo6vl.d.ts +0 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BO57syF6.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-lYX0VTYs.js";
|
|
3
3
|
//#region ../infra/src/wasm/WasmPipelineType.d.ts
|
|
4
4
|
declare enum WasmPipelineType {
|
|
5
5
|
IdBlurGlarePipeline = 0,
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
//#region ../infra/src/providers/browser/diagnosticsEnvelopeEncoding.ts
|
|
2
|
+
/**
|
|
3
|
+
* Byte helpers shared by TrueSight envelope sealers (ENG-58122). Kept apart
|
|
4
|
+
* from the provider so any future sealer composes the same gzip and base64url
|
|
5
|
+
* steps around its own sealing step.
|
|
6
|
+
*/
|
|
7
|
+
/** UTF-8 encodes and gzips `text` via the native `CompressionStream`. */
|
|
8
|
+
async function gzipUtf8(text) {
|
|
9
|
+
const stream = new Blob([text]).stream().pipeThrough(new CompressionStream("gzip"));
|
|
10
|
+
return new Uint8Array(await new Response(stream).arrayBuffer());
|
|
11
|
+
}
|
|
12
|
+
/** Unpadded base64url. Chunked so large payloads never overflow the call stack. */
|
|
13
|
+
function toBase64Url(bytes) {
|
|
14
|
+
let binary = "";
|
|
15
|
+
for (let i = 0; i < bytes.length; i += 32768) binary += String.fromCharCode(...bytes.subarray(i, i + 32768));
|
|
16
|
+
return btoa(binary).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/u, "");
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../infra/src/providers/browser/BrowserDiagnosticsEnvelopeProvider.ts
|
|
20
|
+
/**
|
|
21
|
+
* Browser sealer for TrueSight diagnostics (ENG-48677 plan §1.5, ENG-58122):
|
|
22
|
+
* JSON string → gzip via native CompressionStream → base64url → the
|
|
23
|
+
* unencrypted `alg:"none"` contract envelope. No key and no encryption; the
|
|
24
|
+
* payload is sanitized before it gets here and travels over HTTPS. Designed
|
|
25
|
+
* to be loaded as a LAZY chunk — zero bytes on the host page's critical path.
|
|
26
|
+
*/
|
|
27
|
+
var BrowserDiagnosticsEnvelopeProvider = class {
|
|
28
|
+
isSupported() {
|
|
29
|
+
return typeof CompressionStream !== "undefined";
|
|
30
|
+
}
|
|
31
|
+
async seal(plaintext) {
|
|
32
|
+
return {
|
|
33
|
+
version: 1,
|
|
34
|
+
alg: "none",
|
|
35
|
+
compression: "gzip",
|
|
36
|
+
iv: "none",
|
|
37
|
+
ciphertext: toBase64Url(await gzipUtf8(plaintext)),
|
|
38
|
+
tag: "none"
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { BrowserDiagnosticsEnvelopeProvider };
|
package/dist/{FaceDetectionProvider-nnhjmMV8.esm.js → FaceDetectionProvider-DU18Bqru.esm.js}
RENAMED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import { r as BaseWasmProvider } from "./WasmUtilProvider-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import { t as addDeviceStats } from "./stats-DmG_tkGk.esm.js";
|
|
1
|
+
import { c as wasmRuntime } from "./warmup-BElYWRh7.esm.js";
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-FG4H1iF8.esm.js";
|
|
3
|
+
import { r as BaseWasmProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
4
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
5
|
+
import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-njLq2z78.esm.js";
|
|
6
|
+
import "./sessionInitializer-DX5Xbg3k.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-BEvexnKC.esm.js";
|
|
9
8
|
import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
|
|
10
9
|
import { i as requestCameraAccess, o as stopCameraStream, r as getCameraReacquisitionConstraints } from "./camera-sIa9ceW2.esm.js";
|
|
11
10
|
import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
|
|
12
|
-
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-
|
|
11
|
+
import { o as StreamCanvasProcessingSession } from "./multipartRecordingService-DQSNXWnJ.esm.js";
|
|
13
12
|
import { i as hasBackCamera, n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
|
|
14
|
-
import "./deepsightService-
|
|
13
|
+
import "./deepsightService-C9R8Kk7Z.esm.js";
|
|
15
14
|
import { t as getDeviceClass } from "./getDeviceClass-bsWdEDxP.esm.js";
|
|
16
15
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
17
16
|
/**
|
|
@@ -272,7 +271,7 @@ function startDetection(params) {
|
|
|
272
271
|
};
|
|
273
272
|
}
|
|
274
273
|
async function initializeDeepsightSession(options) {
|
|
275
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
274
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BecXGyF5.esm.js");
|
|
276
275
|
return loadDeepsightSession({
|
|
277
276
|
ds: options.ds,
|
|
278
277
|
storage: options.storage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-
|
|
1
|
+
import "./warmup-BO57syF6.js";
|
|
2
|
+
import { _ as MLProviderConfig, g as IMLProviderCapability, y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
3
3
|
//#region ../infra/src/wasm/mlWasmBridgeTypes.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Decoded PDF417 barcode surfaced from the WASM ID-capture pipeline during
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as WasmPipeline } from "./warmup-
|
|
2
|
-
import { _ as MLProviderConfig } from "./createFaceAvatar-
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-BO57syF6.js";
|
|
2
|
+
import { _ as MLProviderConfig } from "./createFaceAvatar-lYX0VTYs.js";
|
|
3
3
|
//#region ../infra/src/capabilities/IStorageCapability.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Storage capability interface for abstracting storage operations.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { y as IncodeCanvas } from "./createFaceAvatar-
|
|
2
|
-
import "./IWasmUtilCapability-
|
|
1
|
+
import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
+
import "./IWasmUtilCapability-GF2n7sfm.js";
|
|
3
3
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
4
|
//#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
|
|
5
5
|
type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { c as wasmCallWrapper, s as ML_CALL_MAX_POLLS } from "./wasmWebClient-
|
|
3
|
-
import {
|
|
2
|
+
import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-BjZw_7OB.esm.js";
|
|
3
|
+
import { c as wasmRuntime, i as isWasmReady, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
|
|
4
4
|
//#region ../infra/src/wasm/utilityWasmApi.ts
|
|
5
5
|
/**
|
|
6
6
|
* Utility / metadata domain facade over {@link WasmRuntime}.
|
|
@@ -71,8 +71,14 @@ var UtilityWasmApi = class {
|
|
|
71
71
|
const message = "Unable to analyze the frame, cpp API hasn't been initialized";
|
|
72
72
|
this.runtime.requireUtilityApi(message);
|
|
73
73
|
await this.runtime.allocateImageBuffers(image.width, image.height);
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
noteUnlockedCallStart("analyzeFrame");
|
|
75
|
+
const startedAt = performance.now();
|
|
76
|
+
try {
|
|
77
|
+
this.runtime.writeFrame(image);
|
|
78
|
+
this.runtime.requireUtilityApi(message).analyzeFrame();
|
|
79
|
+
} finally {
|
|
80
|
+
noteUnlockedCallEnd("analyzeFrame", performance.now() - startedAt);
|
|
81
|
+
}
|
|
76
82
|
}
|
|
77
83
|
/**
|
|
78
84
|
* Retained for callers that manually control the native log level. Console
|
|
@@ -118,7 +124,14 @@ var UtilityWasmApi = class {
|
|
|
118
124
|
this.dsEnabled_ = enabled;
|
|
119
125
|
}
|
|
120
126
|
getCheck() {
|
|
121
|
-
|
|
127
|
+
const utilityApi = this.runtime.requireUtilityApi("Unable to get check, cpp API hasn't been initialized");
|
|
128
|
+
noteUnlockedCallStart("getCheck");
|
|
129
|
+
const startedAt = performance.now();
|
|
130
|
+
try {
|
|
131
|
+
return utilityApi.getCheck();
|
|
132
|
+
} finally {
|
|
133
|
+
noteUnlockedCallEnd("getCheck", performance.now() - startedAt);
|
|
134
|
+
}
|
|
122
135
|
}
|
|
123
136
|
getMetadata() {
|
|
124
137
|
const utilityApi = this.runtime.requireUtilityApi("Unable to get metadata, cpp API hasn't been initialized");
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
1
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
3
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
3
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
4
|
const usStateOptions = Object.values({
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
1
|
+
import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-D1OD1Ix0.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
package/dist/antifraud.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as antifraudMachine } from "./antifraudStateMachine-
|
|
2
|
-
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-
|
|
1
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DRl0UVyA.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CaweCYnY.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.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 antifraudMachine } from "./antifraudStateMachine-
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-DRl0UVyA.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-DoJVzblM.esm.js → antifraudStateMachine-DRl0UVyA.esm.js}
RENAMED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
1
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
3
2
|
import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
4
|
//#region src/modules/antifraud/antifraudServices.ts
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
1
2
|
//#region src/internal/http/endpoints.ts
|
|
2
3
|
const endpoints = {
|
|
3
4
|
createSession: "/omni/start",
|
|
@@ -167,4 +168,151 @@ const endpoints = {
|
|
|
167
168
|
deviceWalletGoogleDecrypt: "/omni/v1/device/wallet/google/decrypt"
|
|
168
169
|
};
|
|
169
170
|
//#endregion
|
|
170
|
-
|
|
171
|
+
//#region src/internal/http/api.ts
|
|
172
|
+
let client = null;
|
|
173
|
+
let currentToken = null;
|
|
174
|
+
function setClient(httpClient) {
|
|
175
|
+
client = httpClient;
|
|
176
|
+
}
|
|
177
|
+
function setToken(token) {
|
|
178
|
+
currentToken = token;
|
|
179
|
+
}
|
|
180
|
+
function getToken() {
|
|
181
|
+
return currentToken;
|
|
182
|
+
}
|
|
183
|
+
function getApi() {
|
|
184
|
+
if (!client) throw new Error("SDK not configured. Call setup({ apiURL: \"...\" }) first.");
|
|
185
|
+
return client;
|
|
186
|
+
}
|
|
187
|
+
function isApiConfigured() {
|
|
188
|
+
return client !== null;
|
|
189
|
+
}
|
|
190
|
+
function resetApi() {
|
|
191
|
+
client = null;
|
|
192
|
+
currentToken = null;
|
|
193
|
+
requestObserver = null;
|
|
194
|
+
}
|
|
195
|
+
let requestObserver = null;
|
|
196
|
+
/**
|
|
197
|
+
* Observer fired around every `api.*` call (ENG-48677 event map row 23b —
|
|
198
|
+
* Android-dashboard parity: every request gets a timing line, not just
|
|
199
|
+
* failures). Deliberately a plain setter, not a direct `trueSightLog` import:
|
|
200
|
+
* `trueSightService` already imports from this module, so importing it back
|
|
201
|
+
* here would create a cycle. `setup.ts` wires the real observer.
|
|
202
|
+
*/
|
|
203
|
+
function setHttpRequestObserver(observer) {
|
|
204
|
+
requestObserver = observer;
|
|
205
|
+
}
|
|
206
|
+
function notifyRequestObserver(entry) {
|
|
207
|
+
if (!requestObserver) return;
|
|
208
|
+
try {
|
|
209
|
+
requestObserver(entry);
|
|
210
|
+
} catch {}
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Endpoints whose next path segment is a per-request id
|
|
214
|
+
* (`…/verifications/{id}/status`). The id is collapsed to `:id`: it is not a
|
|
215
|
+
* label, and digital-id polling would otherwise mint one label per verification.
|
|
216
|
+
*/
|
|
217
|
+
const DYNAMIC_SEGMENT_PREFIXES = [`${endpoints.digitalIdVerifications}/`];
|
|
218
|
+
/**
|
|
219
|
+
* Strips a query string so `?communicationchannel=SMS`-style call sites don't
|
|
220
|
+
* fragment the endpoint label, and collapses per-request path ids to `:id`.
|
|
221
|
+
*/
|
|
222
|
+
function normalizeEndpoint(url) {
|
|
223
|
+
const queryIndex = url.indexOf("?");
|
|
224
|
+
const path = queryIndex === -1 ? url : url.slice(0, queryIndex);
|
|
225
|
+
for (const prefix of DYNAMIC_SEGMENT_PREFIXES) if (path.startsWith(prefix)) {
|
|
226
|
+
const rest = path.slice(prefix.length);
|
|
227
|
+
const nextSlash = rest.indexOf("/");
|
|
228
|
+
return `${prefix}:id${nextSlash === -1 ? "" : rest.slice(nextSlash)}`;
|
|
229
|
+
}
|
|
230
|
+
return path;
|
|
231
|
+
}
|
|
232
|
+
function httpStatusOf(error) {
|
|
233
|
+
if (typeof error === "object" && error !== null && "status" in error && typeof error.status === "number") return error.status;
|
|
234
|
+
return null;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Runs one request under the timing observer. The `api.*` helpers use it,
|
|
238
|
+
* and so does any path that reaches the HTTP client directly — the WASM
|
|
239
|
+
* `WebApi` transport behind protected image uploads (`clientLifecycle.ts`).
|
|
240
|
+
*/
|
|
241
|
+
async function withTiming(method, url, call) {
|
|
242
|
+
const endpoint = normalizeEndpoint(url);
|
|
243
|
+
const startedAt = getTimestamp();
|
|
244
|
+
let response;
|
|
245
|
+
try {
|
|
246
|
+
response = await call();
|
|
247
|
+
} catch (error) {
|
|
248
|
+
notifyRequestObserver({
|
|
249
|
+
method,
|
|
250
|
+
endpoint,
|
|
251
|
+
httpStatus: httpStatusOf(error),
|
|
252
|
+
durationMs: getTimestamp() - startedAt,
|
|
253
|
+
outcome: "failure"
|
|
254
|
+
});
|
|
255
|
+
throw error;
|
|
256
|
+
}
|
|
257
|
+
notifyRequestObserver({
|
|
258
|
+
method,
|
|
259
|
+
endpoint,
|
|
260
|
+
httpStatus: response.status,
|
|
261
|
+
durationMs: getTimestamp() - startedAt,
|
|
262
|
+
outcome: "success"
|
|
263
|
+
});
|
|
264
|
+
return response;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Header-precedence contract: when a caller passes
|
|
268
|
+
* `X-Incode-Hardware-Id` in `config.headers`, their value wins over
|
|
269
|
+
* `currentToken`. Spreading `config?.headers` LAST achieves that
|
|
270
|
+
* (later keys overwrite earlier ones in object spread).
|
|
271
|
+
*
|
|
272
|
+
* Existing call sites that already pass an explicit
|
|
273
|
+
* `X-Incode-Hardware-Id` header (`recordingsRepository.uploadDeepsightVideo`,
|
|
274
|
+
* `internal/virtualCameraCheck.logFrame`) now use the value they
|
|
275
|
+
* passed in unconditionally — previously the auto-injection silently
|
|
276
|
+
* clobbered them. Both call sites pass tokens that are already
|
|
277
|
+
* supposed to be the active session token, so behaviour is
|
|
278
|
+
* unchanged in practice; the change unblocks personhood (which
|
|
279
|
+
* needs to attach its own slot's token) without bypassing the
|
|
280
|
+
* shared `api` wrapper.
|
|
281
|
+
*
|
|
282
|
+
* Regression coverage lives in `api.test.ts → "should let explicit
|
|
283
|
+
* X-Incode-Hardware-Id override the auto-injected token"`.
|
|
284
|
+
*/
|
|
285
|
+
function addTokenHeader(config) {
|
|
286
|
+
if (!currentToken) return config ?? {};
|
|
287
|
+
return {
|
|
288
|
+
...config,
|
|
289
|
+
headers: {
|
|
290
|
+
"X-Incode-Hardware-Id": currentToken,
|
|
291
|
+
...config?.headers
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
const api = {
|
|
296
|
+
get(url, config) {
|
|
297
|
+
const client = getApi();
|
|
298
|
+
return withTiming("GET", url, () => client.get(url, addTokenHeader(config)));
|
|
299
|
+
},
|
|
300
|
+
post(url, data, config) {
|
|
301
|
+
const client = getApi();
|
|
302
|
+
return withTiming("POST", url, () => client.post(url, data, addTokenHeader(config)));
|
|
303
|
+
},
|
|
304
|
+
put(url, data, config) {
|
|
305
|
+
const client = getApi();
|
|
306
|
+
return withTiming("PUT", url, () => client.put(url, data, addTokenHeader(config)));
|
|
307
|
+
},
|
|
308
|
+
patch(url, data, config) {
|
|
309
|
+
const client = getApi();
|
|
310
|
+
return withTiming("PATCH", url, () => client.patch(url, data, addTokenHeader(config)));
|
|
311
|
+
},
|
|
312
|
+
delete(url, config) {
|
|
313
|
+
const client = getApi();
|
|
314
|
+
return withTiming("DELETE", url, () => client.delete(url, addTokenHeader(config)));
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
//#endregion
|
|
318
|
+
export { resetApi as a, setToken as c, isApiConfigured as i, withTiming as l, getApi as n, setClient as o, getToken as r, setHttpRequestObserver as s, api as t, endpoints as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
1
|
+
import { r as getToken } from "./api-Cz90EHyu.esm.js";
|
|
2
2
|
import { a as watchConnectivity } from "./connectivity-HSl0diCx.esm.js";
|
|
3
3
|
//#region src/internal/session/attemptCarry.ts
|
|
4
4
|
const carried = /* @__PURE__ */ new Map();
|
package/dist/authentication.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as AuthenticationConfig } from "./types-
|
|
3
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-1hzeS_rB.js";
|
|
2
|
+
import { t as AuthenticationConfig } from "./types-zOgZqMni.js";
|
|
3
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BIZC55Bi.js";
|
|
4
4
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BXx7f4sn.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CqDorXqA.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
2
2
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
3
|
-
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-
|
|
3
|
+
import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-1hzeS_rB.js";
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
6
6
|
/**
|
package/dist/{authenticationManager-BLRj_oL4.esm.js → authenticationManager-CqDorXqA.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { u as BrowserStorageProvider } from "./setup-FG4H1iF8.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-DtJuBdt-.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./events-Du2A4-Qr.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 authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BDSqqDHQ.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BXx7f4sn.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(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 { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-
|
|
5
|
-
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-
|
|
3
|
+
import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DpDaCGHX.esm.js";
|
|
4
|
+
import { d as FACE_ERROR_CODES, f as isOnDeviceMode } from "./FaceDetectionProvider-DU18Bqru.esm.js";
|
|
5
|
+
import { o as PROTECTED_CAPTURE_TARGET } from "./createCameraCycleOwnership-Dj_LHUvN.esm.js";
|
|
6
6
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
7
7
|
const AUTH_ERROR_MAP = {
|
|
8
8
|
SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
|
package/dist/avatar.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-
|
|
1
|
+
import { i as createFaceAvatar, n as FaceAvatarHandle, o as AvatarFaceState, r as FaceAvatarOptions, t as AvatarId } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
2
|
export { type AvatarFaceState, type AvatarId, type FaceAvatarHandle, type FaceAvatarOptions, createFaceAvatar };
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { a as requestPermission, t as checkPermission } from "./permissionServices-Ca-tSNhT.esm.js";
|
|
2
2
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
-
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-
|
|
1
|
+
import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BNW_4W4w.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-BcjLNZr8.esm.js";
|
|
3
3
|
export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, createCertificateIssuanceManagerFromActor, emptyPasswordValidations, isPasswordValid, validatePassword };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
|
|
2
2
|
import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
3
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-BNW_4W4w.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { n as getApi, r as getToken } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
1
|
+
import { n as getApi, r as getToken, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
3
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
4
|
import { t as externalFetch } from "./externalFetch-mShctxq_.esm.js";
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-
|
|
1
|
+
import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-CTdFloVJ.js";
|
|
2
2
|
export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as consentMachine } from "./consentStateMachine-
|
|
2
|
-
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-
|
|
1
|
+
import { t as consentMachine } from "./consentStateMachine-DJTgN_-1.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-CvEu8h_W.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -77,14 +77,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
77
77
|
type: "setError";
|
|
78
78
|
params: NonReducibleUnknown;
|
|
79
79
|
};
|
|
80
|
-
setConsentData: {
|
|
81
|
-
type: "setConsentData";
|
|
82
|
-
params: NonReducibleUnknown;
|
|
83
|
-
};
|
|
84
|
-
toggleCheckbox: {
|
|
85
|
-
type: "toggleCheckbox";
|
|
86
|
-
params: NonReducibleUnknown;
|
|
87
|
-
};
|
|
88
80
|
clearError: {
|
|
89
81
|
type: "clearError";
|
|
90
82
|
params: NonReducibleUnknown;
|
|
@@ -93,10 +85,18 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
93
85
|
type: "resetContext";
|
|
94
86
|
params: NonReducibleUnknown;
|
|
95
87
|
};
|
|
88
|
+
setConsentData: {
|
|
89
|
+
type: "setConsentData";
|
|
90
|
+
params: NonReducibleUnknown;
|
|
91
|
+
};
|
|
92
|
+
toggleCheckbox: {
|
|
93
|
+
type: "toggleCheckbox";
|
|
94
|
+
params: NonReducibleUnknown;
|
|
95
|
+
};
|
|
96
96
|
}>, {
|
|
97
97
|
type: "canSubmit";
|
|
98
98
|
params: unknown;
|
|
99
|
-
}, never, "error" | "idle" | "finished" | "
|
|
99
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
100
100
|
readonly id: "consent";
|
|
101
101
|
readonly initial: "idle";
|
|
102
102
|
readonly context: ({ input }: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.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 consentMachine } from "./consentStateMachine-
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-DJTgN_-1.esm.js";
|
|
5
5
|
//#region src/modules/consent/consentActor.ts
|
|
6
6
|
function createConsentActor(options) {
|
|
7
7
|
return createActor(consentMachine, { input: { config: options.config } }).start();
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
1
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
3
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
4
|
//#region src/modules/consent/consentServices.ts
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c as CAMERA_CYCLE_OWNERSHIP_DOMAIN, l as getCameraCycleOwnershipDomain, s as wasmRuntime } from "./warmup-DMtbyb2l.esm.js";
|
|
2
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as endpoints } from "./
|
|
2
|
+
import { c as wasmRuntime, l as CAMERA_CYCLE_OWNERSHIP_DOMAIN, u as getCameraCycleOwnershipDomain } from "./warmup-BElYWRh7.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
5
4
|
import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
5
|
//#region ../infra/src/capabilities/ICameraCycleCapability.ts
|
|
7
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-
|
|
1
|
+
import { i as WasmModuleConfig, n as WasmModelsConfig } from "./warmup-BO57syF6.js";
|
|
2
2
|
//#region ../infra/src/media/canvas.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Class representing a canvas element for image capture and manipulation.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-
|
|
1
|
+
import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Cu141CE8.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-DHzlkQNe.esm.js";
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
|
|
2
|
+
import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
|
|
4
3
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
5
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
6
5
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-
|
|
1
|
+
import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-C9sqoh9n.js";
|
|
2
2
|
//#region src/modules/curp-validation/curpValidationUtils.d.ts
|
|
3
3
|
type MexicanState = {
|
|
4
4
|
value: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
2
|
-
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-
|
|
1
|
+
import { a as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CrQhQIde.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DoeVJCNS.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
3
3
|
import "./Actor-DpTj5PFb.js";
|
|
4
|
-
import { i as FlowModuleConfig } from "./types-
|
|
4
|
+
import { i as FlowModuleConfig } from "./types-B6HsSzpk.js";
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
7
7
|
/** Maximum validation retries before auto-advancing. @default 1 */
|
package/dist/{curpValidationManager-DmfAsC6f.esm.js → curpValidationManager-DoeVJCNS.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.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 { i as isValidCurp, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-
|
|
4
|
+
import { i as isValidCurp, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CrQhQIde.esm.js";
|
|
5
5
|
//#region src/modules/curp-validation/curpValidationActor.ts
|
|
6
6
|
function createCurpValidationActor(options) {
|
|
7
7
|
return createActor(curpValidationMachine, { input: { config: options.config } }).start();
|