@incodetech/core 0.0.0-dev-20260320-2b71e13 → 0.0.0-dev-20260320-80a2d6d
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-O-LFYClt.esm.js → addressSearch-BpdtojH_.esm.js} +4 -4
- package/dist/authentication.d.ts +10 -10
- package/dist/authentication.esm.js +10 -11
- package/dist/{authenticationManager-BH1ZY_16.d.ts → authenticationManager-BjTgDn8A.d.ts} +2 -2
- package/dist/{authenticationManager-BDCN6xbG.esm.js → authenticationManager-Yjdutfo0.esm.js} +8 -9
- package/dist/{backCameraStream-D-_dxon_.esm.js → backCameraStream-DQY36Tsq.esm.js} +1 -1
- package/dist/consent.d.ts +47 -47
- package/dist/consent.esm.js +6 -6
- package/dist/curp-validation.d.ts +4 -4
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{deepsightLoader-DXU9BgO8.esm.js → deepsightLoader-De-U_lRn.esm.js} +4 -4
- package/dist/{deepsightService-B4HcyNDh.d.ts → deepsightService-CdGGD_BP.d.ts} +1 -1
- package/dist/{deepsightService-B4jCQAh8.esm.js → deepsightService-PlHPx0yD.esm.js} +3 -3
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +7 -7
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +7 -6
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +8 -15
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +7 -14
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +5 -6
- package/dist/{emailManager-BWKRZIDo.esm.js → emailManager-B5pmZ3O4.esm.js} +8 -7
- package/dist/{emailManager-jXfroijR.d.ts → emailManager-lUXVfa0R.d.ts} +2 -2
- package/dist/{xstate.esm-nEixMy7s.esm.js → events-BKOSYNaw.esm.js} +299 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +14 -15
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +7 -17
- package/dist/{faceCaptureManagerFactory-CULlsJHa.d.ts → faceCaptureManagerFactory-BulU7xFu.d.ts} +8 -8
- package/dist/{faceCaptureSetup-ePWTb1VF.esm.js → faceCaptureSetup-BQ7cV8vo.esm.js} +11 -11
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +10 -8
- package/dist/{flowCompletionService-BJ1cHA-d.esm.js → flowCompletionService-C-pC9OZ9.esm.js} +2 -2
- package/dist/{flowServices-B5BTeA3c.esm.js → flowServices-Cc1HxYIC.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +6 -6
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +6 -5
- package/dist/id.d.ts +9 -9
- package/dist/id.esm.js +10 -11
- package/dist/{idCaptureManager-DY9Le1U5.d.ts → idCaptureManager-DCXMoCXo.d.ts} +6 -6
- package/dist/{idCaptureManager-DJaBQlDY.esm.js → idCaptureManager-hbqwL7Qt.esm.js} +13 -12
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +10 -11
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +5 -6
- package/dist/{phoneManager-CQKg7NiP.esm.js → phoneManager-CXYPFfUs.esm.js} +8 -7
- package/dist/{phoneManager-BXeQetqQ.d.ts → phoneManager-pTIOvlCD.d.ts} +2 -2
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +6 -5
- package/dist/selfie.d.ts +10 -10
- package/dist/selfie.esm.js +10 -11
- package/dist/{selfieManager-BzVXhKYT.d.ts → selfieManager-BqX2VFj1.d.ts} +2 -2
- package/dist/{selfieManager-DBIy2tuK.esm.js → selfieManager-DMnrP5LU.esm.js} +5 -6
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{src-LjezYyPe.esm.js → src-xUbMTjnz.esm.js} +7 -2
- package/dist/{stats-DJ3CICeP.esm.js → stats-D76Thmqp.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{streamingEvents-JeLmnOFf.esm.js → streamingEvents-BNVENF4-.esm.js} +3 -3
- package/dist/{types-CSgWWTDb.d.ts → types-CHzupruc.d.ts} +1 -1
- package/dist/{types-S1nlDDGB.d.ts → types-DSJflCEU.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/events-CcXL3VWp.esm.js +0 -289
- /package/dist/{Actor-Bd72Yikw.d.ts → Actor-D6rhGxJy.d.ts} +0 -0
- /package/dist/{Manager-DKHVvCA1.d.ts → Manager-CVDYGoSq.d.ts} +0 -0
- /package/dist/{StateMachine-D-N4dLZo.d.ts → StateMachine-BqtRw_hz.d.ts} +0 -0
- /package/dist/{api-G4JA8CXK.esm.js → api-3fZO5bmj.esm.js} +0 -0
- /package/dist/{camera-pEBK1r31.d.ts → camera-CVBwqx-j.d.ts} +0 -0
- /package/dist/{displayErrors-mVWkbnVw.d.ts → displayErrors-BgtBHbfb.d.ts} +0 -0
- /package/dist/{endpoints-BGaT9ldX.esm.js → endpoints-Bydn-Ave.esm.js} +0 -0
- /package/dist/{flowCompletionService-B89QmIQg.d.ts → flowCompletionService-De8JDo87.d.ts} +0 -0
- /package/dist/{id-B1BwT5Nd.esm.js → id-r_CoQ3r-.esm.js} +0 -0
- /package/dist/{index-DwdIY3SO.d.ts → index-LKrIp3Oo.d.ts} +0 -0
- /package/dist/{lib-DCX3_IAU.esm.js → lib-3ivDs79I.esm.js} +0 -0
- /package/dist/{warmup-LifmFv5i.d.ts → warmup-DoQLFT3z.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-
|
|
4
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
2
|
+
import "./camera-CVBwqx-j.js";
|
|
3
|
+
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-CHzupruc.js";
|
|
4
|
+
import * as xstate58 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
7
|
-
declare const documentUploadMachine:
|
|
7
|
+
declare const documentUploadMachine: xstate58.StateMachine<DocumentUploadContext, {
|
|
8
8
|
type: "START";
|
|
9
9
|
} | {
|
|
10
10
|
type: "CAPTURE";
|
|
@@ -17,52 +17,52 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
17
17
|
} | {
|
|
18
18
|
type: "CLOSE";
|
|
19
19
|
}, {
|
|
20
|
-
[x: string]:
|
|
20
|
+
[x: string]: xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>> | xstate58.ActorRefFromLogic<xstate58.PromiseActorLogic<void, {
|
|
21
21
|
imageBase64: string;
|
|
22
22
|
documentType: string;
|
|
23
23
|
onProgress: (progress: number) => void;
|
|
24
|
-
},
|
|
25
|
-
},
|
|
24
|
+
}, xstate58.EventObject>> | undefined;
|
|
25
|
+
}, xstate58.Values<{
|
|
26
26
|
initCamera: {
|
|
27
27
|
src: "initCamera";
|
|
28
|
-
logic:
|
|
28
|
+
logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
|
|
29
29
|
id: string | undefined;
|
|
30
30
|
};
|
|
31
31
|
uploadDocument: {
|
|
32
32
|
src: "uploadDocument";
|
|
33
|
-
logic:
|
|
33
|
+
logic: xstate58.PromiseActorLogic<void, {
|
|
34
34
|
imageBase64: string;
|
|
35
35
|
documentType: string;
|
|
36
36
|
onProgress: (progress: number) => void;
|
|
37
|
-
},
|
|
37
|
+
}, xstate58.EventObject>;
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
|
-
}>,
|
|
40
|
+
}>, xstate58.Values<{
|
|
41
41
|
setStream: {
|
|
42
42
|
type: "setStream";
|
|
43
|
-
params:
|
|
43
|
+
params: xstate58.NonReducibleUnknown;
|
|
44
44
|
};
|
|
45
45
|
setProgress: {
|
|
46
46
|
type: "setProgress";
|
|
47
|
-
params:
|
|
47
|
+
params: xstate58.NonReducibleUnknown;
|
|
48
48
|
};
|
|
49
49
|
clearError: {
|
|
50
50
|
type: "clearError";
|
|
51
|
-
params:
|
|
51
|
+
params: xstate58.NonReducibleUnknown;
|
|
52
52
|
};
|
|
53
53
|
stopStream: {
|
|
54
54
|
type: "stopStream";
|
|
55
|
-
params:
|
|
56
|
-
};
|
|
57
|
-
setError: {
|
|
58
|
-
type: "setError";
|
|
59
|
-
params: xstate121.NonReducibleUnknown;
|
|
55
|
+
params: xstate58.NonReducibleUnknown;
|
|
60
56
|
};
|
|
61
57
|
setImageAndClearError: {
|
|
62
58
|
type: "setImageAndClearError";
|
|
63
|
-
params:
|
|
59
|
+
params: xstate58.NonReducibleUnknown;
|
|
60
|
+
};
|
|
61
|
+
setError: {
|
|
62
|
+
type: "setError";
|
|
63
|
+
params: xstate58.NonReducibleUnknown;
|
|
64
64
|
};
|
|
65
|
-
}>, never, never, "error" | "initCamera" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput,
|
|
65
|
+
}>, never, never, "error" | "initCamera" | "capturing" | "finished" | "closed" | "uploading" | "idle", string, DocumentUploadInput, xstate58.NonReducibleUnknown, xstate58.EventObject, xstate58.MetaObject, {
|
|
66
66
|
readonly id: "documentUpload";
|
|
67
67
|
readonly initial: "idle";
|
|
68
68
|
readonly context: ({
|
|
@@ -71,67 +71,67 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
71
71
|
spawn: {
|
|
72
72
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
73
73
|
src: "initCamera";
|
|
74
|
-
logic:
|
|
74
|
+
logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
|
|
75
75
|
id: string | undefined;
|
|
76
76
|
} extends infer T ? T extends {
|
|
77
77
|
src: "initCamera";
|
|
78
|
-
logic:
|
|
78
|
+
logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
|
|
79
79
|
id: string | undefined;
|
|
80
80
|
} ? T extends {
|
|
81
81
|
src: TSrc;
|
|
82
|
-
} ?
|
|
82
|
+
} ? xstate58.ConditionalRequired<[options?: ({
|
|
83
83
|
id?: T["id"] | undefined;
|
|
84
84
|
systemId?: string;
|
|
85
|
-
input?:
|
|
85
|
+
input?: xstate58.InputFrom<T["logic"]> | undefined;
|
|
86
86
|
syncSnapshot?: boolean;
|
|
87
|
-
} & { [K in
|
|
87
|
+
} & { [K in xstate58.RequiredActorOptions<T>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
88
88
|
src: "uploadDocument";
|
|
89
|
-
logic:
|
|
89
|
+
logic: xstate58.PromiseActorLogic<void, {
|
|
90
90
|
imageBase64: string;
|
|
91
91
|
documentType: string;
|
|
92
92
|
onProgress: (progress: number) => void;
|
|
93
|
-
},
|
|
93
|
+
}, xstate58.EventObject>;
|
|
94
94
|
id: string | undefined;
|
|
95
95
|
} extends infer T_1 ? T_1 extends {
|
|
96
96
|
src: "uploadDocument";
|
|
97
|
-
logic:
|
|
97
|
+
logic: xstate58.PromiseActorLogic<void, {
|
|
98
98
|
imageBase64: string;
|
|
99
99
|
documentType: string;
|
|
100
100
|
onProgress: (progress: number) => void;
|
|
101
|
-
},
|
|
101
|
+
}, xstate58.EventObject>;
|
|
102
102
|
id: string | undefined;
|
|
103
103
|
} ? T_1 extends {
|
|
104
104
|
src: TSrc;
|
|
105
|
-
} ?
|
|
105
|
+
} ? xstate58.ConditionalRequired<[options?: ({
|
|
106
106
|
id?: T_1["id"] | undefined;
|
|
107
107
|
systemId?: string;
|
|
108
|
-
input?:
|
|
108
|
+
input?: xstate58.InputFrom<T_1["logic"]> | undefined;
|
|
109
109
|
syncSnapshot?: boolean;
|
|
110
|
-
} & { [K_1 in
|
|
110
|
+
} & { [K_1 in xstate58.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredActorOptions<T_1>>> : never : never : never)): xstate58.ActorRefFromLogic<xstate58.GetConcreteByKey<xstate58.Values<{
|
|
111
111
|
initCamera: {
|
|
112
112
|
src: "initCamera";
|
|
113
|
-
logic:
|
|
113
|
+
logic: xstate58.PromiseActorLogic<MediaStream, void, xstate58.EventObject>;
|
|
114
114
|
id: string | undefined;
|
|
115
115
|
};
|
|
116
116
|
uploadDocument: {
|
|
117
117
|
src: "uploadDocument";
|
|
118
|
-
logic:
|
|
118
|
+
logic: xstate58.PromiseActorLogic<void, {
|
|
119
119
|
imageBase64: string;
|
|
120
120
|
documentType: string;
|
|
121
121
|
onProgress: (progress: number) => void;
|
|
122
|
-
},
|
|
122
|
+
}, xstate58.EventObject>;
|
|
123
123
|
id: string | undefined;
|
|
124
124
|
};
|
|
125
125
|
}>, "src", TSrc>["logic"]>;
|
|
126
|
-
<TLogic extends
|
|
126
|
+
<TLogic extends xstate58.AnyActorLogic>(src: TLogic, ...[options]: xstate58.ConditionalRequired<[options?: ({
|
|
127
127
|
id?: never;
|
|
128
128
|
systemId?: string;
|
|
129
|
-
input?:
|
|
129
|
+
input?: xstate58.InputFrom<TLogic> | undefined;
|
|
130
130
|
syncSnapshot?: boolean;
|
|
131
|
-
} & { [K in
|
|
131
|
+
} & { [K in xstate58.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate58.IsNotNever<xstate58.RequiredLogicInput<TLogic>>>): xstate58.ActorRefFromLogic<TLogic>;
|
|
132
132
|
};
|
|
133
133
|
input: DocumentUploadInput;
|
|
134
|
-
self:
|
|
134
|
+
self: xstate58.ActorRef<xstate58.MachineSnapshot<DocumentUploadContext, {
|
|
135
135
|
type: "START";
|
|
136
136
|
} | {
|
|
137
137
|
type: "CAPTURE";
|
|
@@ -143,7 +143,7 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
143
143
|
type: "RETRY";
|
|
144
144
|
} | {
|
|
145
145
|
type: "CLOSE";
|
|
146
|
-
}, Record<string,
|
|
146
|
+
}, Record<string, xstate58.AnyActorRef | undefined>, xstate58.StateValue, string, unknown, any, any>, {
|
|
147
147
|
type: "START";
|
|
148
148
|
} | {
|
|
149
149
|
type: "CAPTURE";
|
|
@@ -155,7 +155,7 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
155
155
|
type: "RETRY";
|
|
156
156
|
} | {
|
|
157
157
|
type: "CLOSE";
|
|
158
|
-
},
|
|
158
|
+
}, xstate58.AnyEventObject>;
|
|
159
159
|
}) => {
|
|
160
160
|
config: DocumentUploadConfig;
|
|
161
161
|
stream: undefined;
|
|
@@ -225,7 +225,7 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
225
225
|
} | {
|
|
226
226
|
type: "CLOSE";
|
|
227
227
|
};
|
|
228
|
-
self:
|
|
228
|
+
self: xstate58.ActorRef<xstate58.MachineSnapshot<DocumentUploadContext, {
|
|
229
229
|
type: "START";
|
|
230
230
|
} | {
|
|
231
231
|
type: "CAPTURE";
|
|
@@ -237,7 +237,7 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
237
237
|
type: "RETRY";
|
|
238
238
|
} | {
|
|
239
239
|
type: "CLOSE";
|
|
240
|
-
}, Record<string,
|
|
240
|
+
}, Record<string, xstate58.AnyActorRef>, xstate58.StateValue, string, unknown, any, any>, {
|
|
241
241
|
type: "START";
|
|
242
242
|
} | {
|
|
243
243
|
type: "CAPTURE";
|
|
@@ -249,7 +249,7 @@ declare const documentUploadMachine: xstate121.StateMachine<DocumentUploadContex
|
|
|
249
249
|
type: "RETRY";
|
|
250
250
|
} | {
|
|
251
251
|
type: "CLOSE";
|
|
252
|
-
},
|
|
252
|
+
}, xstate58.AnyEventObject>;
|
|
253
253
|
}) => {
|
|
254
254
|
imageBase64: string;
|
|
255
255
|
documentType: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-DQY36Tsq.esm.js";
|
|
3
|
+
import { A as createManager, k as stopCameraStream } from "./src-xUbMTjnz.esm.js";
|
|
4
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
8
8
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
@@ -187,7 +187,8 @@ function createDocumentUploadManager(options) {
|
|
|
187
187
|
return createManager({
|
|
188
188
|
actor: createDocumentUploadActor(options),
|
|
189
189
|
mapState,
|
|
190
|
-
createApi
|
|
190
|
+
createApi,
|
|
191
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.document)
|
|
191
192
|
});
|
|
192
193
|
}
|
|
193
194
|
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
2
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-BgtBHbfb.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/ekyb/types.d.ts
|
|
5
5
|
type UboEntry = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { t as getFlow } from "./flowServices-B5BTeA3c.esm.js";
|
|
1
|
+
import { f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.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-BpdtojH_.esm.js";
|
|
6
|
+
import { t as getFlow } from "./flowServices-Cc1HxYIC.esm.js";
|
|
8
7
|
|
|
9
8
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
10
9
|
const UBO_INPUT_LIMIT = 8;
|
|
@@ -519,12 +518,6 @@ const ekybMachine = setup({
|
|
|
519
518
|
};
|
|
520
519
|
}),
|
|
521
520
|
setAddressSuggestions: assign(({ event }) => ({ addressSuggestions: event.suggestions })),
|
|
522
|
-
trackModuleOpen: () => {
|
|
523
|
-
addEvent({
|
|
524
|
-
code: "open",
|
|
525
|
-
module: eventModuleNames.ekyb
|
|
526
|
-
});
|
|
527
|
-
},
|
|
528
521
|
trackFormOpen: () => {
|
|
529
522
|
addEvent({
|
|
530
523
|
code: "open",
|
|
@@ -573,7 +566,6 @@ const ekybMachine = setup({
|
|
|
573
566
|
_searchQuery: ""
|
|
574
567
|
};
|
|
575
568
|
},
|
|
576
|
-
entry: "trackModuleOpen",
|
|
577
569
|
states: {
|
|
578
570
|
idle: { on: { LOAD: [{
|
|
579
571
|
target: "loading",
|
|
@@ -768,7 +760,8 @@ function createEkybManager(options) {
|
|
|
768
760
|
return createManager({
|
|
769
761
|
actor: createEkybActor(options),
|
|
770
762
|
mapState,
|
|
771
|
-
createApi
|
|
763
|
+
createApi,
|
|
764
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.ekyb)
|
|
772
765
|
});
|
|
773
766
|
}
|
|
774
767
|
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-
|
|
1
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
2
|
+
import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-BgtBHbfb.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/ekyc/types.d.ts
|
|
5
5
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
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-O-LFYClt.esm.js";
|
|
1
|
+
import { f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { A as createManager } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.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-BpdtojH_.esm.js";
|
|
7
6
|
|
|
8
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
9
8
|
var metadata_min_json_default = {
|
|
@@ -10382,12 +10381,6 @@ const ekycMachine = setup({
|
|
|
10382
10381
|
setSubmitError: assign(() => ({ submitError: "verification.errors.countryNotSupported" })),
|
|
10383
10382
|
clearSubmitError: assign({ submitError: () => "" }),
|
|
10384
10383
|
markSubmitAttempted: assign({ submitAttempted: () => true }),
|
|
10385
|
-
trackModuleOpen: () => {
|
|
10386
|
-
addEvent({
|
|
10387
|
-
code: "open",
|
|
10388
|
-
module: eventModuleNames.ekyc
|
|
10389
|
-
});
|
|
10390
|
-
},
|
|
10391
10384
|
trackProgress: () => {
|
|
10392
10385
|
addEvent({
|
|
10393
10386
|
code: "continue",
|
|
@@ -10444,7 +10437,6 @@ const ekycMachine = setup({
|
|
|
10444
10437
|
submitAttempted: false,
|
|
10445
10438
|
_searchQuery: ""
|
|
10446
10439
|
}),
|
|
10447
|
-
entry: "trackModuleOpen",
|
|
10448
10440
|
states: {
|
|
10449
10441
|
idle: { on: { LOAD: [
|
|
10450
10442
|
{
|
|
@@ -10657,7 +10649,8 @@ function createEkycManager(options) {
|
|
|
10657
10649
|
return createManager({
|
|
10658
10650
|
actor: createEkycActor(options),
|
|
10659
10651
|
mapState,
|
|
10660
|
-
createApi
|
|
10652
|
+
createApi,
|
|
10653
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.ekyc)
|
|
10661
10654
|
});
|
|
10662
10655
|
}
|
|
10663
10656
|
|
package/dist/email.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-
|
|
1
|
+
import "./Manager-CVDYGoSq.js";
|
|
2
|
+
import "./Actor-D6rhGxJy.js";
|
|
3
|
+
import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-lUXVfa0R.js";
|
|
4
4
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./src-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import { r as emailMachine, t as createEmailManager } from "./emailManager-BWKRZIDo.esm.js";
|
|
1
|
+
import "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
5
|
+
import { r as emailMachine, t as createEmailManager } from "./emailManager-B5pmZ3O4.esm.js";
|
|
7
6
|
|
|
8
7
|
export { createEmailManager, emailMachine };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
|
|
1
|
+
import { _ as fromCallback, f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
5
|
|
|
7
6
|
//#region src/modules/email/emailServices.ts
|
|
8
7
|
async function fetchEmail(signal) {
|
|
@@ -471,14 +470,16 @@ function createEmailManager(options) {
|
|
|
471
470
|
return createManager({
|
|
472
471
|
actor: createEmailActor(options),
|
|
473
472
|
mapState,
|
|
474
|
-
createApi
|
|
473
|
+
createApi,
|
|
474
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.email)
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
function createEmailManagerFromActor(actor) {
|
|
478
478
|
return createManager({
|
|
479
479
|
actor,
|
|
480
480
|
mapState,
|
|
481
|
-
createApi
|
|
481
|
+
createApi,
|
|
482
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.email)
|
|
482
483
|
});
|
|
483
484
|
}
|
|
484
485
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D6rhGxJy.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/email/types.d.ts
|
|
5
5
|
|