@incodetech/welcome 1.85.0-20251127232236.0 → 1.85.0-20251128185644.0
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/incode-welcome/src/create.d.ts +1 -1
- package/dist/incode-welcome/src/flow/services/flowService.d.ts +0 -2
- package/dist/incode-welcome/src/hooks/useModuleEvents.d.ts +1 -1
- package/dist/onBoarding.mjs +60 -72
- package/dist/onBoarding.umd.js +8 -8
- package/dist/types/src/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/incode-welcome/src/redirect/stadium.d.ts +0 -7
|
@@ -374,7 +374,7 @@ tokboxApiKey, darkMode, hostingApp, unsafeMode, customHeaders, fingerprintApiKey
|
|
|
374
374
|
readonly combinedConsent: "COMBINED_CONSENT";
|
|
375
375
|
readonly curpValidation: "CURP_VALIDATION";
|
|
376
376
|
readonly faceMatch: "FACE_MATCH";
|
|
377
|
-
readonly
|
|
377
|
+
readonly qr: "QR";
|
|
378
378
|
readonly videoSelfie: "VIDEO_ONBOARDING";
|
|
379
379
|
readonly passport: "ID";
|
|
380
380
|
readonly front: "ID";
|
|
@@ -255,12 +255,10 @@ export type FlowModuleConfig = {
|
|
|
255
255
|
FACE_ONBOARDING: EmptyConfig;
|
|
256
256
|
FIELD_COMPARISON: EmptyConfig;
|
|
257
257
|
FISCAL_QR: EmptyConfig;
|
|
258
|
-
GENERATE_QR: EmptyConfig;
|
|
259
258
|
INSTANT_VERIFY: EmptyConfig;
|
|
260
259
|
IP_ADDRESS: EmptyConfig;
|
|
261
260
|
NAME_CAPTURE: EmptyConfig;
|
|
262
261
|
SHOW_RESULTS: EmptyConfig;
|
|
263
|
-
STADIUM_SELECTOR: EmptyConfig;
|
|
264
262
|
UNIVERSAL_IDENTITY: EmptyConfig;
|
|
265
263
|
WATCHLIST: EmptyConfig;
|
|
266
264
|
TRUST_GRAPH: EmptyConfig;
|
|
@@ -5,7 +5,7 @@ export declare const eventModuleNames: {
|
|
|
5
5
|
readonly combinedConsent: "COMBINED_CONSENT";
|
|
6
6
|
readonly curpValidation: "CURP_VALIDATION";
|
|
7
7
|
readonly faceMatch: "FACE_MATCH";
|
|
8
|
-
readonly
|
|
8
|
+
readonly qr: "QR";
|
|
9
9
|
readonly videoSelfie: "VIDEO_ONBOARDING";
|
|
10
10
|
readonly passport: "ID";
|
|
11
11
|
readonly front: "ID";
|
package/dist/onBoarding.mjs
CHANGED
|
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
|
|
|
8374
8374
|
);
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8377
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251128185644.0";
|
|
8378
8378
|
function e$2(Be, Le) {
|
|
8379
8379
|
return function(Ye, tt) {
|
|
8380
8380
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -150977,7 +150977,7 @@ const eventModuleNames = {
|
|
|
150977
150977
|
combinedConsent: "COMBINED_CONSENT",
|
|
150978
150978
|
curpValidation: "CURP_VALIDATION",
|
|
150979
150979
|
faceMatch: "FACE_MATCH",
|
|
150980
|
-
|
|
150980
|
+
qr: "QR",
|
|
150981
150981
|
videoSelfie: "VIDEO_ONBOARDING",
|
|
150982
150982
|
passport: "ID",
|
|
150983
150983
|
front: "ID",
|
|
@@ -196387,7 +196387,6 @@ const ErrorPage = ({
|
|
|
196387
196387
|
selfieValidateBrightness: !0,
|
|
196388
196388
|
hasFaceDeduplication: !1,
|
|
196389
196389
|
customFieldsConfig: null,
|
|
196390
|
-
isStadiumFlow: !1,
|
|
196391
196390
|
isKidsFlow: !1,
|
|
196392
196391
|
isAdultFlow: !1,
|
|
196393
196392
|
redirectOriginOnly: !1,
|
|
@@ -259896,21 +259895,13 @@ const getErrorTranslationKey$2 = (Be) => Be === "Bad Request" ? "phone.invalid"
|
|
|
259896
259895
|
At(gt(getErrorTranslationKey$2($t.error))), Et(!1);
|
|
259897
259896
|
}
|
|
259898
259897
|
};
|
|
259899
|
-
return Rt ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
259900
|
-
|
|
259901
|
-
|
|
259902
|
-
|
|
259903
|
-
|
|
259904
|
-
|
|
259905
|
-
align: "center",
|
|
259906
|
-
direction: "column",
|
|
259907
|
-
mt: Nt.spacing[4],
|
|
259908
|
-
children: [
|
|
259909
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Title$o, { children: gt("phone.verify") }),
|
|
259910
|
-
ft ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
259911
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Nt.spacing[3] }),
|
|
259912
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Subtitle$6, { children: gt("email.willSendCode") })
|
|
259913
|
-
] }) : null,
|
|
259898
|
+
return Rt ? /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
259899
|
+
Page$1,
|
|
259900
|
+
{
|
|
259901
|
+
title: gt("phone.verify"),
|
|
259902
|
+
subtitle: ft && gt("email.willSendCode"),
|
|
259903
|
+
children: [
|
|
259904
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { hFull: !0, wFull: !0, align: "center", direction: "column", children: [
|
|
259914
259905
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Nt.spacing[8] }),
|
|
259915
259906
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
259916
259907
|
PhoneInput,
|
|
@@ -259922,20 +259913,20 @@ const getErrorTranslationKey$2 = (Be) => Be === "Bad Request" ? "phone.invalid"
|
|
|
259922
259913
|
disabled: xt
|
|
259923
259914
|
}
|
|
259924
259915
|
)
|
|
259925
|
-
]
|
|
259926
|
-
|
|
259927
|
-
|
|
259928
|
-
|
|
259929
|
-
|
|
259930
|
-
|
|
259931
|
-
|
|
259932
|
-
|
|
259933
|
-
|
|
259934
|
-
|
|
259935
|
-
|
|
259936
|
-
|
|
259937
|
-
|
|
259938
|
-
|
|
259916
|
+
] }),
|
|
259917
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
259918
|
+
Button$b,
|
|
259919
|
+
{
|
|
259920
|
+
disabled: bt,
|
|
259921
|
+
isLoading: xt,
|
|
259922
|
+
onClick: Kt,
|
|
259923
|
+
children: gt("common.continue")
|
|
259924
|
+
}
|
|
259925
|
+
),
|
|
259926
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Nt.spacing[4] })
|
|
259927
|
+
]
|
|
259928
|
+
}
|
|
259929
|
+
) : null;
|
|
259939
259930
|
}, phoneNumberSteps = {
|
|
259940
259931
|
PhoneNumber: 0,
|
|
259941
259932
|
OTP: 1
|
|
@@ -355412,6 +355403,7 @@ function Email$1({ onSuccess: Be, token: Le, otpVerification: Ye }) {
|
|
|
355412
355403
|
});
|
|
355413
355404
|
const yt = async () => {
|
|
355414
355405
|
if (At) return;
|
|
355406
|
+
ft(!0);
|
|
355415
355407
|
const bt = Et.trim();
|
|
355416
355408
|
try {
|
|
355417
355409
|
xt(!0), await addEmail({ email: bt, token: Le }), addEvent({
|
|
@@ -355437,18 +355429,21 @@ function Email$1({ onSuccess: Be, token: Le, otpVerification: Ye }) {
|
|
|
355437
355429
|
title: tt("email.verify"),
|
|
355438
355430
|
subtitle: Ye && tt("email.willSendCode"),
|
|
355439
355431
|
children: [
|
|
355440
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
355441
|
-
|
|
355442
|
-
|
|
355443
|
-
|
|
355444
|
-
|
|
355445
|
-
|
|
355446
|
-
|
|
355447
|
-
|
|
355448
|
-
|
|
355449
|
-
|
|
355450
|
-
|
|
355451
|
-
|
|
355432
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { hFull: !0, align: "center", direction: "column", children: [
|
|
355433
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Ct.spacing[8] }),
|
|
355434
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
355435
|
+
InputComposed,
|
|
355436
|
+
{
|
|
355437
|
+
error: ht,
|
|
355438
|
+
type: "email",
|
|
355439
|
+
value: Et,
|
|
355440
|
+
onChange: vt,
|
|
355441
|
+
placeholder: "Email",
|
|
355442
|
+
showErrorIcon: !0
|
|
355443
|
+
}
|
|
355444
|
+
)
|
|
355445
|
+
] }),
|
|
355446
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
355452
355447
|
Button$b,
|
|
355453
355448
|
{
|
|
355454
355449
|
disabled: nt,
|
|
@@ -355456,7 +355451,8 @@ function Email$1({ onSuccess: Be, token: Le, otpVerification: Ye }) {
|
|
|
355456
355451
|
onClick: yt,
|
|
355457
355452
|
children: tt("common.continue")
|
|
355458
355453
|
}
|
|
355459
|
-
)
|
|
355454
|
+
),
|
|
355455
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Ct.spacing[4] })
|
|
355460
355456
|
]
|
|
355461
355457
|
}
|
|
355462
355458
|
);
|
|
@@ -358326,36 +358322,30 @@ function NameCaptureContent({ token: Be, goNext: Le }) {
|
|
|
358326
358322
|
]
|
|
358327
358323
|
}
|
|
358328
358324
|
) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(Page$1, { title: kt("nameCapturev2.title"), children: [
|
|
358329
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
358330
|
-
|
|
358331
|
-
|
|
358332
|
-
|
|
358333
|
-
|
|
358334
|
-
|
|
358335
|
-
|
|
358336
|
-
|
|
358337
|
-
|
|
358338
|
-
|
|
358339
|
-
|
|
358340
|
-
|
|
358341
|
-
|
|
358342
|
-
|
|
358343
|
-
placeholder: "Name",
|
|
358344
|
-
autoComplete: "name",
|
|
358345
|
-
onChange: (vt) => tt(vt.target.value)
|
|
358346
|
-
}
|
|
358347
|
-
)
|
|
358348
|
-
}
|
|
358349
|
-
),
|
|
358325
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { hFull: !0, direction: "column", align: "center", wFull: !0, children: [
|
|
358326
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Ct.spacing[8] }),
|
|
358327
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
358328
|
+
InputComposed,
|
|
358329
|
+
{
|
|
358330
|
+
type: "text",
|
|
358331
|
+
id: "name",
|
|
358332
|
+
name: "name",
|
|
358333
|
+
placeholder: "Name",
|
|
358334
|
+
autoComplete: "name",
|
|
358335
|
+
onChange: (vt) => tt(vt.target.value)
|
|
358336
|
+
}
|
|
358337
|
+
)
|
|
358338
|
+
] }),
|
|
358350
358339
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
358351
358340
|
Button$b,
|
|
358352
358341
|
{
|
|
358353
|
-
disabled: !Ye,
|
|
358342
|
+
disabled: !Ye || At,
|
|
358354
358343
|
onClick: yt,
|
|
358355
358344
|
isLoading: At,
|
|
358356
358345
|
children: kt("common.continue")
|
|
358357
358346
|
}
|
|
358358
|
-
)
|
|
358347
|
+
),
|
|
358348
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer, { size: Ct.spacing[4] })
|
|
358359
358349
|
] });
|
|
358360
358350
|
}
|
|
358361
358351
|
const NameCapture = ({ token: Be, goNext: Le }) => /* @__PURE__ */ jsxRuntimeExports.jsx(IncodeProvider, { token: Be, children: /* @__PURE__ */ jsxRuntimeExports.jsx(NameCaptureContent, { token: Be, goNext: Le }) });
|
|
@@ -364812,8 +364802,6 @@ const moduleComponents = {
|
|
|
364812
364802
|
FIELD_COMPARISON: FieldComparisonModule,
|
|
364813
364803
|
SHOW_RESULTS: ShowResultsModule,
|
|
364814
364804
|
CHECKBOX_SIGNATURE: SkipModule,
|
|
364815
|
-
GENERATE_QR: SkipModule,
|
|
364816
|
-
STADIUM_SELECTOR: SkipModule,
|
|
364817
364805
|
VIDEO_ONBOARDING: VideoSelfieModule,
|
|
364818
364806
|
ID_OCR: IDOCRModule,
|
|
364819
364807
|
CUSTOM_FIELDS: CustomFieldsModule,
|
|
@@ -372777,7 +372765,7 @@ const overlayImg = "data:image/svg+xml,%3csvg%20width='229'%20height='229'%20vie
|
|
|
372777
372765
|
`, QRScanner = ({ token: Be, onSuccess: Le }) => {
|
|
372778
372766
|
const { currentStep: Ye, nextStep: tt } = useSteps();
|
|
372779
372767
|
return useModuleEvents({
|
|
372780
|
-
module: eventModuleNames.
|
|
372768
|
+
module: eventModuleNames.qr,
|
|
372781
372769
|
token: Be.token
|
|
372782
372770
|
}), /* @__PURE__ */ jsxRuntimeExports.jsxs(Steps, { currentStep: Ye, children: [
|
|
372783
372771
|
/* @__PURE__ */ jsxRuntimeExports.jsx(QRScannerTutorial, { nextStep: tt, token: Be.token }),
|
|
@@ -372786,7 +372774,7 @@ const overlayImg = "data:image/svg+xml,%3csvg%20width='229'%20height='229'%20vie
|
|
|
372786
372774
|
}, QRScannerTutorial = ({ nextStep: Be, token: Le }) => {
|
|
372787
372775
|
const { t: Ye } = useTranslation$1();
|
|
372788
372776
|
return useScreenEvents({
|
|
372789
|
-
module: eventModuleNames.
|
|
372777
|
+
module: eventModuleNames.qr,
|
|
372790
372778
|
screen: eventScreenNames.qrTutorial,
|
|
372791
372779
|
token: Le
|
|
372792
372780
|
}), /* @__PURE__ */ jsxRuntimeExports.jsxs(QrScannerTutorialContainer, { className: "IncodeQrScannerTutorialContainer", children: [
|