@incodetech/core 0.0.0-dev-20260303-96fc807 → 0.0.0-dev-20260304-4c68279
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.
|
@@ -721,10 +721,7 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
721
721
|
},
|
|
722
722
|
onSwitchToManualCapture: () => {
|
|
723
723
|
isCapturing = false;
|
|
724
|
-
sendBack({
|
|
725
|
-
type: "DETECTION_UPDATE",
|
|
726
|
-
status: "manualCapture"
|
|
727
|
-
});
|
|
724
|
+
sendBack({ type: "SWITCH_TO_MANUAL_CAPTURE" });
|
|
728
725
|
},
|
|
729
726
|
onCapturing: () => {
|
|
730
727
|
clearNotificationTimeout();
|
|
@@ -1504,7 +1501,7 @@ const _idCaptureMachine = setup({
|
|
|
1504
1501
|
}]
|
|
1505
1502
|
},
|
|
1506
1503
|
on: { NEXT_STEP: {
|
|
1507
|
-
target: "
|
|
1504
|
+
target: "#idCapture.capture",
|
|
1508
1505
|
actions: "trackContinue"
|
|
1509
1506
|
} }
|
|
1510
1507
|
},
|
|
@@ -1560,31 +1557,15 @@ const _idCaptureMachine = setup({
|
|
|
1560
1557
|
userIntent: {
|
|
1561
1558
|
initial: "booting",
|
|
1562
1559
|
states: {
|
|
1563
|
-
booting: {
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
}],
|
|
1568
|
-
on: { NEXT_STEP: {
|
|
1569
|
-
target: "clicked",
|
|
1570
|
-
actions: "trackContinue"
|
|
1571
|
-
} }
|
|
1572
|
-
},
|
|
1560
|
+
booting: { on: { NEXT_STEP: {
|
|
1561
|
+
target: "clicked",
|
|
1562
|
+
actions: "trackContinue"
|
|
1563
|
+
} } },
|
|
1573
1564
|
clicked: { type: "final" }
|
|
1574
1565
|
}
|
|
1575
1566
|
}
|
|
1576
1567
|
},
|
|
1577
|
-
onDone:
|
|
1578
|
-
target: "#tutorialCameraReady",
|
|
1579
|
-
guard: "hasStream"
|
|
1580
|
-
}, { target: "#idCapture.capture" }]
|
|
1581
|
-
},
|
|
1582
|
-
cameraReady: {
|
|
1583
|
-
id: "tutorialCameraReady",
|
|
1584
|
-
on: { NEXT_STEP: {
|
|
1585
|
-
target: "#idCapture.capture",
|
|
1586
|
-
actions: "trackContinue"
|
|
1587
|
-
} }
|
|
1568
|
+
onDone: { target: "#idCapture.capture" }
|
|
1588
1569
|
},
|
|
1589
1570
|
ready: { on: { NEXT_STEP: {
|
|
1590
1571
|
target: "waitingForPermission",
|
package/dist/id.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import "./streamingEvents-evH8YUFP.esm.js";
|
|
|
6
6
|
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
7
|
import "./api-utDuOVDZ.esm.js";
|
|
8
8
|
import "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
-
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
9
|
+
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-B_LxGdTF.esm.js";
|
|
10
10
|
import "./stats-CIdlLJwO.esm.js";
|
|
11
11
|
|
|
12
12
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/index.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as reques
|
|
|
6
6
|
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
7
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-utDuOVDZ.esm.js";
|
|
8
8
|
import "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
-
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
9
|
+
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-B_LxGdTF.esm.js";
|
|
10
10
|
import "./stats-CIdlLJwO.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/setup.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260304-4c68279",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"tsdown": "^0.16.6",
|
|
79
79
|
"typescript": "^5.9.3",
|
|
80
80
|
"vitest": "^4.0.13",
|
|
81
|
-
"@incodetech/
|
|
82
|
-
"@incodetech/
|
|
81
|
+
"@incodetech/config": "1.0.0",
|
|
82
|
+
"@incodetech/infra": "1.0.0"
|
|
83
83
|
},
|
|
84
84
|
"scripts": {
|
|
85
85
|
"build": "tsdown -c tsdown.config.ts",
|