@incodetech/core 0.0.0-dev-20260803-b5ce6d34 → 0.0.0-dev-20260803-2bd16802
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.esm.js +1 -1
- package/dist/{apiError-Dur0ZmBT.esm.js → apiError-0e7XVmLE.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DgzM1Wf9.esm.js → authenticationManager-CArZpDf_.esm.js} +2 -2
- package/dist/{authenticationStateMachine-D1qlVJV5.esm.js → authenticationStateMachine-3w56jRTO.esm.js} +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-3Pbtj-RV.d.ts} +4 -4
- package/dist/{deepsightLoader-DKGHk6FX.esm.js → deepsightLoader-DYVd_8gR.esm.js} +3 -3
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-trL8jFh6.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-Ca40i2J-.esm.js → dynamicFormsManager-Jgr8OAlG.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-2F2xzJ9n.esm.js → dynamicFormsStateMachine-Cm6YJQBA.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-B-bJeFWw.esm.js → ekybManager-DLlenLG2.esm.js} +1 -1
- package/dist/{ekybStateMachine-CKyNyGOb.esm.js → ekybStateMachine-DpaO3WdV.esm.js} +1 -1
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-CaTG8DCc.esm.js → electronicSignatureManager-CPWJcuFy.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -4
- package/dist/extensibility.esm.js +10 -9
- package/dist/{faceCaptureManagerFactory-5jFbGsGO.esm.js → faceCaptureManagerFactory-C58fhn5l.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CdYAXLCa.esm.js → faceCaptureSetup-a7dsfqui.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-H1FR1oPN.esm.js → flowCompletionService-BZWoO8E3.esm.js} +1 -1
- package/dist/{flowServices-BaNMIun-.esm.js → flowServices-DlsSs-nq.esm.js} +3 -3
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CTp4QR97.esm.js → geolocationManager-C7LEmSRJ.esm.js} +1 -1
- package/dist/{geolocationStateMachine-B0TTO9n8.esm.js → geolocationStateMachine-CV2cecNj.esm.js} +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-BhPPhoih.esm.js → idCaptureManager-DtcaSiRd.esm.js} +1 -1
- package/dist/{idCaptureServices-B1TG_9yM.esm.js → idCaptureServices-DcGxxfYS.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-H4oW0b-H.esm.js → idCaptureStateMachine-cWGQatgx.esm.js} +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-B29kR0XA.d.ts → mandatoryConsentManager-DyPzUmsZ.d.ts} +4 -4
- package/dist/{onDeviceFaceResults-BS7ZOswr.esm.js → onDeviceFaceResults-BuTjLnON.esm.js} +3 -3
- package/dist/personhood.esm.js +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-D09RjBsA.esm.js → recordingService-DdljWMN1.esm.js} +1 -1
- package/dist/{runChildModule-DO9fU9AQ.esm.js → runChildModule-BSTzbivl.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-OE-cGy3L.esm.js → selfieManager-BzCnteUg.esm.js} +2 -2
- package/dist/{selfieStateMachine-B-1YVAYi.esm.js → selfieStateMachine-TC6ctOex.esm.js} +2 -2
- package/dist/{session-BCmPBdL7.esm.js → session-DY1mtqPs.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-D0cjfTRS.esm.js → sessionInitializer-q_Sx6L7L.esm.js} +2 -2
- package/dist/{setup-B_IodBTZ.esm.js → setup-DZLzxBYo.esm.js} +4 -4
- package/dist/signature.d.ts +2 -92
- package/dist/signature.esm.js +2 -104
- package/dist/signatureManager-BpstxH7R.esm.js +113 -0
- package/dist/signatureManager-DGBSWz2_.d.ts +106 -0
- package/dist/trueSight-CxKqRMOO.esm.js +1 -0
- package/dist/{trueSightService-CooAg2Mc.esm.js → trueSightService-mUItB6iL.esm.js} +1 -1
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-DRCSYG9O.esm.js → videoSelfieCameraWarmer-DAG8CmBp.esm.js} +2 -2
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +5 -5
- package/dist/workflow.esm.js +15 -15
- package/package.json +3 -3
- package/dist/trueSight-Bm8Xb2-c.esm.js +0 -1
- /package/dist/{types-BfgmV7s7.d.ts → types-BfgmV7s72.d.ts} +0 -0
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-CPWJcuFy.esm.js";
|
|
2
2
|
//#region src/modules/qe-signature/index.ts
|
|
3
3
|
function createQeSignatureManager(options) {
|
|
4
4
|
return createElectronicSignatureManager({ config: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
2
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
2
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BuTjLnON.esm.js";
|
|
3
3
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
4
4
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
5
5
|
async function getDurationBySeek(videoBlob) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
2
|
-
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-
|
|
2
|
+
import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-mUItB6iL.esm.js";
|
|
3
3
|
import { C as createEventBus } from "./events-ethtfu2b.esm.js";
|
|
4
4
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
package/dist/selfie.esm.js
CHANGED
|
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
|
|
|
3
3
|
import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
|
|
4
4
|
import { o as createActor, 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 { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-a7dsfqui.esm.js";
|
|
7
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C58fhn5l.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-TC6ctOex.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BzCnteUg.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -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 selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C58fhn5l.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-TC6ctOex.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-a7dsfqui.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BuTjLnON.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as getApi } from "./api-Bx3gKW_y.esm.js";
|
|
2
|
-
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-
|
|
3
|
-
import "./sessionInitializer-
|
|
2
|
+
import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-mUItB6iL.esm.js";
|
|
3
|
+
import "./sessionInitializer-q_Sx6L7L.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
5
|
-
import "./trueSight-
|
|
6
|
-
import { r as toIncodeApiError } from "./apiError-
|
|
5
|
+
import "./trueSight-CxKqRMOO.esm.js";
|
|
6
|
+
import { r as toIncodeApiError } from "./apiError-0e7XVmLE.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
9
9
|
* HTTP status codes the QR validation endpoint emits, keyed by their semantic
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
2
|
-
import { t as IncodeApiError } from "./apiError-
|
|
3
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
4
|
-
import { n as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { i as initializeSession } from "./sessionInitializer-q_Sx6L7L.esm.js";
|
|
2
|
+
import { t as IncodeApiError } from "./apiError-0e7XVmLE.esm.js";
|
|
3
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-DY1mtqPs.esm.js";
|
|
4
|
+
import { n as getFinishStatus } from "./flowCompletionService-BZWoO8E3.esm.js";
|
|
5
5
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
|
|
2
2
|
import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
|
-
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-
|
|
3
|
+
import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-mUItB6iL.esm.js";
|
|
4
4
|
import { v as addEvent, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
6
|
-
import "./trueSight-
|
|
6
|
+
import "./trueSight-CxKqRMOO.esm.js";
|
|
7
7
|
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
|
|
8
8
|
import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
9
9
|
import { r as isIOS } from "./platform-Cd_yWGNG.esm.js";
|
|
@@ -5,14 +5,14 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
|
|
|
5
5
|
import { b as resetEnvironment, d as initializeFeatureManagement, h as resetFeatureManagementProviderInstance, l as getIsFeatureManagementLocked, m as resetFeatureManagement, p as optOutFeatureManagement, v as applyEnvironment, y as getEnvironment } from "./feature-management-CFRmD8Nr.esm.js";
|
|
6
6
|
import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
|
|
7
7
|
import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
|
|
8
|
-
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-
|
|
8
|
+
import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-mUItB6iL.esm.js";
|
|
9
9
|
import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
|
|
10
|
-
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-q_Sx6L7L.esm.js";
|
|
11
11
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
12
|
-
import "./trueSight-
|
|
12
|
+
import "./trueSight-CxKqRMOO.esm.js";
|
|
13
13
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
|
|
14
14
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
15
|
-
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-
|
|
15
|
+
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DlsSs-nq.esm.js";
|
|
16
16
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
17
17
|
var BrowserPageLifecycleProvider = class {
|
|
18
18
|
sendBeacon(url, body, contentType = "application/json") {
|
package/dist/signature.d.ts
CHANGED
|
@@ -1,92 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
|
|
3
|
-
//#region src/modules/signature/types.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Configuration options for Signature.
|
|
6
|
-
*/
|
|
7
|
-
type SignatureConfig = {
|
|
8
|
-
type?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Optional header title for both steps. When omitted, the UI uses per-step defaults
|
|
11
|
-
* (“Draw your signature”).
|
|
12
|
-
*/
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Optional subtitle for both steps. When omitted, the UI uses the default finger/mouse copy.
|
|
16
|
-
* Backend field name: `subTitle` (capital T).
|
|
17
|
-
*/
|
|
18
|
-
subTitle?: string;
|
|
19
|
-
/**
|
|
20
|
-
* When true, uploads base64 via Omni `addSignature` v2 JSON body.
|
|
21
|
-
* When false (default), uploads JPEG bytes (`image/jpeg`).
|
|
22
|
-
*/
|
|
23
|
-
sendBase64?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Optional fill behind the drawing area (e.g. hex, `rgb()`, or a CSS variable).
|
|
26
|
-
* When omitted, the default themed surface from the signature UI is used.
|
|
27
|
-
*/
|
|
28
|
-
canvasBackgroundColor?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Optional maximum stroke width for the pen, in CSS pixels (passed to `SignaturePad` as `maxWidth`).
|
|
31
|
-
* When omitted, the pad uses its default sizing.
|
|
32
|
-
*/
|
|
33
|
-
penStrokeWidth?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Optional ink color (e.g. hex, `rgb()`, or `var(--token)` resolved where supported).
|
|
36
|
-
* When omitted, the default signature pen color from theme tokens is used.
|
|
37
|
-
*/
|
|
38
|
-
penColor?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Optional border color for the drawing area (same format as `penColor`).
|
|
41
|
-
* When omitted, the default input border token from the signature UI is used.
|
|
42
|
-
*/
|
|
43
|
-
canvasBorderColor?: string;
|
|
44
|
-
};
|
|
45
|
-
/** Response body from Omni add-signature endpoints. */
|
|
46
|
-
type AddSignatureResponse = {
|
|
47
|
-
image: string | Blob;
|
|
48
|
-
type: string;
|
|
49
|
-
};
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/modules/signature/signatureStateMachine.d.ts
|
|
52
|
-
declare const signatureMachine: any;
|
|
53
|
-
//#endregion
|
|
54
|
-
//#region src/modules/signature/signatureActor.d.ts
|
|
55
|
-
type CreateSignatureActorOptions = {
|
|
56
|
-
config: SignatureConfig;
|
|
57
|
-
};
|
|
58
|
-
//#endregion
|
|
59
|
-
//#region src/modules/signature/signatureManager.d.ts
|
|
60
|
-
type SignatureIdleState = {
|
|
61
|
-
status: 'idle';
|
|
62
|
-
};
|
|
63
|
-
type SignatureCaptureState = {
|
|
64
|
-
status: 'capture';
|
|
65
|
-
title: string | undefined;
|
|
66
|
-
subtitle: string | undefined;
|
|
67
|
-
canContinue: boolean;
|
|
68
|
-
};
|
|
69
|
-
type SignatureSubmittingState = {
|
|
70
|
-
status: 'submitting';
|
|
71
|
-
};
|
|
72
|
-
type SignatureFinishedState = {
|
|
73
|
-
status: 'finished';
|
|
74
|
-
result: AddSignatureResponse | undefined;
|
|
75
|
-
};
|
|
76
|
-
type SignatureErrorState = {
|
|
77
|
-
status: 'error';
|
|
78
|
-
error: string;
|
|
79
|
-
};
|
|
80
|
-
type SignatureSuccessState = {
|
|
81
|
-
status: 'success';
|
|
82
|
-
};
|
|
83
|
-
type SignatureState = SignatureIdleState | SignatureCaptureState | SignatureSubmittingState | SignatureFinishedState | SignatureErrorState | SignatureSuccessState;
|
|
84
|
-
declare function createSignatureManager(options: CreateSignatureActorOptions): Manager<SignatureState> & {
|
|
85
|
-
load(): void;
|
|
86
|
-
setSignatureValid(isValid: boolean): void;
|
|
87
|
-
/** Exported image (base64 string or JPEG Blob) from the canvas; starts the upload actor. */
|
|
88
|
-
submit(image: string | Blob): void;
|
|
89
|
-
};
|
|
90
|
-
type SignatureManager = ReturnType<typeof createSignatureManager>;
|
|
91
|
-
//#endregion
|
|
92
|
-
export { type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, signatureMachine };
|
|
1
|
+
import { a as createSignatureManagerFromActor, c as SignatureConfig, i as createSignatureManager, n as SignatureManager, o as SignatureActor, r as SignatureState, s as signatureMachine, t as SignatureCaptureState } from "./signatureManager-DGBSWz2_.js";
|
|
2
|
+
export { type SignatureActor, type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
package/dist/signature.esm.js
CHANGED
|
@@ -1,105 +1,3 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
|
-
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
-
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
1
|
import { t as signatureMachine } from "./signatureStateMachine-Cf73DGWO.esm.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return createActor(signatureMachine, { input: { config: options.config } }).start();
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/modules/signature/signatureManager.ts
|
|
11
|
-
/**
|
|
12
|
-
* Maps a signature state-machine snapshot to the exact Figma "Tracked
|
|
13
|
-
* Events" screen name. Returned strings are the Figma-verbatim absolute
|
|
14
|
-
* analytics path (module prefix included), emitted as-is on `event.screen`
|
|
15
|
-
* by `createManagerInstrumentation`'s `getEventScreenName` path. See
|
|
16
|
-
* `docs/patterns/INSTRUMENTATION.md`.
|
|
17
|
-
*
|
|
18
|
-
* Source of truth: Electronic Signature Figma file → Tracked Events canvas
|
|
19
|
-
* (`https://www.figma.com/design/kUsDigsC8Mq1WobTewF0R6/Electronic-Signature---Latest-Design?node-id=4268-3602`).
|
|
20
|
-
* Section names are taken as canonical — note the canvas mixes
|
|
21
|
-
* `eSign.writeSignature.*` for the `default`/`completed` screens with
|
|
22
|
-
* `eSign.writeYourSignature.success` (without the `Signature` collapse) for
|
|
23
|
-
* the success surface; both spellings are preserved verbatim.
|
|
24
|
-
*
|
|
25
|
-
* State → screen mapping rationale:
|
|
26
|
-
*
|
|
27
|
-
* - `idle`/`captureSignature` collapse to `eSign.writeSignature.default` —
|
|
28
|
-
* the state machine stays in `captureSignature` throughout drawing (stroke
|
|
29
|
-
* validity changes via `SIGNATURE_CHANGED` are context-only and don't fire
|
|
30
|
-
* a new `screenOpened`). The `eSign.writeSignature.completed` Figma surface
|
|
31
|
-
* is therefore the post-submit "signed canvas while we wait for the API"
|
|
32
|
-
* surface, mapped to `submittingSignature`.
|
|
33
|
-
* - `success`/`finished` both map to `eSign.writeYourSignature.success` so
|
|
34
|
-
* the terminal `finished` state stays on the visible success canvas rather
|
|
35
|
-
* than falling back to the generic `<module>.finished` default.
|
|
36
|
-
* - `error` is intentionally unmapped — the Figma canvas does not define a
|
|
37
|
-
* dedicated error screen yet. The adapter falls back to the generic
|
|
38
|
-
* `eSign.error` default, which `errorTriggered` consumers can still
|
|
39
|
-
* correlate against the error payload.
|
|
40
|
-
*/
|
|
41
|
-
function getSignatureScreenName(snapshot) {
|
|
42
|
-
const stateName = topLevelStateName(snapshot.value);
|
|
43
|
-
if (stateName === void 0) return void 0;
|
|
44
|
-
switch (stateName) {
|
|
45
|
-
case "idle":
|
|
46
|
-
case "captureSignature": return "eSign.writeSignature.default";
|
|
47
|
-
case "submittingSignature": return "eSign.writeSignature.completed";
|
|
48
|
-
case "success":
|
|
49
|
-
case "finished": return "eSign.writeYourSignature.success";
|
|
50
|
-
default: return;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
function mapState(snapshot) {
|
|
54
|
-
const typedSnapshot = snapshot;
|
|
55
|
-
const { context } = typedSnapshot;
|
|
56
|
-
if (typedSnapshot.matches("idle")) return { status: "idle" };
|
|
57
|
-
if (typedSnapshot.matches("captureSignature")) return {
|
|
58
|
-
status: "capture",
|
|
59
|
-
title: context.config.title,
|
|
60
|
-
subtitle: context.config.subTitle,
|
|
61
|
-
canContinue: context.isValid
|
|
62
|
-
};
|
|
63
|
-
if (typedSnapshot.matches("submittingSignature")) return { status: "submitting" };
|
|
64
|
-
if (typedSnapshot.matches("success")) return { status: "success" };
|
|
65
|
-
if (typedSnapshot.matches("finished")) return {
|
|
66
|
-
status: "finished",
|
|
67
|
-
result: context.signatureSubmitResult
|
|
68
|
-
};
|
|
69
|
-
if (typedSnapshot.matches("error")) return {
|
|
70
|
-
status: "error",
|
|
71
|
-
error: context.error ?? "Upload failed"
|
|
72
|
-
};
|
|
73
|
-
return { status: "idle" };
|
|
74
|
-
}
|
|
75
|
-
function createApi({ actor, trackElementClicked }) {
|
|
76
|
-
return {
|
|
77
|
-
load() {
|
|
78
|
-
actor.send({ type: "LOAD" });
|
|
79
|
-
},
|
|
80
|
-
setSignatureValid(isValid) {
|
|
81
|
-
actor.send({
|
|
82
|
-
type: "SIGNATURE_CHANGED",
|
|
83
|
-
isValid
|
|
84
|
-
});
|
|
85
|
-
},
|
|
86
|
-
/** Exported image (base64 string or JPEG Blob) from the canvas; starts the upload actor. */
|
|
87
|
-
submit(image) {
|
|
88
|
-
trackElementClicked?.("continue");
|
|
89
|
-
actor.send({
|
|
90
|
-
type: "CONTINUE",
|
|
91
|
-
image
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
function createSignatureManager(options) {
|
|
97
|
-
return createManager({
|
|
98
|
-
actor: createSignatureActor(options),
|
|
99
|
-
mapState,
|
|
100
|
-
createApi,
|
|
101
|
-
instrumentation: createManagerInstrumentation(eventModuleNames.signature, { getEventScreenName: getSignatureScreenName })
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
//#endregion
|
|
105
|
-
export { createSignatureManager, signatureMachine };
|
|
2
|
+
import { n as createSignatureManagerFromActor, t as createSignatureManager } from "./signatureManager-BpstxH7R.esm.js";
|
|
3
|
+
export { createSignatureManager, createSignatureManagerFromActor, signatureMachine };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
|
|
2
|
+
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { t as signatureMachine } from "./signatureStateMachine-Cf73DGWO.esm.js";
|
|
5
|
+
//#region src/modules/signature/signatureActor.ts
|
|
6
|
+
function createSignatureActor(options) {
|
|
7
|
+
return createActor(signatureMachine, { input: { config: options.config } }).start();
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/modules/signature/signatureManager.ts
|
|
11
|
+
/**
|
|
12
|
+
* Maps a signature state-machine snapshot to the exact Figma "Tracked
|
|
13
|
+
* Events" screen name. Returned strings are the Figma-verbatim absolute
|
|
14
|
+
* analytics path (module prefix included), emitted as-is on `event.screen`
|
|
15
|
+
* by `createManagerInstrumentation`'s `getEventScreenName` path. See
|
|
16
|
+
* `docs/patterns/INSTRUMENTATION.md`.
|
|
17
|
+
*
|
|
18
|
+
* Source of truth: Electronic Signature Figma file → Tracked Events canvas
|
|
19
|
+
* (`https://www.figma.com/design/kUsDigsC8Mq1WobTewF0R6/Electronic-Signature---Latest-Design?node-id=4268-3602`).
|
|
20
|
+
* Section names are taken as canonical — note the canvas mixes
|
|
21
|
+
* `eSign.writeSignature.*` for the `default`/`completed` screens with
|
|
22
|
+
* `eSign.writeYourSignature.success` (without the `Signature` collapse) for
|
|
23
|
+
* the success surface; both spellings are preserved verbatim.
|
|
24
|
+
*
|
|
25
|
+
* State → screen mapping rationale:
|
|
26
|
+
*
|
|
27
|
+
* - `idle`/`captureSignature` collapse to `eSign.writeSignature.default` —
|
|
28
|
+
* the state machine stays in `captureSignature` throughout drawing (stroke
|
|
29
|
+
* validity changes via `SIGNATURE_CHANGED` are context-only and don't fire
|
|
30
|
+
* a new `screenOpened`). The `eSign.writeSignature.completed` Figma surface
|
|
31
|
+
* is therefore the post-submit "signed canvas while we wait for the API"
|
|
32
|
+
* surface, mapped to `submittingSignature`.
|
|
33
|
+
* - `success`/`finished` both map to `eSign.writeYourSignature.success` so
|
|
34
|
+
* the terminal `finished` state stays on the visible success canvas rather
|
|
35
|
+
* than falling back to the generic `<module>.finished` default.
|
|
36
|
+
* - `error` is intentionally unmapped — the Figma canvas does not define a
|
|
37
|
+
* dedicated error screen yet. The adapter falls back to the generic
|
|
38
|
+
* `eSign.error` default, which `errorTriggered` consumers can still
|
|
39
|
+
* correlate against the error payload.
|
|
40
|
+
*/
|
|
41
|
+
function getSignatureScreenName(snapshot) {
|
|
42
|
+
const stateName = topLevelStateName(snapshot.value);
|
|
43
|
+
if (stateName === void 0) return void 0;
|
|
44
|
+
switch (stateName) {
|
|
45
|
+
case "idle":
|
|
46
|
+
case "captureSignature": return "eSign.writeSignature.default";
|
|
47
|
+
case "submittingSignature": return "eSign.writeSignature.completed";
|
|
48
|
+
case "success":
|
|
49
|
+
case "finished": return "eSign.writeYourSignature.success";
|
|
50
|
+
default: return;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function mapState(snapshot) {
|
|
54
|
+
const typedSnapshot = snapshot;
|
|
55
|
+
const { context } = typedSnapshot;
|
|
56
|
+
if (typedSnapshot.matches("idle")) return { status: "idle" };
|
|
57
|
+
if (typedSnapshot.matches("captureSignature")) return {
|
|
58
|
+
status: "capture",
|
|
59
|
+
title: context.config.title,
|
|
60
|
+
subtitle: context.config.subTitle,
|
|
61
|
+
canContinue: context.isValid
|
|
62
|
+
};
|
|
63
|
+
if (typedSnapshot.matches("submittingSignature")) return { status: "submitting" };
|
|
64
|
+
if (typedSnapshot.matches("success")) return { status: "success" };
|
|
65
|
+
if (typedSnapshot.matches("finished")) return {
|
|
66
|
+
status: "finished",
|
|
67
|
+
result: context.signatureSubmitResult
|
|
68
|
+
};
|
|
69
|
+
if (typedSnapshot.matches("error")) return {
|
|
70
|
+
status: "error",
|
|
71
|
+
error: context.error ?? "Upload failed"
|
|
72
|
+
};
|
|
73
|
+
return { status: "idle" };
|
|
74
|
+
}
|
|
75
|
+
function createApi({ actor, trackElementClicked }) {
|
|
76
|
+
return {
|
|
77
|
+
load() {
|
|
78
|
+
actor.send({ type: "LOAD" });
|
|
79
|
+
},
|
|
80
|
+
setSignatureValid(isValid) {
|
|
81
|
+
actor.send({
|
|
82
|
+
type: "SIGNATURE_CHANGED",
|
|
83
|
+
isValid
|
|
84
|
+
});
|
|
85
|
+
},
|
|
86
|
+
/** Exported image (base64 string or JPEG Blob) from the canvas; starts the upload actor. */
|
|
87
|
+
submit(image) {
|
|
88
|
+
trackElementClicked?.("continue");
|
|
89
|
+
actor.send({
|
|
90
|
+
type: "CONTINUE",
|
|
91
|
+
image
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
function createSignatureManager(options) {
|
|
97
|
+
return createSignatureManagerFromActor(createSignatureActor(options));
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates a signature manager from a pre-built actor.
|
|
101
|
+
* Use this when overriding the machine via `.provide()` for custom backends
|
|
102
|
+
* or isolated UI rendering.
|
|
103
|
+
*/
|
|
104
|
+
function createSignatureManagerFromActor(actor) {
|
|
105
|
+
return createManager({
|
|
106
|
+
actor,
|
|
107
|
+
mapState,
|
|
108
|
+
createApi,
|
|
109
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.signature, { getEventScreenName: getSignatureScreenName })
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
//#endregion
|
|
113
|
+
export { createSignatureManagerFromActor as n, createSignatureManager as t };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
|
+
import "./Actor-iTq7YY48.js";
|
|
4
|
+
//#region src/modules/signature/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Configuration options for Signature.
|
|
7
|
+
*/
|
|
8
|
+
type SignatureConfig = {
|
|
9
|
+
type?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional header title for both steps. When omitted, the UI uses per-step defaults
|
|
12
|
+
* (“Draw your signature”).
|
|
13
|
+
*/
|
|
14
|
+
title?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional subtitle for both steps. When omitted, the UI uses the default finger/mouse copy.
|
|
17
|
+
* Backend field name: `subTitle` (capital T).
|
|
18
|
+
*/
|
|
19
|
+
subTitle?: string;
|
|
20
|
+
/**
|
|
21
|
+
* When true, uploads base64 via Omni `addSignature` v2 JSON body.
|
|
22
|
+
* When false (default), uploads JPEG bytes (`image/jpeg`).
|
|
23
|
+
*/
|
|
24
|
+
sendBase64?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Optional fill behind the drawing area (e.g. hex, `rgb()`, or a CSS variable).
|
|
27
|
+
* When omitted, the default themed surface from the signature UI is used.
|
|
28
|
+
*/
|
|
29
|
+
canvasBackgroundColor?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional maximum stroke width for the pen, in CSS pixels (passed to `SignaturePad` as `maxWidth`).
|
|
32
|
+
* When omitted, the pad uses its default sizing.
|
|
33
|
+
*/
|
|
34
|
+
penStrokeWidth?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Optional ink color (e.g. hex, `rgb()`, or `var(--token)` resolved where supported).
|
|
37
|
+
* When omitted, the default signature pen color from theme tokens is used.
|
|
38
|
+
*/
|
|
39
|
+
penColor?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional border color for the drawing area (same format as `penColor`).
|
|
42
|
+
* When omitted, the default input border token from the signature UI is used.
|
|
43
|
+
*/
|
|
44
|
+
canvasBorderColor?: string;
|
|
45
|
+
};
|
|
46
|
+
/** Response body from Omni add-signature endpoints. */
|
|
47
|
+
type AddSignatureResponse = {
|
|
48
|
+
image: string | Blob;
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/modules/signature/signatureStateMachine.d.ts
|
|
53
|
+
declare const signatureMachine: any;
|
|
54
|
+
type SignatureMachine = typeof signatureMachine;
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/modules/signature/signatureActor.d.ts
|
|
57
|
+
type CreateSignatureActorOptions = {
|
|
58
|
+
config: SignatureConfig;
|
|
59
|
+
};
|
|
60
|
+
type SignatureActor = ActorRefFrom<SignatureMachine>;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/modules/signature/signatureManager.d.ts
|
|
63
|
+
type SignatureIdleState = {
|
|
64
|
+
status: 'idle';
|
|
65
|
+
};
|
|
66
|
+
type SignatureCaptureState = {
|
|
67
|
+
status: 'capture';
|
|
68
|
+
title: string | undefined;
|
|
69
|
+
subtitle: string | undefined;
|
|
70
|
+
canContinue: boolean;
|
|
71
|
+
};
|
|
72
|
+
type SignatureSubmittingState = {
|
|
73
|
+
status: 'submitting';
|
|
74
|
+
};
|
|
75
|
+
type SignatureFinishedState = {
|
|
76
|
+
status: 'finished';
|
|
77
|
+
result: AddSignatureResponse | undefined;
|
|
78
|
+
};
|
|
79
|
+
type SignatureErrorState = {
|
|
80
|
+
status: 'error';
|
|
81
|
+
error: string;
|
|
82
|
+
};
|
|
83
|
+
type SignatureSuccessState = {
|
|
84
|
+
status: 'success';
|
|
85
|
+
};
|
|
86
|
+
type SignatureState = SignatureIdleState | SignatureCaptureState | SignatureSubmittingState | SignatureFinishedState | SignatureErrorState | SignatureSuccessState;
|
|
87
|
+
declare function createSignatureManager(options: CreateSignatureActorOptions): Manager<SignatureState> & {
|
|
88
|
+
load(): void;
|
|
89
|
+
setSignatureValid(isValid: boolean): void;
|
|
90
|
+
/** Exported image (base64 string or JPEG Blob) from the canvas; starts the upload actor. */
|
|
91
|
+
submit(image: string | Blob): void;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Creates a signature manager from a pre-built actor.
|
|
95
|
+
* Use this when overriding the machine via `.provide()` for custom backends
|
|
96
|
+
* or isolated UI rendering.
|
|
97
|
+
*/
|
|
98
|
+
declare function createSignatureManagerFromActor(actor: SignatureActor): Manager<SignatureState> & {
|
|
99
|
+
load(): void;
|
|
100
|
+
setSignatureValid(isValid: boolean): void;
|
|
101
|
+
/** Exported image (base64 string or JPEG Blob) from the canvas; starts the upload actor. */
|
|
102
|
+
submit(image: string | Blob): void;
|
|
103
|
+
};
|
|
104
|
+
type SignatureManager = ReturnType<typeof createSignatureManager>;
|
|
105
|
+
//#endregion
|
|
106
|
+
export { createSignatureManagerFromActor as a, SignatureConfig as c, createSignatureManager as i, SignatureManager as n, SignatureActor as o, SignatureState as r, signatureMachine as s, SignatureCaptureState as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./trueSightService-mUItB6iL.esm.js";
|
|
@@ -724,7 +724,7 @@ function epochMsToIsoString(epochMs) {
|
|
|
724
724
|
}
|
|
725
725
|
//#endregion
|
|
726
726
|
//#region src/internal/version/sdkVersion.ts
|
|
727
|
-
const SDK_VERSION = "0.0.0-dev-20260803-
|
|
727
|
+
const SDK_VERSION = "0.0.0-dev-20260803-2bd16802";
|
|
728
728
|
//#endregion
|
|
729
729
|
//#region src/internal/trueSight/recordBuilder.ts
|
|
730
730
|
/**
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
|
|
2
|
-
import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-
|
|
2
|
+
import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-DZLzxBYo.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
6
|
-
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DlsSs-nq.esm.js";
|
|
7
7
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
9
9
|
import { n as getSupportedMediaRecorderMimeType } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
10
|
-
import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-
|
|
10
|
+
import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-DAG8CmBp.esm.js";
|
|
11
11
|
//#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
|
|
12
12
|
/**
|
|
13
13
|
* S3 multipart requires every part except the last to be at least 5 MB, so we
|
package/dist/{videoSelfieCameraWarmer-DRCSYG9O.esm.js → videoSelfieCameraWarmer-DAG8CmBp.esm.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bx3gKW_y.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
|
|
4
|
-
import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
4
|
+
import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DlsSs-nq.esm.js";
|
|
5
5
|
import { t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
|
|
6
6
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
7
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BuTjLnON.esm.js";
|
|
8
8
|
import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
|
|
9
9
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
10
10
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DTUrftxR.esm.js";
|
|
2
2
|
import { s as warmupWasm } from "./safeStorage-Ep56I-f_.esm.js";
|
|
3
|
-
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-DZLzxBYo.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "./StateMachine-EDpYWy0i.js";
|
|
|
4
4
|
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
5
5
|
import { a as TotalScore, i as GetTotalScoreStatusFn, n as FinishStatus, r as GetFinishStatusFn } from "./flowCompletionService-BlAHsKyv.js";
|
|
6
6
|
import { o as FlowEventSubscribable } from "./index-CLMF0QLQ.js";
|
|
7
|
-
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-
|
|
7
|
+
import { a as WorkflowModuleRegistry, i as RunChildModuleInput, r as RunChildModuleEvent, t as ModuleConfigMappers } from "./types-BfgmV7s72.js";
|
|
8
8
|
//#region src/modules/workflow/types.d.ts
|
|
9
9
|
/** Possible node types returned by the workflow server. */
|
|
10
10
|
type WorkflowNodeType = 'MODULE' | 'FINISH' | 'ASYNC_RESOLUTION';
|
|
@@ -330,10 +330,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
330
330
|
id: string | undefined;
|
|
331
331
|
};
|
|
332
332
|
}>, Values<{
|
|
333
|
-
setError: {
|
|
334
|
-
type: "setError";
|
|
335
|
-
params: NonReducibleUnknown;
|
|
336
|
-
};
|
|
337
333
|
setLoadingResult: {
|
|
338
334
|
type: "setLoadingResult";
|
|
339
335
|
params: NonReducibleUnknown;
|
|
@@ -366,6 +362,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
366
362
|
type: "setFinishStatusFailed";
|
|
367
363
|
params: NonReducibleUnknown;
|
|
368
364
|
};
|
|
365
|
+
setError: {
|
|
366
|
+
type: "setError";
|
|
367
|
+
params: NonReducibleUnknown;
|
|
368
|
+
};
|
|
369
369
|
setModuleError: {
|
|
370
370
|
type: "setModuleError";
|
|
371
371
|
params: NonReducibleUnknown;
|