@incodetech/web 0.0.0-dev-20260609-c65d205c → 0.0.0-dev-20260609-d8422416

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.
@@ -1,2 +1,2 @@
1
- import { t as DocumentCapture } from "../documentCapture-XGW3_KHY.js";
1
+ import { t as DocumentCapture } from "../documentCapture-BDV_921m.js";
2
2
  export { DocumentCapture };
@@ -0,0 +1,2 @@
1
+ import { t as DocumentCapture } from "./documentCapture-BDV_921m.js";
2
+ export { DocumentCapture };
@@ -9,7 +9,7 @@ import { t as Spinner } from "./spinner-D8a_2LvW.js";
9
9
  import { t as Button } from "./button-CM_hgyIP.js";
10
10
  import { a as FileIcon, p as CameraIcon, r as LockIcon } from "./icons-Dbs9ZfYM.js";
11
11
  import { t as SuccessIcon } from "./successIcon-BAyDPT7I.js";
12
- import { o as ErrorContent } from "./tutorial-D1qaY2Tm.js";
12
+ import { o as ErrorContent, r as Permissions } from "./tutorial-D1qaY2Tm.js";
13
13
  import { t as BottomSheet } from "./bottomSheet-F1GJfQx_.js";
14
14
  import { t as registerIncodeModuleElement } from "./incodeModule-BUDoTwT9.js";
15
15
  import { createDocumentCaptureManager } from "@incodetech/core/document-capture";
@@ -848,6 +848,10 @@ var DocumentCaptureContent = ({ config, onFinish, onError }) => {
848
848
  error: state.error,
849
849
  pageNumber: state.pageNumber
850
850
  });
851
+ if (state.status === "permissions") return /* @__PURE__ */ u(Permissions, {
852
+ manager,
853
+ permissionStatus: state.permissionStatus
854
+ });
851
855
  if (state.status === "initializingCamera") return /* @__PURE__ */ u(DocumentCaptureLoading, {});
852
856
  if (state.status === "capturing" && state.captureMode === "camera") {
853
857
  if (!state.stream) return /* @__PURE__ */ u(DocumentCaptureLoading, {});
@@ -5,7 +5,7 @@ import { c as useManager } from "../hooks-Da_yP_Dr.js";
5
5
  import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
6
6
  import { t as TransitionSpinner } from "../transitionSpinner-DRRz-NV8.js";
7
7
  import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.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-DcMXbv0V.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-CGdRhgjS.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";
@@ -294,8 +294,8 @@ var LAZY_UI_MODULES = {
294
294
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
295
295
  EXTERNAL_VERIFICATION: () => import("./ekycModule-BGzwgjl1.js").then((m) => m.EkycModule),
296
296
  EKYB: () => import("./ekybModule-DFoYpheB.js").then((m) => m.EkybModule),
297
- DOCUMENT_CAPTURE: () => import("./documentCapture-BzbWPrvP.js").then((m) => m.DocumentCapture),
298
- ADDRESS: () => import("./documentCapture-BzbWPrvP.js").then((m) => m.DocumentCapture),
297
+ DOCUMENT_CAPTURE: () => import("./documentCapture-8ypBJehw.js").then((m) => m.DocumentCapture),
298
+ ADDRESS: () => import("./documentCapture-8ypBJehw.js").then((m) => m.DocumentCapture),
299
299
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
300
300
  MANDATORY_CONSENT: () => import("./mandatoryConsent-r0PQHmv-.js").then((m) => m.MandatoryConsent),
301
301
  ML_CONSENT: () => import("./mandatoryConsent-r0PQHmv-.js").then((m) => m.MandatoryConsent),
@@ -5,7 +5,7 @@ import { c as useManager } from "../hooks-Da_yP_Dr.js";
5
5
  import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
6
6
  import { t as TransitionSpinner } from "../transitionSpinner-DRRz-NV8.js";
7
7
  import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
8
- 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-DcMXbv0V.js";
8
+ 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-CGdRhgjS.js";
9
9
  import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
10
10
  import { getDeviceClass } from "@incodetech/core/device";
11
11
  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-20260609-c65d205c",
3
+ "version": "0.0.0-dev-20260609-d8422416",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -255,7 +255,7 @@
255
255
  "qrcode": "^1.5.4",
256
256
  "signature_pad": "^5.1.3",
257
257
  "tailwindcss": "^4.1.17",
258
- "@incodetech/core": "0.0.0-dev-20260609-c65d205c"
258
+ "@incodetech/core": "0.0.0-dev-20260609-d8422416"
259
259
  },
260
260
  "devDependencies": {
261
261
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as DocumentCapture } from "./documentCapture-XGW3_KHY.js";
2
- export { DocumentCapture };