@incodetech/core 0.0.0-dev-20260422-a027d78 → 0.0.0-dev-20260422-9672ed5
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/{OpenViduRecordingProvider-C10cvIv6.esm.js → OpenViduRecordingProvider-TbcsfOCu.esm.js} +1 -1
- package/dist/{WasmUtilProvider-DLgdRyEg.esm.js → WasmUtilProvider-BwRC5keX.esm.js} +1 -1
- package/dist/{addressSearch-BbwH6Lf7.esm.js → addressSearch-Cs4y7OGF.esm.js} +4 -4
- package/dist/{ae-signature-BsCJAnDL.esm.js → ae-signature-CEiF03Dz.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +5 -5
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-ilKa4wC7.esm.js → antifraudStateMachine-DLKrV0J6.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-BHwV3eyn.d.ts → authenticationManager-BrjOuXTA.d.ts} +2 -2
- package/dist/{authenticationManager-CSLd6bOj.esm.js → authenticationManager-D64D2deE.esm.js} +6 -6
- package/dist/{authenticationStateMachine-DXODPzBc.esm.js → authenticationStateMachine-CureH7Ki.esm.js} +6 -6
- package/dist/{backCameraStream-BtLt5ZMq.esm.js → backCameraStream-BEyWAklK.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-VmgqnPgU.esm.js → consentStateMachine-DKjhzrg2.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-CxouBL3m.esm.js → curpValidationStateMachine-DC-f6gLD.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +3 -3
- package/dist/custom-watchlist.d.ts +66 -0
- package/dist/custom-watchlist.esm.js +85 -0
- package/dist/{deepsightLoader-TuwwW8Pr.esm.js → deepsightLoader-6U4vWDdn.esm.js} +10 -10
- package/dist/{deepsightService-BaBzj_iP.d.ts → deepsightService-69fWIZyA.d.ts} +2 -2
- package/dist/{deepsightService-C966kOVA.esm.js → deepsightService-DwQsyY5W.esm.js} +5 -5
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +76 -76
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +47 -47
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-nDAGCe88.esm.js → documentCaptureStateMachine-CdMjWoaL.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-hPeFDVI2.esm.js → ekybStateMachine-DyqxW4QC.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +6 -6
- package/dist/{ekycStateMachine-BSm6DESz.esm.js → ekycStateMachine-CCA3-VgA.esm.js} +4 -4
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +4 -4
- package/dist/{electronicSignatureManager-eKhvmNl5.esm.js → electronicSignatureManager-BzCvY11w.esm.js} +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-qI_wqT4C.d.ts → emailManager-BjaZRPOE.d.ts} +2 -2
- package/dist/{emailManager-UqlpfLu-.esm.js → emailManager-CrgNddfO.esm.js} +3 -3
- package/dist/{emailStateMachine-BiDeKm0B.esm.js → emailStateMachine-CU7vLH9D.esm.js} +4 -4
- package/dist/{events-_dFJXIHR.esm.js → events-CV5uidDd.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-9jP_53qG.esm.js → faceCaptureManagerFactory-CMdOPsTP.esm.js} +2 -2
- package/dist/{faceCaptureManagerFactory-CsF2i81A.d.ts → faceCaptureManagerFactory-GTqrsqKv.d.ts} +8 -8
- package/dist/{faceCaptureSetup-BsXUlz8p.esm.js → faceCaptureSetup-C65JUwp_.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-Bhjfheg2.esm.js → faceMatchStateMachine-Di16HdSh.esm.js} +3 -3
- package/dist/flow.d.ts +8 -8
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-DLIP99tr.esm.js → flowCompletionService-CPVnNnJ9.esm.js} +2 -2
- package/dist/{flowServices-CwrZcQI2.esm.js → flowServices-vi1byokq.esm.js} +3 -3
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-CqMNzkrB.esm.js → geolocationStateMachine-DsN-Fw45.esm.js} +4 -4
- package/dist/{getDeviceClass-ByKIa-2E.esm.js → getDeviceClass-Cs-jWK1p.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-BvFCJeyw.esm.js → governmentValidationStateMachine-BZBLJrpr.esm.js} +4 -4
- package/dist/home.d.ts +14 -14
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-DJK5Onmh.esm.js → idCaptureManager-CLJJoV74.esm.js} +4 -4
- package/dist/{idCaptureManager-BK9249dL.d.ts → idCaptureManager-CvRf3c1m.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-DN_vbCuB.esm.js → idCaptureStateMachine-DJGWsVbh.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +42 -42
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/{index-BAMKRTSf.d.ts → index-C4L3Okdp.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-T6LfeDCk.esm.js → lib-DO0i6JDP.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +55 -55
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-C-IIJ8SX.esm.js → mandatoryConsentStateMachine-QSbgUA99.esm.js} +3 -3
- package/dist/openviduLazy-COOSpMUH.esm.js +3 -0
- package/dist/{openviduLazy-D06MyxiN.esm.js → openviduLazy-DXvuyuON.esm.js} +2 -2
- package/dist/{permissionServices-Y2PDGdE5.esm.js → permissionServices-7GX060Fo.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-B5_bo3cx.d.ts → phoneManager-B06CapY3.d.ts} +2 -2
- package/dist/{phoneManager-Bxc_-4Dr.esm.js → phoneManager-D9CsGQPS.esm.js} +3 -3
- package/dist/{phoneStateMachine-0gwBStCm.esm.js → phoneStateMachine-BDojEAdF.esm.js} +4 -4
- package/dist/{qe-signature-BboU3Wcl.esm.js → qe-signature-CLoM_jp6.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +5 -5
- package/dist/{recordingService-XpMolMxi.esm.js → recordingService-DX6MuFa9.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-vxFra6KF.esm.js → redirectToMobileStateMachine-DwN4kV4j.esm.js} +4 -4
- package/dist/{runChildModule-QrTGfn6L.esm.js → runChildModule-CTY5xbQe.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-BXCyE1Rs.d.ts → selfieManager-BKRNGlRn.d.ts} +2 -2
- package/dist/{selfieManager-1aK28sG1.esm.js → selfieManager-BnBJ47OE.esm.js} +6 -6
- package/dist/{selfieStateMachine-DSIrMOLQ.esm.js → selfieStateMachine-DbI8xrNK.esm.js} +3 -3
- package/dist/{session-4BhYmzdE.esm.js → session-B80VcUre.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-BXAs1PK0.esm.js → setup-ClMhlqda.esm.js} +5 -5
- package/dist/{setup-CvNq0dnW.d.ts → setup-pTsFPcze.d.ts} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-BQkKFNPe.esm.js → signatureStateMachine-C8qfgEjP.esm.js} +3 -3
- package/dist/{stats-DVL1TL6Q.esm.js → stats-UZA4FM8j.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-B_UqiV6s.d.ts → types-A5Ncg34e.d.ts} +1 -1
- package/dist/{types-BWYMM3Em.d.ts → types-DH6IUrUs.d.ts} +1 -1
- package/dist/{types-CfsXFnOc.d.ts → types-DoC698nG.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +7 -21
- package/dist/watchlistServices-CgFJcYl1.esm.js +12 -0
- package/dist/workflow.d.ts +86 -86
- package/dist/workflow.esm.js +44 -44
- package/package.json +7 -3
- package/dist/openviduLazy-B_nGnLzX.esm.js +0 -3
- /package/dist/{Actor-BS3rbtoo.d.ts → Actor-B15bmdr9.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-Dr9Bb1Zg.esm.js → BaseWasmProvider-CBJzNbhW.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-Bww9xk7g.esm.js → BrowserStorageProvider-BZEFyh0O.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-D4hR9uTM.esm.js → BrowserTimerProvider-N8UcbvU5.esm.js} +0 -0
- /package/dist/{ITimerCapability-C-3gFxPH.esm.js → ITimerCapability-DS0Vjetp.esm.js} +0 -0
- /package/dist/{IpifyProvider-QIevJQOm.esm.js → IpifyProvider-6IaiettD.esm.js} +0 -0
- /package/dist/{Manager-B8qNVwIm.d.ts → Manager-gbK55c4u.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-2eRGynHs.esm.js → MotionSensorProvider-BVO7P6PB.esm.js} +0 -0
- /package/dist/{StateMachine-CudHTJ_-.d.ts → StateMachine-CnfoQpTv.d.ts} +0 -0
- /package/dist/{api-Bq5aVL0-.esm.js → api-jWFd-4Qh.esm.js} +0 -0
- /package/dist/{browserSimulation-D5C2Zw4l.esm.js → browserSimulation-B_fiWprz.esm.js} +0 -0
- /package/dist/{camera-ZjE1I_AX.d.ts → camera-BORJdHZf.d.ts} +0 -0
- /package/dist/{camera-BToe85ME.esm.js → camera-YfPOKQXU.esm.js} +0 -0
- /package/dist/{chunk-DFZh8Bbf.esm.js → chunk-53AOVIGS.esm.js} +0 -0
- /package/dist/{displayErrors-B81yh8Sq.d.ts → displayErrors-DUu76JT9.d.ts} +0 -0
- /package/dist/{flowCompletionService-CNIs-z4L.d.ts → flowCompletionService-BHqAcsOI.d.ts} +0 -0
- /package/dist/{getBrowser-BnEXznKu.esm.js → getBrowser-Bcjdnapi.esm.js} +0 -0
- /package/dist/{platform-CwFB3DeY.esm.js → platform-uIVQUnJP.esm.js} +0 -0
- /package/dist/{types-Cd9eT9p-.d.ts → types-BEXctSKO.d.ts} +0 -0
- /package/dist/{warmup-DE8UbO36.d.ts → warmup-HP7iIGir.d.ts} +0 -0
- /package/dist/{xstate.esm-BR-OL9fa.esm.js → xstate.esm-DMwldSzU.esm.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { a as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BwRC5keX.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { a as createActor } from "./xstate.esm-DMwldSzU.esm.js";
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CMdOPsTP.esm.js";
|
|
5
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BZEFyh0O.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DbI8xrNK.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as fromPromise, n as assign } from "./xstate.esm-
|
|
2
|
-
import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
1
|
+
import { i as fromPromise, n as assign } from "./xstate.esm-DMwldSzU.esm.js";
|
|
2
|
+
import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-DX6MuFa9.esm.js";
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-C65JUwp_.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
6
6
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as getApi, t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, m as addEvent } from "./events-
|
|
3
|
-
import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-
|
|
4
|
-
import { t as isBrowserSimulation } from "./browserSimulation-
|
|
1
|
+
import { n as getApi, t as api } from "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import { _ as endpoints, m as addEvent } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-6IaiettD.esm.js";
|
|
4
|
+
import { t as isBrowserSimulation } from "./browserSimulation-B_fiWprz.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/session/sessionService.ts
|
|
7
7
|
var QrValidationError = class extends Error {
|
package/dist/session.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BHqAcsOI.js";
|
|
2
2
|
|
|
3
3
|
//#region src/internal/session/sessionService.d.ts
|
|
4
4
|
type CreateSessionOptions = {
|
package/dist/session.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-
|
|
4
|
-
import "./IpifyProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-B80VcUre.esm.js";
|
|
4
|
+
import "./IpifyProvider-6IaiettD.esm.js";
|
|
5
|
+
import "./browserSimulation-B_fiWprz.esm.js";
|
|
6
|
+
import { t as getFinishStatus } from "./flowCompletionService-CPVnNnJ9.esm.js";
|
|
7
7
|
|
|
8
8
|
export { QrValidationError, createSession, getFinishStatus, validateQrUuid };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as warmupWasm } from "./BaseWasmProvider-
|
|
2
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
3
|
-
import { a as resetApi, o as setClient, s as setToken } from "./api-
|
|
4
|
-
import { h as flushEventQueue } from "./events-
|
|
5
|
-
import { i as resetSessionInit, r as initializeSession } from "./session-
|
|
1
|
+
import { n as warmupWasm } from "./BaseWasmProvider-CBJzNbhW.esm.js";
|
|
2
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BwRC5keX.esm.js";
|
|
3
|
+
import { a as resetApi, o as setClient, s as setToken } from "./api-jWFd-4Qh.esm.js";
|
|
4
|
+
import { h as flushEventQueue } from "./events-CV5uidDd.esm.js";
|
|
5
|
+
import { i as resetSessionInit, r as initializeSession } from "./session-B80VcUre.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
package/dist/signature.d.ts
CHANGED
package/dist/signature.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
1
|
+
import "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DMwldSzU.esm.js";
|
|
4
|
+
import { t as signatureMachine } from "./signatureStateMachine-C8qfgEjP.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/signature/signatureActor.ts
|
|
7
7
|
function createSignatureActor(options) {
|
package/dist/{signatureStateMachine-BQkKFNPe.esm.js → signatureStateMachine-C8qfgEjP.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints, m as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import { _ as endpoints, m as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DMwldSzU.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/signature/signatureServices.ts
|
|
6
6
|
/**
|
package/dist/stats.esm.js
CHANGED
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-
|
|
2
|
-
import { n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-
|
|
1
|
+
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-HP7iIGir.js";
|
|
2
|
+
import { n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-pTsFPcze.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
5
5
|
/** The WASM version bundled and tested with this SDK release. */
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-
|
|
2
|
-
import { n as warmupWasm } from "./BaseWasmProvider-
|
|
3
|
-
import "./WasmUtilProvider-
|
|
4
|
-
import "./api-
|
|
5
|
-
import "./events-
|
|
6
|
-
import "./session-
|
|
7
|
-
import "./IpifyProvider-
|
|
8
|
-
import "./browserSimulation-
|
|
1
|
+
import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-ClMhlqda.esm.js";
|
|
2
|
+
import { n as warmupWasm } from "./BaseWasmProvider-CBJzNbhW.esm.js";
|
|
3
|
+
import "./WasmUtilProvider-BwRC5keX.esm.js";
|
|
4
|
+
import "./api-jWFd-4Qh.esm.js";
|
|
5
|
+
import "./events-CV5uidDd.esm.js";
|
|
6
|
+
import "./session-B80VcUre.esm.js";
|
|
7
|
+
import "./IpifyProvider-6IaiettD.esm.js";
|
|
8
|
+
import "./browserSimulation-B_fiWprz.esm.js";
|
|
9
9
|
|
|
10
10
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, initializeWasmUtil, resolveWasmConfig, setWasmConfig, warmupWasm };
|
package/dist/watchlist.d.ts
CHANGED
package/dist/watchlist.esm.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
1
|
+
import "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DMwldSzU.esm.js";
|
|
4
|
+
import { t as processWatchlist } from "./watchlistServices-CgFJcYl1.esm.js";
|
|
4
5
|
|
|
5
|
-
//#region src/modules/watchlist/watchlistServices.ts
|
|
6
|
-
async function processWatchlist(signal) {
|
|
7
|
-
const res = await api.post(endpoints.processWatchlist, {}, { signal });
|
|
8
|
-
if (!res.ok) throw new Error(`POST ${endpoints.processWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
9
|
-
return res.data;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
6
|
//#region src/modules/watchlist/watchlistStateMachine.ts
|
|
14
7
|
const watchlistMachine = setup({
|
|
15
8
|
types: {
|
|
@@ -17,13 +10,12 @@ const watchlistMachine = setup({
|
|
|
17
10
|
events: {}
|
|
18
11
|
},
|
|
19
12
|
actors: { processWatchlist: fromPromise(async ({ signal }) => {
|
|
20
|
-
|
|
13
|
+
await processWatchlist(signal);
|
|
21
14
|
}) },
|
|
22
15
|
actions: {
|
|
23
16
|
markSuccess: assign({ result: "success" }),
|
|
24
17
|
markSkipped: assign({ result: "skipped" })
|
|
25
|
-
}
|
|
26
|
-
guards: { apiSucceeded: ({ event }) => event.output.success }
|
|
18
|
+
}
|
|
27
19
|
}).createMachine({
|
|
28
20
|
id: "watchlist",
|
|
29
21
|
initial: "idle",
|
|
@@ -33,13 +25,7 @@ const watchlistMachine = setup({
|
|
|
33
25
|
processing: { invoke: {
|
|
34
26
|
id: "processWatchlist",
|
|
35
27
|
src: "processWatchlist",
|
|
36
|
-
onDone:
|
|
37
|
-
target: "success",
|
|
38
|
-
guard: "apiSucceeded"
|
|
39
|
-
}, {
|
|
40
|
-
target: "finished",
|
|
41
|
-
actions: "markSkipped"
|
|
42
|
-
}],
|
|
28
|
+
onDone: { target: "success" },
|
|
43
29
|
onError: {
|
|
44
30
|
target: "finished",
|
|
45
31
|
actions: "markSkipped"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t as api } from "./api-jWFd-4Qh.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-CV5uidDd.esm.js";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/watchlist/watchlistServices.ts
|
|
5
|
+
async function processWatchlist(signal) {
|
|
6
|
+
const res = await api.post(endpoints.processWatchlist, {}, { signal });
|
|
7
|
+
if (!res.ok) throw new Error(`POST ${endpoints.processWatchlist} failed: ${res.status} ${res.statusText}`);
|
|
8
|
+
return res.data;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { processWatchlist as t };
|