@incodetech/core 0.0.0-dev-20260803-e2b5d35d → 0.0.0-dev-20260803-bc311d6e
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/ae-signature.d.ts +3 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-C_08gwg2.esm.js → apiError-DayXRMcE.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-D76jxYNX.esm.js → authenticationManager-Ci3cN0mo.esm.js} +2 -2
- package/dist/{authenticationStateMachine-CJILuEbH.esm.js → authenticationStateMachine-BiaLinvh.esm.js} +2 -2
- package/dist/{deepsightLoader-DqEfPplN.esm.js → deepsightLoader-DveLheaa.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-trL8jFh6.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-BHfeedY2.esm.js → dynamicFormsManager-TYmruB9C.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-BeKhow9E.esm.js → dynamicFormsStateMachine-BnljwziI.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-3pPpvD6Z.esm.js → ekybManager-CU0ty0EZ.esm.js} +1 -1
- package/dist/{ekybStateMachine-BH8TaB7v.esm.js → ekybStateMachine-DY0mmNQI.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{index-DGcdhk8Y.d.ts → electronicSignatureManager-CcUXQZS7.d.ts} +62 -26
- package/dist/{electronicSignatureManager-DHC0bqr9.esm.js → electronicSignatureManager-cHybD5Bw.esm.js} +40 -21
- package/dist/extensibility.d.ts +4 -2
- package/dist/extensibility.esm.js +10 -9
- package/dist/{faceCaptureManagerFactory-DqQCDsDY.esm.js → faceCaptureManagerFactory-CTnjKSuy.esm.js} +1 -1
- package/dist/{faceCaptureSetup-5Ye-LXbB.esm.js → faceCaptureSetup-BqNYf1pp.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-DEO2OqAI.esm.js → flowCompletionService-BUo_9js9.esm.js} +1 -1
- package/dist/{flowServices-D6T8fwIf.esm.js → flowServices-2jR_i-zB.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-IbghOO6X.esm.js → geolocationManager-BJvADFnB.esm.js} +1 -1
- package/dist/{geolocationStateMachine-B5WkRLnz.esm.js → geolocationStateMachine-D3l-iyse.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-C_q4C_aV.esm.js → idCaptureManager-CGT4KB0h.esm.js} +1 -1
- package/dist/{idCaptureServices-DlnEwYJJ.esm.js → idCaptureServices-CMx3jKjy.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-CKJ_aV6s.esm.js → idCaptureStateMachine-CnDRERtP.esm.js} +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-D53Rr_B1.esm.js → onDeviceFaceResults-ByRVrIZM.esm.js} +3 -3
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.d.ts +3 -2
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Dv5Ztm5Y.esm.js → recordingService-bLW4t4fk.esm.js} +1 -1
- package/dist/{runChildModule-Dh9HjxbH.esm.js → runChildModule-CriMT1_h.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-CwLK0icS.esm.js → selfieManager-Dv5mrAHo.esm.js} +2 -2
- package/dist/{selfieStateMachine-C1ErWDmF.esm.js → selfieStateMachine-BmL5Aaw7.esm.js} +2 -2
- package/dist/{session-DvCKSn2k.esm.js → session-CovTsiwy.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-DR77TDcE.esm.js → sessionInitializer-BELcYwn_.esm.js} +2 -2
- package/dist/{setup-DSLbrjHG.esm.js → setup-C76snDxk.esm.js} +4 -4
- package/dist/trueSight-CAjW60Rg.esm.js +1 -0
- package/dist/{trueSightService-PXOP5bS9.esm.js → trueSightService-BqpWNWDp.esm.js} +11 -8
- package/dist/{types-DWaEoU0I.d.ts → types-DVmXIdzW.d.ts} +20 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-BLrAyxUW.esm.js → videoSelfieCameraWarmer-D1AF8Kdr.esm.js} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +14 -14
- package/package.json +3 -3
- package/dist/trueSight-CGZ_9YL1.esm.js +0 -1
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { _ as getDefaultConsentChecks, a as ElectronicSignatureConfig, h as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS } from "./types-DVmXIdzW.js";
|
|
3
|
+
import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-CcUXQZS7.js";
|
|
4
|
+
import "./electronic-signature.js";
|
|
4
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
5
6
|
type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
|
6
7
|
declare function createAeSignatureManager(options: {
|
package/dist/ae-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, o as areAllConsented, r as electronicSignatureMachine, t as createElectronicSignatureManager } from "./electronicSignatureManager-cHybD5Bw.esm.js";
|
|
2
2
|
//#region src/modules/ae-signature/index.ts
|
|
3
3
|
function createAeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BiaLinvh.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Ci3cN0mo.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-D76jxYNX.esm.js → authenticationManager-Ci3cN0mo.esm.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
|
2
2
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CTnjKSuy.esm.js";
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-BiaLinvh.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BqNYf1pp.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-ByRVrIZM.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { l as trueSightLog } from "./trueSightService-
|
|
4
|
-
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
5
|
-
import "./trueSight-
|
|
3
|
+
import { l as trueSightLog } from "./trueSightService-BqpWNWDp.esm.js";
|
|
4
|
+
import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-BELcYwn_.esm.js";
|
|
5
|
+
import "./trueSight-CAjW60Rg.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
7
7
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
8
8
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-B4BObr_7.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-trL8jFh6.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -251,7 +251,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
251
251
|
type: "fileSizeOkForNonGallery";
|
|
252
252
|
params: unknown;
|
|
253
253
|
};
|
|
254
|
-
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "
|
|
254
|
+
}>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "capturing" | "failure" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
|
|
255
255
|
permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
|
|
256
256
|
}, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
257
257
|
readonly id: "documentCapture";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
2
|
-
import { t as createDynamicFormsManager } from "./dynamicFormsManager-
|
|
1
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BnljwziI.esm.js";
|
|
2
|
+
import { t as createDynamicFormsManager } from "./dynamicFormsManager-TYmruB9C.esm.js";
|
|
3
3
|
export { createDynamicFormsManager, dynamicFormsMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-
|
|
4
|
+
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BnljwziI.esm.js";
|
|
5
5
|
//#region src/modules/dynamic-forms/dynamicFormsActor.ts
|
|
6
6
|
function createDynamicFormsActor(options) {
|
|
7
7
|
return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
|
package/dist/{dynamicFormsStateMachine-BeKhow9E.esm.js → dynamicFormsStateMachine-BnljwziI.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-
|
|
3
|
+
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DayXRMcE.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-2jR_i-zB.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DY0mmNQI.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-CU0ty0EZ.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-DY0mmNQI.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-2jR_i-zB.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ElectronicSignatureConfig,
|
|
2
|
-
import { i as
|
|
3
|
-
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureManager, type ElectronicSignatureState, type ElectronicSignatureVariant, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
1
|
+
import { _ as getDefaultConsentChecks, a as ElectronicSignatureConfig, c as ElectronicSignatureFileDataHolder, d as QE_CONSENT_KEYS, f as QeConsentKey, g as getConsentKeys, h as areAllConsented, i as ConsentKey, n as AeConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS, u as ElectronicSignatureVariant } from "./types-DVmXIdzW.js";
|
|
2
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, o as electronicSignatureMachine, r as createElectronicSignatureManager, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
|
|
3
|
+
export { AE_CONSENT_KEYS, type AeConsentKey, type ConsentChecks, type ConsentKey, type ElectronicSignatureActor, type ElectronicSignatureConfig, type ElectronicSignatureDocument, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type ElectronicSignatureVariant, QE_CONSENT_KEYS, type QeConsentKey, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
1
|
+
import { a as QE_CONSENT_KEYS, c as getDefaultConsentChecks, i as AE_CONSENT_KEYS, n as createElectronicSignatureManagerFromActor, o as areAllConsented, r as electronicSignatureMachine, s as getConsentKeys, t as createElectronicSignatureManager } from "./electronicSignatureManager-cHybD5Bw.esm.js";
|
|
2
|
+
export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, d as DoneActorEvent, f as ErrorActorEvent, g as IsNotNever, h as InputFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
1
|
+
import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, d as DoneActorEvent, f as ErrorActorEvent, g as IsNotNever, h as InputFrom, i as ActorRefFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, t as ActionFunction, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
2
2
|
import "./StateMachine-EDpYWy0i.js";
|
|
3
3
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
-
import { a as ElectronicSignatureConfig, c as
|
|
5
|
+
import { a as ElectronicSignatureConfig, c as ElectronicSignatureFileDataHolder, i as ConsentKey, l as ElectronicSignatureInput, m as UnsignedDocsResponse, o as ElectronicSignatureContext, p as SignedDocument, r as ConsentChecks, s as ElectronicSignatureDocument, u as ElectronicSignatureVariant } from "./types-DVmXIdzW.js";
|
|
6
6
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.d.ts
|
|
7
7
|
declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContext, {
|
|
8
8
|
type: "LOAD";
|
|
@@ -40,7 +40,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
40
40
|
preSignedUrl: string;
|
|
41
41
|
}, void, EventObject>> | ActorRefFromLogic<PromiseActorLogic<void, {
|
|
42
42
|
preSignedUrl: string;
|
|
43
|
-
|
|
43
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
44
44
|
}, EventObject>> | undefined;
|
|
45
45
|
}, Values<{
|
|
46
46
|
fetchUnsignedDocs: {
|
|
@@ -67,7 +67,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
67
67
|
src: "uploadFile";
|
|
68
68
|
logic: PromiseActorLogic<void, {
|
|
69
69
|
preSignedUrl: string;
|
|
70
|
-
|
|
70
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
71
71
|
}, EventObject>;
|
|
72
72
|
id: string | undefined;
|
|
73
73
|
};
|
|
@@ -129,7 +129,15 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
129
129
|
type: "allSignedAndDownload";
|
|
130
130
|
params: unknown;
|
|
131
131
|
};
|
|
132
|
-
}>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "generatingUploadUrl" | "processing" | "successDownload" | "success" | "signError" | "finished", string,
|
|
132
|
+
}>, never, "error" | "signing" | "idle" | "uploading" | "fetchingDocs" | "reviewing" | "closed" | "uploadingFile" | "generatingUploadUrl" | "processing" | "successDownload" | "success" | "signError" | "finished", string, {
|
|
133
|
+
config: ElectronicSignatureConfig;
|
|
134
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
135
|
+
getFileData?: never;
|
|
136
|
+
} | {
|
|
137
|
+
config: ElectronicSignatureConfig;
|
|
138
|
+
getFileData: () => ArrayBuffer | null;
|
|
139
|
+
fileDataHolder?: never;
|
|
140
|
+
}, NonReducibleUnknown, EventObject, MetaObject, {
|
|
133
141
|
readonly id: "electronicSignature";
|
|
134
142
|
readonly initial: "idle";
|
|
135
143
|
readonly context: ({ input }: {
|
|
@@ -193,14 +201,14 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
193
201
|
src: "uploadFile";
|
|
194
202
|
logic: PromiseActorLogic<void, {
|
|
195
203
|
preSignedUrl: string;
|
|
196
|
-
|
|
204
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
197
205
|
}, EventObject>;
|
|
198
206
|
id: string | undefined;
|
|
199
207
|
} extends (infer T_3) ? T_3 extends {
|
|
200
208
|
src: "uploadFile";
|
|
201
209
|
logic: PromiseActorLogic<void, {
|
|
202
210
|
preSignedUrl: string;
|
|
203
|
-
|
|
211
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
204
212
|
}, EventObject>;
|
|
205
213
|
id: string | undefined;
|
|
206
214
|
} ? T_3 extends {
|
|
@@ -235,7 +243,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
235
243
|
src: "uploadFile";
|
|
236
244
|
logic: PromiseActorLogic<void, {
|
|
237
245
|
preSignedUrl: string;
|
|
238
|
-
|
|
246
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
239
247
|
}, EventObject>;
|
|
240
248
|
id: string | undefined;
|
|
241
249
|
};
|
|
@@ -247,7 +255,15 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
247
255
|
syncSnapshot?: boolean;
|
|
248
256
|
} & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
249
257
|
};
|
|
250
|
-
input:
|
|
258
|
+
input: {
|
|
259
|
+
config: ElectronicSignatureConfig;
|
|
260
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
261
|
+
getFileData?: never;
|
|
262
|
+
} | {
|
|
263
|
+
config: ElectronicSignatureConfig;
|
|
264
|
+
getFileData: () => ArrayBuffer | null;
|
|
265
|
+
fileDataHolder?: never;
|
|
266
|
+
};
|
|
251
267
|
self: ActorRef<MachineSnapshot<ElectronicSignatureContext, {
|
|
252
268
|
type: "LOAD";
|
|
253
269
|
} | {
|
|
@@ -307,7 +323,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
307
323
|
}, AnyEventObject>;
|
|
308
324
|
}) => {
|
|
309
325
|
config: ElectronicSignatureConfig;
|
|
310
|
-
|
|
326
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
311
327
|
documents: never[];
|
|
312
328
|
signedDocuments: never[];
|
|
313
329
|
fileName: null;
|
|
@@ -400,7 +416,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
400
416
|
src: "uploadFile";
|
|
401
417
|
logic: PromiseActorLogic<void, {
|
|
402
418
|
preSignedUrl: string;
|
|
403
|
-
|
|
419
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
404
420
|
}, EventObject>;
|
|
405
421
|
id: string | undefined;
|
|
406
422
|
};
|
|
@@ -480,7 +496,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
480
496
|
src: "uploadFile";
|
|
481
497
|
logic: PromiseActorLogic<void, {
|
|
482
498
|
preSignedUrl: string;
|
|
483
|
-
|
|
499
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
484
500
|
}, EventObject>;
|
|
485
501
|
id: string | undefined;
|
|
486
502
|
};
|
|
@@ -582,7 +598,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
582
598
|
}, AnyEventObject>;
|
|
583
599
|
}) => {
|
|
584
600
|
preSignedUrl: string;
|
|
585
|
-
|
|
601
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
586
602
|
};
|
|
587
603
|
readonly onDone: {
|
|
588
604
|
readonly target: "fetchingDocs";
|
|
@@ -642,7 +658,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
642
658
|
src: "uploadFile";
|
|
643
659
|
logic: PromiseActorLogic<void, {
|
|
644
660
|
preSignedUrl: string;
|
|
645
|
-
|
|
661
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
646
662
|
}, EventObject>;
|
|
647
663
|
id: string | undefined;
|
|
648
664
|
};
|
|
@@ -713,7 +729,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
713
729
|
src: "uploadFile";
|
|
714
730
|
logic: PromiseActorLogic<void, {
|
|
715
731
|
preSignedUrl: string;
|
|
716
|
-
|
|
732
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
717
733
|
}, EventObject>;
|
|
718
734
|
id: string | undefined;
|
|
719
735
|
};
|
|
@@ -774,7 +790,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
774
790
|
src: "uploadFile";
|
|
775
791
|
logic: PromiseActorLogic<void, {
|
|
776
792
|
preSignedUrl: string;
|
|
777
|
-
|
|
793
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
778
794
|
}, EventObject>;
|
|
779
795
|
id: string | undefined;
|
|
780
796
|
};
|
|
@@ -961,7 +977,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
961
977
|
src: "uploadFile";
|
|
962
978
|
logic: PromiseActorLogic<void, {
|
|
963
979
|
preSignedUrl: string;
|
|
964
|
-
|
|
980
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
965
981
|
}, EventObject>;
|
|
966
982
|
id: string | undefined;
|
|
967
983
|
};
|
|
@@ -1022,7 +1038,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
1022
1038
|
src: "uploadFile";
|
|
1023
1039
|
logic: PromiseActorLogic<void, {
|
|
1024
1040
|
preSignedUrl: string;
|
|
1025
|
-
|
|
1041
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
1026
1042
|
}, EventObject>;
|
|
1027
1043
|
id: string | undefined;
|
|
1028
1044
|
};
|
|
@@ -1110,7 +1126,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
1110
1126
|
src: "uploadFile";
|
|
1111
1127
|
logic: PromiseActorLogic<void, {
|
|
1112
1128
|
preSignedUrl: string;
|
|
1113
|
-
|
|
1129
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
1114
1130
|
}, EventObject>;
|
|
1115
1131
|
id: string | undefined;
|
|
1116
1132
|
};
|
|
@@ -1172,7 +1188,7 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
1172
1188
|
src: "uploadFile";
|
|
1173
1189
|
logic: PromiseActorLogic<void, {
|
|
1174
1190
|
preSignedUrl: string;
|
|
1175
|
-
|
|
1191
|
+
fileDataHolder: ElectronicSignatureFileDataHolder;
|
|
1176
1192
|
}, EventObject>;
|
|
1177
1193
|
id: string | undefined;
|
|
1178
1194
|
};
|
|
@@ -1191,12 +1207,11 @@ declare const electronicSignatureMachine: StateMachine<ElectronicSignatureContex
|
|
|
1191
1207
|
};
|
|
1192
1208
|
};
|
|
1193
1209
|
}>;
|
|
1210
|
+
type ElectronicSignatureMachine = typeof electronicSignatureMachine;
|
|
1194
1211
|
//#endregion
|
|
1195
1212
|
//#region src/modules/electronic-signature/electronicSignatureActor.d.ts
|
|
1196
|
-
type
|
|
1197
|
-
|
|
1198
|
-
getFileData: () => ArrayBuffer | null;
|
|
1199
|
-
};
|
|
1213
|
+
type ElectronicSignatureActor = ActorRefFrom<ElectronicSignatureMachine>;
|
|
1214
|
+
type CreateElectronicSignatureActorOptions = ElectronicSignatureInput;
|
|
1200
1215
|
//#endregion
|
|
1201
1216
|
//#region src/modules/electronic-signature/electronicSignatureManager.d.ts
|
|
1202
1217
|
type ElectronicSignatureLoadingState = {
|
|
@@ -1244,6 +1259,27 @@ type ElectronicSignatureClosedState = {
|
|
|
1244
1259
|
status: 'closed';
|
|
1245
1260
|
};
|
|
1246
1261
|
type ElectronicSignatureState = ElectronicSignatureLoadingState | ElectronicSignatureUploadingState | ElectronicSignatureReviewingState | ElectronicSignatureSigningState | ElectronicSignatureProcessingState | ElectronicSignatureSuccessState | ElectronicSignatureErrorState | ElectronicSignatureSignErrorState | ElectronicSignatureFinishedState | ElectronicSignatureClosedState;
|
|
1262
|
+
/**
|
|
1263
|
+
* Creates an electronic-signature manager around a pre-built actor.
|
|
1264
|
+
*
|
|
1265
|
+
* The manager reads the file-data holder from the actor's input-derived
|
|
1266
|
+
* context, guaranteeing that `selectFile()` and the upload actor use the same
|
|
1267
|
+
* in-memory bytes. This supports actors created from `.provide()` machine
|
|
1268
|
+
* variants without exposing the actor through the manager.
|
|
1269
|
+
*/
|
|
1270
|
+
declare function createElectronicSignatureManagerFromActor(actor: ElectronicSignatureActor): Manager<ElectronicSignatureState> & {
|
|
1271
|
+
load(): void;
|
|
1272
|
+
setConsent(name: ConsentKey, checked: boolean): void;
|
|
1273
|
+
selectFile(fileName: string, fileData: ArrayBuffer, fileUrl: string): void;
|
|
1274
|
+
replaceFile(): void;
|
|
1275
|
+
confirmFile(): void;
|
|
1276
|
+
viewDocument(url: string): void;
|
|
1277
|
+
closeDocumentView(): void;
|
|
1278
|
+
sign(): void;
|
|
1279
|
+
finish(): void;
|
|
1280
|
+
retry(): void;
|
|
1281
|
+
close(): void;
|
|
1282
|
+
};
|
|
1247
1283
|
declare function createElectronicSignatureManager(options: {
|
|
1248
1284
|
config: CreateElectronicSignatureActorOptions['config'];
|
|
1249
1285
|
}): Manager<ElectronicSignatureState> & {
|
|
@@ -1259,6 +1295,6 @@ declare function createElectronicSignatureManager(options: {
|
|
|
1259
1295
|
retry(): void;
|
|
1260
1296
|
close(): void;
|
|
1261
1297
|
};
|
|
1262
|
-
type ElectronicSignatureManager = ReturnType<typeof
|
|
1298
|
+
type ElectronicSignatureManager = ReturnType<typeof createElectronicSignatureManagerFromActor>;
|
|
1263
1299
|
//#endregion
|
|
1264
|
-
export {
|
|
1300
|
+
export { ElectronicSignatureActor as a, createElectronicSignatureManagerFromActor as i, ElectronicSignatureState as n, electronicSignatureMachine as o, createElectronicSignatureManager as r, ElectronicSignatureManager as t };
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import { r as toIncodeApiError } from "./apiError-DayXRMcE.esm.js";
|
|
6
6
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
7
7
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
8
8
|
import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
|
|
@@ -56,7 +56,7 @@ const signDocumentsActor = fromPromise(async ({ input, signal }) => {
|
|
|
56
56
|
*/
|
|
57
57
|
const generateUploadUrlActor = fromPromise(async ({ signal }) => generateUploadUrl(signal));
|
|
58
58
|
const uploadFileActor = fromPromise(async ({ input, signal }) => {
|
|
59
|
-
const fileData = input.
|
|
59
|
+
const fileData = input.fileDataHolder.current;
|
|
60
60
|
if (!fileData) throw new Error("No file data available for upload");
|
|
61
61
|
await uploadDocumentFile(input.preSignedUrl, fileData, signal);
|
|
62
62
|
});
|
|
@@ -86,6 +86,18 @@ function areAllConsented(checks) {
|
|
|
86
86
|
}
|
|
87
87
|
//#endregion
|
|
88
88
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.ts
|
|
89
|
+
function resolveFileDataHolder(input) {
|
|
90
|
+
if (input.fileDataHolder !== void 0) return input.fileDataHolder;
|
|
91
|
+
let selectedFileData;
|
|
92
|
+
return {
|
|
93
|
+
get current() {
|
|
94
|
+
return selectedFileData === void 0 ? input.getFileData() : selectedFileData;
|
|
95
|
+
},
|
|
96
|
+
set current(fileData) {
|
|
97
|
+
selectedFileData = fileData;
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
89
101
|
const electronicSignatureMachine = setup({
|
|
90
102
|
types: {
|
|
91
103
|
context: {},
|
|
@@ -152,7 +164,7 @@ const electronicSignatureMachine = setup({
|
|
|
152
164
|
initial: "idle",
|
|
153
165
|
context: ({ input }) => ({
|
|
154
166
|
config: input.config,
|
|
155
|
-
|
|
167
|
+
fileDataHolder: resolveFileDataHolder(input),
|
|
156
168
|
documents: [],
|
|
157
169
|
signedDocuments: [],
|
|
158
170
|
fileName: null,
|
|
@@ -211,7 +223,7 @@ const electronicSignatureMachine = setup({
|
|
|
211
223
|
src: "uploadFile",
|
|
212
224
|
input: ({ context }) => ({
|
|
213
225
|
preSignedUrl: context.preSignedUrl,
|
|
214
|
-
|
|
226
|
+
fileDataHolder: context.fileDataHolder
|
|
215
227
|
}),
|
|
216
228
|
onDone: { target: "fetchingDocs" },
|
|
217
229
|
onError: {
|
|
@@ -321,10 +333,7 @@ const electronicSignatureMachine = setup({
|
|
|
321
333
|
//#endregion
|
|
322
334
|
//#region src/modules/electronic-signature/electronicSignatureActor.ts
|
|
323
335
|
function createElectronicSignatureActor(options) {
|
|
324
|
-
return createActor(electronicSignatureMachine, { input:
|
|
325
|
-
config: options.config,
|
|
326
|
-
getFileData: options.getFileData
|
|
327
|
-
} }).start();
|
|
336
|
+
return createActor(electronicSignatureMachine, { input: options }).start();
|
|
328
337
|
}
|
|
329
338
|
//#endregion
|
|
330
339
|
//#region src/modules/electronic-signature/electronicSignatureManager.ts
|
|
@@ -455,7 +464,7 @@ function mapState(snapshot) {
|
|
|
455
464
|
if (snapshot.matches("closed")) return { status: "closed" };
|
|
456
465
|
throw new Error(`Unhandled electronic-signature state: ${JSON.stringify(snapshot.value)}`);
|
|
457
466
|
}
|
|
458
|
-
function createApi({ actor, trackElementClicked,
|
|
467
|
+
function createApi({ actor, trackElementClicked, fileDataHolder }) {
|
|
459
468
|
return {
|
|
460
469
|
load() {
|
|
461
470
|
actor.send({ type: "LOAD" });
|
|
@@ -468,7 +477,7 @@ function createApi({ actor, trackElementClicked, fileDataRef }) {
|
|
|
468
477
|
});
|
|
469
478
|
},
|
|
470
479
|
selectFile(fileName, fileData, fileUrl) {
|
|
471
|
-
|
|
480
|
+
fileDataHolder.current = fileData;
|
|
472
481
|
actor.send({
|
|
473
482
|
type: "SELECT_FILE",
|
|
474
483
|
fileName,
|
|
@@ -477,7 +486,7 @@ function createApi({ actor, trackElementClicked, fileDataRef }) {
|
|
|
477
486
|
});
|
|
478
487
|
},
|
|
479
488
|
replaceFile() {
|
|
480
|
-
|
|
489
|
+
fileDataHolder.current = null;
|
|
481
490
|
actor.send({ type: "REPLACE_FILE" });
|
|
482
491
|
},
|
|
483
492
|
confirmFile() {
|
|
@@ -503,7 +512,7 @@ function createApi({ actor, trackElementClicked, fileDataRef }) {
|
|
|
503
512
|
},
|
|
504
513
|
retry() {
|
|
505
514
|
trackElementClicked?.("retry");
|
|
506
|
-
|
|
515
|
+
fileDataHolder.current = null;
|
|
507
516
|
actor.send({ type: "RETRY" });
|
|
508
517
|
},
|
|
509
518
|
close() {
|
|
@@ -512,22 +521,32 @@ function createApi({ actor, trackElementClicked, fileDataRef }) {
|
|
|
512
521
|
}
|
|
513
522
|
};
|
|
514
523
|
}
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
524
|
+
/**
|
|
525
|
+
* Creates an electronic-signature manager around a pre-built actor.
|
|
526
|
+
*
|
|
527
|
+
* The manager reads the file-data holder from the actor's input-derived
|
|
528
|
+
* context, guaranteeing that `selectFile()` and the upload actor use the same
|
|
529
|
+
* in-memory bytes. This supports actors created from `.provide()` machine
|
|
530
|
+
* variants without exposing the actor through the manager.
|
|
531
|
+
*/
|
|
532
|
+
function createElectronicSignatureManagerFromActor(actor) {
|
|
533
|
+
const { config, fileDataHolder } = actor.getSnapshot().context;
|
|
534
|
+
const isQualified = config.variant === "qe";
|
|
522
535
|
return createManager({
|
|
523
536
|
actor,
|
|
524
537
|
mapState,
|
|
525
538
|
createApi: (apiOptions) => createApi({
|
|
526
539
|
...apiOptions,
|
|
527
|
-
|
|
540
|
+
fileDataHolder
|
|
528
541
|
}),
|
|
529
542
|
instrumentation: createManagerInstrumentation(isQualified ? eventModuleNames.qeSignature : eventModuleNames.aeSignature, { getEventScreenName: isQualified ? getQSignatureScreenName : getAdSignatureScreenName })
|
|
530
543
|
});
|
|
531
544
|
}
|
|
545
|
+
function createElectronicSignatureManager(options) {
|
|
546
|
+
return createElectronicSignatureManagerFromActor(createElectronicSignatureActor({
|
|
547
|
+
config: options.config,
|
|
548
|
+
fileDataHolder: { current: null }
|
|
549
|
+
}));
|
|
550
|
+
}
|
|
532
551
|
//#endregion
|
|
533
|
-
export {
|
|
552
|
+
export { QE_CONSENT_KEYS as a, getDefaultConsentChecks as c, AE_CONSENT_KEYS as i, createElectronicSignatureManagerFromActor as n, areAllConsented as o, electronicSignatureMachine as r, getConsentKeys as s, createElectronicSignatureManager as t };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { E as createActor, O as fromPromise } from "./spawn-D9jgw9pW.js";
|
|
|
2
2
|
import { n as fromCallback } from "./callback-645_omgz.js";
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
+
import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js";
|
|
6
|
+
import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js";
|
|
5
7
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js";
|
|
6
8
|
import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-K8iLKaRl.js";
|
|
7
9
|
import { t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js";
|
|
@@ -12,7 +14,7 @@ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t
|
|
|
12
14
|
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-uhDPdU6i.js";
|
|
13
15
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
14
16
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js";
|
|
15
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
17
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-trL8jFh6.js";
|
|
16
18
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js";
|
|
17
19
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
18
20
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
@@ -157,4 +159,4 @@ declare function getDeviceFingerprintInfo(): Promise<DeviceFingerprintInfo>;
|
|
|
157
159
|
//#region src/internal/fingerprint/fingerprintApi.d.ts
|
|
158
160
|
declare function getFingerprint(disableIpify?: boolean): Promise<FingerprintResult>;
|
|
159
161
|
//#endregion
|
|
160
|
-
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|
|
162
|
+
export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
|