@incodetech/core 0.0.0-dev-20260615-7defa108 → 0.0.0-dev-20260616-e026f0c8
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-DtCkxhaa.esm.js → OpenViduRecordingProvider-BDIlX9Cq.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-CPTcu6u6.esm.js → StreamCanvasCapture-Dr5n_iK1.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-DFBEzBLB.d.ts → StreamCanvasCapture-uQFmjDCE.d.ts} +1 -1
- package/dist/{addressSearch-BQCvIe1E.esm.js → addressSearch-4xxBiFtH.esm.js} +4 -4
- package/dist/{ae-signature-DxX99lOP.esm.js → ae-signature-C8mNUYSC.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +9 -9
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DI9S7XTK.esm.js → antifraudManager-By70WUpS.esm.js} +3 -3
- package/dist/{antifraudManager-CMzQ05Gx.d.ts → antifraudManager-vkuogwAe.d.ts} +2 -2
- package/dist/{antifraudStateMachine-ZzjAr546.esm.js → antifraudStateMachine-DPs0Knyq.esm.js} +3 -3
- package/dist/authentication.d.ts +13 -13
- package/dist/authentication.esm.js +27 -27
- package/dist/{authenticationManager-bKzA0gLB.d.ts → authenticationManager-CDxVMHF1.d.ts} +2 -2
- package/dist/{authenticationManager-CwcMuMzK.esm.js → authenticationManager-Dz4IJIrK.esm.js} +6 -6
- package/dist/{authenticationStateMachine-D7BUqBCb.esm.js → authenticationStateMachine-ZqIWl4M4.esm.js} +8 -8
- package/dist/{backCameraStream-lMXrbEpC.esm.js → backCameraStream-iftkf3rd.esm.js} +3 -3
- package/dist/browser-8Za96B1X-CUY3snMa.esm.js +1425 -0
- package/dist/{browserSimulation-DJfvkbAE.esm.js → browserSimulation-CGjpdNA1.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/certificate-issuance.d.ts +30 -30
- package/dist/certificate-issuance.esm.js +7 -7
- package/dist/{certificateIssuanceStateMachine-DpPZoGT3.esm.js → certificateIssuanceStateMachine-DB2r-cpB.esm.js} +4 -4
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-BIoVcRI-.esm.js → consentManager-ChvHt6T_.esm.js} +3 -3
- package/dist/{consentManager-dB4AdXT1.d.ts → consentManager-DWB0fOnC.d.ts} +52 -52
- package/dist/{consentStateMachine-DbaAIypS.esm.js → consentStateMachine-CWypW8J8.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-qoIZene3.esm.js → cpfOcrManager-B52QLxQV.esm.js} +5 -5
- package/dist/{cpfOcrManager-BoKvGSo5.d.ts → cpfOcrManager-DZudorH5.d.ts} +25 -25
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-BYxOLnL5.d.ts → curpValidationManager-CeXO_2dN.d.ts} +3 -3
- package/dist/{curpValidationManager-Bzxw5FVS.esm.js → curpValidationManager-De6xoNE4.esm.js} +3 -3
- package/dist/{curpValidationStateMachine-HGNg1cZZ.esm.js → curpValidationStateMachine-Cx2u6xYU.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-DOv0pHd_.esm.js → customWatchlistStateMachine-EkXjc819.esm.js} +3 -3
- package/dist/{deepsightLoader-Cm_PBWfU.esm.js → deepsightLoader-cR0EgL9O.esm.js} +13 -13
- package/dist/{deepsightService-C5vSOVue.esm.js → deepsightService-40p8oygL.esm.js} +7 -7
- package/dist/{deepsightService-DmCqRh9-.d.ts → deepsightService-BpVpDm2O.d.ts} +1 -1
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +235 -235
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-D6ZC_Ty0.esm.js → documentCaptureStateMachine-BBEoBbLb.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +16 -16
- package/dist/{ekybStateMachine-BStKk0D1.esm.js → ekybStateMachine-iBJaSAJs.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-IqmWlBh8.esm.js → ekycStateMachine-dXnYshTa.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +8 -8
- package/dist/{electronicSignatureManager-D2WzDJUK.esm.js → electronicSignatureManager-Db9SeoGj.esm.js} +6 -6
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DnID6SGV.d.ts → emailManager-DLFWfHIl.d.ts} +3 -3
- package/dist/{emailManager-BbI08-We.esm.js → emailManager-DQJIAsix.esm.js} +4 -4
- package/dist/{emailStateMachine-CgLix5Wg.esm.js → emailStateMachine-C1DabizS.esm.js} +5 -5
- package/dist/{events-BAfXOOYZ.esm.js → events-CmarQoum.esm.js} +1 -1
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +26 -26
- package/dist/extensibility.esm.js +57 -57
- package/dist/{externalFetch-h7WAdNPQ.esm.js → externalFetch-crimxkN9.esm.js} +1 -1
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-C2o4b80r.d.ts → faceCaptureManagerFactory-BQg4HVQ0.d.ts} +9 -9
- package/dist/{faceCaptureManagerFactory-BIG0X_6p.esm.js → faceCaptureManagerFactory-ByC4Qa8y.esm.js} +4 -4
- package/dist/{faceCaptureSetup-CWZnwDLg.esm.js → faceCaptureSetup-B2H2mNGa.esm.js} +7 -7
- package/dist/{faceMatchStateMachine-dCBdFrmq.esm.js → faceMatchStateMachine-eQOGyK1R.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-BOIJSYPj.d.ts → fieldComparisonManager-CgJctoEw.d.ts} +2 -2
- package/dist/{fieldComparisonManager-Ce8rDT_m.esm.js → fieldComparisonManager-IaJfvmEt.esm.js} +4 -4
- package/dist/fiscal-qr.d.ts +3 -3
- package/dist/fiscal-qr.esm.js +12 -12
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +16 -16
- package/dist/{flowCompletionService-D8OXFjRA.esm.js → flowCompletionService-D9l6fDFY.esm.js} +3 -3
- package/dist/{flowServices-DPPO-zkq.esm.js → flowServices-BRfa1_9p.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-CiwWx_j9.esm.js → geolocationStateMachine-CB4yyRz1.esm.js} +4 -4
- package/dist/{getDeviceClass-BnkJjTVR.esm.js → getDeviceClass-rXKlXywy.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-Kvfdljb6.esm.js → governmentValidationStateMachine-DXqbvuKL.esm.js} +5 -5
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +12 -12
- package/dist/id.esm.js +31 -31
- package/dist/{idCaptureManager-DWRE6Jd4.esm.js → idCaptureManager-Cm-IXB70.esm.js} +5 -5
- package/dist/{idCaptureManager-CLOK998H.d.ts → idCaptureManager-Wn84cPTa.d.ts} +8 -8
- package/dist/{idCaptureStateMachine-BIz8XI5L.esm.js → idCaptureStateMachine-CU3F89Pn.esm.js} +19 -19
- package/dist/{idOcrStateMachine-Dmqb6Lay.esm.js → idOcrStateMachine-BwksZ-bt.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-DoxfID_7.esm.js → idVerificationStateMachine-BMzgkkbQ.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-DcBFqi3g.esm.js → identityReuseManager-Bew667Pj.esm.js} +3 -3
- package/dist/{identityReuseManager-BqsBPObh.d.ts → identityReuseManager-mEnl2R8N.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-BYee6d-o.esm.js → identityReuseStateMachine-CbR5itoo.esm.js} +3 -3
- package/dist/{index-DeuHzDNj.d.ts → index-B1r8U5de.d.ts} +169 -169
- package/dist/index-Dn9cDS6f.d.ts +99 -0
- package/dist/{index-BbKckxUr.d.ts → index-cIuvyWMa.d.ts} +2 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +13 -12
- package/dist/{invokeOnCaptureCallback-DW53sNuV.esm.js → invokeOnCaptureCallback-DyJrH089.esm.js} +1 -1
- package/dist/{lib-BCAntT8H.esm.js → lib-DOI53AqI.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager--05U1ab3.d.ts → mandatoryConsentManager-HAXD0YGt.d.ts} +53 -53
- package/dist/{mandatoryConsentManager-CaZap2vM.esm.js → mandatoryConsentManager-kbO0Dr65.esm.js} +3 -3
- package/dist/{mandatoryConsentStateMachine-DebtfjHH.esm.js → mandatoryConsentStateMachine-DtjGqH2e.esm.js} +3 -3
- package/dist/openviduLazy--VDjpeVq.esm.js +3 -0
- package/dist/{openviduLazy-D7RY-Wk1.esm.js → openviduLazy-BapX8Ljx.esm.js} +2 -2
- package/dist/{permissionGuards-D-u5o-ZS.esm.js → permissionGuards-MDEdZAXO.esm.js} +1 -1
- package/dist/{permissionServices-DOMAS5FL.esm.js → permissionServices-BApXq7a0.esm.js} +3 -3
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-C0NWX3dt.esm.js → phoneManager-CZA4CST1.esm.js} +4 -4
- package/dist/{phoneManager-BjqCfWeD.d.ts → phoneManager-CkEiuAuM.d.ts} +3 -3
- package/dist/{phoneStateMachine-BGhYP8mx.esm.js → phoneStateMachine-BQNuJGjq.esm.js} +5 -5
- package/dist/{qe-signature-D10dlZ0x.esm.js → qe-signature-BVUV3TE_.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +9 -9
- package/dist/{recordingService-CBkqroyl.esm.js → recordingService-Cw3hJgT2.esm.js} +15 -15
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +8 -8
- package/dist/{redirectToMobileManager-DK7C4-jS.esm.js → redirectToMobileManager-B4PTmB3H.esm.js} +4 -4
- package/dist/{redirectToMobileManager-BzdVum0z.d.ts → redirectToMobileManager-DYQsXMqo.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-POVmJ2pQ.esm.js → redirectToMobileStateMachine-BWrpS_sN.esm.js} +5 -5
- package/dist/{runChildModule-D1kJKuZp.esm.js → runChildModule-DaOsL9FE.esm.js} +3 -3
- package/dist/selfie.d.ts +13 -13
- package/dist/selfie.esm.js +28 -28
- package/dist/{selfieManager-CEO1DECO.d.ts → selfieManager-CxktnRiy.d.ts} +2 -2
- package/dist/{selfieManager-CQwbCfx1.esm.js → selfieManager-MGv9xxlB.esm.js} +6 -6
- package/dist/{selfieStateMachine-D0azn4SB.esm.js → selfieStateMachine-DIep8sRA.esm.js} +4 -4
- package/dist/{session-Bdskj4-a.esm.js → session-C_G3d7av.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-CnF49tUG.esm.js → sessionInitializer-Qlg7EwTl.esm.js} +7 -7
- package/dist/{setup-Xw_UwsPu.d.ts → setup-CPD1Cb_d.d.ts} +47 -1
- package/dist/{setup-BtMy_8iH.esm.js → setup-wZGxwi9m.esm.js} +36 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-B8MOqm3t.esm.js → signatureStateMachine-B7hxdXio.esm.js} +3 -3
- package/dist/{stats-DYtpAi8r.esm.js → stats-32mOt6D8.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/tri-Bn_ESCop.esm.js +326 -0
- package/dist/tri.d.ts +2 -0
- package/dist/tri.esm-Drm5tKql.esm.js +2590 -0
- package/dist/tri.esm.js +4 -0
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-CMtiO-70.d.ts → types-CNiMvUpA.d.ts} +1 -1
- package/dist/{types-DVP3cl71.d.ts → types-D8y52YD5.d.ts} +2 -2
- package/dist/{types-GHZBxVAa.d.ts → types-DR2YKE_o.d.ts} +1 -1
- package/dist/wasm.d.ts +3 -2
- package/dist/wasm.esm.js +13 -12
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-C_w0OJjF.esm.js → watchlistForBusinessStateMachine-D3W0_TEt.esm.js} +3 -3
- package/dist/{watchlistStateMachine-C6vF9Zrp.esm.js → watchlistStateMachine-D8EXhr5W.esm.js} +3 -3
- package/dist/workflow.d.ts +97 -97
- package/dist/workflow.esm.js +63 -63
- package/package.json +6 -1
- package/dist/openviduLazy-Cen9OnxA.esm.js +0 -3
- /package/dist/{Actor-VPMjMiQi.d.ts → Actor-CeqUTqL9.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-r6RSzdfq.esm.js → BrowserStorageProvider-CGCKial0.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-CswUX7jZ.esm.js → BrowserTimerProvider-BVgutW_b.esm.js} +0 -0
- /package/dist/{ITimerCapability-BAVwUNw-.esm.js → ITimerCapability-BvH0pDwp.esm.js} +0 -0
- /package/dist/{IpifyProvider-WAAszwtP.esm.js → IpifyProvider-oZf7Ke1O.esm.js} +0 -0
- /package/dist/{Manager-TNEsbB6B.d.ts → Manager-CHiHBvMT.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-CnpzpFUv.esm.js → MotionSensorProvider-C9fPAJdS.esm.js} +0 -0
- /package/dist/{StateMachine-D1N4vDv3.d.ts → StateMachine-HpHVxl3G.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-DrWyN0yi.esm.js → WasmUtilProvider-CAZ4AD98.esm.js} +0 -0
- /package/dist/{api-D5AupVUC.esm.js → api-DUZwyz0o.esm.js} +0 -0
- /package/dist/{apiError-DNxc6p50.esm.js → apiError-D-GTvFrH.esm.js} +0 -0
- /package/dist/{camera-q1KoKNR1.d.ts → camera-D0c7ez3w.d.ts} +0 -0
- /package/dist/{camera-CBMl39hO.esm.js → camera-x4LjGTjZ.esm.js} +0 -0
- /package/dist/{canvas-Q8Scx3Gn.esm.js → canvas-7uX2izHb.esm.js} +0 -0
- /package/dist/{chunk-DHPE1s-n.esm.js → chunk-BK1xu56N.esm.js} +0 -0
- /package/dist/{cpf-BSpGHuIr.esm.js → cpf-xBg-DFNn.esm.js} +0 -0
- /package/dist/{dateUtils-D-YO9_Hp.esm.js → dateUtils-8dCcuArE.esm.js} +0 -0
- /package/dist/{endpoints-BUiak39U.esm.js → endpoints-B2t80MAM.esm.js} +0 -0
- /package/dist/{flowCompletionService-CamSPuV-.d.ts → flowCompletionService-DSPt5J5M.d.ts} +0 -0
- /package/dist/{getBrowser-CNCEFWPH.esm.js → getBrowser-Dv8LZyHE.esm.js} +0 -0
- /package/dist/{getDeviceClass-C3N2KaOI.esm.js → getDeviceClass-C0zrM97a.esm.js} +0 -0
- /package/dist/{http-CkcES084.esm.js → http-B2UWIXGr.esm.js} +0 -0
- /package/dist/{otp-Buh7Tv8k.d.ts → otp-BHJnjEEc.d.ts} +0 -0
- /package/dist/{otp-BiWjw9ZQ.esm.js → otp-BcSa5nTM.esm.js} +0 -0
- /package/dist/{platform-DctkySJU.esm.js → platform-BfoqeM61.esm.js} +0 -0
- /package/dist/{types-CruqHl68.d.ts → types-C1ixFPzO.d.ts} +0 -0
- /package/dist/{types-rL_0z8ZR.esm.js → types-C3Yf5jrM.esm.js} +0 -0
- /package/dist/{types-BBaEWy5n.d.ts → types-F0IXbaCB.d.ts} +0 -0
- /package/dist/{urlUtils-C9o6zrp8.esm.js → urlUtils-8RNHyW3x.esm.js} +0 -0
- /package/dist/{warmup-bRMrjEVP.d.ts → warmup-CdT_pVcp.d.ts} +0 -0
- /package/dist/{xstate.esm-BMAePvR6.esm.js → xstate.esm-CbU9dpcC.esm.js} +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { IncodeTRIConfig, IncodeTRIState, Session } from "@incodetech/tri-sdk";
|
|
2
|
+
|
|
3
|
+
//#region ../infra/src/tri/TransactionalRiskIntelligence.d.ts
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Runtime TRI configuration passed to `IncodeTRI.setup`.
|
|
7
|
+
* Mirrors the upstream `IncodeTRIConfig` (a `TRIConfigBase` intersected with a
|
|
8
|
+
* layer-/collector-based selector union).
|
|
9
|
+
*/
|
|
10
|
+
type TransactionalRiskIntelligenceConfig = IncodeTRIConfig;
|
|
11
|
+
type TransactionalRiskIntelligenceState = IncodeTRIState;
|
|
12
|
+
/**
|
|
13
|
+
* Result of exchanging an organization API key for a short-lived TRI SDK token.
|
|
14
|
+
* Mirrors the upstream `Session` shape: `{ token, eventsCollectionEnabled, error? }`.
|
|
15
|
+
*/
|
|
16
|
+
type TransactionalRiskIntelligenceSession = Session;
|
|
17
|
+
/**
|
|
18
|
+
* Options accepted by the TRI `createSession` exchange. The upstream SDK does
|
|
19
|
+
* not export this shape, so it is mirrored here.
|
|
20
|
+
*/
|
|
21
|
+
type TransactionalRiskIntelligenceSessionOptions = {
|
|
22
|
+
apiURL?: string;
|
|
23
|
+
signal?: AbortSignal;
|
|
24
|
+
timeout?: number;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/integrations/tri/types.d.ts
|
|
28
|
+
/**
|
|
29
|
+
* Setup-time TRI configuration supplied as `SetupOptions.tri`.
|
|
30
|
+
*
|
|
31
|
+
* Extends the runtime `TransactionalRiskIntelligenceConfig` with one
|
|
32
|
+
* SDK-specific field:
|
|
33
|
+
*
|
|
34
|
+
* - `autostart` — when `false`, `setup()` registers the TRI config but does
|
|
35
|
+
* not call `setupTRI` / `startTRI` automatically. Useful when you need to
|
|
36
|
+
* control the exact moment collection starts (e.g. after a consent gate).
|
|
37
|
+
* Omit (or set `true`) to let `setup()` start TRI during boot.
|
|
38
|
+
*
|
|
39
|
+
* `token` and `apiURL` are both required. TRI will not start unless both are
|
|
40
|
+
* present — omitting either is the implicit opt-out.
|
|
41
|
+
*/
|
|
42
|
+
type TransactionalRiskIntelligenceSetupConfig = TransactionalRiskIntelligenceConfig & {
|
|
43
|
+
autostart?: boolean;
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/integrations/tri/tri.d.ts
|
|
47
|
+
/**
|
|
48
|
+
* Exchanges an organization API key for a short-lived TRI SDK token. This is
|
|
49
|
+
* the entry point that triggers the lazy-load of `@incodetech/tri-sdk` (via the
|
|
50
|
+
* provider's dynamic `import()`); the cached lazy handle is reused by a
|
|
51
|
+
* subsequent `setupTRI()`.
|
|
52
|
+
*
|
|
53
|
+
* In production the exchange should happen server-side. On a load timeout or
|
|
54
|
+
* failure the returned session carries `token: null` and an `error`, rather
|
|
55
|
+
* than throwing.
|
|
56
|
+
*
|
|
57
|
+
* @param apiKey - Organization API key.
|
|
58
|
+
* @param options - Optional `apiURL`, `signal`, and `timeout` overrides.
|
|
59
|
+
*/
|
|
60
|
+
declare function createTRISession(apiKey: string, options?: TransactionalRiskIntelligenceSessionOptions): Promise<TransactionalRiskIntelligenceSession>;
|
|
61
|
+
/**
|
|
62
|
+
* Initializes TRI in a single step: resolves the config, calls `setupTRI`,
|
|
63
|
+
* and calls `startTRI`.
|
|
64
|
+
*
|
|
65
|
+
* Returns the resolved {@link TransactionalRiskIntelligenceState}. If the
|
|
66
|
+
* config cannot be resolved (e.g. missing `token` or `apiURL`), returns
|
|
67
|
+
* `'init-failed'` after emitting a `[TRI]` warning.
|
|
68
|
+
*
|
|
69
|
+
* @param config - TRI setup config (must include `token` and `apiURL`).
|
|
70
|
+
*/
|
|
71
|
+
declare function initializeTRI(config: TransactionalRiskIntelligenceSetupConfig): Promise<TransactionalRiskIntelligenceState>;
|
|
72
|
+
/**
|
|
73
|
+
* Calls the provider's `setup()` with the given config. This is the step that
|
|
74
|
+
* lazy-loads `@incodetech/tri-sdk`, validates the config, and checks the
|
|
75
|
+
* backend collection-status endpoint. Must be called before `startTRI`.
|
|
76
|
+
*
|
|
77
|
+
* @param config - Resolved TRI config (`token` and `apiURL` required).
|
|
78
|
+
* @returns The resulting {@link TransactionalRiskIntelligenceState}.
|
|
79
|
+
*/
|
|
80
|
+
declare function setupTRI(config: TransactionalRiskIntelligenceConfig): Promise<TransactionalRiskIntelligenceState>;
|
|
81
|
+
/**
|
|
82
|
+
* Begins behavioral data collection. Requires a prior successful `setupTRI()`
|
|
83
|
+
* call. Returns `'init-failed'` without starting if called beforehand.
|
|
84
|
+
*
|
|
85
|
+
* @returns The resulting {@link TransactionalRiskIntelligenceState}.
|
|
86
|
+
*/
|
|
87
|
+
declare function startTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
88
|
+
/**
|
|
89
|
+
* Stops all TRI collectors and managers. Idempotent. No-op if TRI was never
|
|
90
|
+
* set up.
|
|
91
|
+
*/
|
|
92
|
+
declare function stopTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
93
|
+
/**
|
|
94
|
+
* Resets the TRI SDK to its initial state. Call this from the SDK's `reset()`
|
|
95
|
+
* so that a subsequent `setupTRI` / `startTRI` can begin fresh.
|
|
96
|
+
*/
|
|
97
|
+
declare function resetTRI(): Promise<TransactionalRiskIntelligenceState>;
|
|
98
|
+
//#endregion
|
|
99
|
+
export { startTRI as a, setupTRI as i, initializeTRI as n, stopTRI as o, resetTRI as r, TransactionalRiskIntelligenceSetupConfig as s, createTRISession as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Flow } from "./types-
|
|
2
|
-
import { t as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { n as Flow } from "./types-D8y52YD5.js";
|
|
2
|
+
import { t as FinishStatus } from "./flowCompletionService-DSPt5J5M.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/flow-events/flowEvents.d.ts
|
|
5
5
|
type FlowStartedEvent = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import
|
|
1
|
+
import "./warmup-CdT_pVcp.js";
|
|
2
|
+
import "./index-Dn9cDS6f.js";
|
|
3
|
+
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-CPD1Cb_d.js";
|
|
3
4
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import { a as setup, n as isConfigured, r as reset } from "./setup-
|
|
3
|
-
import "./BrowserTimerProvider-
|
|
4
|
-
import "./api-
|
|
5
|
-
import "./events-
|
|
6
|
-
import "./endpoints-
|
|
7
|
-
import "./stats-
|
|
8
|
-
import "./IpifyProvider-
|
|
9
|
-
import "./browserSimulation-
|
|
10
|
-
import "./sessionInitializer-
|
|
11
|
-
import "./platform-
|
|
12
|
-
import "./getBrowser-
|
|
1
|
+
import "./WasmUtilProvider-CAZ4AD98.esm.js";
|
|
2
|
+
import { a as setup, n as isConfigured, r as reset } from "./setup-wZGxwi9m.esm.js";
|
|
3
|
+
import "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
4
|
+
import "./api-DUZwyz0o.esm.js";
|
|
5
|
+
import "./events-CmarQoum.esm.js";
|
|
6
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
7
|
+
import "./stats-32mOt6D8.esm.js";
|
|
8
|
+
import "./IpifyProvider-oZf7Ke1O.esm.js";
|
|
9
|
+
import "./browserSimulation-CGjpdNA1.esm.js";
|
|
10
|
+
import "./sessionInitializer-Qlg7EwTl.esm.js";
|
|
11
|
+
import "./platform-BfoqeM61.esm.js";
|
|
12
|
+
import "./getBrowser-Dv8LZyHE.esm.js";
|
|
13
|
+
import "./tri-Bn_ESCop.esm.js";
|
|
13
14
|
|
|
14
15
|
export { isConfigured, reset, setup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-
|
|
1
|
+
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-BK1xu56N.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js
|
|
4
4
|
var require_jsnlog = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js": ((exports) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./camera-
|
|
4
|
-
import "./types-
|
|
5
|
-
import "./types-
|
|
6
|
-
import "./types-
|
|
7
|
-
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 "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import "./camera-D0c7ez3w.js";
|
|
4
|
+
import "./types-DR2YKE_o.js";
|
|
5
|
+
import "./types-C1ixFPzO.js";
|
|
6
|
+
import "./types-D8y52YD5.js";
|
|
7
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-HAXD0YGt.js";
|
|
8
8
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
6
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
|
|
6
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-kbO0Dr65.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager--05U1ab3.d.ts → mandatoryConsentManager-HAXD0YGt.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-CHiHBvMT.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
|
|
3
|
+
import { a as RegulationTypes } from "./types-D8y52YD5.js";
|
|
4
|
+
import * as xstate1205 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: xstate1205.StateMachine<MandatoryConsentContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "TOGGLE";
|
|
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
47
|
}, {
|
|
48
|
-
[x: string]:
|
|
48
|
+
[x: string]: xstate1205.ActorRefFromLogic<xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
49
49
|
config: MandatoryConsentConfig;
|
|
50
|
-
},
|
|
50
|
+
}, xstate1205.EventObject>> | xstate1205.ActorRefFromLogic<xstate1205.PromiseActorLogic<void, {
|
|
51
51
|
consentId: string;
|
|
52
52
|
isSigned: boolean;
|
|
53
|
-
},
|
|
54
|
-
},
|
|
53
|
+
}, xstate1205.EventObject>> | undefined;
|
|
54
|
+
}, xstate1205.Values<{
|
|
55
55
|
fetchConsent: {
|
|
56
56
|
src: "fetchConsent";
|
|
57
|
-
logic:
|
|
57
|
+
logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
58
58
|
config: MandatoryConsentConfig;
|
|
59
|
-
},
|
|
59
|
+
}, xstate1205.EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
submitConsent: {
|
|
63
63
|
src: "submitConsent";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate1205.PromiseActorLogic<void, {
|
|
65
65
|
consentId: string;
|
|
66
66
|
isSigned: boolean;
|
|
67
|
-
},
|
|
67
|
+
}, xstate1205.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, xstate1205.Values<{
|
|
71
71
|
setConsent: {
|
|
72
72
|
type: "setConsent";
|
|
73
|
-
params:
|
|
74
|
-
};
|
|
75
|
-
clearError: {
|
|
76
|
-
type: "clearError";
|
|
77
|
-
params: xstate1043.NonReducibleUnknown;
|
|
73
|
+
params: xstate1205.NonReducibleUnknown;
|
|
78
74
|
};
|
|
79
75
|
setError: {
|
|
80
76
|
type: "setError";
|
|
81
|
-
params:
|
|
77
|
+
params: xstate1205.NonReducibleUnknown;
|
|
78
|
+
};
|
|
79
|
+
clearError: {
|
|
80
|
+
type: "clearError";
|
|
81
|
+
params: xstate1205.NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
resetContext: {
|
|
84
84
|
type: "resetContext";
|
|
85
|
-
params:
|
|
85
|
+
params: xstate1205.NonReducibleUnknown;
|
|
86
86
|
};
|
|
87
87
|
toggleSigned: {
|
|
88
88
|
type: "toggleSigned";
|
|
89
|
-
params:
|
|
89
|
+
params: xstate1205.NonReducibleUnknown;
|
|
90
90
|
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput,
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1205.NonReducibleUnknown, xstate1205.EventObject, xstate1205.MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
97
|
readonly context: ({
|
|
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
100
100
|
spawn: {
|
|
101
101
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
102
102
|
src: "fetchConsent";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
104
104
|
config: MandatoryConsentConfig;
|
|
105
|
-
},
|
|
105
|
+
}, xstate1205.EventObject>;
|
|
106
106
|
id: string | undefined;
|
|
107
107
|
} extends infer T ? T extends {
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
110
110
|
config: MandatoryConsentConfig;
|
|
111
|
-
},
|
|
111
|
+
}, xstate1205.EventObject>;
|
|
112
112
|
id: string | undefined;
|
|
113
113
|
} ? T extends {
|
|
114
114
|
src: TSrc;
|
|
115
|
-
} ?
|
|
115
|
+
} ? xstate1205.ConditionalRequired<[options?: ({
|
|
116
116
|
id?: T["id"] | undefined;
|
|
117
117
|
systemId?: string;
|
|
118
|
-
input?:
|
|
118
|
+
input?: xstate1205.InputFrom<T["logic"]> | undefined;
|
|
119
119
|
syncSnapshot?: boolean;
|
|
120
|
-
} & { [K in
|
|
120
|
+
} & { [K in xstate1205.RequiredActorOptions<T>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
121
121
|
src: "submitConsent";
|
|
122
|
-
logic:
|
|
122
|
+
logic: xstate1205.PromiseActorLogic<void, {
|
|
123
123
|
consentId: string;
|
|
124
124
|
isSigned: boolean;
|
|
125
|
-
},
|
|
125
|
+
}, xstate1205.EventObject>;
|
|
126
126
|
id: string | undefined;
|
|
127
127
|
} extends infer T_1 ? T_1 extends {
|
|
128
128
|
src: "submitConsent";
|
|
129
|
-
logic:
|
|
129
|
+
logic: xstate1205.PromiseActorLogic<void, {
|
|
130
130
|
consentId: string;
|
|
131
131
|
isSigned: boolean;
|
|
132
|
-
},
|
|
132
|
+
}, xstate1205.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} ? T_1 extends {
|
|
135
135
|
src: TSrc;
|
|
136
|
-
} ?
|
|
136
|
+
} ? xstate1205.ConditionalRequired<[options?: ({
|
|
137
137
|
id?: T_1["id"] | undefined;
|
|
138
138
|
systemId?: string;
|
|
139
|
-
input?:
|
|
139
|
+
input?: xstate1205.InputFrom<T_1["logic"]> | undefined;
|
|
140
140
|
syncSnapshot?: boolean;
|
|
141
|
-
} & { [K_1 in
|
|
141
|
+
} & { [K_1 in xstate1205.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredActorOptions<T_1>>> : never : never : never)): xstate1205.ActorRefFromLogic<xstate1205.GetConcreteByKey<xstate1205.Values<{
|
|
142
142
|
fetchConsent: {
|
|
143
143
|
src: "fetchConsent";
|
|
144
|
-
logic:
|
|
144
|
+
logic: xstate1205.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
145
145
|
config: MandatoryConsentConfig;
|
|
146
|
-
},
|
|
146
|
+
}, xstate1205.EventObject>;
|
|
147
147
|
id: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
submitConsent: {
|
|
150
150
|
src: "submitConsent";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate1205.PromiseActorLogic<void, {
|
|
152
152
|
consentId: string;
|
|
153
153
|
isSigned: boolean;
|
|
154
|
-
},
|
|
154
|
+
}, xstate1205.EventObject>;
|
|
155
155
|
id: string | undefined;
|
|
156
156
|
};
|
|
157
157
|
}>, "src", TSrc>["logic"]>;
|
|
158
|
-
<TLogic extends
|
|
158
|
+
<TLogic extends xstate1205.AnyActorLogic>(src: TLogic, ...[options]: xstate1205.ConditionalRequired<[options?: ({
|
|
159
159
|
id?: never;
|
|
160
160
|
systemId?: string;
|
|
161
|
-
input?:
|
|
161
|
+
input?: xstate1205.InputFrom<TLogic> | undefined;
|
|
162
162
|
syncSnapshot?: boolean;
|
|
163
|
-
} & { [K in
|
|
163
|
+
} & { [K in xstate1205.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1205.IsNotNever<xstate1205.RequiredLogicInput<TLogic>>>): xstate1205.ActorRefFromLogic<TLogic>;
|
|
164
164
|
};
|
|
165
165
|
input: MandatoryConsentInput;
|
|
166
|
-
self:
|
|
166
|
+
self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
|
|
167
167
|
type: "LOAD";
|
|
168
168
|
} | {
|
|
169
169
|
type: "TOGGLE";
|
|
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
175
175
|
type: "RETRY";
|
|
176
176
|
} | {
|
|
177
177
|
type: "RESET";
|
|
178
|
-
}, Record<string,
|
|
178
|
+
}, Record<string, xstate1205.AnyActorRef | undefined>, xstate1205.StateValue, string, unknown, any, any>, {
|
|
179
179
|
type: "LOAD";
|
|
180
180
|
} | {
|
|
181
181
|
type: "TOGGLE";
|
|
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate1205.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: MandatoryConsentConfig;
|
|
193
193
|
consent: undefined;
|
|
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "RESET";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
|
|
228
228
|
type: "LOAD";
|
|
229
229
|
} | {
|
|
230
230
|
type: "TOGGLE";
|
|
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate1205.AnyActorRef>, xstate1205.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE";
|
|
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate1205.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
config: MandatoryConsentConfig;
|
|
254
254
|
};
|
|
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
301
301
|
} | {
|
|
302
302
|
type: "RESET";
|
|
303
303
|
};
|
|
304
|
-
self:
|
|
304
|
+
self: xstate1205.ActorRef<xstate1205.MachineSnapshot<MandatoryConsentContext, {
|
|
305
305
|
type: "LOAD";
|
|
306
306
|
} | {
|
|
307
307
|
type: "TOGGLE";
|
|
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
313
313
|
type: "RETRY";
|
|
314
314
|
} | {
|
|
315
315
|
type: "RESET";
|
|
316
|
-
}, Record<string,
|
|
316
|
+
}, Record<string, xstate1205.AnyActorRef>, xstate1205.StateValue, string, unknown, any, any>, {
|
|
317
317
|
type: "LOAD";
|
|
318
318
|
} | {
|
|
319
319
|
type: "TOGGLE";
|
|
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1043.StateMachine<MandatoryConsentC
|
|
|
325
325
|
type: "RETRY";
|
|
326
326
|
} | {
|
|
327
327
|
type: "RESET";
|
|
328
|
-
},
|
|
328
|
+
}, xstate1205.AnyEventObject>;
|
|
329
329
|
}) => {
|
|
330
330
|
consentId: string;
|
|
331
331
|
isSigned: boolean;
|
package/dist/{mandatoryConsentManager-CaZap2vM.esm.js → mandatoryConsentManager-kbO0Dr65.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
1
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
2
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
3
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DtjGqH2e.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
6
6
|
function createMandatoryConsentActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
3
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
|
6
6
|
async function fetchMandatoryConsent(regulationType, language, type, signal) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as __toDynamicImportESM } from "./chunk-
|
|
1
|
+
import { a as __toDynamicImportESM } from "./chunk-BK1xu56N.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/providers/browser/openviduLazy.ts
|
|
4
4
|
let openViduImport;
|
|
5
5
|
async function loadOpenVidu() {
|
|
6
6
|
if (openViduImport) return openViduImport;
|
|
7
|
-
openViduImport = import("./lib-
|
|
7
|
+
openViduImport = import("./lib-DOI53AqI.esm.js").then(__toDynamicImportESM(1));
|
|
8
8
|
return openViduImport;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-BApXq7a0.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/internal/permissions/permissionGuards.ts
|
|
4
4
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
3
|
-
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CAZ4AD98.esm.js";
|
|
2
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-C9fPAJdS.esm.js";
|
|
3
|
+
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-x4LjGTjZ.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region ../infra/src/media/cameraPermissionSession.ts
|
|
6
6
|
const CAMERA_PERMISSIONS_GRANTED_KEY = "cameraPermissionsGranted";
|
package/dist/phone.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import "./otp-
|
|
4
|
-
import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import "./otp-BHJnjEEc.js";
|
|
4
|
+
import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-CkEiuAuM.js";
|
|
5
5
|
export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./BrowserTimerProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import "./otp-
|
|
7
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
8
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
1
|
+
import "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
|
+
import "./api-DUZwyz0o.esm.js";
|
|
3
|
+
import "./events-CmarQoum.esm.js";
|
|
4
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
5
|
+
import "./xstate.esm-CbU9dpcC.esm.js";
|
|
6
|
+
import "./otp-BcSa5nTM.esm.js";
|
|
7
|
+
import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
|
|
8
|
+
import { t as createPhoneManager } from "./phoneManager-CZA4CST1.esm.js";
|
|
9
9
|
|
|
10
10
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-
|
|
2
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as OTP_CODE_LENGTH } from "./otp-
|
|
4
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
1
|
+
import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-CmarQoum.esm.js";
|
|
2
|
+
import { c as createManager, s as createActor } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
3
|
+
import { t as OTP_CODE_LENGTH } from "./otp-BcSa5nTM.esm.js";
|
|
4
|
+
import { t as phoneMachine } from "./phoneStateMachine-BQNuJGjq.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/phone/phoneActor.ts
|
|
7
7
|
function createPhoneActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CeqUTqL9.js";
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-BHJnjEEc.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/phone/types.d.ts
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BVgutW_b.esm.js";
|
|
2
|
+
import { t as api } from "./api-DUZwyz0o.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-BcSa5nTM.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/phone/phoneServices.ts
|
|
8
8
|
function getPhoneServerFailureReason(error, invalidStatus) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-Db9SeoGj.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/qe-signature/index.ts
|
|
4
4
|
function createQeSignatureManager(options) {
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
1
|
+
import { t as Manager } from "./Manager-CHiHBvMT.js";
|
|
2
|
+
import "./Actor-CeqUTqL9.js";
|
|
3
|
+
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-B1r8U5de.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import "./apiError-
|
|
6
|
-
import "./urlUtils-
|
|
7
|
-
import "./externalFetch-
|
|
8
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
9
|
-
import { t as createQeSignatureManager } from "./qe-signature-
|
|
1
|
+
import "./api-DUZwyz0o.esm.js";
|
|
2
|
+
import "./events-CmarQoum.esm.js";
|
|
3
|
+
import "./endpoints-B2t80MAM.esm.js";
|
|
4
|
+
import "./xstate.esm-CbU9dpcC.esm.js";
|
|
5
|
+
import "./apiError-D-GTvFrH.esm.js";
|
|
6
|
+
import "./urlUtils-8RNHyW3x.esm.js";
|
|
7
|
+
import "./externalFetch-crimxkN9.esm.js";
|
|
8
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-Db9SeoGj.esm.js";
|
|
9
|
+
import { t as createQeSignatureManager } from "./qe-signature-BVUV3TE_.esm.js";
|
|
10
10
|
|
|
11
11
|
export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
|