@incodetech/core 0.0.0-dev-20260629-21e8aa4e → 0.0.0-dev-20260629-5fb9c142
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/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-CVNmlU2H.d.ts → consentManager-597Yqi4w.d.ts} +50 -50
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-C_YQO-Cr.d.ts → cpfOcrManager-D29kiZjL.d.ts} +17 -17
- package/dist/document-capture.d.ts +170 -170
- package/dist/document-upload.d.ts +40 -40
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-C-wJGZaS.esm.js → ekybStateMachine-CPgNResI.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +4 -4
- package/dist/extensibility.esm.js +3 -3
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-NGU_Be9r.esm.js → flowServices-DyCZupR5.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-D1omBmM3.esm.js → idCaptureManager-CkIRYu9X.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-Bv_q3B5n.esm.js → idCaptureStateMachine-BGDtY05R.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-CtJnX7SW.d.ts → identityReuseManager-CKQFDRkg.d.ts} +31 -31
- package/dist/{index-LQ3BMTr9.d.ts → index-2cd0rrga.d.ts} +168 -168
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-CoocXg4-.d.ts → mandatoryConsentManager-DJ6IxKhC.d.ts} +50 -50
- package/dist/qe-signature.d.ts +1 -1
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-CsRHPRGU.esm.js → sessionInitializer-ffu_c1Au.esm.js} +1 -1
- package/dist/{setup-BOJhfT8s.esm.js → setup-D8IAJDLB.esm.js} +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +159 -159
- package/dist/workflow.esm.js +4 -4
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-BV5ZkaGs.js";
|
|
|
2
2
|
import "./Actor-D0X2YV92.js";
|
|
3
3
|
import "./camera-CE_iClyf.js";
|
|
4
4
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-CzQBFW6W.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate858 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
8
|
-
declare const documentUploadMachine:
|
|
8
|
+
declare const documentUploadMachine: xstate858.StateMachine<DocumentUploadContext, {
|
|
9
9
|
type: "START";
|
|
10
10
|
} | {
|
|
11
11
|
type: "CAPTURE";
|
|
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
18
18
|
} | {
|
|
19
19
|
type: "CLOSE";
|
|
20
20
|
}, {
|
|
21
|
-
[x: string]:
|
|
21
|
+
[x: string]: xstate858.ActorRefFromLogic<xstate858.PromiseActorLogic<void, {
|
|
22
22
|
imageBase64: string;
|
|
23
23
|
documentType: string;
|
|
24
24
|
onProgress: (progress: number) => void;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
25
|
+
}, xstate858.EventObject>> | xstate858.ActorRefFromLogic<xstate858.PromiseActorLogic<MediaStream, void, xstate858.EventObject>> | undefined;
|
|
26
|
+
}, xstate858.Values<{
|
|
27
27
|
uploadDocument: {
|
|
28
28
|
src: "uploadDocument";
|
|
29
|
-
logic:
|
|
29
|
+
logic: xstate858.PromiseActorLogic<void, {
|
|
30
30
|
imageBase64: string;
|
|
31
31
|
documentType: string;
|
|
32
32
|
onProgress: (progress: number) => void;
|
|
33
|
-
},
|
|
33
|
+
}, xstate858.EventObject>;
|
|
34
34
|
id: string | undefined;
|
|
35
35
|
};
|
|
36
36
|
initCamera: {
|
|
37
37
|
src: "initCamera";
|
|
38
|
-
logic:
|
|
38
|
+
logic: xstate858.PromiseActorLogic<MediaStream, void, xstate858.EventObject>;
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, xstate858.Values<{
|
|
42
42
|
setError: {
|
|
43
43
|
type: "setError";
|
|
44
|
-
params:
|
|
44
|
+
params: xstate858.NonReducibleUnknown;
|
|
45
45
|
};
|
|
46
46
|
clearError: {
|
|
47
47
|
type: "clearError";
|
|
48
|
-
params:
|
|
48
|
+
params: xstate858.NonReducibleUnknown;
|
|
49
49
|
};
|
|
50
50
|
setStream: {
|
|
51
51
|
type: "setStream";
|
|
52
|
-
params:
|
|
52
|
+
params: xstate858.NonReducibleUnknown;
|
|
53
53
|
};
|
|
54
54
|
setImageAndClearError: {
|
|
55
55
|
type: "setImageAndClearError";
|
|
56
|
-
params:
|
|
56
|
+
params: xstate858.NonReducibleUnknown;
|
|
57
57
|
};
|
|
58
58
|
setProgress: {
|
|
59
59
|
type: "setProgress";
|
|
60
|
-
params:
|
|
60
|
+
params: xstate858.NonReducibleUnknown;
|
|
61
61
|
};
|
|
62
62
|
stopStream: {
|
|
63
63
|
type: "stopStream";
|
|
64
|
-
params:
|
|
64
|
+
params: xstate858.NonReducibleUnknown;
|
|
65
65
|
};
|
|
66
|
-
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput,
|
|
66
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate858.NonReducibleUnknown, xstate858.EventObject, xstate858.MetaObject, {
|
|
67
67
|
readonly id: "documentUpload";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: ({
|
|
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
72
72
|
spawn: {
|
|
73
73
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
74
74
|
src: "uploadDocument";
|
|
75
|
-
logic:
|
|
75
|
+
logic: xstate858.PromiseActorLogic<void, {
|
|
76
76
|
imageBase64: string;
|
|
77
77
|
documentType: string;
|
|
78
78
|
onProgress: (progress: number) => void;
|
|
79
|
-
},
|
|
79
|
+
}, xstate858.EventObject>;
|
|
80
80
|
id: string | undefined;
|
|
81
81
|
} extends infer T ? T extends {
|
|
82
82
|
src: "uploadDocument";
|
|
83
|
-
logic:
|
|
83
|
+
logic: xstate858.PromiseActorLogic<void, {
|
|
84
84
|
imageBase64: string;
|
|
85
85
|
documentType: string;
|
|
86
86
|
onProgress: (progress: number) => void;
|
|
87
|
-
},
|
|
87
|
+
}, xstate858.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
} ? T extends {
|
|
90
90
|
src: TSrc;
|
|
91
|
-
} ?
|
|
91
|
+
} ? xstate858.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: T["id"] | undefined;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate858.InputFrom<T["logic"]> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate858.RequiredActorOptions<T>]: unknown }) | undefined], xstate858.IsNotNever<xstate858.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
97
97
|
src: "initCamera";
|
|
98
|
-
logic:
|
|
98
|
+
logic: xstate858.PromiseActorLogic<MediaStream, void, xstate858.EventObject>;
|
|
99
99
|
id: string | undefined;
|
|
100
100
|
} extends infer T_1 ? T_1 extends {
|
|
101
101
|
src: "initCamera";
|
|
102
|
-
logic:
|
|
102
|
+
logic: xstate858.PromiseActorLogic<MediaStream, void, xstate858.EventObject>;
|
|
103
103
|
id: string | undefined;
|
|
104
104
|
} ? T_1 extends {
|
|
105
105
|
src: TSrc;
|
|
106
|
-
} ?
|
|
106
|
+
} ? xstate858.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: T_1["id"] | undefined;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate858.InputFrom<T_1["logic"]> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K_1 in
|
|
111
|
+
} & { [K_1 in xstate858.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate858.IsNotNever<xstate858.RequiredActorOptions<T_1>>> : never : never : never)): xstate858.ActorRefFromLogic<xstate858.GetConcreteByKey<xstate858.Values<{
|
|
112
112
|
uploadDocument: {
|
|
113
113
|
src: "uploadDocument";
|
|
114
|
-
logic:
|
|
114
|
+
logic: xstate858.PromiseActorLogic<void, {
|
|
115
115
|
imageBase64: string;
|
|
116
116
|
documentType: string;
|
|
117
117
|
onProgress: (progress: number) => void;
|
|
118
|
-
},
|
|
118
|
+
}, xstate858.EventObject>;
|
|
119
119
|
id: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
initCamera: {
|
|
122
122
|
src: "initCamera";
|
|
123
|
-
logic:
|
|
123
|
+
logic: xstate858.PromiseActorLogic<MediaStream, void, xstate858.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
};
|
|
126
126
|
}>, "src", TSrc>["logic"]>;
|
|
127
|
-
<TLogic extends
|
|
127
|
+
<TLogic extends xstate858.AnyActorLogic>(src: TLogic, ...[options]: xstate858.ConditionalRequired<[options?: ({
|
|
128
128
|
id?: never;
|
|
129
129
|
systemId?: string;
|
|
130
|
-
input?:
|
|
130
|
+
input?: xstate858.InputFrom<TLogic> | undefined;
|
|
131
131
|
syncSnapshot?: boolean;
|
|
132
|
-
} & { [K in
|
|
132
|
+
} & { [K in xstate858.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate858.IsNotNever<xstate858.RequiredLogicInput<TLogic>>>): xstate858.ActorRefFromLogic<TLogic>;
|
|
133
133
|
};
|
|
134
134
|
input: DocumentUploadInput;
|
|
135
|
-
self:
|
|
135
|
+
self: xstate858.ActorRef<xstate858.MachineSnapshot<DocumentUploadContext, {
|
|
136
136
|
type: "START";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CAPTURE";
|
|
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
144
144
|
type: "RETRY";
|
|
145
145
|
} | {
|
|
146
146
|
type: "CLOSE";
|
|
147
|
-
}, Record<string,
|
|
147
|
+
}, Record<string, xstate858.AnyActorRef | undefined>, xstate858.StateValue, string, unknown, any, any>, {
|
|
148
148
|
type: "START";
|
|
149
149
|
} | {
|
|
150
150
|
type: "CAPTURE";
|
|
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
156
156
|
type: "RETRY";
|
|
157
157
|
} | {
|
|
158
158
|
type: "CLOSE";
|
|
159
|
-
},
|
|
159
|
+
}, xstate858.AnyEventObject>;
|
|
160
160
|
}) => {
|
|
161
161
|
config: DocumentUploadConfig;
|
|
162
162
|
stream: undefined;
|
|
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "CLOSE";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate858.ActorRef<xstate858.MachineSnapshot<DocumentUploadContext, {
|
|
230
230
|
type: "START";
|
|
231
231
|
} | {
|
|
232
232
|
type: "CAPTURE";
|
|
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
238
238
|
type: "RETRY";
|
|
239
239
|
} | {
|
|
240
240
|
type: "CLOSE";
|
|
241
|
-
}, Record<string,
|
|
241
|
+
}, Record<string, xstate858.AnyActorRef>, xstate858.StateValue, string, unknown, any, any>, {
|
|
242
242
|
type: "START";
|
|
243
243
|
} | {
|
|
244
244
|
type: "CAPTURE";
|
|
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate1317.StateMachine<DocumentUploadConte
|
|
|
250
250
|
type: "RETRY";
|
|
251
251
|
} | {
|
|
252
252
|
type: "CLOSE";
|
|
253
|
-
},
|
|
253
|
+
}, xstate858.AnyEventObject>;
|
|
254
254
|
}) => {
|
|
255
255
|
imageBase64: string;
|
|
256
256
|
documentType: string;
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./endpoints-CJH8R79Q.esm.js";
|
|
|
6
6
|
import "./stats-s3hq1r1j.esm.js";
|
|
7
7
|
import "./BrowserEnvironmentProvider--Rda18RB.esm.js";
|
|
8
8
|
import "./browserSimulation-BaRUkqo0.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-ffu_c1Au.esm.js";
|
|
10
10
|
import "./getDeviceData-CxHuJqz9.esm.js";
|
|
11
11
|
import "./IpifyProvider-CN96dlWf.esm.js";
|
|
12
12
|
import "./platform-CwFB3DeY.esm.js";
|
|
@@ -14,10 +14,10 @@ import "./getBrowser-THrm1MWD.esm.js";
|
|
|
14
14
|
import "./tri-ByBCC5y2.esm.js";
|
|
15
15
|
import { c as createManager, s as createActor } from "./xstate.esm-MXSDq4yW.esm.js";
|
|
16
16
|
import "./apiError-CFVRvReX.esm.js";
|
|
17
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
17
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CPgNResI.esm.js";
|
|
18
18
|
import "./addressSearch-Cmf1l1zD.esm.js";
|
|
19
19
|
import "./session-CSjmHjvS.esm.js";
|
|
20
|
-
import "./flowServices-
|
|
20
|
+
import "./flowServices-DyCZupR5.esm.js";
|
|
21
21
|
|
|
22
22
|
//#region src/modules/ekyb/ekybActor.ts
|
|
23
23
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-KOw05L_i.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-CJH8R79Q.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-MXSDq4yW.esm.js";
|
|
4
4
|
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-Cmf1l1zD.esm.js";
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as getFlow } from "./flowServices-DyCZupR5.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./Manager-BV5ZkaGs.js";
|
|
2
2
|
import "./Actor-D0X2YV92.js";
|
|
3
|
-
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-
|
|
3
|
+
import { a as AE_CONSENT_KEYS, c as ConsentKey, d as ElectronicSignatureVariant, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, h as getConsentKeys, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, o as AeConsentKey, p as QeConsentKey, r as createElectronicSignatureManager, s as ConsentChecks, t as ElectronicSignatureManager, u as ElectronicSignatureDocument } from "./index-2cd0rrga.js";
|
|
4
4
|
export { AE_CONSENT_KEYS, AeConsentKey, ConsentChecks, ConsentKey, ElectronicSignatureConfig, ElectronicSignatureDocument, ElectronicSignatureManager, ElectronicSignatureState, ElectronicSignatureVariant, QE_CONSENT_KEYS, QeConsentKey, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -16,16 +16,16 @@ import { n as BaseWasmProvider } from "./FaceDetectionProvider-BHFXkqW_.js";
|
|
|
16
16
|
import "./StreamCanvasCapture-opC6JnBb.js";
|
|
17
17
|
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-CSV6OSnm.js";
|
|
18
18
|
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BEYy6HBV.js";
|
|
19
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
20
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-
|
|
19
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-597Yqi4w.js";
|
|
20
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-D29kiZjL.js";
|
|
21
21
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-5xtZ6QlA.js";
|
|
22
22
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-hmA0Elfn.js";
|
|
23
23
|
import "./otp-D3JAuulv.js";
|
|
24
24
|
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DfwBlIzj.js";
|
|
25
25
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-C6Go0zbQ.js";
|
|
26
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
26
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CKQFDRkg.js";
|
|
27
27
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CvaG1tq6.js";
|
|
28
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
28
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DJ6IxKhC.js";
|
|
29
29
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BNyb1Snt.js";
|
|
30
30
|
|
|
31
31
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
@@ -7,7 +7,7 @@ import "./endpoints-CJH8R79Q.esm.js";
|
|
|
7
7
|
import "./stats-s3hq1r1j.esm.js";
|
|
8
8
|
import "./BrowserEnvironmentProvider--Rda18RB.esm.js";
|
|
9
9
|
import "./browserSimulation-BaRUkqo0.esm.js";
|
|
10
|
-
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
10
|
+
import { o as FingerprintProvider, t as getDisableIpify } from "./sessionInitializer-ffu_c1Au.esm.js";
|
|
11
11
|
import { t as getDeviceFingerprintInfo } from "./getDeviceData-CxHuJqz9.esm.js";
|
|
12
12
|
import { t as IpifyProvider } from "./IpifyProvider-CN96dlWf.esm.js";
|
|
13
13
|
import "./platform-CwFB3DeY.esm.js";
|
|
@@ -52,8 +52,8 @@ import "./otp-DoLw7vGV.esm.js";
|
|
|
52
52
|
import { n as createEmailManagerFromActor } from "./emailManager-BzeQI0Vo.esm.js";
|
|
53
53
|
import "./selfieStateMachine-CwBMovGA.esm.js";
|
|
54
54
|
import { n as createSelfieManagerFromActor } from "./selfieManager-Bdpwfgqz.esm.js";
|
|
55
|
-
import "./idCaptureStateMachine-
|
|
56
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
55
|
+
import "./idCaptureStateMachine-BGDtY05R.esm.js";
|
|
56
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-CkIRYu9X.esm.js";
|
|
57
57
|
import "./phoneStateMachine-DTP4bnzW.esm.js";
|
|
58
58
|
import { n as createPhoneManagerFromActor } from "./phoneManager-Ss4F2DsU.esm.js";
|
|
59
59
|
import "./identityReuseStateMachine-B-DkkQQG.esm.js";
|
package/dist/flow.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-B5wtX
|
|
|
9
9
|
import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-CYN44D74.js";
|
|
10
10
|
import { o as FlowEventSubscribable } from "./index-DCAqU5Gu.js";
|
|
11
11
|
import { n as ModuleRegistry } from "./types-DiIMjgm2.js";
|
|
12
|
-
import * as
|
|
12
|
+
import * as xstate38 from "xstate";
|
|
13
13
|
|
|
14
14
|
//#region src/modules/flow/flowUtils.d.ts
|
|
15
15
|
type NormalizeFlowModulesOptions = {
|
|
@@ -61,7 +61,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
61
61
|
declare const getFlow: GetFlow;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
64
|
-
declare const noOpFlowModuleMachine:
|
|
64
|
+
declare const noOpFlowModuleMachine: xstate38.StateMachine<xstate38.MachineContext, xstate38.AnyEventObject, {}, never, never, never, never, "finished", string, xstate38.NonReducibleUnknown, xstate38.NonReducibleUnknown, xstate38.EventObject, xstate38.MetaObject, {
|
|
65
65
|
readonly id: "noOpFlowModule";
|
|
66
66
|
readonly initial: "finished";
|
|
67
67
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./endpoints-CJH8R79Q.esm.js";
|
|
|
6
6
|
import "./stats-s3hq1r1j.esm.js";
|
|
7
7
|
import "./BrowserEnvironmentProvider--Rda18RB.esm.js";
|
|
8
8
|
import "./browserSimulation-BaRUkqo0.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-ffu_c1Au.esm.js";
|
|
10
10
|
import "./getDeviceData-CxHuJqz9.esm.js";
|
|
11
11
|
import "./IpifyProvider-CN96dlWf.esm.js";
|
|
12
12
|
import "./platform-CwFB3DeY.esm.js";
|
|
@@ -16,7 +16,7 @@ import { a as fromPromise, c as createManager, r as assign, s as createActor, t
|
|
|
16
16
|
import "./apiError-CFVRvReX.esm.js";
|
|
17
17
|
import "./types-BYdJ3Mc2.esm.js";
|
|
18
18
|
import "./session-CSjmHjvS.esm.js";
|
|
19
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
19
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DyCZupR5.esm.js";
|
|
20
20
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CbGOzDDc.esm.js";
|
|
21
21
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-C1mLru0r.esm.js";
|
|
22
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-KOw05L_i.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CJH8R79Q.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-ffu_c1Au.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-CFVRvReX.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/flow/flowUtils.ts
|
package/dist/home.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import "./types-CoMD38x7.js";
|
|
|
5
5
|
import "./canvas-BFl4HMZy.js";
|
|
6
6
|
import "./createFaceAvatar-CCD0HA4W.js";
|
|
7
7
|
import { t as EmptyConfig } from "./types-B5wtXkOy.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as xstate1602 from "xstate";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/home/types.d.ts
|
|
11
11
|
type HomeConfig = EmptyConfig;
|
|
@@ -37,41 +37,41 @@ type HomeContext = {
|
|
|
37
37
|
type HomeInput = {
|
|
38
38
|
config: EmptyConfig;
|
|
39
39
|
};
|
|
40
|
-
declare const homeMachine:
|
|
40
|
+
declare const homeMachine: xstate1602.StateMachine<HomeContext, {
|
|
41
41
|
type: "LOAD";
|
|
42
42
|
} | {
|
|
43
43
|
type: "COMPLETE";
|
|
44
44
|
} | {
|
|
45
45
|
type: "RESET";
|
|
46
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
46
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate1602.NonReducibleUnknown, xstate1602.EventObject, xstate1602.MetaObject, {
|
|
47
47
|
readonly id: "home";
|
|
48
48
|
readonly initial: "idle";
|
|
49
49
|
readonly context: ({
|
|
50
50
|
input
|
|
51
51
|
}: {
|
|
52
52
|
spawn: {
|
|
53
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
54
|
-
<TLogic extends
|
|
53
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate1602.ActorRefFromLogic<never>;
|
|
54
|
+
<TLogic extends xstate1602.AnyActorLogic>(src: TLogic, ...[options]: xstate1602.ConditionalRequired<[options?: ({
|
|
55
55
|
id?: never;
|
|
56
56
|
systemId?: string;
|
|
57
|
-
input?:
|
|
57
|
+
input?: xstate1602.InputFrom<TLogic> | undefined;
|
|
58
58
|
syncSnapshot?: boolean;
|
|
59
|
-
} & { [K in
|
|
59
|
+
} & { [K in xstate1602.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1602.IsNotNever<xstate1602.RequiredLogicInput<TLogic>>>): xstate1602.ActorRefFromLogic<TLogic>;
|
|
60
60
|
};
|
|
61
61
|
input: HomeInput;
|
|
62
|
-
self:
|
|
62
|
+
self: xstate1602.ActorRef<xstate1602.MachineSnapshot<HomeContext, {
|
|
63
63
|
type: "LOAD";
|
|
64
64
|
} | {
|
|
65
65
|
type: "COMPLETE";
|
|
66
66
|
} | {
|
|
67
67
|
type: "RESET";
|
|
68
|
-
}, Record<string,
|
|
68
|
+
}, Record<string, xstate1602.AnyActorRef | undefined>, xstate1602.StateValue, string, unknown, any, any>, {
|
|
69
69
|
type: "LOAD";
|
|
70
70
|
} | {
|
|
71
71
|
type: "COMPLETE";
|
|
72
72
|
} | {
|
|
73
73
|
type: "RESET";
|
|
74
|
-
},
|
|
74
|
+
}, xstate1602.AnyEventObject>;
|
|
75
75
|
}) => {
|
|
76
76
|
config: EmptyConfig;
|
|
77
77
|
};
|