@incodetech/web 0.0.0-dev-20260617-7cc8f894 → 0.0.0-dev-20260617-fa604a34

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.
@@ -352,8 +352,8 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
352
352
  }
353
353
  if (flowState?.status === "error" && onError) {
354
354
  terminalFiredRef.current = true;
355
- const { error, errorCode } = flowState;
356
- queueMicrotask(() => onError(error, errorCode));
355
+ const { error, errorCode, moduleErrorCode } = flowState;
356
+ queueMicrotask(() => onError(error, errorCode, moduleErrorCode));
357
357
  }
358
358
  }, [
359
359
  flowState?.status,
@@ -225,8 +225,8 @@ var IncodeWorkflowReady = ({ config, workflowManager: initialManager, onFinish,
225
225
  }
226
226
  if (workflowState?.status === "error" && onError) {
227
227
  terminalFiredRef.current = true;
228
- const { error, errorCode } = workflowState;
229
- queueMicrotask(() => onError(error, errorCode));
228
+ const { error, errorCode, moduleErrorCode } = workflowState;
229
+ queueMicrotask(() => onError(error, errorCode, moduleErrorCode));
230
230
  }
231
231
  }, [
232
232
  workflowState?.status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260617-7cc8f894",
3
+ "version": "0.0.0-dev-20260617-fa604a34",
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-20260617-7cc8f894"
267
+ "@incodetech/core": "0.0.0-dev-20260617-fa604a34"
268
268
  },
269
269
  "devDependencies": {
270
270
  "@microsoft/api-extractor": "^7.53.3",