@incodetech/web 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/flow/flow.es.js +1 -1
- package/dist/{governmentValidation/governmentValidation.es.js → government-validation/government-validation.es.js} +3 -7
- package/dist/{useModuleLoader-w57va3eB.js → useModuleLoader-Cotu0Xip.js} +2 -2
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +11 -2
- /package/dist/{governmentValidation → government-validation}/styles.css +0 -0
- /package/dist/types/{governmentValidation.d.ts → government-validation.d.ts} +0 -0
package/dist/flow/flow.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { c as useManager } from "../hooks-Da_yP_Dr.js";
|
|
|
5
5
|
import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
|
|
6
6
|
import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
|
|
8
|
-
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, y as TerminalErrorPage } from "../useModuleLoader-
|
|
8
|
+
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, y as TerminalErrorPage } from "../useModuleLoader-Cotu0Xip.js";
|
|
9
9
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
10
10
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
11
11
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
@@ -10,7 +10,7 @@ import { t as VerificationResult } from "../verificationResult-B6PBXbp9.js";
|
|
|
10
10
|
import { t as OtpInput } from "../otpInput-Q_kzSZeD.js";
|
|
11
11
|
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
|
|
12
12
|
import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
|
|
13
|
-
//#region src/modules/
|
|
13
|
+
//#region src/modules/government-validation/governmentIncodeLogo.tsx
|
|
14
14
|
var VerifiedByGovIncodeLogo = () => {
|
|
15
15
|
return /* @__PURE__ */ u("svg", {
|
|
16
16
|
width: "390",
|
|
@@ -84,7 +84,7 @@ var VerifiedByGovIncodeLogo = () => {
|
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
86
|
//#endregion
|
|
87
|
-
//#region src/modules/
|
|
87
|
+
//#region src/modules/government-validation/government-validation.tsx
|
|
88
88
|
var GovernmentVerificationResult = (props) => /* @__PURE__ */ u(VerificationResult, {
|
|
89
89
|
...props,
|
|
90
90
|
hideFooterBranding: false,
|
|
@@ -103,7 +103,7 @@ var GovernmentValidationContent = ({ config, onFinish }) => {
|
|
|
103
103
|
if (config.backgroundExecution || state.status === "finished") return null;
|
|
104
104
|
const isOtpStep = state.status === "awaitingOtp" || state.status === "verifyingOtp";
|
|
105
105
|
return /* @__PURE__ */ u(k, { children: [
|
|
106
|
-
(state.status === "idle" || state.status === "loading") && /* @__PURE__ */ u(GovernmentVerificationResult, {
|
|
106
|
+
(state.status === "idle" || state.status === "loading" || state.status === "processing") && /* @__PURE__ */ u(GovernmentVerificationResult, {
|
|
107
107
|
status: "submitting",
|
|
108
108
|
submittingTitle: t("common.holdOnASec"),
|
|
109
109
|
submittingSubtitle: t("ineCheck.checkingYourInformation")
|
|
@@ -112,10 +112,6 @@ var GovernmentValidationContent = ({ config, onFinish }) => {
|
|
|
112
112
|
status: "success",
|
|
113
113
|
successTitle: t("ineCheck.verified")
|
|
114
114
|
}),
|
|
115
|
-
state.status === "processing" && /* @__PURE__ */ u(GovernmentVerificationResult, {
|
|
116
|
-
status: "success",
|
|
117
|
-
successTitle: t("ineCheck.processing")
|
|
118
|
-
}),
|
|
119
115
|
isOtpStep && (() => {
|
|
120
116
|
const isVerifying = state.status === "verifyingOtp";
|
|
121
117
|
const otpError = state.status === "awaitingOtp" ? state.otpError : void 0;
|
|
@@ -291,8 +291,8 @@ var LAZY_UI_MODULES = {
|
|
|
291
291
|
SECOND_ID: lazyIdModule,
|
|
292
292
|
FACE_MATCH: () => import("./faceMatch-D_uyeaBt.js").then((m) => m.FaceMatch),
|
|
293
293
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
|
|
294
|
-
GOVT_VALIDATION_PROVISIONING: () => import("./
|
|
295
|
-
INE_VALIDATION: () => import("./
|
|
294
|
+
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
295
|
+
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
296
296
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
297
297
|
EXTERNAL_VERIFICATION: () => import("./ekycModule-BIbj7hr1.js").then((m) => m.EkycModule),
|
|
298
298
|
EKYB: () => import("./ekybModule-D_TN29rO.js").then((m) => m.EkybModule),
|
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as TransitionSpinner } from "../transitionSpinner-4rPkt-KM.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
|
|
10
|
-
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as fetchAndApplyTheme, y as TerminalErrorPage } from "../useModuleLoader-
|
|
10
|
+
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as fetchAndApplyTheme, y as TerminalErrorPage } from "../useModuleLoader-Cotu0Xip.js";
|
|
11
11
|
import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
12
12
|
import { getDeviceClass } from "@incodetech/core/device";
|
|
13
13
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260629-
|
|
3
|
+
"version": "0.0.0-dev-20260629-5fb9c142",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -98,6 +98,15 @@
|
|
|
98
98
|
"source": "./src/modules/curp-validation/styles.css",
|
|
99
99
|
"default": "./dist/curp-validation/styles.css"
|
|
100
100
|
},
|
|
101
|
+
"./government-validation": {
|
|
102
|
+
"source": "./src/modules/government-validation/government-validation.tsx",
|
|
103
|
+
"types": "./dist/types/government-validation.d.ts",
|
|
104
|
+
"import": "./dist/government-validation/government-validation.es.js"
|
|
105
|
+
},
|
|
106
|
+
"./government-validation/styles.css": {
|
|
107
|
+
"source": "./src/modules/government-validation/styles.css",
|
|
108
|
+
"default": "./dist/government-validation/styles.css"
|
|
109
|
+
},
|
|
101
110
|
"./cpf-ocr": {
|
|
102
111
|
"source": "./src/modules/cpf-ocr/cpfOcr.tsx",
|
|
103
112
|
"types": "./dist/types/cpf-ocr.d.ts",
|
|
@@ -264,7 +273,7 @@
|
|
|
264
273
|
"qrcode": "^1.5.4",
|
|
265
274
|
"signature_pad": "^5.1.3",
|
|
266
275
|
"tailwindcss": "^4.1.17",
|
|
267
|
-
"@incodetech/core": "0.0.0-dev-20260629-
|
|
276
|
+
"@incodetech/core": "0.0.0-dev-20260629-5fb9c142"
|
|
268
277
|
},
|
|
269
278
|
"devDependencies": {
|
|
270
279
|
"@microsoft/api-extractor": "^7.53.3",
|
|
File without changes
|
|
File without changes
|