@incodetech/core 0.0.0-dev-20260706-82e1bca3 → 0.0.0-dev-20260706-d1ae387d
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/{3dAvatarProvider-BkvqkuDS.esm.js → 3dAvatarProvider-ChciZmjE.esm.js} +1 -1
- package/dist/{Face2DProvider-D1IoZOtw.esm.js → Face2DProvider-BeLlYBbB.esm.js} +1 -1
- package/dist/{FaceDetectionProvider-C3hk0vhL.d.ts → FaceDetectionProvider-B78455D4.d.ts} +2 -2
- package/dist/{IWasmUtilCapability-DyiEO2jA.d.ts → IWasmUtilCapability-d2XvzaCk.d.ts} +2 -2
- package/dist/{OpenViduRecordingProvider-1QSFdZVL.esm.js → OpenViduRecordingProvider-B_0GKkzc.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DXti432h.d.ts → StreamCanvasCapture-DS1TOoiH.d.ts} +2 -2
- package/dist/{ae-signature-ZN0GtLh7.esm.js → ae-signature-DlElqFrZ.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -4
- package/dist/ae-signature.esm.js +5 -5
- package/dist/antifraud.d.ts +4 -4
- package/dist/{antifraudManager-b2LJI3nr.d.ts → antifraudManager-DpIvbrZP.d.ts} +2 -2
- package/dist/authentication.d.ts +19 -19
- package/dist/authentication.esm.js +7 -7
- package/dist/{authenticationManager-CR6JGCPM.d.ts → authenticationManager-CdPbNS2H.d.ts} +3 -3
- package/dist/{authenticationManager-sPcCh1HP.esm.js → authenticationManager-Dtl1vcET.esm.js} +2 -2
- package/dist/{authenticationStateMachine-AihNFtXT.esm.js → authenticationStateMachine-D-hOlg8p.esm.js} +2 -2
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/camera.d.ts +1 -1
- package/dist/certificate-issuance.d.ts +31 -31
- package/dist/certificate-issuance.esm.js +3 -3
- package/dist/{certificateIssuanceStateMachine-BGtRVDgj.esm.js → certificateIssuanceStateMachine-C07m7qtP.esm.js} +1 -1
- package/dist/consent.d.ts +4 -4
- package/dist/{consentManager-C5ghsYWh.d.ts → consentManager-Dds8RQWF.d.ts} +52 -52
- package/dist/cpf-ocr.d.ts +4 -4
- package/dist/{cpfOcrManager-Cx2sr4VI.d.ts → cpfOcrManager-CzufsvW2.d.ts} +19 -19
- package/dist/{createFaceAvatar-DFvWGUts.d.ts → createFaceAvatar-B8pFpy6o.d.ts} +1 -1
- package/dist/{createFaceAvatar-CuWRhoKp.esm.js → createFaceAvatar-BOHDKQRq.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +2 -2
- package/dist/curp-validation.d.ts +10 -10
- package/dist/{curpValidationManager-GcNPOE9-.d.ts → curpValidationManager-Co6LZAHT.d.ts} +3 -3
- package/dist/custom-fields.d.ts +3 -3
- package/dist/custom-watchlist.d.ts +2 -2
- package/dist/document-capture.d.ts +178 -178
- package/dist/document-upload.d.ts +51 -51
- package/dist/dynamic-forms.d.ts +4 -192
- package/dist/dynamic-forms.esm.js +4 -157
- package/dist/dynamicFormsManager-BOefZbyF.esm.js +168 -0
- package/dist/dynamicFormsManager-CUYLOj9g.d.ts +239 -0
- package/dist/ekyb.d.ts +9 -9
- package/dist/ekyb.esm.js +8 -8
- package/dist/{ekybStateMachine-Dv67iprq.esm.js → ekybStateMachine-CjD1psxU.esm.js} +2 -2
- package/dist/ekyc.d.ts +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycStateMachine-Bytm3LyZ.esm.js → ekycStateMachine-DkLVTOyA.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +4 -4
- package/dist/electronic-signature.esm.js +4 -4
- package/dist/{electronicSignatureManager-DjnL48UC.esm.js → electronicSignatureManager-DjzUzqZj.esm.js} +39 -80
- package/dist/email.d.ts +5 -5
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-CH6GlUSk.esm.js → emailManager-B_XzEsXH.esm.js} +2 -2
- package/dist/{emailManager-t3yQLU9f.d.ts → emailManager-fHASH6uo.d.ts} +3 -3
- package/dist/{emailStateMachine-CajoaJk-.esm.js → emailStateMachine-fqJ42b19.esm.js} +1 -1
- package/dist/extensibility.d.ts +36 -35
- package/dist/extensibility.esm.js +37 -34
- package/dist/{externalFetch-D_eLLNOS.esm.js → externalFetch-CyhBfD-n.esm.js} +1 -1
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-zneUQO62.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js} +1 -1
- package/dist/{faceCaptureManagerFactory-BbfxSiGY.d.ts → faceCaptureManagerFactory-CGKbf7zt.d.ts} +13 -13
- package/dist/{faceCaptureSetup-CrIhuxN5.esm.js → faceCaptureSetup-CDUVU1nl.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -4
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-BDffIuJm.d.ts → fieldComparisonManager-DdLqDeB2.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -5
- package/dist/fiscal-qr.esm.js +1 -1
- package/dist/flow-events.d.ts +8 -8
- package/dist/flow.d.ts +14 -14
- package/dist/flow.esm.js +8 -8
- package/dist/{flowCompletionService-DwNoUhk5.esm.js → flowCompletionService-qEqh_g14.esm.js} +1 -1
- package/dist/{flowServices-BIg0Te2j.esm.js → flowServices-AVfei6-M.esm.js} +3 -3
- package/dist/geolocation.d.ts +4 -4
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-B3iKaTkZ.esm.js → geolocationManager-BP2Do9O-.esm.js} +1 -1
- package/dist/{geolocationManager-Ba5fKdE5.d.ts → geolocationManager-Cs50eRlC.d.ts} +2 -2
- package/dist/government-validation.d.ts +4 -4
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-CdU4oRYS.esm.js → governmentValidationStateMachine-CwoPPO8b.esm.js} +1 -1
- package/dist/home.d.ts +18 -18
- package/dist/http.esm.js +1 -1
- package/dist/id-ocr.d.ts +4 -4
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-verification.d.ts +28 -28
- package/dist/id-verification.esm.js +1 -1
- package/dist/id.d.ts +16 -16
- package/dist/id.esm.js +10 -10
- package/dist/{idCaptureManager-DEULKa4Q.d.ts → idCaptureManager-BVdvfJys.d.ts} +12 -12
- package/dist/{idCaptureManager-loWYQ7CC.esm.js → idCaptureManager-Dad0pSLA.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-BlZRUD0U.esm.js → idCaptureStateMachine-IfMfTdFf.esm.js} +6 -6
- package/dist/{idOcrManager-aZOEIls3.d.ts → idOcrManager-B6L5Zqc8.d.ts} +54 -54
- package/dist/{idOcrManager-D_RlFzxU.esm.js → idOcrManager-BkRDrpZu.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +4 -4
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-BeyKVX1g.esm.js → identityReuseManager-Bu62LToE.esm.js} +1 -1
- package/dist/{identityReuseManager-qmHJrZrU.d.ts → identityReuseManager-av0nA0Gt.d.ts} +36 -36
- package/dist/{index-Ui-vn538.d.ts → index-BfoHJoHP.d.ts} +15 -145
- package/dist/{index-Dnkvn5_X.d.ts → index-DtUlD-bz.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +10 -10
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-3Pzrnpdb.d.ts → mandatoryConsentManager-C7QorKTH.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-CNbs9cub.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js} +1 -1
- package/dist/{onDeviceFaceResults-BiFX_-W5.esm.js → onDeviceFaceResults-DVBggeq8.esm.js} +2 -2
- package/dist/{openviduLazy-CR7uayMc.esm.js → openviduLazy-BTOIauGP.esm.js} +1 -1
- package/dist/openviduLazy-Dov8oKfL.esm.js +3 -0
- package/dist/personhood.d.ts +16 -16
- package/dist/personhood.esm.js +1 -1
- package/dist/phone.d.ts +5 -5
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DSyl8tGa.d.ts → phoneManager-BOTcjXgs.d.ts} +3 -3
- package/dist/{phoneManager-CiiQOE21.esm.js → phoneManager-BWlxqbyD.esm.js} +2 -2
- package/dist/{phoneStateMachine-sn2Nt44W.esm.js → phoneStateMachine-B_V9nODs.esm.js} +1 -1
- package/dist/{qe-signature-QPte2SBH.esm.js → qe-signature-BhFnI9pT.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -4
- package/dist/qe-signature.esm.js +5 -5
- package/dist/{recordingService-CkE5o82_.esm.js → recordingService-m_1xCthr.esm.js} +3 -3
- package/dist/redirect-to-mobile.d.ts +4 -4
- package/dist/redirect-to-mobile.esm.js +3 -3
- package/dist/{redirectToMobileManager-Be0DwbuH.esm.js → redirectToMobileManager-BaAo9rgi.esm.js} +1 -1
- package/dist/{redirectToMobileManager-Bjs3pRzS.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-DaZBdvQA.esm.js → redirectToMobileStateMachine-DoAnf2ql.esm.js} +1 -1
- package/dist/selfie.d.ts +19 -19
- package/dist/selfie.esm.js +8 -8
- package/dist/{selfieManager-Bp7WFLAV.esm.js → selfieManager-D_ZFERsE.esm.js} +2 -2
- package/dist/{selfieManager-LHJ4vEQd.d.ts → selfieManager-R0Jw5sjb.d.ts} +3 -3
- package/dist/{selfieStateMachine-D5pSBFyn.esm.js → selfieStateMachine-CIgeeiN9.esm.js} +2 -2
- package/dist/{session-D4m9r-7U.esm.js → session-9jIfKFCc.esm.js} +1 -1
- package/dist/session.d.ts +7 -7
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CiMM_8LA.esm.js → sessionInitializer-C8vfx5CX.esm.js} +2 -2
- package/dist/{setup-ChZ--9XV.d.ts → setup-CpRnXxn8.d.ts} +2 -2
- package/dist/{setup-CF8nlE7-.esm.js → setup-xymTt8DA.esm.js} +2 -2
- package/dist/signature.d.ts +3 -3
- package/dist/signature.esm.js +1 -1
- package/dist/{tri-YFsu_BBU.esm.js → tri-BG1iJsr4.esm.js} +1 -1
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-B4UfsMVy.esm.js → tri.esm-DUC01NgO.esm.js} +1 -1
- package/dist/tri.esm.js +1 -1
- package/dist/trust-graph.d.ts +4 -4
- package/dist/{types-DW5cPsw1.d.ts → types-BklZ_Wne.d.ts} +1 -1
- package/dist/{types-bWGcbd3_.d.ts → types-BsYXnC5s.d.ts} +2 -2
- package/dist/{types-m3_HUzgU.d.ts → types-CxW2e0Ar.d.ts} +3 -3
- package/dist/{types-H9ompebR.d.ts → types-DgGlgyZT.d.ts} +1 -1
- package/dist/video-selfie.d.ts +14 -14
- package/dist/video-selfie.esm.js +6 -6
- package/dist/wasm.d.ts +3 -3
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist-for-business.d.ts +2 -2
- package/dist/watchlist-for-business.esm.js +1 -1
- package/dist/watchlist.d.ts +2 -2
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +113 -113
- package/dist/workflow.esm.js +39 -39
- package/package.json +1 -1
- package/dist/openviduLazy-Fbht0txL.esm.js +0 -3
- /package/dist/{Actor-BYmFPUr7.d.ts → Actor-CGEelYtQ.d.ts} +0 -0
- /package/dist/{IVisibilityObserverCapability-DaXAeadS.d.ts → IVisibilityObserverCapability-BbWjgpiF.d.ts} +0 -0
- /package/dist/{Manager-Cmz78C-6.d.ts → Manager-CJ3G2zqi.d.ts} +0 -0
- /package/dist/{PrivacyLensProvider-DSYMiRJn.esm.js → PrivacyLensProvider-hDzaDzZ6.esm.js} +0 -0
- /package/dist/{StateMachine-CNPJD4wG.d.ts → StateMachine-C_AY4cs7.d.ts} +0 -0
- /package/dist/{addressSearch-C6cEsEqK.esm.js → addressSearch-DJyNTg5S.esm.js} +0 -0
- /package/dist/{apiError-C7SFQTB2.esm.js → apiError-DNS2OCEX.esm.js} +0 -0
- /package/dist/{browser-DlFgHpoC-ClIpZI26.esm.js → browser-DlFgHpoC-qLKs75Qp.esm.js} +0 -0
- /package/dist/{camera-DLCbUdzy.d.ts → camera-CNVUo-bC.d.ts} +0 -0
- /package/dist/{canvas-lNFq1bim.d.ts → canvas-CJUmoXSD.d.ts} +0 -0
- /package/dist/{deepsightLoader-oH-UOgvy.esm.js → deepsightLoader-DHSVD776.esm.js} +0 -0
- /package/dist/{deepsightService-DhJ1iwXr.d.ts → deepsightService-CMB9XjES.d.ts} +0 -0
- /package/dist/{faceMatchStateMachine-BOi4dYbB.esm.js → faceMatchStateMachine-DUeUjEPx.esm.js} +0 -0
- /package/dist/{fieldComparisonManager-Bf42dczM.esm.js → fieldComparisonManager-B9W0a9A5.esm.js} +0 -0
- /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-BIqSTZcd.d.ts} +0 -0
- /package/dist/{geolocationStateMachine-BKbXdD87.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +0 -0
- /package/dist/{http-Dg_LUZCK.esm.js → http-BkiUT7EB.esm.js} +0 -0
- /package/dist/{idCaptureDefaults-GTCesE6K.esm.js → idCaptureDefaults-DNJON8Xo.esm.js} +0 -0
- /package/dist/{idOcrStateMachine-DLz_gexF.esm.js → idOcrStateMachine-DRZc4FBl.esm.js} +0 -0
- /package/dist/{idVerificationStateMachine-QEZjjPPv.esm.js → idVerificationStateMachine-oqiERKpg.esm.js} +0 -0
- /package/dist/{identityReuseStateMachine-BYYzDw-l.esm.js → identityReuseStateMachine-BmONeF6B.esm.js} +0 -0
- /package/dist/{index-DE1C1s0Y.d.ts → index-XTtxaahe.d.ts} +0 -0
- /package/dist/{invokeOnCaptureCallback-Byx0Y09k.esm.js → invokeOnCaptureCallback-v_PV_IJz.esm.js} +0 -0
- /package/dist/{lib-C7yt36-i.esm.js → lib-B050WTth.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-DgAXyMs4.esm.js → mandatoryConsentStateMachine-DkJJLHqC.esm.js} +0 -0
- /package/dist/{mediapipeShared-DGYt_amp.esm.js → mediapipeShared-CRAKVElv.esm.js} +0 -0
- /package/dist/{otp-nhnnp9FM.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
- /package/dist/{otp-B1YeyRXu.d.ts → otp-M4iy57XY.d.ts} +0 -0
- /package/dist/{runChildModule-3qH_hqiv.esm.js → runChildModule-0nQfjVVo.esm.js} +0 -0
- /package/dist/{signatureStateMachine-CY41dCkX.esm.js → signatureStateMachine-DtoiPzys.esm.js} +0 -0
- /package/dist/{types-cqeeFcNT.d.ts → types-D_IceWxT.d.ts} +0 -0
- /package/dist/{types-CrjOPSFE.d.ts → types-Duy2rDxF.d.ts} +0 -0
- /package/dist/{urlUtils-CwKgB7_U.esm.js → urlUtils-BZqFU9rR.esm.js} +0 -0
- /package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-7M5vxKn-.esm.js} +0 -0
- /package/dist/{warmup-C4rQk0OB.d.ts → warmup-BJZPQIiX.d.ts} +0 -0
- /package/dist/{watchlistForBusinessStateMachine-KYgSsRXK.esm.js → watchlistForBusinessStateMachine-DvEunDxs.esm.js} +0 -0
- /package/dist/{watchlistStateMachine-DsWQwmlW.esm.js → watchlistStateMachine-AHXVf-TB.esm.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
2
|
import * as xstate0 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/electronic-signature/types.d.ts
|
|
@@ -166,10 +166,6 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
166
166
|
type: "errorFromUpload";
|
|
167
167
|
params: unknown;
|
|
168
168
|
};
|
|
169
|
-
errorFromSigning: {
|
|
170
|
-
type: "errorFromSigning";
|
|
171
|
-
params: unknown;
|
|
172
|
-
};
|
|
173
169
|
shouldUpload: {
|
|
174
170
|
type: "shouldUpload";
|
|
175
171
|
params: unknown;
|
|
@@ -194,11 +190,7 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
194
190
|
type: "allSignedAndDownload";
|
|
195
191
|
params: unknown;
|
|
196
192
|
};
|
|
197
|
-
|
|
198
|
-
type: "isRetryableSignError";
|
|
199
|
-
params: unknown;
|
|
200
|
-
};
|
|
201
|
-
}>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "generatingUploadUrl" | "processing" | "successDownload" | "success" | "failed" | "finished", string, ElectronicSignatureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
193
|
+
}>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "generatingUploadUrl" | "processing" | "successDownload" | "success" | "signError" | "finished", string, ElectronicSignatureInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
202
194
|
readonly id: "electronicSignature";
|
|
203
195
|
readonly initial: "idle";
|
|
204
196
|
readonly context: ({
|
|
@@ -982,7 +974,7 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
982
974
|
readonly guard: "allSigned";
|
|
983
975
|
readonly actions: "setSignedDocuments";
|
|
984
976
|
}, {
|
|
985
|
-
readonly target: "
|
|
977
|
+
readonly target: "signError";
|
|
986
978
|
readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.DoneActorEvent<SignedDocument[], string>, {
|
|
987
979
|
type: "LOAD";
|
|
988
980
|
} | {
|
|
@@ -1042,69 +1034,8 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
1042
1034
|
};
|
|
1043
1035
|
}>, never, never, never, never>;
|
|
1044
1036
|
}];
|
|
1045
|
-
readonly onError:
|
|
1046
|
-
readonly target: "
|
|
1047
|
-
readonly guard: "isRetryableSignError";
|
|
1048
|
-
readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.ErrorActorEvent<unknown, string>, {
|
|
1049
|
-
type: "LOAD";
|
|
1050
|
-
} | {
|
|
1051
|
-
type: "SELECT_FILE";
|
|
1052
|
-
fileName: string;
|
|
1053
|
-
fileSize: number;
|
|
1054
|
-
fileUrl: string;
|
|
1055
|
-
} | {
|
|
1056
|
-
type: "REPLACE_FILE";
|
|
1057
|
-
} | {
|
|
1058
|
-
type: "CONFIRM_FILE";
|
|
1059
|
-
} | {
|
|
1060
|
-
type: "SET_CONSENT";
|
|
1061
|
-
name: ConsentKey;
|
|
1062
|
-
checked: boolean;
|
|
1063
|
-
} | {
|
|
1064
|
-
type: "VIEW_DOCUMENT";
|
|
1065
|
-
url: string;
|
|
1066
|
-
} | {
|
|
1067
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
1068
|
-
} | {
|
|
1069
|
-
type: "SIGN";
|
|
1070
|
-
} | {
|
|
1071
|
-
type: "FINISH";
|
|
1072
|
-
} | {
|
|
1073
|
-
type: "RETRY";
|
|
1074
|
-
} | {
|
|
1075
|
-
type: "CLOSE";
|
|
1076
|
-
}, undefined, xstate0.Values<{
|
|
1077
|
-
fetchUnsignedDocs: {
|
|
1078
|
-
src: "fetchUnsignedDocs";
|
|
1079
|
-
logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
|
|
1080
|
-
id: string | undefined;
|
|
1081
|
-
};
|
|
1082
|
-
signDocuments: {
|
|
1083
|
-
src: "signDocuments";
|
|
1084
|
-
logic: xstate0.PromiseActorLogic<SignedDocument[], {
|
|
1085
|
-
documents: ElectronicSignatureDocument[];
|
|
1086
|
-
variant: ElectronicSignatureVariant;
|
|
1087
|
-
}, xstate0.EventObject>;
|
|
1088
|
-
id: string | undefined;
|
|
1089
|
-
};
|
|
1090
|
-
generateUploadUrl: {
|
|
1091
|
-
src: "generateUploadUrl";
|
|
1092
|
-
logic: xstate0.PromiseActorLogic<{
|
|
1093
|
-
preSignedUrl: string;
|
|
1094
|
-
}, void, xstate0.EventObject>;
|
|
1095
|
-
id: string | undefined;
|
|
1096
|
-
};
|
|
1097
|
-
uploadFile: {
|
|
1098
|
-
src: "uploadFile";
|
|
1099
|
-
logic: xstate0.PromiseActorLogic<void, {
|
|
1100
|
-
preSignedUrl: string;
|
|
1101
|
-
getFileData: () => ArrayBuffer | null;
|
|
1102
|
-
}, xstate0.EventObject>;
|
|
1103
|
-
id: string | undefined;
|
|
1104
|
-
};
|
|
1105
|
-
}>, never, never, never, never>;
|
|
1106
|
-
}, {
|
|
1107
|
-
readonly target: "failed";
|
|
1037
|
+
readonly onError: {
|
|
1038
|
+
readonly target: "signError";
|
|
1108
1039
|
readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, xstate0.ErrorActorEvent<unknown, string>, {
|
|
1109
1040
|
type: "LOAD";
|
|
1110
1041
|
} | {
|
|
@@ -1163,7 +1094,7 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
1163
1094
|
id: string | undefined;
|
|
1164
1095
|
};
|
|
1165
1096
|
}>, never, never, never, never>;
|
|
1166
|
-
}
|
|
1097
|
+
};
|
|
1167
1098
|
};
|
|
1168
1099
|
};
|
|
1169
1100
|
readonly success: {
|
|
@@ -1181,6 +1112,11 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
1181
1112
|
};
|
|
1182
1113
|
};
|
|
1183
1114
|
};
|
|
1115
|
+
readonly signError: {
|
|
1116
|
+
readonly after: {
|
|
1117
|
+
readonly 3000: "finished";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1184
1120
|
readonly error: {
|
|
1185
1121
|
readonly on: {
|
|
1186
1122
|
readonly RETRY: readonly [{
|
|
@@ -1246,69 +1182,6 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
1246
1182
|
id: string | undefined;
|
|
1247
1183
|
};
|
|
1248
1184
|
}>, never, never, never, never>;
|
|
1249
|
-
}, {
|
|
1250
|
-
readonly target: "signing";
|
|
1251
|
-
readonly guard: "errorFromSigning";
|
|
1252
|
-
readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
|
|
1253
|
-
type: "RETRY";
|
|
1254
|
-
}, {
|
|
1255
|
-
type: "LOAD";
|
|
1256
|
-
} | {
|
|
1257
|
-
type: "SELECT_FILE";
|
|
1258
|
-
fileName: string;
|
|
1259
|
-
fileSize: number;
|
|
1260
|
-
fileUrl: string;
|
|
1261
|
-
} | {
|
|
1262
|
-
type: "REPLACE_FILE";
|
|
1263
|
-
} | {
|
|
1264
|
-
type: "CONFIRM_FILE";
|
|
1265
|
-
} | {
|
|
1266
|
-
type: "SET_CONSENT";
|
|
1267
|
-
name: ConsentKey;
|
|
1268
|
-
checked: boolean;
|
|
1269
|
-
} | {
|
|
1270
|
-
type: "VIEW_DOCUMENT";
|
|
1271
|
-
url: string;
|
|
1272
|
-
} | {
|
|
1273
|
-
type: "CLOSE_DOCUMENT_VIEW";
|
|
1274
|
-
} | {
|
|
1275
|
-
type: "SIGN";
|
|
1276
|
-
} | {
|
|
1277
|
-
type: "FINISH";
|
|
1278
|
-
} | {
|
|
1279
|
-
type: "RETRY";
|
|
1280
|
-
} | {
|
|
1281
|
-
type: "CLOSE";
|
|
1282
|
-
}, undefined, xstate0.Values<{
|
|
1283
|
-
fetchUnsignedDocs: {
|
|
1284
|
-
src: "fetchUnsignedDocs";
|
|
1285
|
-
logic: xstate0.PromiseActorLogic<UnsignedDocsResponse, void, xstate0.EventObject>;
|
|
1286
|
-
id: string | undefined;
|
|
1287
|
-
};
|
|
1288
|
-
signDocuments: {
|
|
1289
|
-
src: "signDocuments";
|
|
1290
|
-
logic: xstate0.PromiseActorLogic<SignedDocument[], {
|
|
1291
|
-
documents: ElectronicSignatureDocument[];
|
|
1292
|
-
variant: ElectronicSignatureVariant;
|
|
1293
|
-
}, xstate0.EventObject>;
|
|
1294
|
-
id: string | undefined;
|
|
1295
|
-
};
|
|
1296
|
-
generateUploadUrl: {
|
|
1297
|
-
src: "generateUploadUrl";
|
|
1298
|
-
logic: xstate0.PromiseActorLogic<{
|
|
1299
|
-
preSignedUrl: string;
|
|
1300
|
-
}, void, xstate0.EventObject>;
|
|
1301
|
-
id: string | undefined;
|
|
1302
|
-
};
|
|
1303
|
-
uploadFile: {
|
|
1304
|
-
src: "uploadFile";
|
|
1305
|
-
logic: xstate0.PromiseActorLogic<void, {
|
|
1306
|
-
preSignedUrl: string;
|
|
1307
|
-
getFileData: () => ArrayBuffer | null;
|
|
1308
|
-
}, xstate0.EventObject>;
|
|
1309
|
-
id: string | undefined;
|
|
1310
|
-
};
|
|
1311
|
-
}>, never, never, never, never>;
|
|
1312
1185
|
}, {
|
|
1313
1186
|
readonly target: "fetchingDocs";
|
|
1314
1187
|
readonly actions: xstate0.ActionFunction<ElectronicSignatureContext, {
|
|
@@ -1383,9 +1256,6 @@ declare const electronicSignatureMachine: xstate0.StateMachine<ElectronicSignatu
|
|
|
1383
1256
|
readonly closed: {
|
|
1384
1257
|
readonly type: "final";
|
|
1385
1258
|
};
|
|
1386
|
-
readonly failed: {
|
|
1387
|
-
readonly type: "final";
|
|
1388
|
-
};
|
|
1389
1259
|
};
|
|
1390
1260
|
}>;
|
|
1391
1261
|
//#endregion
|
|
@@ -1429,9 +1299,9 @@ type ElectronicSignatureErrorState = {
|
|
|
1429
1299
|
status: 'error';
|
|
1430
1300
|
errorMessage: string;
|
|
1431
1301
|
};
|
|
1432
|
-
/**
|
|
1433
|
-
type
|
|
1434
|
-
status: '
|
|
1302
|
+
/** Signing failed: SDK shows error screen for 3s then auto-finishes. */
|
|
1303
|
+
type ElectronicSignatureSignErrorState = {
|
|
1304
|
+
status: 'signError';
|
|
1435
1305
|
errorMessage: string;
|
|
1436
1306
|
};
|
|
1437
1307
|
type ElectronicSignatureFinishedState = {
|
|
@@ -1440,7 +1310,7 @@ type ElectronicSignatureFinishedState = {
|
|
|
1440
1310
|
type ElectronicSignatureClosedState = {
|
|
1441
1311
|
status: 'closed';
|
|
1442
1312
|
};
|
|
1443
|
-
type ElectronicSignatureState = ElectronicSignatureLoadingState | ElectronicSignatureUploadingState | ElectronicSignatureReviewingState | ElectronicSignatureSigningState | ElectronicSignatureProcessingState | ElectronicSignatureSuccessState | ElectronicSignatureErrorState |
|
|
1313
|
+
type ElectronicSignatureState = ElectronicSignatureLoadingState | ElectronicSignatureUploadingState | ElectronicSignatureReviewingState | ElectronicSignatureSigningState | ElectronicSignatureProcessingState | ElectronicSignatureSuccessState | ElectronicSignatureErrorState | ElectronicSignatureSignErrorState | ElectronicSignatureFinishedState | ElectronicSignatureClosedState;
|
|
1444
1314
|
declare function createElectronicSignatureManager(options: {
|
|
1445
1315
|
config: CreateElectronicSignatureActorOptions['config'];
|
|
1446
1316
|
}): Manager<ElectronicSignatureState> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Flow } from "./types-
|
|
2
|
-
import { n as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { n as Flow } from "./types-BsYXnC5s.js";
|
|
2
|
+
import { n as FinishStatus } from "./flowCompletionService-BIqSTZcd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-
|
|
1
|
+
import "./warmup-BJZPQIiX.js";
|
|
2
|
+
import "./index-XTtxaahe.js";
|
|
3
|
+
import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-CpRnXxn8.js";
|
|
4
4
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./WasmUtilProvider-ADG54T6M.esm.js";
|
|
2
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
2
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-xymTt8DA.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
4
4
|
import "./api-DsbUi7TO.esm.js";
|
|
5
5
|
import "./clientLifecycle-Ct7h9uxx.esm.js";
|
|
@@ -8,11 +8,11 @@ import "./types-ElOJAGaM.esm.js";
|
|
|
8
8
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
9
9
|
import "./stats-CYcScXcO.esm.js";
|
|
10
10
|
import "./browserSimulation-TsSoavQv.esm.js";
|
|
11
|
-
import "./sessionInitializer-
|
|
11
|
+
import "./sessionInitializer-C8vfx5CX.esm.js";
|
|
12
12
|
import "./getDeviceData-TrKM8NPh.esm.js";
|
|
13
13
|
import "./thumbmarkAdapter-fHBUDlAP.esm.js";
|
|
14
14
|
import "./IpifyProvider-BRW14_uo.esm.js";
|
|
15
15
|
import "./platform-uIVQUnJP.esm.js";
|
|
16
|
-
import "./tri-
|
|
16
|
+
import "./tri-BG1iJsr4.esm.js";
|
|
17
17
|
|
|
18
18
|
export { isConfigured, reset, setup };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./StateMachine-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./canvas-
|
|
8
|
-
import "./createFaceAvatar-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import "./camera-CNVUo-bC.js";
|
|
5
|
+
import "./types-DgGlgyZT.js";
|
|
6
|
+
import "./types-D_IceWxT.js";
|
|
7
|
+
import "./canvas-CJUmoXSD.js";
|
|
8
|
+
import "./createFaceAvatar-B8pFpy6o.js";
|
|
9
|
+
import "./types-BsYXnC5s.js";
|
|
10
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-C7QorKTH.js";
|
|
11
11
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -3,7 +3,7 @@ import "./events-CqGY1yMq.esm.js";
|
|
|
3
3
|
import "./types-ElOJAGaM.esm.js";
|
|
4
4
|
import "./endpoints-BzMJFAPV.esm.js";
|
|
5
5
|
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
7
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
6
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DkJJLHqC.esm.js";
|
|
7
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CQ3jirlZ.esm.js";
|
|
8
8
|
|
|
9
9
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-3Pzrnpdb.d.ts → mandatoryConsentManager-C7QorKTH.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { a as RegulationTypes } from "./types-
|
|
4
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
3
|
+
import { a as RegulationTypes } from "./types-BsYXnC5s.js";
|
|
4
|
+
import * as xstate1253 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
7
7
|
type RegulatoryConsentType = 'MANDATORY' | 'ML';
|
|
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
|
|
|
32
32
|
type MandatoryConsentInput = {
|
|
33
33
|
config: MandatoryConsentConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const mandatoryConsentMachine:
|
|
35
|
+
declare const mandatoryConsentMachine: xstate1253.StateMachine<MandatoryConsentContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "TOGGLE";
|
|
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
47
|
}, {
|
|
48
|
-
[x: string]:
|
|
48
|
+
[x: string]: xstate1253.ActorRefFromLogic<xstate1253.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
49
49
|
config: MandatoryConsentConfig;
|
|
50
|
-
},
|
|
50
|
+
}, xstate1253.EventObject>> | xstate1253.ActorRefFromLogic<xstate1253.PromiseActorLogic<void, {
|
|
51
51
|
consentId: string;
|
|
52
52
|
isSigned: boolean;
|
|
53
|
-
},
|
|
54
|
-
},
|
|
53
|
+
}, xstate1253.EventObject>> | undefined;
|
|
54
|
+
}, xstate1253.Values<{
|
|
55
55
|
fetchConsent: {
|
|
56
56
|
src: "fetchConsent";
|
|
57
|
-
logic:
|
|
57
|
+
logic: xstate1253.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
58
58
|
config: MandatoryConsentConfig;
|
|
59
|
-
},
|
|
59
|
+
}, xstate1253.EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
submitConsent: {
|
|
63
63
|
src: "submitConsent";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate1253.PromiseActorLogic<void, {
|
|
65
65
|
consentId: string;
|
|
66
66
|
isSigned: boolean;
|
|
67
|
-
},
|
|
67
|
+
}, xstate1253.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, xstate1253.Values<{
|
|
71
71
|
setConsent: {
|
|
72
72
|
type: "setConsent";
|
|
73
|
-
params:
|
|
73
|
+
params: xstate1253.NonReducibleUnknown;
|
|
74
74
|
};
|
|
75
75
|
setError: {
|
|
76
76
|
type: "setError";
|
|
77
|
-
params:
|
|
77
|
+
params: xstate1253.NonReducibleUnknown;
|
|
78
78
|
};
|
|
79
79
|
clearError: {
|
|
80
80
|
type: "clearError";
|
|
81
|
-
params:
|
|
81
|
+
params: xstate1253.NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
resetContext: {
|
|
84
84
|
type: "resetContext";
|
|
85
|
-
params:
|
|
85
|
+
params: xstate1253.NonReducibleUnknown;
|
|
86
86
|
};
|
|
87
87
|
toggleSigned: {
|
|
88
88
|
type: "toggleSigned";
|
|
89
|
-
params:
|
|
89
|
+
params: xstate1253.NonReducibleUnknown;
|
|
90
90
|
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate1253.NonReducibleUnknown, xstate1253.EventObject, xstate1253.MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
97
|
readonly context: ({
|
|
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
100
100
|
spawn: {
|
|
101
101
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
102
102
|
src: "fetchConsent";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate1253.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
104
104
|
config: MandatoryConsentConfig;
|
|
105
|
-
},
|
|
105
|
+
}, xstate1253.EventObject>;
|
|
106
106
|
id: string | undefined;
|
|
107
107
|
} extends infer T ? T extends {
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1253.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
110
110
|
config: MandatoryConsentConfig;
|
|
111
|
-
},
|
|
111
|
+
}, xstate1253.EventObject>;
|
|
112
112
|
id: string | undefined;
|
|
113
113
|
} ? T extends {
|
|
114
114
|
src: TSrc;
|
|
115
|
-
} ?
|
|
115
|
+
} ? xstate1253.ConditionalRequired<[options?: ({
|
|
116
116
|
id?: T["id"] | undefined;
|
|
117
117
|
systemId?: string;
|
|
118
|
-
input?:
|
|
118
|
+
input?: xstate1253.InputFrom<T["logic"]> | undefined;
|
|
119
119
|
syncSnapshot?: boolean;
|
|
120
|
-
} & { [K in
|
|
120
|
+
} & { [K in xstate1253.RequiredActorOptions<T>]: unknown }) | undefined], xstate1253.IsNotNever<xstate1253.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
121
121
|
src: "submitConsent";
|
|
122
|
-
logic:
|
|
122
|
+
logic: xstate1253.PromiseActorLogic<void, {
|
|
123
123
|
consentId: string;
|
|
124
124
|
isSigned: boolean;
|
|
125
|
-
},
|
|
125
|
+
}, xstate1253.EventObject>;
|
|
126
126
|
id: string | undefined;
|
|
127
127
|
} extends infer T_1 ? T_1 extends {
|
|
128
128
|
src: "submitConsent";
|
|
129
|
-
logic:
|
|
129
|
+
logic: xstate1253.PromiseActorLogic<void, {
|
|
130
130
|
consentId: string;
|
|
131
131
|
isSigned: boolean;
|
|
132
|
-
},
|
|
132
|
+
}, xstate1253.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} ? T_1 extends {
|
|
135
135
|
src: TSrc;
|
|
136
|
-
} ?
|
|
136
|
+
} ? xstate1253.ConditionalRequired<[options?: ({
|
|
137
137
|
id?: T_1["id"] | undefined;
|
|
138
138
|
systemId?: string;
|
|
139
|
-
input?:
|
|
139
|
+
input?: xstate1253.InputFrom<T_1["logic"]> | undefined;
|
|
140
140
|
syncSnapshot?: boolean;
|
|
141
|
-
} & { [K_1 in
|
|
141
|
+
} & { [K_1 in xstate1253.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1253.IsNotNever<xstate1253.RequiredActorOptions<T_1>>> : never : never : never)): xstate1253.ActorRefFromLogic<xstate1253.GetConcreteByKey<xstate1253.Values<{
|
|
142
142
|
fetchConsent: {
|
|
143
143
|
src: "fetchConsent";
|
|
144
|
-
logic:
|
|
144
|
+
logic: xstate1253.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
145
145
|
config: MandatoryConsentConfig;
|
|
146
|
-
},
|
|
146
|
+
}, xstate1253.EventObject>;
|
|
147
147
|
id: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
submitConsent: {
|
|
150
150
|
src: "submitConsent";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate1253.PromiseActorLogic<void, {
|
|
152
152
|
consentId: string;
|
|
153
153
|
isSigned: boolean;
|
|
154
|
-
},
|
|
154
|
+
}, xstate1253.EventObject>;
|
|
155
155
|
id: string | undefined;
|
|
156
156
|
};
|
|
157
157
|
}>, "src", TSrc>["logic"]>;
|
|
158
|
-
<TLogic extends
|
|
158
|
+
<TLogic extends xstate1253.AnyActorLogic>(src: TLogic, ...[options]: xstate1253.ConditionalRequired<[options?: ({
|
|
159
159
|
id?: never;
|
|
160
160
|
systemId?: string;
|
|
161
|
-
input?:
|
|
161
|
+
input?: xstate1253.InputFrom<TLogic> | undefined;
|
|
162
162
|
syncSnapshot?: boolean;
|
|
163
|
-
} & { [K in
|
|
163
|
+
} & { [K in xstate1253.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1253.IsNotNever<xstate1253.RequiredLogicInput<TLogic>>>): xstate1253.ActorRefFromLogic<TLogic>;
|
|
164
164
|
};
|
|
165
165
|
input: MandatoryConsentInput;
|
|
166
|
-
self:
|
|
166
|
+
self: xstate1253.ActorRef<xstate1253.MachineSnapshot<MandatoryConsentContext, {
|
|
167
167
|
type: "LOAD";
|
|
168
168
|
} | {
|
|
169
169
|
type: "TOGGLE";
|
|
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
175
175
|
type: "RETRY";
|
|
176
176
|
} | {
|
|
177
177
|
type: "RESET";
|
|
178
|
-
}, Record<string,
|
|
178
|
+
}, Record<string, xstate1253.AnyActorRef | undefined>, xstate1253.StateValue, string, unknown, any, any>, {
|
|
179
179
|
type: "LOAD";
|
|
180
180
|
} | {
|
|
181
181
|
type: "TOGGLE";
|
|
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate1253.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: MandatoryConsentConfig;
|
|
193
193
|
consent: undefined;
|
|
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "RESET";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate1253.ActorRef<xstate1253.MachineSnapshot<MandatoryConsentContext, {
|
|
228
228
|
type: "LOAD";
|
|
229
229
|
} | {
|
|
230
230
|
type: "TOGGLE";
|
|
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate1253.AnyActorRef>, xstate1253.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE";
|
|
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate1253.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
config: MandatoryConsentConfig;
|
|
254
254
|
};
|
|
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
301
301
|
} | {
|
|
302
302
|
type: "RESET";
|
|
303
303
|
};
|
|
304
|
-
self:
|
|
304
|
+
self: xstate1253.ActorRef<xstate1253.MachineSnapshot<MandatoryConsentContext, {
|
|
305
305
|
type: "LOAD";
|
|
306
306
|
} | {
|
|
307
307
|
type: "TOGGLE";
|
|
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
313
313
|
type: "RETRY";
|
|
314
314
|
} | {
|
|
315
315
|
type: "RESET";
|
|
316
|
-
}, Record<string,
|
|
316
|
+
}, Record<string, xstate1253.AnyActorRef>, xstate1253.StateValue, string, unknown, any, any>, {
|
|
317
317
|
type: "LOAD";
|
|
318
318
|
} | {
|
|
319
319
|
type: "TOGGLE";
|
|
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1159.StateMachine<MandatoryConsentC
|
|
|
325
325
|
type: "RETRY";
|
|
326
326
|
} | {
|
|
327
327
|
type: "RESET";
|
|
328
|
-
},
|
|
328
|
+
}, xstate1253.AnyEventObject>;
|
|
329
329
|
}) => {
|
|
330
330
|
consentId: string;
|
|
331
331
|
isSigned: boolean;
|
package/dist/{mandatoryConsentManager-CNbs9cub.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
3
|
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
4
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DkJJLHqC.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
7
7
|
function createMandatoryConsentActor(options) {
|
|
@@ -540,7 +540,7 @@ function buildResolutionFromStream(stream) {
|
|
|
540
540
|
if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
|
|
541
541
|
}
|
|
542
542
|
async function createOpenViduRecordingProvider() {
|
|
543
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
543
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-B_0GKkzc.esm.js");
|
|
544
544
|
return new OpenViduRecordingProvider();
|
|
545
545
|
}
|
|
546
546
|
async function startRecordingSession(params) {
|
|
@@ -580,7 +580,7 @@ async function stopRecording$1(session) {
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
async function initializeDeepsightSession(options) {
|
|
583
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
583
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-DHSVD776.esm.js");
|
|
584
584
|
return loadDeepsightSession({
|
|
585
585
|
ds: options.ds,
|
|
586
586
|
storage: options.storage
|
|
@@ -4,7 +4,7 @@ import { a as __toDynamicImportESM } from "./chunk-CIKcdghV.esm.js";
|
|
|
4
4
|
let openViduImport;
|
|
5
5
|
async function loadOpenVidu() {
|
|
6
6
|
if (openViduImport) return openViduImport;
|
|
7
|
-
openViduImport = import("./lib-
|
|
7
|
+
openViduImport = import("./lib-B050WTth.esm.js").then(__toDynamicImportESM(1));
|
|
8
8
|
return openViduImport;
|
|
9
9
|
}
|
|
10
10
|
|
package/dist/personhood.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
9
|
-
import "./createFaceAvatar-
|
|
10
|
-
import "./types-
|
|
11
|
-
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-
|
|
12
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
13
|
-
import { n as DetectionStatus } from "./types-
|
|
14
|
-
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-
|
|
15
|
-
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-
|
|
16
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
1
|
+
import "./warmup-BJZPQIiX.js";
|
|
2
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-C_AY4cs7.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
4
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CNVUo-bC.js";
|
|
6
|
+
import "./types-DgGlgyZT.js";
|
|
7
|
+
import "./types-D_IceWxT.js";
|
|
8
|
+
import { t as IncodeCanvas } from "./canvas-CJUmoXSD.js";
|
|
9
|
+
import "./createFaceAvatar-B8pFpy6o.js";
|
|
10
|
+
import "./types-BsYXnC5s.js";
|
|
11
|
+
import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-d2XvzaCk.js";
|
|
12
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Duy2rDxF.js";
|
|
13
|
+
import { n as DetectionStatus } from "./types-CxW2e0Ar.js";
|
|
14
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-B78455D4.js";
|
|
15
|
+
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DS1TOoiH.js";
|
|
16
|
+
import { t as DeepsightService } from "./deepsightService-CMB9XjES.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/personhood/types.d.ts
|
|
19
19
|
|
package/dist/personhood.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import "./MotionSensorProvider-DCbId4De.esm.js";
|
|
|
14
14
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-BJhGL13R.esm.js";
|
|
15
15
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-DUkgmYMo.esm.js";
|
|
16
16
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CrrN540a.esm.js";
|
|
17
|
-
import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
17
|
+
import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-DVBggeq8.esm.js";
|
|
18
18
|
import { t as sleep } from "./ITimerCapability-pltuG1E8.esm.js";
|
|
19
19
|
import "./canvas-_I95hkPg.esm.js";
|
|
20
20
|
import "./backCameraStream-ZyqrFyjO.esm.js";
|