@incodetech/web 0.0.0-dev-20260709-e9d0614f → 0.0.0-dev-20260709-b47a5418
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/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-BCE_3MJK.js +2 -0
- package/dist/{documentCapture-Cw2RbEC9.js → documentCapture-BMEYyodv.js} +10 -7
- package/dist/flow/flow.es.js +1 -1
- package/dist/{useModuleLoader-CCFCZaAX.js → useModuleLoader-Ko4GJf8B.js} +2 -2
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/documentCapture-C8iTPG4q.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DocumentCapture } from "../documentCapture-
|
|
1
|
+
import { t as DocumentCapture } from "../documentCapture-BMEYyodv.js";
|
|
2
2
|
export { DocumentCapture };
|
|
@@ -313,13 +313,16 @@ var UploadingHeader = ({ progress, isFilePdf }) => {
|
|
|
313
313
|
var PdfViewer = z(() => import("./pdfViewer-B97DmT9m.js").then((n) => n.n).then((m) => ({ default: m.PdfViewer })));
|
|
314
314
|
var DocumentReview = ({ state, manager }) => {
|
|
315
315
|
const { t } = useTranslation();
|
|
316
|
-
if (state.status === "failure")
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
316
|
+
if (state.status === "failure") {
|
|
317
|
+
const noMoreAttempts = state.attemptsRemaining <= 0;
|
|
318
|
+
return /* @__PURE__ */ u(ErrorContent, {
|
|
319
|
+
"data-testid": "document-capture-error",
|
|
320
|
+
title: noMoreAttempts ? t("documentCapture.review.error.exhaustedTitle") : t("documentCapture.review.error.title"),
|
|
321
|
+
description: noMoreAttempts ? t("documentCapture.review.error.exhaustedDescription") : t("documentCapture.review.error.description"),
|
|
322
|
+
attemptsRemaining: state.attemptsRemaining,
|
|
323
|
+
onButtonClick: noMoreAttempts ? () => manager.continue() : () => manager.retry()
|
|
324
|
+
});
|
|
325
|
+
}
|
|
323
326
|
const isFilePdf = state.fileType === "application/pdf" || state.imageBase64.startsWith("data:application/pdf");
|
|
324
327
|
const { fileName } = state;
|
|
325
328
|
const isPreview = state.status === "preview";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { u as useManager } from "../hooks-CNu7o-v8.js";
|
|
|
5
5
|
import { t as IncodeComponent } from "../incodeComponent-CfzJGETt.js";
|
|
6
6
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
8
|
-
import { a as resolveApiKey, b as TerminalErrorPage, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, g as preloadRedirectToMobile, h as preloadHomeScreen, l as LAZY_UI_MODULES, m as preloadFirstModule, n as useModulePreloader, o as extractIncodeStatus, p as isDesktopOrEmulated, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as warmupWasmIfNeeded } from "../useModuleLoader-
|
|
8
|
+
import { a as resolveApiKey, b as TerminalErrorPage, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, g as preloadRedirectToMobile, h as preloadHomeScreen, l as LAZY_UI_MODULES, m as preloadFirstModule, n as useModulePreloader, o as extractIncodeStatus, p as isDesktopOrEmulated, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as warmupWasmIfNeeded } from "../useModuleLoader-Ko4GJf8B.js";
|
|
9
9
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
10
10
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
11
11
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
@@ -297,8 +297,8 @@ var LAZY_UI_MODULES = {
|
|
|
297
297
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
298
298
|
EXTERNAL_VERIFICATION: () => import("./ekycModule-CvMGDuK1.js").then((m) => m.EkycModule),
|
|
299
299
|
EKYB: () => import("./ekybModule-CDdggow1.js").then((m) => m.EkybModule),
|
|
300
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
301
|
-
ADDRESS: () => import("./documentCapture-
|
|
300
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-BCE_3MJK.js").then((m) => m.DocumentCapture),
|
|
301
|
+
ADDRESS: () => import("./documentCapture-BCE_3MJK.js").then((m) => m.DocumentCapture),
|
|
302
302
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
303
303
|
MANDATORY_CONSENT: () => import("./mandatoryConsent-D0GTKu-H.js").then((m) => m.MandatoryConsent),
|
|
304
304
|
ML_CONSENT: () => import("./mandatoryConsent-D0GTKu-H.js").then((m) => m.MandatoryConsent),
|
|
@@ -7,7 +7,7 @@ import { t as Page } from "../page-DidH_RkX.js";
|
|
|
7
7
|
import { t as TransitionSpinner } from "../transitionSpinner-CuNCqHNi.js";
|
|
8
8
|
import { t as AutoFocusTitle } from "../autoFocusTitle-uXtAKBTO.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-B-4_3JrK.js";
|
|
10
|
-
import { _ as setupSDK, a as resolveApiKey, b as TerminalErrorPage, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, p as isDesktopOrEmulated, s as UnsupportedModule, t as useModuleLoader, y as fetchAndApplyTheme } from "../useModuleLoader-
|
|
10
|
+
import { _ as setupSDK, a as resolveApiKey, b as TerminalErrorPage, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, p as isDesktopOrEmulated, s as UnsupportedModule, t as useModuleLoader, y as fetchAndApplyTheme } from "../useModuleLoader-Ko4GJf8B.js";
|
|
11
11
|
import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
12
12
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
|
13
13
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260709-
|
|
3
|
+
"version": "0.0.0-dev-20260709-b47a5418",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"qrcode": "^1.5.4",
|
|
292
292
|
"signature_pad": "^5.1.3",
|
|
293
293
|
"tailwindcss": "^4.1.17",
|
|
294
|
-
"@incodetech/core": "0.0.0-dev-20260709-
|
|
294
|
+
"@incodetech/core": "0.0.0-dev-20260709-b47a5418"
|
|
295
295
|
},
|
|
296
296
|
"devDependencies": {
|
|
297
297
|
"@microsoft/api-extractor": "^7.53.3",
|