@incodetech/core 0.0.0-dev-20260821-28c21e94 → 0.0.0-dev-20260821-a1e6406d
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-DTIvRgoY.esm.js → BrowserDiagnosticsCryptoProvider-IC5T-HPK.esm.js} +1 -1
- 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-BMZvuxv0.esm.js → antifraudManager-CQFNgSPt.esm.js} +2 -2
- package/dist/{antifraudStateMachine-r4VxSBS4.esm.js → antifraudStateMachine-Bf_JVNwn.esm.js} +2 -2
- package/dist/{apiError-le3k4vE-.esm.js → apiError-CAkyUxvs.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-B0vgIf4F.esm.js → authenticationManager-CI0rcrAk.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DjF0n2MO.esm.js → authenticationStateMachine-IEkLW8aD.esm.js} +5 -5
- package/dist/{backCameraStream-D30zZBEZ.esm.js → backCameraStream-S9_cRZ7f.esm.js} +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-buCaNcxx.esm.js → certificateIssuanceManager-DFTukqtI.esm.js} +2 -2
- 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-DyBXdkFn.esm.js → consentManager-BxjpLZAG.esm.js} +2 -2
- package/dist/{consentManager-gEjLKk2H.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
- 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-pNkutndd.esm.js → crossDocumentDataMatchManager-CGT0V6RV.esm.js} +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-DEesnLee.esm.js → curpValidationManager-6Nmkn5u1.esm.js} +2 -2
- package/dist/{curpValidationStateMachine-9KwnqeoB.esm.js → curpValidationStateMachine-Ds7KMacK.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-Dgy3Hi0q.esm.js → customFieldsManager-BjTF6dRi.esm.js} +2 -2
- package/dist/{customWatchlistManager-BlJTcPKK.esm.js → customWatchlistManager-SFTkKkcs.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-B_ey3TFj.esm.js → customWatchlistStateMachine-YWSgKLbF.esm.js} +2 -2
- package/dist/{deepsightLoader-CMBogUSM.esm.js → deepsightLoader-DwsFvJN-.esm.js} +4 -4
- package/dist/device.d.ts +11 -2
- package/dist/device.esm.js +46 -11
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
- package/dist/{documentCaptureManager-C1UC1WYh.esm.js → documentCaptureManager-MMfn9FcW.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-CBHmgyM7.esm.js → documentCaptureStateMachine-6gQ-3t8T.esm.js} +5 -5
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-CvO9Xa7H.esm.js → dynamicFormsManager-DUTCUMkw.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DnhrBgdB.esm.js → dynamicFormsStateMachine-DZUrpYpf.esm.js} +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-B3OoTWyl.esm.js → ekybManager-CqY35tak.esm.js} +2 -2
- package/dist/{ekybStateMachine-B1ZRnOFy.esm.js → ekybStateMachine-DjpUT2XL.esm.js} +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-CasdX1Ou.esm.js → ekycManager-DgT48ky6.esm.js} +2 -2
- package/dist/{ekycStateMachine-DHvksnrr.esm.js → ekycStateMachine-CQwqiR-R.esm.js} +3 -3
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-Dwd2COYk.esm.js → electronicSignatureManager-DEP5Y7EF.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-NLzaP12q.esm.js → emailManager-BY0jeYwR.esm.js} +2 -2
- package/dist/{emailStateMachine-Bm894MHB.esm.js → emailStateMachine-Crw8QVmc.esm.js} +2 -2
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +34 -34
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-C1jsqzuH.esm.js → faceCaptureManagerFactory-Dxc6rqlv.esm.js} +3 -3
- package/dist/{faceCaptureSetup-IRSbU5lB.esm.js → faceCaptureSetup-BJf4Hfvt.esm.js} +6 -6
- package/dist/{faceMatchManager-DEVhhdf4.esm.js → faceMatchManager-Ri4UbNz0.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-CJiO2yLO.esm.js → faceMatchStateMachine-20DdZ3jg.esm.js} +2 -2
- package/dist/{feature-management-DxubahI0.esm.js → feature-management-CaAJ3MwK.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BRYsIi34.esm.js → fieldComparisonManager-Cg6kPQQx.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-7UH-ZMea.esm.js → fiscalQrManager-rlajwMLO.esm.js} +3 -3
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-B5xXxg7X.esm.js → flowCompletionService-Bsr4Wx7b.esm.js} +1 -1
- package/dist/{flowServices-VUTyOWMz.esm.js → flowServices-DO_eYc-s.esm.js} +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bw8hKrRh.esm.js → geolocationManager-Bg_Ziw4L.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BydXSzQH.esm.js → geolocationStateMachine-B4K3Il9k.esm.js} +4 -4
- package/dist/getBrowser-CBiibsL-.esm.js +19 -0
- package/dist/{getBrowser-DmNprTMV.esm.js → getBrowser-Cbe1C4Tn.esm.js} +1 -1
- package/dist/{getDeviceClass-Sh0zhEv7.esm.js → getDeviceClass-BW-fvA01.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-DnVUyppQ.esm.js → governmentValidationManager-CQBcGMBa.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-CNzJ5UQb.esm.js → governmentValidationStateMachine-DgxxQTbM.esm.js} +2 -2
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.esm.js +9 -9
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-BTmmqk6j.esm.js → idCaptureManager-DLAlBbkS.esm.js} +13 -17
- package/dist/{idCaptureManager-DQEUuleg.d.ts → idCaptureManager-DR0ra4Us.d.ts} +20 -10
- package/dist/{idCaptureServices-DYxFEVDP.esm.js → idCaptureServices-BGYNfx8o.esm.js} +147 -21
- package/dist/{idCaptureStateMachine-UjHB2da2.esm.js → idCaptureStateMachine-CQHw9U6l.esm.js} +449 -58
- package/dist/{idOcrManager-D_2k-6Vv.esm.js → idOcrManager-BIQYQXXj.esm.js} +2 -2
- package/dist/{idOcrStateMachine-Bq_e3l4E.esm.js → idOcrStateMachine-cSxzHpHt.esm.js} +2 -2
- package/dist/{idVerificationManager-DdlrWSSB.esm.js → idVerificationManager-JpV_SAsl.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-GEQWUPU2.esm.js → idVerificationStateMachine-nPeUNyFq.esm.js} +2 -2
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-CzLZNgdh.esm.js → identityReuseManager-kNCg9AbD.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-AubRPhIi.esm.js → identityReuseStateMachine-DyulxDjP.esm.js} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-CEIkNukS.esm.js → mandatoryConsentManager-B4Niyg_u.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-CaTcQLK6.d.ts → mandatoryConsentManager-BG3ZPM3f.d.ts} +4 -4
- package/dist/{mandatoryConsentStateMachine-zroQGzwb.esm.js → mandatoryConsentStateMachine-B4-1u-L8.esm.js} +2 -2
- package/dist/{mediaRecorderOptions-vXDI73LZ.esm.js → mediaRecorderOptions-D_658TcR.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-C3TAdf6r.esm.js → onDeviceFaceResults-CUgTgV7K.esm.js} +5 -5
- package/dist/{permissionGuards-DJNYwEOq.esm.js → permissionGuards-CH3gaQsZ.esm.js} +1 -1
- package/dist/{permissionServices-Dgtg_4Lv.esm.js → permissionServices-D20N3ao2.esm.js} +1 -1
- package/dist/personhood.esm.js +6 -6
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-B_03mKyi.esm.js → phoneManager-FsJ0W2Ei.esm.js} +2 -2
- package/dist/{phoneStateMachine-E1fUUcNM.esm.js → phoneStateMachine-Ba0wKHyX.esm.js} +2 -2
- package/dist/{platform-Q4r1nvWX.esm.js → platform-8AB1KkPJ.esm.js} +13 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-DMkhSRob.esm.js → recordingService-S-uv9lNl.esm.js} +3 -3
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Bgo6eqri.esm.js → redirectToMobileManager-y4VQB11M.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-C9SYCJcH.esm.js → redirectToMobileStateMachine-Cyv2x0PP.esm.js} +2 -2
- package/dist/{runChildModule-wo7OtIDd.esm.js → runChildModule-CpEIkftD.esm.js} +3 -3
- package/dist/{sdkVersion-DVheZJvd.esm.js → sdkVersion-C1whu-qe.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-ArUCoICg.esm.js → selfieErrorUtils-CGf8C0GO.esm.js} +1 -1
- package/dist/{selfieManager-Cjwgpyv_.esm.js → selfieManager-Wp_Q8Lbz.esm.js} +3 -3
- package/dist/{selfieStateMachine-BpXs6qSu.esm.js → selfieStateMachine-DQGdlKML.esm.js} +5 -5
- package/dist/{session-DImZOogY.esm.js → session-DKk9Dn3P.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-BfpCV4Nz.esm.js → sessionInitializer-3BfnxrrZ.esm.js} +6 -6
- package/dist/{setup-CKhuTAJT.esm.js → setup-B_0Jehdc.esm.js} +5 -5
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-DoACIR02.esm.js → signatureManager-Ca43yhwk.esm.js} +2 -2
- package/dist/{signatureStateMachine-Cf73DGWO.esm.js → signatureStateMachine-K1LMRrxG.esm.js} +2 -2
- package/dist/trueSight-DyWCrMH_.esm.js +1 -0
- package/dist/{trueSightService-CtSmz4mc.esm.js → trueSightService-D16IhKjC.esm.js} +2 -2
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-B_PW_0Wq2.d.ts → types-DQtm9Esn2.d.ts} +69 -13
- package/dist/video-selfie.esm.js +6 -6
- package/dist/{videoSelfieCameraWarmer-55SU6Y0u.esm.js → videoSelfieCameraWarmer-BAraVIDq.esm.js} +5 -5
- package/dist/wasm.esm.js +1 -1
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-Bo08PkKo.esm.js → watchlistForBusinessManager-MEWKeR3h.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-BAg1B4HF.esm.js → watchlistForBusinessStateMachine-Dszp35m2.esm.js} +2 -2
- package/dist/{watchlistManager-CPBZnFYj.esm.js → watchlistManager-LoNZH9qm.esm.js} +2 -2
- package/dist/{watchlistStateMachine-Bl7Wy9Cm.esm.js → watchlistStateMachine-DIKQDoUT.esm.js} +2 -2
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +36 -36
- 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 +3 -3
- package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
- package/dist/trueSight-CKsTJzKN.esm.js +0 -1
|
@@ -18,7 +18,7 @@ function decodeTruesightKey(s0Base64, s1Base64) {
|
|
|
18
18
|
*/
|
|
19
19
|
function getTruesightKey() {
|
|
20
20
|
try {
|
|
21
|
-
const key = decodeTruesightKey("
|
|
21
|
+
const key = decodeTruesightKey("sa9UrnrKNDUgLYdJQWCHRq54SecGl40Kz6pLhtELoIU=", "agqPgAzDuxT0BEkTQOJZWhjKqLymIA3faKNjBTaP9VI=");
|
|
22
22
|
return key.length === KEY_LENGTH_BYTES ? key : null;
|
|
23
23
|
} catch {
|
|
24
24
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
|
-
import { t as fromCallback } from "./xstate-actors.esm-
|
|
4
|
+
import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
5
5
|
const usStateOptions = Object.values({
|
|
6
6
|
AL: {
|
|
7
7
|
code: "AL",
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-DEP5Y7EF.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-Bf_JVNwn.esm.js";
|
|
2
|
+
import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CQFNgSPt.esm.js";
|
|
3
3
|
export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 antifraudMachine } from "./antifraudStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as antifraudMachine } from "./antifraudStateMachine-Bf_JVNwn.esm.js";
|
|
5
5
|
//#region src/modules/antifraud/antifraudActor.ts
|
|
6
6
|
function createAntifraudActor() {
|
|
7
7
|
return createActor(antifraudMachine).start();
|
package/dist/{antifraudStateMachine-r4VxSBS4.esm.js → antifraudStateMachine-Bf_JVNwn.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 { t as setup } from "./xstate.esm-
|
|
4
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { 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/antifraud/antifraudServices.ts
|
|
6
6
|
async function processAntifraud(signal) {
|
|
7
7
|
const res = await api.get(endpoints.processAntifraud, { signal });
|
|
@@ -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-IEkLW8aD.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CI0rcrAk.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-B0vgIf4F.esm.js → authenticationManager-CI0rcrAk.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-C8847M9W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-DYiyoSlx.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
4
|
+
import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dxc6rqlv.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-IEkLW8aD.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
8
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
4
|
+
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BJf4Hfvt.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CUgTgV7K.esm.js";
|
|
8
|
+
import { t as getDeviceClass } from "./getDeviceClass-BW-fvA01.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
11
11
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as isIOS, c as
|
|
1
|
+
import { a as isIOS, c as isIPhone14OrHigher, i as isDesktop, l as isSafari, t as isAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
2
2
|
import { a as stopCameraStream, n as enumerateVideoDevices, r as requestCameraAccess, t as applyTrackConstraints } from "./camera-_2sXMXiF.esm.js";
|
|
3
3
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
4
|
-
import { t as getBrowser } from "./getBrowser-
|
|
4
|
+
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
5
5
|
//#region src/internal/camera/backCameraStream.ts
|
|
6
6
|
const BACK_CAMERA_KEYWORDS = [
|
|
7
7
|
"rear",
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { i as requestPermission, t as checkPermission } from "./permissionServices-D20N3ao2.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-D_R92TYu.esm.js";
|
|
2
|
+
import { n as createCertificateIssuanceManagerFromActor, t as createCertificateIssuanceManager } from "./certificateIssuanceManager-DFTukqtI.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
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
2
|
-
import {
|
|
3
|
-
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-
|
|
2
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
3
|
+
import { r as isPasswordValid, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-D_R92TYu.esm.js";
|
|
4
4
|
//#region src/modules/certificate-issuance/certificateIssuanceActor.ts
|
|
5
5
|
/**
|
|
6
6
|
* Creates and starts a certificate issuance actor.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as getApi, r as getToken } 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
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
|
6
6
|
//#region src/modules/certificate-issuance/certificateIssuanceServices.ts
|
|
7
7
|
function buildIssueCertificateUrl(baseURL) {
|
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-uhDPdU6i.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-D9D4ON8Z.esm.js";
|
|
2
|
+
import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BxjpLZAG.esm.js";
|
|
3
3
|
export { consentMachine, createConsentManager, createConsentManagerFromActor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 consentMachine } from "./consentStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as consentMachine } from "./consentStateMachine-D9D4ON8Z.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();
|
|
@@ -74,14 +74,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
76
|
}>, Values<{
|
|
77
|
-
setConsentData: {
|
|
78
|
-
type: "setConsentData";
|
|
79
|
-
params: NonReducibleUnknown;
|
|
80
|
-
};
|
|
81
|
-
toggleCheckbox: {
|
|
82
|
-
type: "toggleCheckbox";
|
|
83
|
-
params: NonReducibleUnknown;
|
|
84
|
-
};
|
|
85
77
|
setError: {
|
|
86
78
|
type: "setError";
|
|
87
79
|
params: NonReducibleUnknown;
|
|
@@ -94,6 +86,14 @@ declare const consentMachine: StateMachine<ConsentContext, {
|
|
|
94
86
|
type: "resetContext";
|
|
95
87
|
params: NonReducibleUnknown;
|
|
96
88
|
};
|
|
89
|
+
setConsentData: {
|
|
90
|
+
type: "setConsentData";
|
|
91
|
+
params: NonReducibleUnknown;
|
|
92
|
+
};
|
|
93
|
+
toggleCheckbox: {
|
|
94
|
+
type: "toggleCheckbox";
|
|
95
|
+
params: NonReducibleUnknown;
|
|
96
|
+
};
|
|
97
97
|
}>, {
|
|
98
98
|
type: "canSubmit";
|
|
99
99
|
params: unknown;
|
|
@@ -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/consent/consentServices.ts
|
|
6
6
|
async function fetchCombinedConsent(consentId, language, signal) {
|
|
7
7
|
if (!consentId) throw new Error("Combined consent id is required");
|
|
@@ -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-CGT0V6RV.esm.js";
|
|
2
2
|
export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
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 { 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
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
7
7
|
//#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
|
|
8
8
|
/** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i 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 { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Ds7KMacK.esm.js";
|
|
2
|
+
import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-6Nmkn5u1.esm.js";
|
|
3
3
|
export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
|
package/dist/{curpValidationManager-DEesnLee.esm.js → curpValidationManager-6Nmkn5u1.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
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 curpValidationMachine } from "./curpValidationStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as curpValidationMachine } from "./curpValidationStateMachine-Ds7KMacK.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();
|
|
@@ -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/curp-validation/curpValidationUtils.ts
|
|
6
6
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
7
7
|
function isValidCurp(curp) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-
|
|
1
|
+
import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BjTF6dRi.esm.js";
|
|
2
2
|
export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
2
|
-
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-
|
|
1
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-YWSgKLbF.esm.js";
|
|
2
|
+
import { n as createCustomWatchlistManagerFromActor, t as createCustomWatchlistManager } from "./customWatchlistManager-SFTkKkcs.esm.js";
|
|
3
3
|
export { createCustomWatchlistManager, createCustomWatchlistManagerFromActor, customWatchlistMachine };
|
|
@@ -2,8 +2,8 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-DYiyoSlx.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as fromPromise } 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 } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
7
7
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
8
8
|
//#region src/modules/custom-fields/customFieldsServices.ts
|
|
9
9
|
async function submitCustomFields(params, signal) {
|
package/dist/{customWatchlistManager-BlJTcPKK.esm.js → customWatchlistManager-SFTkKkcs.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
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 customWatchlistMachine } from "./customWatchlistStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-YWSgKLbF.esm.js";
|
|
5
5
|
//#region src/modules/custom-watchlist/customWatchlistActor.ts
|
|
6
6
|
function createCustomWatchlistActor() {
|
|
7
7
|
return createActor(customWatchlistMachine).start();
|
|
@@ -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/custom-watchlist/customWatchlistServices.ts
|
|
6
6
|
async function processWatchlist(signal) {
|
|
7
7
|
const res = await api.post(endpoints.processWatchlist, {}, { signal });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-2nOSCCnG.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-D16IhKjC.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-3BfnxrrZ.esm.js";
|
|
5
|
+
import "./trueSight-DyWCrMH_.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
8
|
+
import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
9
9
|
import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-Dd7Yj25O.esm.js";
|
|
10
10
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-CxTjgXe6.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
|
package/dist/device.d.ts
CHANGED
|
@@ -35,8 +35,17 @@ declare function getBrowser(): Browser;
|
|
|
35
35
|
declare function isApplePlatform(): boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Whether capture/WASM are known to work in the current browser.
|
|
38
|
-
*
|
|
39
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
40
|
+
* are not, on either platform. Outside a WebView, only Chrome is supported on
|
|
41
|
+
* every platform and Safari is supported on Apple platforms.
|
|
42
|
+
*
|
|
43
|
+
* The rejections run first, because a browser that is unsupported on its own is
|
|
44
|
+
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
45
|
+
*
|
|
46
|
+
* Identity comes from the user agent, plus `navigator.brave` and Client Hint
|
|
47
|
+
* brands where available. A browser that spoofs a Chrome user agent, exposes no
|
|
48
|
+
* Client Hints, and identifies itself nowhere else cannot be distinguished here.
|
|
40
49
|
*/
|
|
41
50
|
declare function isSupportedBrowser(): boolean;
|
|
42
51
|
//#endregion
|
package/dist/device.esm.js
CHANGED
|
@@ -1,10 +1,32 @@
|
|
|
1
|
-
import { a as isIOS,
|
|
2
|
-
import { t as getUserAgent } from "./getBrowser-
|
|
3
|
-
import { t as getBrowser } from "./getBrowser-
|
|
1
|
+
import { a as isIOS, n as isAndroidWebView, o as isIOSWebView, r as isBraveBrowser, s as isIPad, u as isTabletWithoutAndroid } from "./platform-8AB1KkPJ.esm.js";
|
|
2
|
+
import { n as getUserAgentBrands, t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
|
|
3
|
+
import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
|
|
4
4
|
import { t as getDeviceInfo } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
5
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
5
|
+
import { t as getDeviceClass } from "./getDeviceClass-BW-fvA01.esm.js";
|
|
6
6
|
//#region src/internal/device/browserSupportClassification.ts
|
|
7
|
-
const
|
|
7
|
+
const ISLAND_BROWSER_TOKEN = /\bisland browser\b/i;
|
|
8
|
+
/**
|
|
9
|
+
* Third-party in-app browsers. These are real WebViews — `isAndroidWebView` and
|
|
10
|
+
* `isIOSWebView` both report them as such — but their hosts restrict camera
|
|
11
|
+
* capture, so they are rejected before the WebView allowance below.
|
|
12
|
+
*/
|
|
13
|
+
const IN_APP_BROWSER_TOKEN = /\b(?:FBAN|FBAV|FB_IAB|FB4A|Instagram|LinkedInApp|Twitter|BytedanceWebview|musical_ly)(?:[/\s;\]_]|$)/i;
|
|
14
|
+
/**
|
|
15
|
+
* Client Hint brands for the Chromium builds that are supported. `Chromium`
|
|
16
|
+
* covers vanilla and automation builds, which do not carry the Google Chrome
|
|
17
|
+
* brand. Support is an allowlist: an unknown fork reports neither brand and is
|
|
18
|
+
* rejected, rather than being supported until someone denylists it.
|
|
19
|
+
*/
|
|
20
|
+
const SUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set(["Google Chrome", "Chromium"]);
|
|
21
|
+
/**
|
|
22
|
+
* Forks that report a Chrome-compatible UA *and* claim a supported brand. A
|
|
23
|
+
* second guard on top of the allowlist, not a substitute for it.
|
|
24
|
+
*/
|
|
25
|
+
const UNSUPPORTED_CHROMIUM_BRANDS = /* @__PURE__ */ new Set([
|
|
26
|
+
"Brave",
|
|
27
|
+
"Microsoft Edge",
|
|
28
|
+
"Opera"
|
|
29
|
+
]);
|
|
8
30
|
/** iOS/iPadOS/macOS — the only platforms where Safari is a supported option. */
|
|
9
31
|
function isApplePlatform() {
|
|
10
32
|
const userAgent = getUserAgent();
|
|
@@ -12,15 +34,28 @@ function isApplePlatform() {
|
|
|
12
34
|
}
|
|
13
35
|
/**
|
|
14
36
|
* Whether capture/WASM are known to work in the current browser.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
37
|
+
*
|
|
38
|
+
* Native Android and iOS WebViews are supported; third-party in-app browsers
|
|
39
|
+
* are not, on either platform. Outside a WebView, only Chrome is supported on
|
|
40
|
+
* every platform and Safari is supported on Apple platforms.
|
|
41
|
+
*
|
|
42
|
+
* The rejections run first, because a browser that is unsupported on its own is
|
|
43
|
+
* still unsupported when it hosts the page as a WebView (ENG-51674).
|
|
44
|
+
*
|
|
45
|
+
* Identity comes from the user agent, plus `navigator.brave` and Client Hint
|
|
46
|
+
* brands where available. A browser that spoofs a Chrome user agent, exposes no
|
|
47
|
+
* Client Hints, and identifies itself nowhere else cannot be distinguished here.
|
|
17
48
|
*/
|
|
18
49
|
function isSupportedBrowser() {
|
|
19
|
-
|
|
50
|
+
const userAgent = getUserAgent();
|
|
51
|
+
if (isBraveBrowser() || ISLAND_BROWSER_TOKEN.test(userAgent) || IN_APP_BROWSER_TOKEN.test(userAgent)) return false;
|
|
52
|
+
if (isAndroidWebView(userAgent) || isIOSWebView(userAgent)) return true;
|
|
20
53
|
const browser = getBrowser();
|
|
21
|
-
if (browser === "
|
|
22
|
-
if (
|
|
23
|
-
|
|
54
|
+
if (browser === "safari") return isApplePlatform();
|
|
55
|
+
if (browser !== "chrome") return false;
|
|
56
|
+
const brands = getUserAgentBrands();
|
|
57
|
+
if (brands === void 0) return true;
|
|
58
|
+
return brands.some((brand) => SUPPORTED_CHROMIUM_BRANDS.has(brand)) && !brands.some((brand) => UNSUPPORTED_CHROMIUM_BRANDS.has(brand));
|
|
24
59
|
}
|
|
25
60
|
//#endregion
|
|
26
61
|
//#region src/internal/device/redirectDeviceClassification.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-BjSly8cp.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DD0qtFdE.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
2
|
-
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-
|
|
1
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-6gQ-3t8T.esm.js";
|
|
2
|
+
import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-MMfn9FcW.esm.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
251
251
|
type: "fileSizeOkForNonGallery";
|
|
252
252
|
params: unknown;
|
|
253
253
|
};
|
|
254
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "
|
|
254
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
255
255
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
256
256
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
257
|
readonly id: "documentCapture";
|
package/dist/{documentCaptureManager-C1UC1WYh.esm.js → documentCaptureManager-MMfn9FcW.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
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 { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-6gQ-3t8T.esm.js";
|
|
5
5
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
6
6
|
function createDocumentCaptureActor(options) {
|
|
7
7
|
return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
import { a as stopCameraStream } from "./camera-_2sXMXiF.esm.js";
|
|
6
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
7
|
-
import { n as getBackCameraStream } from "./backCameraStream-
|
|
8
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
6
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-D20N3ao2.esm.js";
|
|
7
|
+
import { n as getBackCameraStream } from "./backCameraStream-S9_cRZ7f.esm.js";
|
|
8
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-CH3gaQsZ.esm.js";
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
|
11
11
|
processV5CLogbook: "v5cMultiPageLogbook",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DZUrpYpf.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-DUTCUMkw.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DZUrpYpf.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-DnhrBgdB.esm.js → dynamicFormsStateMachine-DZUrpYpf.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
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, t as IncodeApiError } from "./apiError-
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-CAkyUxvs.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
|
7
7
|
//#region src/modules/dynamic-forms/dynamicFormsFields.ts
|
|
8
8
|
function getEffectiveType(question) {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-DO_eYc-s.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DjpUT2XL.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-CqY35tak.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 ekybMachine } from "./ekybStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-DjpUT2XL.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -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
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
4
|
-
import {
|
|
5
|
-
import { n as fromPromise } from "./xstate-actors.esm-
|
|
6
|
-
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-DO_eYc-s.esm.js";
|
|
4
|
+
import { i as assign, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
5
|
+
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
6
|
+
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-D1XpBdUS.esm.js";
|
|
7
7
|
//#region src/modules/ekyb/ekybValidators.ts
|
|
8
8
|
function cleanCnpjString(cnpj) {
|
|
9
9
|
return cnpj.replace(/\./g, "").replace(/\//g, "").replace(/-/g, "");
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-CQwqiR-R.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-DgT48ky6.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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 ekycMachine } from "./ekycStateMachine-
|
|
3
|
+
import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
4
|
+
import { t as ekycMachine } from "./ekycStateMachine-CQwqiR-R.esm.js";
|
|
5
5
|
//#region src/modules/ekyc/ekycActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYC actor.
|