@incodetech/core 0.0.0-dev-20261104-4dbc3ea3 → 0.0.0-dev-20261104-49452fc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FaceDetectionProvider-Clp2STaL.esm.js → FaceDetectionProvider-YEIZbGDi.esm.js} +9 -9
- package/dist/{WasmUtilProvider-DZOGC2HE.esm.js → WasmUtilProvider-BP6-08Yn.esm.js} +2 -2
- package/dist/{addressSearch-41sMcnJk.esm.js → addressSearch-DzbE9Ogt.esm.js} +2 -352
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQ08atTC.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
- package/dist/{antifraudStateMachine-BcsUTTIr.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
- package/dist/{api-BO8JA7Pf.esm.js → api-CpP4PS4S.esm.js} +2 -0
- package/dist/{apiError-BYiBD0Ua.esm.js → apiError-b2fuT-IQ.esm.js} +1 -1
- package/dist/{attemptCarry-C8NbkPlt.esm.js → attemptCarry-WOkfvFMw.esm.js} +1 -1
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager--l6e_7Pr.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
- package/dist/{authenticationManager-D3MYWvA6.esm.js → authenticationManager-x8mqpHOE.esm.js} +5 -5
- package/dist/{authenticationStateMachine-BCTipd5K.esm.js → authenticationStateMachine-C5Jln1aT.esm.js} +3 -3
- package/dist/camera.d.ts +2 -2
- package/dist/camera.esm.js +1 -1
- package/dist/certificate-issuance.esm.js +2 -2
- package/dist/{certificateIssuanceManager-CM0fuqDC.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
- package/dist/{certificateIssuanceStateMachine-kksIUOPD.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-CBwFozhv.esm.js → consentManager-DMlSL6Ax.esm.js} +2 -2
- package/dist/{consentManager-D8rgr5Dv.d.ts → consentManager-ybzeu6sI.d.ts} +5 -5
- package/dist/{consentStateMachine-CpmRAcr2.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-64O8t10a.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-C7t3QLf-.esm.js → curpValidationManager-DNpC3wyf.esm.js} +2 -2
- package/dist/{curpValidationManager-B9LuZ0tj.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-DAFndzpo.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +2 -2
- package/dist/custom-fields.esm.js +1 -1
- package/dist/custom-watchlist.esm.js +2 -2
- package/dist/{customFieldsManager-DWt_0YtJ.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
- package/dist/{customWatchlistManager-D8o-2Nej.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
- package/dist/{customWatchlistStateMachine-Sbi6DIcK.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
- package/dist/{deepsightLoader-AYvov0JE.esm.js → deepsightLoader-DEaTmOtV.esm.js} +5 -5
- package/dist/{desktopCameraElection-CzF8HsJn.esm.js → desktopCameraElection-CvVbR9-p.esm.js} +4 -4
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-BfXguEU3.esm.js → documentCaptureManager-CNF5LNmp.esm.js} +2 -2
- package/dist/{documentCaptureStateMachine-DJPyCwQu.esm.js → documentCaptureStateMachine-p8yovofp.esm.js} +4 -4
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Dt8hp7Xd.esm.js → dynamicFormsManager-f8riHilf.esm.js} +2 -2
- package/dist/{dynamicFormsStateMachine-DLAvflmE.esm.js → dynamicFormsStateMachine-Dt4_Fsxk.esm.js} +2 -2
- package/dist/ekyb.d.ts +4 -4
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-TB6ZG5lX.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
- package/dist/{ekybManager-D2iEUBPj.esm.js → ekybManager-BwBdOOMz.esm.js} +2 -2
- package/dist/{ekybStateMachine-PH1hy6T0.esm.js → ekybStateMachine-Cr_wkUnH.esm.js} +4 -3
- package/dist/ekyc.d.ts +3 -2
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycManager-Be6T7RJs.esm.js → ekycManager-CoWoHxtL.esm.js} +2 -2
- package/dist/{ekycManager-BSQteIfC.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
- package/dist/{ekycStateMachine-DZbKVMgq.esm.js → ekycStateMachine-DOWVsq7o.esm.js} +5 -67
- package/dist/{ekycUtils-ChD5TcJH.esm.js → ekycUtils-as4sEjNz.esm.js} +59 -8
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-DDL-ylsJ.esm.js → electronicSignatureManager-DRPy_cGL.esm.js} +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-CDhBis0c.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
- package/dist/{emailStateMachine-D6WedIVj.esm.js → emailStateMachine-KgHfDNvM.esm.js} +2 -2
- package/dist/{events-CQteqXfy.esm.js → events-ggpBBaZ8.esm.js} +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +15 -14
- package/dist/extensibility.esm.js +36 -35
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-tFqvK5KO.esm.js → faceCaptureManagerFactory-Bl3wOB84.esm.js} +4 -4
- package/dist/{faceCaptureManagerFactory-BQtDMMuq.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +3 -3
- package/dist/{faceCaptureSetup-B8W4cid6.esm.js → faceCaptureSetup-zI6zgq4z.esm.js} +11 -11
- package/dist/{faceMatchManager-B2zp7yP4.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-ByTMQCUC.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +2 -2
- package/dist/{feature-management-C5QYxdqM.esm.js → feature-management-DQFwX8Hl.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-CC0vKmpf.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/{fiscalQrManager-Bj2YnPFD.esm.js → fiscalQrManager-BZeklojR.esm.js} +2 -2
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-CHf7rcBO.esm.js → flowCompletionService-DHFje7x-.esm.js} +2 -2
- package/dist/{flowServices-BWnaP5s0.esm.js → flowServices-Cb0iHJVG.esm.js} +8 -8
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CbRv_K1Y.esm.js → geolocationManager-Cw8v5-5V.esm.js} +2 -2
- package/dist/{geolocationStateMachine-BdDTTyAI.esm.js → geolocationStateMachine-ma-iPEHx.esm.js} +3 -3
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationManager-CkX9TEkh.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
- package/dist/{governmentValidationStateMachine-PTPCP26N.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
- 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 +1 -1
- package/dist/id-selfie-flow.esm.js +8 -8
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureDefaults-BOIM1God.esm.js → idCaptureDefaults-CnAGmc1o.esm.js} +3 -3
- package/dist/{idCaptureManager-BwnhLz9C.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +2 -2
- package/dist/{idCaptureManager-CWlC3EJz.esm.js → idCaptureManager-DSTzKvSp.esm.js} +8 -8
- package/dist/{idCaptureServices-D9d-qtrS.esm.js → idCaptureServices-DrnyYM5Z.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-zmw_aQU4.esm.js → idCaptureStateMachine-Cx8jXNgx.esm.js} +17 -17
- package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
- package/dist/{idOcrManager-B64-fjWg.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
- package/dist/{idOcrStateMachine-B1aZnobs.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +1 -1
- package/dist/{idVerificationManager-_Kebv-Ue.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-DQn6c84z.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-DDXkNVZi.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
- package/dist/{identityReuseManager-B1birg5X.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
- package/dist/{identityReuseStateMachine-Bcnkbjf8.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
- package/dist/{index-D2xVKjpi.d.ts → index-DC0P2Vzw.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-CXIBwBeE.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
- package/dist/kyb-checks.d.ts +3 -0
- package/dist/kyb-checks.esm.js +3 -0
- package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
- package/dist/kybChecksManager-DswTVAz4.esm.js +89 -0
- package/dist/kybChecksStateMachine-DI_5RyBk.esm.js +718 -0
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-BeVif8kS.d.ts → mandatoryConsentManager-6e3_CcJt.d.ts} +6 -6
- package/dist/{mandatoryConsentManager-43W5d_8G.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-CVlgdlnt.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +1 -1
- package/dist/{multipartRecordingService-Cp2NhhmP.esm.js → multipartRecordingService-BTqkHGG9.esm.js} +1 -1
- package/dist/{permissionGuards-Dck-ZReK.esm.js → permissionGuards-s7Qm6q8W.esm.js} +1 -1
- package/dist/{permissionServices-CJSZshmj.esm.js → permissionServices-RawRSsLZ.esm.js} +8 -6
- package/dist/phone.esm.js +2 -2
- package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
- package/dist/{phoneManager-DLFQqWDV.esm.js → phoneManager-Dy5tODCU.esm.js} +2 -2
- package/dist/{phoneServices-Cn4uBGpN.esm.js → phoneServices-DJgyOzU2.esm.js} +1 -1
- package/dist/{phoneStateMachine-BLFIfxPy.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +19 -9
- package/dist/{processFaceMatch-BWme3kVV.esm.js → processFaceMatch-Bst83HaS.esm.js} +1 -1
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-zbt2C0w0.esm.js → recordingService-CTko6Cjn.esm.js} +2 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-BJXC6Kx9.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +3 -3
- package/dist/{redirectToMobileStateMachine-BBMAc2Gb.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +39 -21
- package/dist/resolveForm-O7-r79VA.esm.js +351 -0
- package/dist/{runChildModule-DqeR4WUi.esm.js → runChildModule-qXpd7G2p.esm.js} +2 -2
- package/dist/{sdkVersion-DvR2zcLB.esm.js → sdkVersion-WYkWwTmz.esm.js} +1 -1
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +10 -10
- package/dist/{selfieErrorUtils-DfQnVgaQ.esm.js → selfieErrorUtils-f3lQlFEy.esm.js} +1 -1
- package/dist/{selfieManager-BDStgLz_.esm.js → selfieManager-B8swkeIe.esm.js} +5 -5
- package/dist/{selfieManager-DMFBTmjl.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
- package/dist/{selfieStateMachine-Bkwmpva6.esm.js → selfieStateMachine-CGMAbg6e.esm.js} +3 -3
- package/dist/{session-D8sTB7-6.esm.js → session-sPZ3TAsp.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CdOpCvp3.esm.js → sessionInitializer-C2NbBy_s.esm.js} +13 -10
- package/dist/{setup-Cj8cl6ne.esm.js → setup-C86PfxZS.esm.js} +25 -22
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-BeEVCcsC.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
- package/dist/{signatureStateMachine-_1c1vSid.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
- package/dist/{stats-BpMz-hTP.esm.js → stats-CatA2dea.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/textRules-D4NRinKY.d.ts +41 -0
- package/dist/{trueSightService-h_nIpoO_.esm.js → trueSightService-JP7_wQle.esm.js} +4 -4
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-CfGxl1G0.d.ts → types-BEVHQbbC.d.ts} +1 -1
- package/dist/{types-XwxtmhWC.d.ts → types-BPm1JSu7.d.ts} +1 -1
- package/dist/{types-C397LhmN.d.ts → types-BgRHw-dR.d.ts} +1 -1
- package/dist/{types-DPc-3Uo6.d.ts → types-CRaFu6wS.d.ts} +3 -1
- package/dist/types-CTaL0XJz.d.ts +80 -0
- package/dist/{types-bn0ZpYF1.d.ts → types-Cd0J0F9D.d.ts} +1 -1
- package/dist/{types-CAawq94W.d.ts → types-Csh8vzPo.d.ts} +1 -1
- package/dist/{types-B2FK_wYb.d.ts → types-CuMJ2M7D.d.ts} +2 -41
- package/dist/types-J6g6iKe_.d.ts +6 -0
- package/dist/video-selfie.d.ts +1 -1
- package/dist/video-selfie.esm.js +7 -7
- package/dist/{videoSelfieCameraWarmer-DqQPTyle.esm.js → videoSelfieCameraWarmer-gdlCA1VK.esm.js} +6 -6
- package/dist/{videoSelfieStepDetector-C8uL2RCz.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +2 -2
- package/dist/{warmup-DPfXWeBq.esm.js → warmup-BUnab2eW.esm.js} +24 -17
- package/dist/wasm.esm.js +3 -3
- package/dist/{wasmDsFlagSync-Ck2Lt6OY.esm.js → wasmDsFlagSync-DhJXZ9el.esm.js} +1 -1
- package/dist/{wasmWebClient-DClKyqNR.esm.js → wasmWebClient-CowdFxEv.esm.js} +12 -9
- package/dist/watchlist-for-business.esm.js +2 -2
- package/dist/watchlist.esm.js +2 -2
- package/dist/{watchlistForBusinessManager-CVay6-9A.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +2 -2
- package/dist/{watchlistForBusinessStateMachine-DA6K5na4.esm.js → watchlistForBusinessStateMachine-DdaPl2PS.esm.js} +1 -1
- package/dist/{watchlistManager-B8gQ_rw3.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
- package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
- package/dist/workflow.d.ts +1 -1
- package/dist/workflow.esm.js +40 -40
- package/package.json +6 -1
- package/dist/types-BZ_Hjz-X.d.ts +0 -6
package/dist/stats.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
1
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-CatA2dea.esm.js";
|
|
2
2
|
export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/shared/types.d.ts
|
|
2
|
+
/** A single form field definition for dynamic rendering. */
|
|
3
|
+
type FieldDef = {
|
|
4
|
+
name: string;
|
|
5
|
+
type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
|
|
6
|
+
label: string;
|
|
7
|
+
displayLabel?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
placeholderParams?: Record<string, string>;
|
|
10
|
+
required: boolean;
|
|
11
|
+
optional?: boolean;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
options?: {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
}[];
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
section?: string;
|
|
19
|
+
disableCountrySelector?: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** An address suggestion returned by the address autocomplete API. */
|
|
22
|
+
type AddressSuggestion = {
|
|
23
|
+
id: string | number;
|
|
24
|
+
label: string;
|
|
25
|
+
street?: string;
|
|
26
|
+
city?: string;
|
|
27
|
+
stateCode?: string;
|
|
28
|
+
postalCode?: string;
|
|
29
|
+
houseNumber?: string;
|
|
30
|
+
countryCode?: string;
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/shared/validators/textRules.d.ts
|
|
34
|
+
/**
|
|
35
|
+
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
36
|
+
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
37
|
+
* own rule.
|
|
38
|
+
*/
|
|
39
|
+
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
40
|
+
//#endregion
|
|
41
|
+
export { AddressSuggestion as n, FieldDef as r, CharacterClass as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-
|
|
1
|
+
import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, w as resolveWasmConfig } from "./wasmWebClient-CowdFxEv.esm.js";
|
|
2
2
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
3
|
-
import { C as subscribeEvent, n as eventModuleNames } from "./events-
|
|
4
|
-
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-
|
|
5
|
-
import { t as SDK_VERSION } from "./sdkVersion-
|
|
3
|
+
import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
|
|
4
|
+
import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
5
|
+
import { t as SDK_VERSION } from "./sdkVersion-WYkWwTmz.esm.js";
|
|
6
6
|
import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
|
|
7
7
|
/** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
|
|
8
8
|
const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
|
|
2
2
|
import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
-
import { n as Flow, s as SelfieConcealmentOption } from "./types-
|
|
2
|
+
import { n as Flow, s as SelfieConcealmentOption } from "./types-CRaFu6wS.js";
|
|
3
3
|
import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
4
4
|
//#region src/internal/faceCapture/types.d.ts
|
|
5
5
|
type CameraResolution = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
|
|
2
|
-
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-
|
|
2
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CRaFu6wS.js";
|
|
3
3
|
import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
|
|
4
4
|
import { t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
5
5
|
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { l as RiskAddon } from "./types-
|
|
1
|
+
import { l as RiskAddon } from "./types-CuMJ2M7D.js";
|
|
2
2
|
import "./createFaceAvatar-lYX0VTYs.js";
|
|
3
3
|
import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
|
|
4
|
+
import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
|
|
4
5
|
//#region src/internal/avatar/concealment.d.ts
|
|
5
6
|
/**
|
|
6
7
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -126,6 +127,7 @@ type FlowModuleConfig = {
|
|
|
126
127
|
checkUniqueBeneficialOwner: boolean;
|
|
127
128
|
uniqueBeneficialOwnerSource: 'userInput';
|
|
128
129
|
};
|
|
130
|
+
EKYB_CHECKS: KybChecksConfig;
|
|
129
131
|
EXTERNAL_VERIFICATION: {
|
|
130
132
|
source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
|
|
131
133
|
checkName: boolean;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
|
|
2
|
+
//#region src/modules/kyb-checks/types.d.ts
|
|
3
|
+
/** KYB checks a step can run. */
|
|
4
|
+
type KybCheckModuleKey = 'identity' | 'address' | 'statusEntityType' | 'personAssociation' | 'webPresence' | 'websiteAnalysis' | 'industryInfo' | 'financialIntelligence' | 'groupStructure';
|
|
5
|
+
/**
|
|
6
|
+
* A user-facing text: translate `key`, show `text` when it has no translation.
|
|
7
|
+
* A param that is itself a `KybText` is translated before it's inserted.
|
|
8
|
+
*/
|
|
9
|
+
type KybText = {
|
|
10
|
+
key: string;
|
|
11
|
+
text: string;
|
|
12
|
+
params?: Record<string, string | KybText>;
|
|
13
|
+
};
|
|
14
|
+
/** A string, or the entries of a list field. */
|
|
15
|
+
type KybFieldValue = string | string[];
|
|
16
|
+
type KybUnsupportedModule = {
|
|
17
|
+
module: KybCheckModuleKey;
|
|
18
|
+
message: KybText;
|
|
19
|
+
};
|
|
20
|
+
/** Passed to `onFinish`. */
|
|
21
|
+
type KybChecksResult = {
|
|
22
|
+
referenceId?: string;
|
|
23
|
+
};
|
|
24
|
+
/** Module configuration from the flow or workflow node. The backend applies `modules` when it builds the form. */
|
|
25
|
+
type KybChecksConfig = {
|
|
26
|
+
modules?: KybCheckModuleKey[];
|
|
27
|
+
};
|
|
28
|
+
type KybFieldValues = Record<string, KybFieldValue>;
|
|
29
|
+
type KybFieldErrors = Record<string, KybText>;
|
|
30
|
+
type KybChecksErrorKind = 'load' | 'submit';
|
|
31
|
+
/** A field check, run in order; the first failing rule's message is shown. */
|
|
32
|
+
type KybValidationRule = {
|
|
33
|
+
type: 'required';
|
|
34
|
+
} | {
|
|
35
|
+
type: 'allowedCharacters';
|
|
36
|
+
classes: CharacterClass[];
|
|
37
|
+
extra: string;
|
|
38
|
+
/** `letter` means A-Z in either case. */
|
|
39
|
+
ascii: boolean;
|
|
40
|
+
message: KybText;
|
|
41
|
+
} | {
|
|
42
|
+
type: 'maxLength';
|
|
43
|
+
max: number;
|
|
44
|
+
message: KybText;
|
|
45
|
+
};
|
|
46
|
+
/** A check across fields, shown on the first field it names. */
|
|
47
|
+
type KybFormLevelRule = {
|
|
48
|
+
type: 'oneOfRequired';
|
|
49
|
+
fields: string[];
|
|
50
|
+
message: KybText;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* One field to render, like eKYB's `EkybFieldDef`. `label` and option labels
|
|
54
|
+
* are translation keys; each `labelText` is the served English fallback.
|
|
55
|
+
*/
|
|
56
|
+
type KybFieldDef = Omit<FieldDef, 'type' | 'options'> & {
|
|
57
|
+
type: 'text' | 'dropdown' | 'phone' | 'list';
|
|
58
|
+
labelText: string;
|
|
59
|
+
options?: {
|
|
60
|
+
value: string;
|
|
61
|
+
label: string;
|
|
62
|
+
labelText?: string;
|
|
63
|
+
}[];
|
|
64
|
+
/** For a text field: the input type the keyboard hint asks for. */
|
|
65
|
+
inputType?: 'url' | 'email';
|
|
66
|
+
/** For a phone field: the country calling code to start with. */
|
|
67
|
+
phoneCountry?: string;
|
|
68
|
+
/** Changing the field fetches the form again with this query parameter. */
|
|
69
|
+
refetchOnChange?: string;
|
|
70
|
+
/** The value the backend served, used until the user changes it. */
|
|
71
|
+
initialValue: KybFieldValue;
|
|
72
|
+
validation: KybValidationRule[];
|
|
73
|
+
};
|
|
74
|
+
type KybChecksSection = {
|
|
75
|
+
id: string;
|
|
76
|
+
title?: KybText;
|
|
77
|
+
fields: KybFieldDef[];
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
80
|
+
export { KybChecksSection as a, KybFieldValue as c, KybText as d, KybUnsupportedModule as f, KybChecksResult as i, KybFieldValues as l, KybChecksConfig as n, KybFieldDef as o, KybValidationRule as p, KybChecksErrorKind as r, KybFieldErrors as s, KybCheckModuleKey as t, KybFormLevelRule as u };
|
|
@@ -1,43 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/** A single form field definition for dynamic rendering. */
|
|
3
|
-
type FieldDef = {
|
|
4
|
-
name: string;
|
|
5
|
-
type: 'text' | 'tel' | 'date' | 'dropdown' | 'phone' | 'radio';
|
|
6
|
-
label: string;
|
|
7
|
-
displayLabel?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
placeholderParams?: Record<string, string>;
|
|
10
|
-
required: boolean;
|
|
11
|
-
optional?: boolean;
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
options?: {
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|
|
17
|
-
readonly?: boolean;
|
|
18
|
-
section?: string;
|
|
19
|
-
disableCountrySelector?: boolean;
|
|
20
|
-
};
|
|
21
|
-
/** An address suggestion returned by the address autocomplete API. */
|
|
22
|
-
type AddressSuggestion = {
|
|
23
|
-
id: string | number;
|
|
24
|
-
label: string;
|
|
25
|
-
street?: string;
|
|
26
|
-
city?: string;
|
|
27
|
-
stateCode?: string;
|
|
28
|
-
postalCode?: string;
|
|
29
|
-
houseNumber?: string;
|
|
30
|
-
countryCode?: string;
|
|
31
|
-
};
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region src/shared/validators/textRules.d.ts
|
|
34
|
-
/**
|
|
35
|
-
* The general-purpose form-definition rules from `vocabulary.json`, as pure
|
|
36
|
-
* checks on a non-empty value. Callers skip empty values: requiredness is its
|
|
37
|
-
* own rule.
|
|
38
|
-
*/
|
|
39
|
-
type CharacterClass = 'letter' | 'digit' | 'space';
|
|
40
|
-
//#endregion
|
|
1
|
+
import { r as FieldDef, t as CharacterClass } from "./textRules-D4NRinKY.js";
|
|
41
2
|
//#region src/modules/ekyc/types.d.ts
|
|
42
3
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
|
43
4
|
type EkycVerificationFields = {
|
|
@@ -246,4 +207,4 @@ type EkycFieldDef = FieldDef & {
|
|
|
246
207
|
type EkycInputFormat = 'uppercase' | 'stripSeparators';
|
|
247
208
|
type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
|
|
248
209
|
//#endregion
|
|
249
|
-
export { EkycFormValues as a, EkycValidationErrors as c,
|
|
210
|
+
export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-BEVHQbbC.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./Actor-DpTj5PFb.js";
|
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
7
7
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
8
|
-
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-
|
|
8
|
+
import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-Dv3Mgws-.js";
|
|
9
9
|
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
10
|
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
11
|
type ITimerCapability = {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as ensureWasmPipelines } from "./setup-C86PfxZS.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
3
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
5
5
|
import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
|
|
6
|
-
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-Cb0iHJVG.esm.js";
|
|
7
7
|
import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
9
9
|
import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
|
|
10
|
-
import { t as carryAttempts } from "./attemptCarry-
|
|
10
|
+
import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
|
|
11
11
|
import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
|
|
12
|
-
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
12
|
+
import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-gdlCA1VK.esm.js";
|
|
13
13
|
import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
|
|
14
14
|
import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
|
|
15
|
-
import { t as MultipartRecordingService } from "./multipartRecordingService-
|
|
15
|
+
import { t as MultipartRecordingService } from "./multipartRecordingService-BTqkHGG9.esm.js";
|
|
16
16
|
import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
|
|
17
17
|
//#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
|
|
18
18
|
var wave_encoder_default = () => {
|
package/dist/{videoSelfieCameraWarmer-DqQPTyle.esm.js → videoSelfieCameraWarmer-gdlCA1VK.esm.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
3
|
-
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-
|
|
3
|
+
import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-Cb0iHJVG.esm.js";
|
|
4
4
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
|
|
5
|
-
import { t as checkPermission } from "./permissionServices-
|
|
6
|
-
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-
|
|
5
|
+
import { t as checkPermission } from "./permissionServices-RawRSsLZ.esm.js";
|
|
6
|
+
import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-YEIZbGDi.esm.js";
|
|
7
7
|
import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
|
-
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-
|
|
11
|
-
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-
|
|
10
|
+
import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-f3lQlFEy.esm.js";
|
|
11
|
+
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CnAGmc1o.esm.js";
|
|
12
12
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
|
|
13
13
|
//#region src/modules/video-selfie/videoSelfieCompareService.ts
|
|
14
14
|
async function postVideoSelfieCompare(endpoint, base64Image) {
|
package/dist/{videoSelfieStepDetector-C8uL2RCz.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
|
|
2
2
|
import "./IWasmUtilCapability-Cqiaxydi.js";
|
|
3
|
-
import { n as DetectionStatus } from "./types-
|
|
3
|
+
import { n as DetectionStatus } from "./types-BEVHQbbC.js";
|
|
4
4
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
5
5
|
import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
|
|
6
6
|
//#region src/modules/video-selfie/types.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
|
|
2
|
-
import { A as buildModelVariantSources, C as isDefaultCdnWasmConfig, D as WASM_PIPELINE_MODELS, M as resolveWasmSource, N as reportWasmIntegritySummary, T as WASM_MODEL_FILES, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, g as emitWasmDiagnostic, h as acquireWasmStorageFallback, j as missingWasmModelError, k as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, v as SemaphoreProvider, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-
|
|
2
|
+
import { A as buildModelVariantSources, C as isDefaultCdnWasmConfig, D as WASM_PIPELINE_MODELS, M as resolveWasmSource, N as reportWasmIntegritySummary, T as WASM_MODEL_FILES, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, g as emitWasmDiagnostic, h as acquireWasmStorageFallback, j as missingWasmModelError, k as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, v as SemaphoreProvider, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-CowdFxEv.esm.js";
|
|
3
3
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
4
4
|
import { t as bindWasmMetadataV2Applier } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
|
|
5
5
|
//#region ../infra/src/wasm/wasmEnumMaps.ts
|
|
@@ -637,25 +637,32 @@ var WasmRuntime = class WasmRuntime {
|
|
|
637
637
|
let cleanupFailure = null;
|
|
638
638
|
try {
|
|
639
639
|
if (pipelines === null) throw new Error(message);
|
|
640
|
-
|
|
640
|
+
const downloads = /* @__PURE__ */ new Map();
|
|
641
|
+
const loadModel = (path) => {
|
|
642
|
+
const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
|
|
643
|
+
const loaded = this.loadedModels.get(resolvedSource);
|
|
644
|
+
if (loaded) return Promise.resolve(loaded);
|
|
645
|
+
let download = downloads.get(resolvedSource);
|
|
646
|
+
if (!download) {
|
|
647
|
+
download = resolveWasmSource(resolvedSource, {
|
|
648
|
+
kind: "model",
|
|
649
|
+
file: isWasmModelEntry(path) ? path.file : void 0
|
|
650
|
+
}).then((model) => {
|
|
651
|
+
this.loadedModels.set(resolvedSource, model);
|
|
652
|
+
return model;
|
|
653
|
+
});
|
|
654
|
+
downloads.set(resolvedSource, download);
|
|
655
|
+
}
|
|
656
|
+
return download;
|
|
657
|
+
};
|
|
658
|
+
const pipelineModels = await Promise.all(Array.from(pipelines, async ([type, modelsPaths]) => {
|
|
659
|
+
return [type, await Promise.all(modelsPaths.map(loadModel))];
|
|
660
|
+
}));
|
|
661
|
+
for (const [type, pipelineBuffers] of pipelineModels) {
|
|
641
662
|
const wasmType = this.pipelineTypeToWasmEnum(type);
|
|
642
|
-
const pipelineBuffers = [];
|
|
643
663
|
const sizes = new (this.requireWasmModule(message)).VectorInt();
|
|
644
664
|
sizeVectors.push(sizes);
|
|
645
|
-
for (const
|
|
646
|
-
const file = isWasmModelEntry(path) ? path.file : void 0;
|
|
647
|
-
const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
|
|
648
|
-
let model = this.loadedModels.get(resolvedSource);
|
|
649
|
-
if (!model) {
|
|
650
|
-
model = await resolveWasmSource(resolvedSource, {
|
|
651
|
-
kind: "model",
|
|
652
|
-
file
|
|
653
|
-
});
|
|
654
|
-
this.loadedModels.set(resolvedSource, model);
|
|
655
|
-
}
|
|
656
|
-
sizes.push_back(model.byteLength);
|
|
657
|
-
pipelineBuffers.push(model);
|
|
658
|
-
}
|
|
665
|
+
for (const model of pipelineBuffers) sizes.push_back(model.byteLength);
|
|
659
666
|
buffSizes.set(wasmType, sizes);
|
|
660
667
|
modelData.set(wasmType, pipelineBuffers);
|
|
661
668
|
}
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-
|
|
2
|
-
import { s as warmupWasm } from "./warmup-
|
|
3
|
-
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-
|
|
1
|
+
import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-CowdFxEv.esm.js";
|
|
2
|
+
import { s as warmupWasm } from "./warmup-BUnab2eW.esm.js";
|
|
3
|
+
import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-C86PfxZS.esm.js";
|
|
4
4
|
//#region src/defineWasm.ts
|
|
5
5
|
function requiredModels(pipelines) {
|
|
6
6
|
const models = /* @__PURE__ */ new Set();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as utilityWasmApi } from "./WasmUtilProvider-
|
|
1
|
+
import { i as utilityWasmApi } from "./WasmUtilProvider-BP6-08Yn.esm.js";
|
|
2
2
|
//#region ../infra/src/wasm/wasmDsFlagSync.ts
|
|
3
3
|
/**
|
|
4
4
|
* Sets the Deepsight (ds) flag that the WASM utility API receives on every
|
|
@@ -825,11 +825,8 @@ async function resolveGlue(loader, glueCodePath, slot) {
|
|
|
825
825
|
if (!glueCodePath) throw new Error("WASM glue code is required");
|
|
826
826
|
return await importGlueAt(glueCodePath, slot);
|
|
827
827
|
}
|
|
828
|
-
async function instantiate(factory,
|
|
829
|
-
window.wasmArrayBuffer =
|
|
830
|
-
kind: "binary",
|
|
831
|
-
slot
|
|
832
|
-
});
|
|
828
|
+
async function instantiate(factory, wasmBinary, showLogs = false) {
|
|
829
|
+
window.wasmArrayBuffer = wasmBinary;
|
|
833
830
|
return await factory({
|
|
834
831
|
wasmBinary: window.wasmArrayBuffer,
|
|
835
832
|
print: (text) => {
|
|
@@ -872,10 +869,13 @@ async function loadWasmModule(config) {
|
|
|
872
869
|
const wantSimd = config.useSimd !== false;
|
|
873
870
|
const simdBinary = config.wasmSimdPath ?? config.wasmPath;
|
|
874
871
|
if (wantSimd && simdBinary !== config.wasmPath) try {
|
|
875
|
-
const simdFactory = await resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js")
|
|
872
|
+
const [simdFactory, simdBytes] = await Promise.all([resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js"), resolveWasmSource(simdBinary, {
|
|
873
|
+
kind: "binary",
|
|
874
|
+
slot: "webLibSimd.wasm"
|
|
875
|
+
})]);
|
|
876
876
|
window.Module = simdFactory;
|
|
877
877
|
const result = {
|
|
878
|
-
wasmModule: await instantiate(simdFactory,
|
|
878
|
+
wasmModule: await instantiate(simdFactory, simdBytes, config.showLogs),
|
|
879
879
|
simdUsed: true
|
|
880
880
|
};
|
|
881
881
|
loadedResult = result;
|
|
@@ -896,10 +896,13 @@ async function loadWasmModule(config) {
|
|
|
896
896
|
message: `simd load failed falling back ${describeLoadError(simdError)}`
|
|
897
897
|
});
|
|
898
898
|
}
|
|
899
|
-
const nonSimdFactory = await resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js")
|
|
899
|
+
const [nonSimdFactory, nonSimdBytes] = await Promise.all([resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js"), resolveWasmSource(config.wasmPath, {
|
|
900
|
+
kind: "binary",
|
|
901
|
+
slot: "webLib.wasm"
|
|
902
|
+
})]);
|
|
900
903
|
window.Module = nonSimdFactory;
|
|
901
904
|
const result = {
|
|
902
|
-
wasmModule: await instantiate(nonSimdFactory,
|
|
905
|
+
wasmModule: await instantiate(nonSimdFactory, nonSimdBytes, config.showLogs),
|
|
903
906
|
simdUsed: false
|
|
904
907
|
};
|
|
905
908
|
loadedResult = result;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-
|
|
2
|
-
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-
|
|
1
|
+
import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-DdaPl2PS.esm.js";
|
|
2
|
+
import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-DqUpAEj_.esm.js";
|
|
3
3
|
export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
|
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as watchlistMachine } from "./watchlistStateMachine-
|
|
2
|
-
import { t as createWatchlistManager } from "./watchlistManager-
|
|
1
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-ofHW_lPk.esm.js";
|
|
2
|
+
import { t as createWatchlistManager } from "./watchlistManager-CdpXzT4B.esm.js";
|
|
3
3
|
export { createWatchlistManager, watchlistMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.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 { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-
|
|
4
|
+
import { n as watchlistForBusinessMachine, t as getMaxDateOfIncorporation } from "./watchlistForBusinessStateMachine-DdaPl2PS.esm.js";
|
|
5
5
|
//#region src/modules/watchlist-for-business/watchlistForBusinessActor.ts
|
|
6
6
|
function createWatchlistForBusinessActor(options = {}) {
|
|
7
7
|
return createActor(watchlistForBusinessMachine, { input: { config: options.config ?? {} } }).start();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
|
-
import { t as api, u as endpoints } from "./api-
|
|
2
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
3
3
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
5
5
|
import { r as validateCNPJ, t as COUNTRIES_WITH_CNPJ_VALIDATION } from "./cnpj-Co1ottYN.esm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.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 watchlistMachine } from "./watchlistStateMachine-
|
|
4
|
+
import { t as watchlistMachine } from "./watchlistStateMachine-ofHW_lPk.esm.js";
|
|
5
5
|
//#region src/modules/watchlist/watchlistActor.ts
|
|
6
6
|
function createWatchlistActor() {
|
|
7
7
|
return createActor(watchlistMachine).start();
|
package/dist/{watchlistStateMachine-CSi_ZhtT.esm.js → watchlistStateMachine-ofHW_lPk.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api, u as endpoints } from "./api-
|
|
1
|
+
import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
|
|
2
2
|
import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
|
|
4
4
|
//#region src/modules/watchlist/watchlistServices.ts
|
package/dist/workflow.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorR
|
|
|
2
2
|
import { t as CallbackActorLogic } from "./callback-645_omgz.js";
|
|
3
3
|
import { t as Manager } from "./Manager-C9T5amUN.js";
|
|
4
4
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
5
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
5
|
+
import { o as FlowEventSubscribable } from "./index-DC0P2Vzw.js";
|
|
6
6
|
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BQA7lRDV.js";
|
|
7
7
|
//#region src/modules/workflow/types.d.ts
|
|
8
8
|
/** Possible node types returned by the workflow server. */
|