@incodetech/web 0.0.0-dev-20260320-e46eb90 → 0.0.0-dev-20260320-9f7f27a

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.
Files changed (2) hide show
  1. package/dist/id/id.es.js +5 -5
  2. package/package.json +2 -2
package/dist/id/id.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { u as r, I as u, a as m } from "../button-Yr39X4SE.js";
2
- import { createIdCaptureManager as d } from "@incodetech/core/id";
1
+ import { u as r, I as u, a as d } from "../button-Yr39X4SE.js";
2
+ import { createIdCaptureManager as m } from "@incodetech/core/id";
3
3
  import "../vendor-preact--mDTxXnt.js";
4
4
  import "@incodetech/core";
5
5
  import { P as c } from "../manualCaptureButton-CtHbJjgz.js";
@@ -14,8 +14,8 @@ const F = ({
14
14
  onFinish: n,
15
15
  onError: o
16
16
  }) => {
17
- const [t, s] = m(
18
- () => e ?? d({ config: i }),
17
+ const [t, s] = d(
18
+ () => e ?? m({ config: i }),
19
19
  { manageLifecycle: !e }
20
20
  );
21
21
  return t.status === "idle" || t.status === "loading" ? null : t.status === "chooser" ? /* @__PURE__ */ r(f, { manager: s, state: t }) : t.status === "tutorial" ? /* @__PURE__ */ r(I, { manager: s, state: t }) : t.status === "permissions" ? /* @__PURE__ */ r(
@@ -25,7 +25,7 @@ const F = ({
25
25
  permissionStatus: t.permissionStatus
26
26
  }
27
27
  ) : t.status === "frontFinished" ? /* @__PURE__ */ r(a, { manager: s, direction: "toBack" }) : t.status === "backFinished" ? /* @__PURE__ */ r(a, { manager: s, direction: "toFront" }) : t.status === "capture" ? /* @__PURE__ */ r(g, { manager: s, state: t, onFinish: () => n?.() }) : t.status === "processing" ? /* @__PURE__ */ r(l, {}) : t.status === "expired" ? /* @__PURE__ */ r(h, { manager: s }) : t.status === "finished" ? (n?.(), null) : t.status === "closed" ? (o?.(void 0), null) : t.status === "error" ? /* @__PURE__ */ r(C, { manager: s, state: t, onError: o }) : null;
28
- }, P = ({ config: i, manager: e, onFinish: n, onError: o }) => /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r("main", { class: "IncodeIdMain", children: i ? /* @__PURE__ */ r(
28
+ }, P = ({ config: i, manager: e, onFinish: n, onError: o }) => /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r("div", { class: "IncodeIdMain", children: i ? /* @__PURE__ */ r(
29
29
  F,
30
30
  {
31
31
  config: i,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260320-e46eb90",
3
+ "version": "0.0.0-dev-20260320-9f7f27a",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -129,7 +129,7 @@
129
129
  "preact-markup": "^2.1.1",
130
130
  "qrcode": "^1.5.4",
131
131
  "tailwindcss": "^4.1.17",
132
- "@incodetech/core": "0.0.0-dev-20260320-e46eb90"
132
+ "@incodetech/core": "0.0.0-dev-20260320-9f7f27a"
133
133
  },
134
134
  "devDependencies": {
135
135
  "@microsoft/api-extractor": "^7.53.3",