@incodetech/core 0.0.0-dev-20260521-35265d8d → 0.0.0-dev-20260521-0b79e9d6
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 +1 -1
- package/dist/authentication.d.ts +2 -2
- package/dist/authentication.esm.js +12 -12
- package/dist/{authenticationManager-DNK5BLSe.esm.js → authenticationManager-DiT8wbIH.esm.js} +2 -2
- package/dist/{authenticationManager-DJnbUO06.d.ts → authenticationManager-Dw7TQNvE.d.ts} +1 -1
- package/dist/{authenticationStateMachine-Dsg5M__B.esm.js → authenticationStateMachine-DkIYyLpZ.esm.js} +3 -3
- package/dist/camera.esm.js +2 -2
- package/dist/consent.d.ts +47 -47
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/{deepsightLoader-C8c1Ews6.esm.js → deepsightLoader-DAHwReSB.esm.js} +4 -4
- package/dist/{deepsightService-2sd4SAyw.esm.js → deepsightService-M3lDsftZ.esm.js} +2 -2
- package/dist/device.esm.js +2 -2
- package/dist/document-capture.d.ts +77 -77
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +43 -43
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-DAmx9VKJ.esm.js → documentCaptureStateMachine-BSpcY6Fp.esm.js} +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-CcL87BkK.esm.js → ekybStateMachine-EmQRePR_.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +17 -17
- package/dist/{faceCaptureManagerFactory-fgDszQTU.d.ts → faceCaptureManagerFactory-CYXQCgGA.d.ts} +7 -0
- package/dist/{faceCaptureManagerFactory-B3DvDPIM.esm.js → faceCaptureManagerFactory-Dlaav_QW.esm.js} +2 -1
- package/dist/{faceCaptureSetup-Mc1PtgTH.esm.js → faceCaptureSetup-CD8OfRPJ.esm.js} +3 -165
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-qz4J0fC7.esm.js → flowServices-C-EAi7vv.esm.js} +1 -1
- package/dist/{getDeviceClass-DZlX3xX3.esm.js → getDeviceClass-BlQhwe19.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.esm.js +11 -11
- package/dist/{idCaptureManager-DWhsaUJH.esm.js → idCaptureManager-BoKaBol-.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-D7DLsImu.esm.js → idCaptureStateMachine-BN9cal7j.esm.js} +9 -9
- package/dist/identity-reuse.d.ts +40 -40
- package/dist/{index-CiL6un4W.d.ts → index-CAuWyAWN.d.ts} +119 -119
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +47 -47
- package/dist/{permissionServices-B5bkJ6kC.esm.js → permissionServices-_7b9sVYs.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-C-LzfRuK.esm.js → recordingService-Cmr7pmiM.esm.js} +171 -8
- package/dist/selfie.d.ts +2 -2
- package/dist/selfie.esm.js +12 -12
- package/dist/{selfieManager-QgXPxNtI.esm.js → selfieManager-BjhsxfUM.esm.js} +2 -2
- package/dist/{selfieManager-DBMs6TEv.d.ts → selfieManager-DwJtWG2W.d.ts} +1 -1
- package/dist/{selfieStateMachine-Dy3e4AMN.esm.js → selfieStateMachine-DuIOh3wA.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-B8oSVJc6.esm.js → sessionInitializer-BTXfV_mQ.esm.js} +1 -1
- package/dist/{setup-Cu691IGU.esm.js → setup-DFB6kUeB.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +123 -123
- package/dist/workflow.esm.js +16 -16
- package/package.json +3 -3
- /package/dist/{MotionSensorProvider-Dm96N7cm.esm.js → MotionSensorProvider-D8M9kEPC.esm.js} +0 -0
- /package/dist/{backCameraStream-BqcQgoOi.esm.js → backCameraStream-FIp0PPs8.esm.js} +0 -0
- /package/dist/{getDeviceClass-DLbfq_Ux.esm.js → getDeviceClass-C6LdZ8SC.esm.js} +0 -0
- /package/dist/{stats-DFkAt2ux.esm.js → stats-CIfiPzb1.esm.js} +0 -0
package/dist/ae-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
2
|
import "./Actor-DhAnkIwf.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CAuWyAWN.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/ae-signature/index.d.ts
|
|
6
6
|
|
package/dist/authentication.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import "./warmup-D7Ox_nhs.js";
|
|
|
2
2
|
import "./Manager-DCgvJ8qz.js";
|
|
3
3
|
import "./Actor-DhAnkIwf.js";
|
|
4
4
|
import "./StateMachine-DOolktTn.js";
|
|
5
|
-
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { D as authenticationMachine, S as AuthenticationConfig, b as CreateAuthenticationActorOptions, x as createAuthenticationActor, y as AuthenticationActor } from "./faceCaptureManagerFactory-CYXQCgGA.js";
|
|
6
6
|
import "./camera-MPUbZOp5.js";
|
|
7
7
|
import "./types-ClLIGfX1.js";
|
|
8
8
|
import "./types-DF5RqPiL.js";
|
|
9
9
|
import "./types-w-I2ZgjG.js";
|
|
10
10
|
import "./deepsightService-Ds5vBWjY.js";
|
|
11
11
|
import "./types-ziDq2ukF.js";
|
|
12
|
-
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-
|
|
12
|
+
import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-Dw7TQNvE.js";
|
|
13
13
|
export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
|
@@ -7,20 +7,20 @@ import "./browserSimulation-DoIsN6qC.esm.js";
|
|
|
7
7
|
import "./platform-Ca6QEq2_.esm.js";
|
|
8
8
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
9
9
|
import "./xstate.esm-C_4CL5-u.esm.js";
|
|
10
|
-
import "./faceCaptureManagerFactory-
|
|
10
|
+
import "./faceCaptureManagerFactory-Dlaav_QW.esm.js";
|
|
11
11
|
import "./BrowserStorageProvider-YSagK4bh.esm.js";
|
|
12
|
-
import "./
|
|
12
|
+
import "./recordingService-Cmr7pmiM.esm.js";
|
|
13
13
|
import "./ITimerCapability-BriAkEyj.esm.js";
|
|
14
14
|
import "./camera-CUAQ-q4e.esm.js";
|
|
15
|
-
import "./deepsightService-
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
24
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
15
|
+
import "./deepsightService-M3lDsftZ.esm.js";
|
|
16
|
+
import "./backCameraStream-FIp0PPs8.esm.js";
|
|
17
|
+
import "./getDeviceClass-C6LdZ8SC.esm.js";
|
|
18
|
+
import "./stats-CIfiPzb1.esm.js";
|
|
19
|
+
import "./getDeviceClass-BlQhwe19.esm.js";
|
|
20
|
+
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
21
|
+
import "./permissionServices-_7b9sVYs.esm.js";
|
|
22
|
+
import "./faceCaptureSetup-CD8OfRPJ.esm.js";
|
|
23
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DkIYyLpZ.esm.js";
|
|
24
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DiT8wbIH.esm.js";
|
|
25
25
|
|
|
26
26
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DNK5BLSe.esm.js → authenticationManager-DiT8wbIH.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-aU2dI9LT.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-D6-e4vok.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dlaav_QW.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-YSagK4bh.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-DkIYyLpZ.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationActor.ts
|
|
9
9
|
function createAuthenticationActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
|
-
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { b as CreateAuthenticationActorOptions, n as FaceCaptureManagerState, t as FaceCaptureManager, y as AuthenticationActor } from "./faceCaptureManagerFactory-CYXQCgGA.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/authentication/authenticationManager.d.ts
|
|
5
5
|
type AuthenticationState = FaceCaptureManagerState;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-B1sf_xW1.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign } from "./xstate.esm-C_4CL5-u.esm.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
4
|
+
import { _ as FACE_ERROR_CODES, c as postOnDeviceFaceResults, l as prepareOnDeviceFaceUpload, o as defaultPrepareFaceUpload, s as isOnDeviceMode } from "./recordingService-Cmr7pmiM.esm.js";
|
|
5
|
+
import { t as getDeviceClass } from "./getDeviceClass-BlQhwe19.esm.js";
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CD8OfRPJ.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
package/dist/camera.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./camera-CUAQ-q4e.esm.js";
|
|
2
|
-
import "./MotionSensorProvider-
|
|
3
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
2
|
+
import "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
3
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-_7b9sVYs.esm.js";
|
|
4
4
|
|
|
5
5
|
export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
2
|
import "./Actor-DhAnkIwf.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate187 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/consent/types.d.ts
|
|
6
6
|
type ConsentConfig = {
|
|
@@ -36,7 +36,7 @@ type ConsentContext = {
|
|
|
36
36
|
type ConsentInput = {
|
|
37
37
|
config: ConsentConfig;
|
|
38
38
|
};
|
|
39
|
-
declare const consentMachine:
|
|
39
|
+
declare const consentMachine: xstate187.StateMachine<ConsentContext, {
|
|
40
40
|
type: "LOAD";
|
|
41
41
|
} | {
|
|
42
42
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -48,53 +48,53 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
48
48
|
} | {
|
|
49
49
|
type: "RESET";
|
|
50
50
|
}, {
|
|
51
|
-
[x: string]:
|
|
51
|
+
[x: string]: xstate187.ActorRefFromLogic<xstate187.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
52
52
|
consentId: string;
|
|
53
|
-
},
|
|
53
|
+
}, xstate187.EventObject>> | xstate187.ActorRefFromLogic<xstate187.PromiseActorLogic<void, {
|
|
54
54
|
languageConsentId: string;
|
|
55
55
|
checkboxes: ConsentCheckbox[];
|
|
56
|
-
},
|
|
57
|
-
},
|
|
56
|
+
}, xstate187.EventObject>> | undefined;
|
|
57
|
+
}, xstate187.Values<{
|
|
58
58
|
fetchConsent: {
|
|
59
59
|
src: "fetchConsent";
|
|
60
|
-
logic:
|
|
60
|
+
logic: xstate187.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
61
61
|
consentId: string;
|
|
62
|
-
},
|
|
62
|
+
}, xstate187.EventObject>;
|
|
63
63
|
id: string | undefined;
|
|
64
64
|
};
|
|
65
65
|
submitConsent: {
|
|
66
66
|
src: "submitConsent";
|
|
67
|
-
logic:
|
|
67
|
+
logic: xstate187.PromiseActorLogic<void, {
|
|
68
68
|
languageConsentId: string;
|
|
69
69
|
checkboxes: ConsentCheckbox[];
|
|
70
|
-
},
|
|
70
|
+
}, xstate187.EventObject>;
|
|
71
71
|
id: string | undefined;
|
|
72
72
|
};
|
|
73
|
-
}>,
|
|
73
|
+
}>, xstate187.Values<{
|
|
74
74
|
setError: {
|
|
75
75
|
type: "setError";
|
|
76
|
-
params:
|
|
76
|
+
params: xstate187.NonReducibleUnknown;
|
|
77
77
|
};
|
|
78
78
|
clearError: {
|
|
79
79
|
type: "clearError";
|
|
80
|
-
params:
|
|
80
|
+
params: xstate187.NonReducibleUnknown;
|
|
81
81
|
};
|
|
82
82
|
setConsentData: {
|
|
83
83
|
type: "setConsentData";
|
|
84
|
-
params:
|
|
84
|
+
params: xstate187.NonReducibleUnknown;
|
|
85
85
|
};
|
|
86
86
|
toggleCheckbox: {
|
|
87
87
|
type: "toggleCheckbox";
|
|
88
|
-
params:
|
|
88
|
+
params: xstate187.NonReducibleUnknown;
|
|
89
89
|
};
|
|
90
90
|
resetContext: {
|
|
91
91
|
type: "resetContext";
|
|
92
|
-
params:
|
|
92
|
+
params: xstate187.NonReducibleUnknown;
|
|
93
93
|
};
|
|
94
94
|
}>, {
|
|
95
95
|
type: "canSubmit";
|
|
96
96
|
params: unknown;
|
|
97
|
-
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput,
|
|
97
|
+
}, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, xstate187.NonReducibleUnknown, xstate187.EventObject, xstate187.MetaObject, {
|
|
98
98
|
readonly id: "consent";
|
|
99
99
|
readonly initial: "idle";
|
|
100
100
|
readonly context: ({
|
|
@@ -103,70 +103,70 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
103
103
|
spawn: {
|
|
104
104
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
105
105
|
src: "fetchConsent";
|
|
106
|
-
logic:
|
|
106
|
+
logic: xstate187.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
107
107
|
consentId: string;
|
|
108
|
-
},
|
|
108
|
+
}, xstate187.EventObject>;
|
|
109
109
|
id: string | undefined;
|
|
110
110
|
} extends infer T ? T extends {
|
|
111
111
|
src: "fetchConsent";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate187.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
113
113
|
consentId: string;
|
|
114
|
-
},
|
|
114
|
+
}, xstate187.EventObject>;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
} ? T extends {
|
|
117
117
|
src: TSrc;
|
|
118
|
-
} ?
|
|
118
|
+
} ? xstate187.ConditionalRequired<[options?: ({
|
|
119
119
|
id?: T["id"] | undefined;
|
|
120
120
|
systemId?: string;
|
|
121
|
-
input?:
|
|
121
|
+
input?: xstate187.InputFrom<T["logic"]> | undefined;
|
|
122
122
|
syncSnapshot?: boolean;
|
|
123
|
-
} & { [K in
|
|
123
|
+
} & { [K in xstate187.RequiredActorOptions<T>]: unknown }) | undefined], xstate187.IsNotNever<xstate187.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
124
124
|
src: "submitConsent";
|
|
125
|
-
logic:
|
|
125
|
+
logic: xstate187.PromiseActorLogic<void, {
|
|
126
126
|
languageConsentId: string;
|
|
127
127
|
checkboxes: ConsentCheckbox[];
|
|
128
|
-
},
|
|
128
|
+
}, xstate187.EventObject>;
|
|
129
129
|
id: string | undefined;
|
|
130
130
|
} extends infer T_1 ? T_1 extends {
|
|
131
131
|
src: "submitConsent";
|
|
132
|
-
logic:
|
|
132
|
+
logic: xstate187.PromiseActorLogic<void, {
|
|
133
133
|
languageConsentId: string;
|
|
134
134
|
checkboxes: ConsentCheckbox[];
|
|
135
|
-
},
|
|
135
|
+
}, xstate187.EventObject>;
|
|
136
136
|
id: string | undefined;
|
|
137
137
|
} ? T_1 extends {
|
|
138
138
|
src: TSrc;
|
|
139
|
-
} ?
|
|
139
|
+
} ? xstate187.ConditionalRequired<[options?: ({
|
|
140
140
|
id?: T_1["id"] | undefined;
|
|
141
141
|
systemId?: string;
|
|
142
|
-
input?:
|
|
142
|
+
input?: xstate187.InputFrom<T_1["logic"]> | undefined;
|
|
143
143
|
syncSnapshot?: boolean;
|
|
144
|
-
} & { [K_1 in
|
|
144
|
+
} & { [K_1 in xstate187.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate187.IsNotNever<xstate187.RequiredActorOptions<T_1>>> : never : never : never)): xstate187.ActorRefFromLogic<xstate187.GetConcreteByKey<xstate187.Values<{
|
|
145
145
|
fetchConsent: {
|
|
146
146
|
src: "fetchConsent";
|
|
147
|
-
logic:
|
|
147
|
+
logic: xstate187.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
148
148
|
consentId: string;
|
|
149
|
-
},
|
|
149
|
+
}, xstate187.EventObject>;
|
|
150
150
|
id: string | undefined;
|
|
151
151
|
};
|
|
152
152
|
submitConsent: {
|
|
153
153
|
src: "submitConsent";
|
|
154
|
-
logic:
|
|
154
|
+
logic: xstate187.PromiseActorLogic<void, {
|
|
155
155
|
languageConsentId: string;
|
|
156
156
|
checkboxes: ConsentCheckbox[];
|
|
157
|
-
},
|
|
157
|
+
}, xstate187.EventObject>;
|
|
158
158
|
id: string | undefined;
|
|
159
159
|
};
|
|
160
160
|
}>, "src", TSrc>["logic"]>;
|
|
161
|
-
<TLogic extends
|
|
161
|
+
<TLogic extends xstate187.AnyActorLogic>(src: TLogic, ...[options]: xstate187.ConditionalRequired<[options?: ({
|
|
162
162
|
id?: never;
|
|
163
163
|
systemId?: string;
|
|
164
|
-
input?:
|
|
164
|
+
input?: xstate187.InputFrom<TLogic> | undefined;
|
|
165
165
|
syncSnapshot?: boolean;
|
|
166
|
-
} & { [K in
|
|
166
|
+
} & { [K in xstate187.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate187.IsNotNever<xstate187.RequiredLogicInput<TLogic>>>): xstate187.ActorRefFromLogic<TLogic>;
|
|
167
167
|
};
|
|
168
168
|
input: ConsentInput;
|
|
169
|
-
self:
|
|
169
|
+
self: xstate187.ActorRef<xstate187.MachineSnapshot<ConsentContext, {
|
|
170
170
|
type: "LOAD";
|
|
171
171
|
} | {
|
|
172
172
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -177,7 +177,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
177
177
|
type: "RETRY";
|
|
178
178
|
} | {
|
|
179
179
|
type: "RESET";
|
|
180
|
-
}, Record<string,
|
|
180
|
+
}, Record<string, xstate187.AnyActorRef | undefined>, xstate187.StateValue, string, unknown, any, any>, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -188,7 +188,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
188
188
|
type: "RETRY";
|
|
189
189
|
} | {
|
|
190
190
|
type: "RESET";
|
|
191
|
-
},
|
|
191
|
+
}, xstate187.AnyEventObject>;
|
|
192
192
|
}) => {
|
|
193
193
|
config: ConsentConfig;
|
|
194
194
|
title: string;
|
|
@@ -226,7 +226,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "RESET";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate187.ActorRef<xstate187.MachineSnapshot<ConsentContext, {
|
|
230
230
|
type: "LOAD";
|
|
231
231
|
} | {
|
|
232
232
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -237,7 +237,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "RESET";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate187.AnyActorRef>, xstate187.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "LOAD";
|
|
242
242
|
} | {
|
|
243
243
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -248,7 +248,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate187.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
consentId: string;
|
|
254
254
|
};
|
|
@@ -297,7 +297,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
297
297
|
} | {
|
|
298
298
|
type: "RESET";
|
|
299
299
|
};
|
|
300
|
-
self:
|
|
300
|
+
self: xstate187.ActorRef<xstate187.MachineSnapshot<ConsentContext, {
|
|
301
301
|
type: "LOAD";
|
|
302
302
|
} | {
|
|
303
303
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -308,7 +308,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
308
308
|
type: "RETRY";
|
|
309
309
|
} | {
|
|
310
310
|
type: "RESET";
|
|
311
|
-
}, Record<string,
|
|
311
|
+
}, Record<string, xstate187.AnyActorRef>, xstate187.StateValue, string, unknown, any, any>, {
|
|
312
312
|
type: "LOAD";
|
|
313
313
|
} | {
|
|
314
314
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -319,7 +319,7 @@ declare const consentMachine: xstate234.StateMachine<ConsentContext, {
|
|
|
319
319
|
type: "RETRY";
|
|
320
320
|
} | {
|
|
321
321
|
type: "RESET";
|
|
322
|
-
},
|
|
322
|
+
}, xstate187.AnyEventObject>;
|
|
323
323
|
}) => {
|
|
324
324
|
languageConsentId: string;
|
|
325
325
|
checkboxes: ConsentCheckbox[];
|
package/dist/cpf-ocr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-DCgvJ8qz.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate1279 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/cpf-ocr/cpfOcrManager.d.ts
|
|
5
5
|
type CpfOcrIdleState = {
|
|
@@ -47,7 +47,7 @@ type CpfOcrContext = {
|
|
|
47
47
|
error: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
type CpfOcrInput = Record<string, never>;
|
|
50
|
-
declare const cpfOcrMachine:
|
|
50
|
+
declare const cpfOcrMachine: xstate1279.StateMachine<CpfOcrContext, {
|
|
51
51
|
type: "LOAD";
|
|
52
52
|
} | {
|
|
53
53
|
type: "SET_CPF";
|
|
@@ -57,43 +57,43 @@ declare const cpfOcrMachine: xstate302.StateMachine<CpfOcrContext, {
|
|
|
57
57
|
} | {
|
|
58
58
|
type: "RETRY";
|
|
59
59
|
}, {
|
|
60
|
-
[x: string]:
|
|
60
|
+
[x: string]: xstate1279.ActorRefFromLogic<xstate1279.PromiseActorLogic<CpfOcrDataResponse, void, xstate1279.EventObject>> | xstate1279.ActorRefFromLogic<xstate1279.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
61
61
|
cpf: string;
|
|
62
|
-
},
|
|
63
|
-
},
|
|
62
|
+
}, xstate1279.EventObject>> | undefined;
|
|
63
|
+
}, xstate1279.Values<{
|
|
64
64
|
fetchCpfOcrData: {
|
|
65
65
|
src: "fetchCpfOcrData";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate1279.PromiseActorLogic<CpfOcrDataResponse, void, xstate1279.EventObject>;
|
|
67
67
|
id: string | undefined;
|
|
68
68
|
};
|
|
69
69
|
submitCpfOcr: {
|
|
70
70
|
src: "submitCpfOcr";
|
|
71
|
-
logic:
|
|
71
|
+
logic: xstate1279.PromiseActorLogic<CpfOcrUpdateResponse, {
|
|
72
72
|
cpf: string;
|
|
73
|
-
},
|
|
73
|
+
}, xstate1279.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
};
|
|
76
|
-
}>,
|
|
76
|
+
}>, xstate1279.Values<{
|
|
77
77
|
setError: {
|
|
78
78
|
type: "setError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate1279.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
clearError: {
|
|
82
82
|
type: "clearError";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate1279.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
setPrefill: {
|
|
86
86
|
type: "setPrefill";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate1279.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
setCpf: {
|
|
90
90
|
type: "setCpf";
|
|
91
|
-
params:
|
|
91
|
+
params: xstate1279.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "isValid";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput,
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "inputting" | "submitting", string, CpfOcrInput, xstate1279.NonReducibleUnknown, xstate1279.EventObject, xstate1279.MetaObject, {
|
|
97
97
|
readonly id: "cpfOcr";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: {
|
|
@@ -148,7 +148,7 @@ declare const cpfOcrMachine: xstate302.StateMachine<CpfOcrContext, {
|
|
|
148
148
|
} | {
|
|
149
149
|
type: "RETRY";
|
|
150
150
|
};
|
|
151
|
-
self:
|
|
151
|
+
self: xstate1279.ActorRef<xstate1279.MachineSnapshot<CpfOcrContext, {
|
|
152
152
|
type: "LOAD";
|
|
153
153
|
} | {
|
|
154
154
|
type: "SET_CPF";
|
|
@@ -157,7 +157,7 @@ declare const cpfOcrMachine: xstate302.StateMachine<CpfOcrContext, {
|
|
|
157
157
|
type: "SUBMIT";
|
|
158
158
|
} | {
|
|
159
159
|
type: "RETRY";
|
|
160
|
-
}, Record<string,
|
|
160
|
+
}, Record<string, xstate1279.AnyActorRef>, xstate1279.StateValue, string, unknown, any, any>, {
|
|
161
161
|
type: "LOAD";
|
|
162
162
|
} | {
|
|
163
163
|
type: "SET_CPF";
|
|
@@ -166,7 +166,7 @@ declare const cpfOcrMachine: xstate302.StateMachine<CpfOcrContext, {
|
|
|
166
166
|
type: "SUBMIT";
|
|
167
167
|
} | {
|
|
168
168
|
type: "RETRY";
|
|
169
|
-
},
|
|
169
|
+
}, xstate1279.AnyEventObject>;
|
|
170
170
|
}) => {
|
|
171
171
|
cpf: string;
|
|
172
172
|
};
|
|
@@ -6,10 +6,10 @@ import "./browserSimulation-DoIsN6qC.esm.js";
|
|
|
6
6
|
import "./platform-Ca6QEq2_.esm.js";
|
|
7
7
|
import "./getBrowser-DHeJ7PSV.esm.js";
|
|
8
8
|
import "./camera-CUAQ-q4e.esm.js";
|
|
9
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
10
|
-
import "./getDeviceClass-
|
|
11
|
-
import "./stats-
|
|
12
|
-
import { t as MotionSensorProvider } from "./MotionSensorProvider-
|
|
9
|
+
import { t as createDeepsightService } from "./deepsightService-M3lDsftZ.esm.js";
|
|
10
|
+
import "./getDeviceClass-C6LdZ8SC.esm.js";
|
|
11
|
+
import "./stats-CIfiPzb1.esm.js";
|
|
12
|
+
import { t as MotionSensorProvider } from "./MotionSensorProvider-D8M9kEPC.esm.js";
|
|
13
13
|
|
|
14
14
|
//#region ../infra/src/providers/browser/VisibilityProvider.ts
|
|
15
15
|
var VisibilityProvider = class {
|
|
@@ -2,8 +2,8 @@ import { t as api } from "./api-CESGtpbH.esm.js";
|
|
|
2
2
|
import { t as isBrowserSimulation } from "./browserSimulation-DoIsN6qC.esm.js";
|
|
3
3
|
import { t as getUserAgent } from "./getBrowser-DHeJ7PSV.esm.js";
|
|
4
4
|
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-CUAQ-q4e.esm.js";
|
|
5
|
-
import { t as getDeviceInfo } from "./getDeviceClass-
|
|
6
|
-
import { t as addDeviceStats } from "./stats-
|
|
5
|
+
import { t as getDeviceInfo } from "./getDeviceClass-C6LdZ8SC.esm.js";
|
|
6
|
+
import { t as addDeviceStats } from "./stats-CIfiPzb1.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/media/canvas.ts
|
|
9
9
|
/**
|
package/dist/device.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isIPad } from "./platform-Ca6QEq2_.esm.js";
|
|
2
2
|
import { t as getUserAgent } from "./getBrowser-DHeJ7PSV.esm.js";
|
|
3
|
-
import "./getDeviceClass-
|
|
4
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
3
|
+
import "./getDeviceClass-C6LdZ8SC.esm.js";
|
|
4
|
+
import { t as getDeviceClass } from "./getDeviceClass-BlQhwe19.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/device/getBrowser.ts
|
|
7
7
|
function getBrowser() {
|