@incodetech/core 0.0.0-dev-20260325-bc7b3fb → 0.0.0-dev-20260325-b97b3e9
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/{addressSearch-DMCx27ye.esm.js → addressSearch-B_Vjy2UE.esm.js} +2 -2
- package/dist/authentication.esm.js +5 -5
- package/dist/{authenticationManager-EodxuZuL.esm.js → authenticationManager-CRC59Vms.esm.js} +4 -4
- package/dist/consent.d.ts +53 -53
- package/dist/consent.esm.js +2 -2
- package/dist/curp-validation.esm.js +2 -2
- package/dist/document-capture.d.ts +55 -55
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +43 -43
- package/dist/document-upload.esm.js +2 -2
- package/dist/ekyb.esm.js +5 -5
- package/dist/ekyc.esm.js +3 -3
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-BEO3UGMG.esm.js → emailManager-Bl3NqSZ-.esm.js} +2 -2
- package/dist/{endpoints-C5u2nbAn.esm.js → endpoints-CCuj1KZH.esm.js} +1 -0
- package/dist/{events-CrFdvDAv.esm.js → events-Cc1xUUgF.esm.js} +1 -1
- package/dist/extensibility.esm.js +10 -10
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureSetup-CbIdVzbo.esm.js → faceCaptureSetup-4itNYIdX.esm.js} +10 -4
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-_6Rh05wL.esm.js → flowCompletionService-Bkaerugt.esm.js} +1 -1
- package/dist/{flowServices-D0mSVlVe.esm.js → flowServices-D4YyGfcD.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/government-validation.esm.js +2 -2
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-BKTNRlc5.esm.js → idCaptureManager-Bl-CBtgX.esm.js} +15 -7
- package/dist/index.esm.js +5 -5
- package/dist/mandatory-consent.d.ts +53 -53
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-DoEAPqlN.esm.js → phoneManager-2NN9q777.esm.js} +2 -2
- package/dist/{recordingsRepository-Df79FRz8.esm.js → recordingsRepository-COovU1i4.esm.js} +15 -2
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/selfie.esm.js +5 -5
- package/dist/{selfieManager-ClRYLjlE.esm.js → selfieManager-UcQu7POO.esm.js} +2 -2
- package/dist/{session-g68X7iNm.esm.js → session-CRPiwwF-.esm.js} +2 -2
- package/dist/session.esm.js +2 -2
- package/dist/signature.esm.js +2 -2
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as Manager } from "./index-BTaLQSj9.js";
|
|
2
2
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-oveF7RrS.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate140 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
6
|
-
declare const documentUploadMachine:
|
|
6
|
+
declare const documentUploadMachine: xstate140.StateMachine<DocumentUploadContext, {
|
|
7
7
|
type: "START";
|
|
8
8
|
} | {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -16,52 +16,52 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
16
16
|
} | {
|
|
17
17
|
type: "CLOSE";
|
|
18
18
|
}, {
|
|
19
|
-
[x: string]:
|
|
19
|
+
[x: string]: xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>> | xstate140.ActorRefFromLogic<xstate140.PromiseActorLogic<void, {
|
|
20
20
|
imageBase64: string;
|
|
21
21
|
documentType: string;
|
|
22
22
|
onProgress: (progress: number) => void;
|
|
23
|
-
},
|
|
24
|
-
},
|
|
23
|
+
}, xstate140.EventObject>> | undefined;
|
|
24
|
+
}, xstate140.Values<{
|
|
25
25
|
initCamera: {
|
|
26
26
|
src: "initCamera";
|
|
27
|
-
logic:
|
|
27
|
+
logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
|
|
28
28
|
id: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
uploadDocument: {
|
|
31
31
|
src: "uploadDocument";
|
|
32
|
-
logic:
|
|
32
|
+
logic: xstate140.PromiseActorLogic<void, {
|
|
33
33
|
imageBase64: string;
|
|
34
34
|
documentType: string;
|
|
35
35
|
onProgress: (progress: number) => void;
|
|
36
|
-
},
|
|
36
|
+
}, xstate140.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
|
-
}>,
|
|
39
|
+
}>, xstate140.Values<{
|
|
40
40
|
setError: {
|
|
41
41
|
type: "setError";
|
|
42
|
-
params:
|
|
42
|
+
params: xstate140.NonReducibleUnknown;
|
|
43
43
|
};
|
|
44
44
|
clearError: {
|
|
45
45
|
type: "clearError";
|
|
46
|
-
params:
|
|
46
|
+
params: xstate140.NonReducibleUnknown;
|
|
47
47
|
};
|
|
48
48
|
setStream: {
|
|
49
49
|
type: "setStream";
|
|
50
|
-
params:
|
|
51
|
-
};
|
|
52
|
-
setImageAndClearError: {
|
|
53
|
-
type: "setImageAndClearError";
|
|
54
|
-
params: xstate67.NonReducibleUnknown;
|
|
50
|
+
params: xstate140.NonReducibleUnknown;
|
|
55
51
|
};
|
|
56
52
|
setProgress: {
|
|
57
53
|
type: "setProgress";
|
|
58
|
-
params:
|
|
54
|
+
params: xstate140.NonReducibleUnknown;
|
|
59
55
|
};
|
|
60
56
|
stopStream: {
|
|
61
57
|
type: "stopStream";
|
|
62
|
-
params:
|
|
58
|
+
params: xstate140.NonReducibleUnknown;
|
|
59
|
+
};
|
|
60
|
+
setImageAndClearError: {
|
|
61
|
+
type: "setImageAndClearError";
|
|
62
|
+
params: xstate140.NonReducibleUnknown;
|
|
63
63
|
};
|
|
64
|
-
}>, never, never, "error" | "idle" | "
|
|
64
|
+
}>, never, never, "error" | "idle" | "finished" | "initCamera" | "capturing" | "closed" | "uploading", string, DocumentUploadInput, xstate140.NonReducibleUnknown, xstate140.EventObject, xstate140.MetaObject, {
|
|
65
65
|
readonly id: "documentUpload";
|
|
66
66
|
readonly initial: "idle";
|
|
67
67
|
readonly context: ({
|
|
@@ -70,67 +70,67 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
70
70
|
spawn: {
|
|
71
71
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
72
72
|
src: "initCamera";
|
|
73
|
-
logic:
|
|
73
|
+
logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} extends infer T ? T extends {
|
|
76
76
|
src: "initCamera";
|
|
77
|
-
logic:
|
|
77
|
+
logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
|
|
78
78
|
id: string | undefined;
|
|
79
79
|
} ? T extends {
|
|
80
80
|
src: TSrc;
|
|
81
|
-
} ?
|
|
81
|
+
} ? xstate140.ConditionalRequired<[options?: ({
|
|
82
82
|
id?: T["id"] | undefined;
|
|
83
83
|
systemId?: string;
|
|
84
|
-
input?:
|
|
84
|
+
input?: xstate140.InputFrom<T["logic"]> | undefined;
|
|
85
85
|
syncSnapshot?: boolean;
|
|
86
|
-
} & { [K in
|
|
86
|
+
} & { [K in xstate140.RequiredActorOptions<T>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
87
87
|
src: "uploadDocument";
|
|
88
|
-
logic:
|
|
88
|
+
logic: xstate140.PromiseActorLogic<void, {
|
|
89
89
|
imageBase64: string;
|
|
90
90
|
documentType: string;
|
|
91
91
|
onProgress: (progress: number) => void;
|
|
92
|
-
},
|
|
92
|
+
}, xstate140.EventObject>;
|
|
93
93
|
id: string | undefined;
|
|
94
94
|
} extends infer T_1 ? T_1 extends {
|
|
95
95
|
src: "uploadDocument";
|
|
96
|
-
logic:
|
|
96
|
+
logic: xstate140.PromiseActorLogic<void, {
|
|
97
97
|
imageBase64: string;
|
|
98
98
|
documentType: string;
|
|
99
99
|
onProgress: (progress: number) => void;
|
|
100
|
-
},
|
|
100
|
+
}, xstate140.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
} ? T_1 extends {
|
|
103
103
|
src: TSrc;
|
|
104
|
-
} ?
|
|
104
|
+
} ? xstate140.ConditionalRequired<[options?: ({
|
|
105
105
|
id?: T_1["id"] | undefined;
|
|
106
106
|
systemId?: string;
|
|
107
|
-
input?:
|
|
107
|
+
input?: xstate140.InputFrom<T_1["logic"]> | undefined;
|
|
108
108
|
syncSnapshot?: boolean;
|
|
109
|
-
} & { [K_1 in
|
|
109
|
+
} & { [K_1 in xstate140.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredActorOptions<T_1>>> : never : never : never)): xstate140.ActorRefFromLogic<xstate140.GetConcreteByKey<xstate140.Values<{
|
|
110
110
|
initCamera: {
|
|
111
111
|
src: "initCamera";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate140.PromiseActorLogic<MediaStream, void, xstate140.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
};
|
|
115
115
|
uploadDocument: {
|
|
116
116
|
src: "uploadDocument";
|
|
117
|
-
logic:
|
|
117
|
+
logic: xstate140.PromiseActorLogic<void, {
|
|
118
118
|
imageBase64: string;
|
|
119
119
|
documentType: string;
|
|
120
120
|
onProgress: (progress: number) => void;
|
|
121
|
-
},
|
|
121
|
+
}, xstate140.EventObject>;
|
|
122
122
|
id: string | undefined;
|
|
123
123
|
};
|
|
124
124
|
}>, "src", TSrc>["logic"]>;
|
|
125
|
-
<TLogic extends
|
|
125
|
+
<TLogic extends xstate140.AnyActorLogic>(src: TLogic, ...[options]: xstate140.ConditionalRequired<[options?: ({
|
|
126
126
|
id?: never;
|
|
127
127
|
systemId?: string;
|
|
128
|
-
input?:
|
|
128
|
+
input?: xstate140.InputFrom<TLogic> | undefined;
|
|
129
129
|
syncSnapshot?: boolean;
|
|
130
|
-
} & { [K in
|
|
130
|
+
} & { [K in xstate140.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate140.IsNotNever<xstate140.RequiredLogicInput<TLogic>>>): xstate140.ActorRefFromLogic<TLogic>;
|
|
131
131
|
};
|
|
132
132
|
input: DocumentUploadInput;
|
|
133
|
-
self:
|
|
133
|
+
self: xstate140.ActorRef<xstate140.MachineSnapshot<DocumentUploadContext, {
|
|
134
134
|
type: "START";
|
|
135
135
|
} | {
|
|
136
136
|
type: "CAPTURE";
|
|
@@ -142,7 +142,7 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
142
142
|
type: "RETRY";
|
|
143
143
|
} | {
|
|
144
144
|
type: "CLOSE";
|
|
145
|
-
}, Record<string,
|
|
145
|
+
}, Record<string, xstate140.AnyActorRef | undefined>, xstate140.StateValue, string, unknown, any, any>, {
|
|
146
146
|
type: "START";
|
|
147
147
|
} | {
|
|
148
148
|
type: "CAPTURE";
|
|
@@ -154,7 +154,7 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
154
154
|
type: "RETRY";
|
|
155
155
|
} | {
|
|
156
156
|
type: "CLOSE";
|
|
157
|
-
},
|
|
157
|
+
}, xstate140.AnyEventObject>;
|
|
158
158
|
}) => {
|
|
159
159
|
config: DocumentUploadConfig;
|
|
160
160
|
stream: undefined;
|
|
@@ -224,7 +224,7 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "CLOSE";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate140.ActorRef<xstate140.MachineSnapshot<DocumentUploadContext, {
|
|
228
228
|
type: "START";
|
|
229
229
|
} | {
|
|
230
230
|
type: "CAPTURE";
|
|
@@ -236,7 +236,7 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "CLOSE";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate140.AnyActorRef>, xstate140.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "START";
|
|
241
241
|
} | {
|
|
242
242
|
type: "CAPTURE";
|
|
@@ -248,7 +248,7 @@ declare const documentUploadMachine: xstate67.StateMachine<DocumentUploadContext
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "CLOSE";
|
|
251
|
-
},
|
|
251
|
+
}, xstate140.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
imageBase64: string;
|
|
254
254
|
documentType: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { t as getBackCameraStream } from "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import { A as stopCameraStream, j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
8
8
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import "./session-
|
|
7
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
8
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
|
+
import "./session-CRPiwwF-.esm.js";
|
|
7
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-B_Vjy2UE.esm.js";
|
|
8
|
+
import { t as getFlow } from "./flowServices-D4YyGfcD.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
11
11
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-B_Vjy2UE.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
8
8
|
var metadata_min_json_default = {
|
package/dist/email.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./events-
|
|
1
|
+
import "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import { r as emailMachine, t as createEmailManager } from "./emailManager-
|
|
4
|
+
import "./endpoints-CCuj1KZH.esm.js";
|
|
5
|
+
import { r as emailMachine, t as createEmailManager } from "./emailManager-Bl3NqSZ-.esm.js";
|
|
6
6
|
|
|
7
7
|
export { createEmailManager, emailMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as createActor, b as fromCallback, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, b as fromCallback, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { _ as BrowserTimerProvider, j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/email/emailServices.ts
|
|
7
7
|
async function fetchEmail(signal) {
|
|
@@ -54,6 +54,7 @@ const endpoints = {
|
|
|
54
54
|
documentLegacy: "/omni/add/document",
|
|
55
55
|
cfdi: "/omni/process/cfdi",
|
|
56
56
|
finishStatus: "/omni/finish-status",
|
|
57
|
+
updateSession: "/omni/update",
|
|
57
58
|
onboardingUrl: "/omni/onboarding-url",
|
|
58
59
|
sendRedirectSms: "/omni/notify/send-sms",
|
|
59
60
|
qrRefreshUuid: "/omni/qr/refresh",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isApiConfigured, r as getToken, t as api } from "./api-G4JA8CXK.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
|
5
5
|
function getTimestamp() {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { S as createActor, x as fromPromise } from "./events-
|
|
1
|
+
import { S as createActor, x as fromPromise } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import { o as WasmUtilProvider, v as BrowserStorageProvider } from "./src-DCc0dMkT.esm.js";
|
|
4
|
-
import "./recordingsRepository-
|
|
4
|
+
import "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
6
6
|
import "./api-G4JA8CXK.esm.js";
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import "./session-
|
|
9
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
7
|
+
import "./endpoints-CCuj1KZH.esm.js";
|
|
8
|
+
import "./session-CRPiwwF-.esm.js";
|
|
9
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-Bl-CBtgX.esm.js";
|
|
10
10
|
import "./deepsightService-lTQvj-Wf.esm.js";
|
|
11
11
|
import "./stats-D0m3TvIg.esm.js";
|
|
12
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
13
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
14
|
-
import { n as createEmailManagerFromActor } from "./emailManager-
|
|
15
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
16
|
-
import { n as createPhoneManagerFromActor } from "./phoneManager-
|
|
12
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-4itNYIdX.esm.js";
|
|
13
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CRC59Vms.esm.js";
|
|
14
|
+
import { n as createEmailManagerFromActor } from "./emailManager-Bl3NqSZ-.esm.js";
|
|
15
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-UcQu7POO.esm.js";
|
|
16
|
+
import { n as createPhoneManagerFromActor } from "./phoneManager-2NN9q777.esm.js";
|
|
17
17
|
|
|
18
18
|
export { BrowserStorageProvider, WasmUtilProvider, createActor, createAuthenticationManagerFromActor, createEmailManagerFromActor, createIdCaptureManagerFromActor, createPhoneManagerFromActor, createSelfieManagerFromActor, faceCaptureMachine, fromPromise };
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
7
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { t as getBackCameraStream } from "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import { A as stopCameraStream, C as StreamCanvasCapture, S as StreamCanvasProcessingSession, c as FaceDetectionProvider, f as OpenViduRecordingProvider, j as createManager, k as requestCameraAccess, m as LocalRecordingProvider } from "./src-DCc0dMkT.esm.js";
|
|
4
|
-
import { a as checkPermission,
|
|
4
|
+
import { a as checkPermission, i as uploadDeepsightVideo, n as startRecording, o as requestPermission, r as stopRecording$1, s as flagFaceManualReview, t as createRecordingSession, u as getDeviceClass } from "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import { r as getToken, t as api } from "./api-G4JA8CXK.esm.js";
|
|
6
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-D0m3TvIg.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -652,6 +652,9 @@ const _faceCaptureMachine = setup({
|
|
|
652
652
|
sendLabelInspection: () => {
|
|
653
653
|
sendLabelInspectionEvent();
|
|
654
654
|
},
|
|
655
|
+
flagFaceManualReview: () => {
|
|
656
|
+
flagFaceManualReview();
|
|
657
|
+
},
|
|
655
658
|
noOp: () => void 0
|
|
656
659
|
},
|
|
657
660
|
guards: {
|
|
@@ -1090,7 +1093,10 @@ const _faceCaptureMachine = setup({
|
|
|
1090
1093
|
guard: "isNoAttemptsTerminal",
|
|
1091
1094
|
actions: ["setTerminalError"]
|
|
1092
1095
|
},
|
|
1093
|
-
{
|
|
1096
|
+
{
|
|
1097
|
+
target: "#faceCapture.finished",
|
|
1098
|
+
actions: ["flagFaceManualReview"]
|
|
1099
|
+
}
|
|
1094
1100
|
] } },
|
|
1095
1101
|
success: {
|
|
1096
1102
|
entry: "cleanup",
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { S as createActor, b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
4
4
|
import "./api-G4JA8CXK.esm.js";
|
|
5
|
-
import "./endpoints-
|
|
6
|
-
import "./session-
|
|
7
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
8
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
5
|
+
import "./endpoints-CCuj1KZH.esm.js";
|
|
6
|
+
import "./session-CRPiwwF-.esm.js";
|
|
7
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-D4YyGfcD.esm.js";
|
|
8
|
+
import { t as getFinishStatus } from "./flowCompletionService-Bkaerugt.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/flow/flowStateMachine.ts
|
|
11
11
|
const flowMachine = setup({
|
package/dist/{flowCompletionService-_6Rh05wL.esm.js → flowCompletionService-Bkaerugt.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./session-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
3
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./session-CRPiwwF-.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { I as isAndroid, R as isIOS, j as createManager, x as BrowserGeolocationProvider } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as createActor, b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { S as createActor, b as fromCallback, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { _ as BrowserTimerProvider, j as createManager } from "./src-DCc0dMkT.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
7
7
|
async function processGovernmentValidation(signal) {
|
package/dist/id.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./events-
|
|
1
|
+
import "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import "./src-DCc0dMkT.esm.js";
|
|
4
|
-
import "./recordingsRepository-
|
|
4
|
+
import "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
6
6
|
import "./api-G4JA8CXK.esm.js";
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import "./session-
|
|
9
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
7
|
+
import "./endpoints-CCuj1KZH.esm.js";
|
|
8
|
+
import "./session-CRPiwwF-.esm.js";
|
|
9
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-Bl-CBtgX.esm.js";
|
|
10
10
|
import "./deepsightService-lTQvj-Wf.esm.js";
|
|
11
11
|
import "./stats-D0m3TvIg.esm.js";
|
|
12
12
|
import "./id-B30uqGbp.esm.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as revokeObjectURL, S as createActor, b as fromCallback, n as eventModuleNames, o as createManagerInstrumentation, s as getDefaultManagerScreenName, v as setup, x as fromPromise, y as assign } from "./events-
|
|
1
|
+
import { C as revokeObjectURL, S as createActor, b as fromCallback, n as eventModuleNames, o as createManagerInstrumentation, s as getDefaultManagerScreenName, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import { t as getBackCameraStream } from "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import { C as StreamCanvasCapture, E as IncodeCanvas, L as isDesktop, P as getWindowDimensions, S as StreamCanvasProcessingSession, _ as BrowserTimerProvider, a as DEFAULT_ID_CAPTURE_THRESHOLDS, f as OpenViduRecordingProvider, i as DEFAULT_ID_CAPTURE_MODEL_VERSION, j as createManager, s as IdCaptureProvider, v as BrowserStorageProvider } from "./src-DCc0dMkT.esm.js";
|
|
4
|
-
import { a as checkPermission, c as
|
|
4
|
+
import { a as checkPermission, c as flagIdManualReview, n as startRecording, o as requestPermission, r as stopRecording$1, t as createRecordingSession, u as getDeviceClass } from "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import { r as getToken, t as api } from "./api-G4JA8CXK.esm.js";
|
|
6
|
-
import { t as endpoints } from "./endpoints-
|
|
7
|
-
import { t as getDisableIpify } from "./session-
|
|
6
|
+
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
7
|
+
import { t as getDisableIpify } from "./session-CRPiwwF-.esm.js";
|
|
8
8
|
import { t as addDeviceStats } from "./stats-D0m3TvIg.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/id/idCaptureHelpers.ts
|
|
@@ -929,6 +929,9 @@ const _idCaptureMachine = setup({
|
|
|
929
929
|
cleanupDeepsight: ({ context }) => {
|
|
930
930
|
performCleanupDeepsight(context);
|
|
931
931
|
},
|
|
932
|
+
flagIdManualReview: () => {
|
|
933
|
+
flagIdManualReview();
|
|
934
|
+
},
|
|
932
935
|
resetForBackCapture: assign(({ context }) => {
|
|
933
936
|
performResetForBackCapture(context);
|
|
934
937
|
return {
|
|
@@ -1559,13 +1562,18 @@ const _idCaptureMachine = setup({
|
|
|
1559
1562
|
},
|
|
1560
1563
|
{
|
|
1561
1564
|
target: "#idCapture.frontFinished",
|
|
1562
|
-
guard: "shouldContinueToBack"
|
|
1565
|
+
guard: "shouldContinueToBack",
|
|
1566
|
+
actions: ["flagIdManualReview"]
|
|
1563
1567
|
},
|
|
1564
1568
|
{
|
|
1565
1569
|
target: "#idCapture.backFinished",
|
|
1566
|
-
guard: "shouldContinueToFront"
|
|
1570
|
+
guard: "shouldContinueToFront",
|
|
1571
|
+
actions: ["flagIdManualReview"]
|
|
1567
1572
|
},
|
|
1568
|
-
{
|
|
1573
|
+
{
|
|
1574
|
+
target: "#idCapture.processing",
|
|
1575
|
+
actions: ["flagIdManualReview"]
|
|
1576
|
+
}
|
|
1569
1577
|
] } },
|
|
1570
1578
|
success: { on: { NEXT_STEP: [
|
|
1571
1579
|
{
|
package/dist/index.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as subscribeEvent, a as videoSelfieEvents, c as captureAttemptFinished, d as moduleOpened, f as screenClosed, g as flushEventQueue, h as addEvent, i as tutorialScreenNamesMapper, l as elementClicked, m as screenOpened, n as eventModuleNames, p as screenEvent, r as eventScreenNames, t as cameraScreenNamesMapper, u as moduleClosed } from "./events-
|
|
1
|
+
import { _ as subscribeEvent, a as videoSelfieEvents, c as captureAttemptFinished, d as moduleOpened, f as screenClosed, g as flushEventQueue, h as addEvent, i as tutorialScreenNamesMapper, l as elementClicked, m as screenOpened, n as eventModuleNames, p as screenEvent, r as eventScreenNames, t as cameraScreenNamesMapper, u as moduleClosed } from "./events-Cc1xUUgF.esm.js";
|
|
2
2
|
import "./backCameraStream-DtcVhHEz.esm.js";
|
|
3
3
|
import { M as createApi_default, d as ScreenOrientationProvider, l as warmupWasm, n as DEFAULT_WASM_VERSION, o as WasmUtilProvider, r as buildDefaultWasmConfig, z as isIPad } from "./src-DCc0dMkT.esm.js";
|
|
4
|
-
import { a as checkPermission,
|
|
4
|
+
import { a as checkPermission, d as getBrowser, l as createScreenOrientationObserver, o as requestPermission, u as getDeviceClass } from "./recordingsRepository-COovU1i4.esm.js";
|
|
5
5
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
6
6
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-G4JA8CXK.esm.js";
|
|
7
|
-
import "./endpoints-
|
|
8
|
-
import { a as isSessionInitialized, i as initializeSession, n as getSessionFeatures, o as resetSessionInit, s as createSession, t as getDisableIpify } from "./session-
|
|
9
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
7
|
+
import "./endpoints-CCuj1KZH.esm.js";
|
|
8
|
+
import { a as isSessionInitialized, i as initializeSession, n as getSessionFeatures, o as resetSessionInit, s as createSession, t as getDisableIpify } from "./session-CRPiwwF-.esm.js";
|
|
9
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-Bl-CBtgX.esm.js";
|
|
10
10
|
import "./deepsightService-lTQvj-Wf.esm.js";
|
|
11
11
|
import "./stats-D0m3TvIg.esm.js";
|
|
12
12
|
import "./id-B30uqGbp.esm.js";
|