@incodetech/web 0.0.0-dev-20260623-261da85a → 0.0.0-dev-20260624-b4a7d4cb

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.
@@ -10,7 +10,7 @@ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
10
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-BNE_xKwo.js";
11
11
  import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
12
12
  import { getDeviceClass } from "@incodetech/core/device";
13
- import { classifyScoreStatus, getTotalScoreStatus } from "@incodetech/core/flow";
13
+ import { classifyScoreStatus } from "@incodetech/core/flow";
14
14
  import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
15
15
  import { createWorkflowManager } from "@incodetech/core/workflow";
16
16
  //#region src/modules/workflow/finishScreenStatusIcons.tsx
@@ -90,15 +90,9 @@ var VARIANT_CONTENT = {
90
90
  }
91
91
  };
92
92
  /** Status-specific workflow completion screen (success / error / review). */
93
- var FinishScreenBySessionStatus = ({ scoreStatus, isDesktop }) => {
93
+ var FinishScreenBySessionStatus = ({ scoreStatus }) => {
94
94
  const { t } = useTranslation();
95
- const [variant, setVariant] = d(() => classifyScoreStatus(scoreStatus));
96
- y(() => {
97
- if (!isDesktop) return;
98
- const controller = new AbortController();
99
- getTotalScoreStatus(controller.signal).then((total) => setVariant(classifyScoreStatus(total))).catch(() => {});
100
- return () => controller.abort();
101
- }, [isDesktop]);
95
+ const variant = classifyScoreStatus(scoreStatus);
102
96
  const content = VARIANT_CONTENT[variant];
103
97
  const { Icon } = content;
104
98
  return /* @__PURE__ */ u(Page, {
@@ -385,10 +379,7 @@ var IncodeWorkflowReady = ({ config, workflowManager: initialManager, onFinish,
385
379
  if (workflowState.status === "finished") {
386
380
  if (showFinishScreen) return /* @__PURE__ */ u("div", {
387
381
  class: "IncodeWorkflow",
388
- children: /* @__PURE__ */ u(FinishScreenBySessionStatus, {
389
- scoreStatus: workflowState.finishStatus.scoreStatus,
390
- isDesktop: config.isDesktop
391
- })
382
+ children: /* @__PURE__ */ u(FinishScreenBySessionStatus, { scoreStatus: workflowState.scoreStatus })
392
383
  });
393
384
  return null;
394
385
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260623-261da85a",
3
+ "version": "0.0.0-dev-20260624-b4a7d4cb",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -264,7 +264,7 @@
264
264
  "qrcode": "^1.5.4",
265
265
  "signature_pad": "^5.1.3",
266
266
  "tailwindcss": "^4.1.17",
267
- "@incodetech/core": "0.0.0-dev-20260623-261da85a"
267
+ "@incodetech/core": "0.0.0-dev-20260624-b4a7d4cb"
268
268
  },
269
269
  "devDependencies": {
270
270
  "@microsoft/api-extractor": "^7.53.3",