@nuralogix.ai/web-measurement-embedded-app 0.1.0-beta.2 → 0.1.0-beta.3
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.
- package/README.md +15 -11
- package/dist/app.mjs +13 -13
- package/dist/assets/extraction/{extraction_wasm_0.1.0-beta.1.json → extraction_wasm_0.1.0-beta.2.json} +1 -1
- package/dist/assets/extraction_worker_0.1.0-beta.2_js.json +1 -0
- package/dist/assets/{facetracker_worker_0.1.0-beta.1_js.json → facetracker_worker_0.1.0-beta.2_js.json} +1 -1
- package/lib/index.d.ts +19 -12
- package/lib/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/assets/extraction_worker_0.1.0-beta.1_js.json +0 -1
package/README.md
CHANGED
|
@@ -149,6 +149,8 @@ event: ((appEvent: AppEvent) => void) | null;
|
|
|
149
149
|
**App events dispatched through `measurementApp.on.event`:**
|
|
150
150
|
|
|
151
151
|
- `APP_LOADED` – the embedded app finished its startup sequence.
|
|
152
|
+
- `MEASUREMENT_PREPARED` - Measurement has been prepared
|
|
153
|
+
- `ASSETS_DOWNLOADED` - Assets have been downloaded
|
|
152
154
|
- `CAMERA_PERMISSION_GRANTED` – the user granted camera access.
|
|
153
155
|
- `CAMERA_STARTED` – a camera stream opened successfully.
|
|
154
156
|
- `MEASUREMENT_STARTED` – a measurement run begins.
|
|
@@ -171,14 +173,16 @@ measurementApp.setLanguage('es');
|
|
|
171
173
|
|
|
172
174
|
**Error codes emitted through `measurementApp.on.error`:**
|
|
173
175
|
|
|
174
|
-
| Code
|
|
175
|
-
|
|
|
176
|
-
| `CAMERA_PERMISSION_DENIED`
|
|
177
|
-
| `CAMERA_START_FAILED`
|
|
178
|
-
| `NO_DEVICES_FOUND`
|
|
179
|
-
| `PAGE_NOT_VISIBLE`
|
|
180
|
-
| `MEASUREMENT_LOW_SNR`
|
|
181
|
-
| `WORKER_ERROR`
|
|
182
|
-
| `PROFILE_INFO_NOT_SET`
|
|
183
|
-
| `COLLECTOR`
|
|
184
|
-
| `WEBSOCKET_DISCONNECTED`
|
|
176
|
+
| Code | Meaning |
|
|
177
|
+
| ---------------------------- | ----------------------------------------------------------------- |
|
|
178
|
+
| `CAMERA_PERMISSION_DENIED` | Camera access prompt was rejected. |
|
|
179
|
+
| `CAMERA_START_FAILED` | Camera hardware failed to start after permission. |
|
|
180
|
+
| `NO_DEVICES_FOUND` | No video input devices detected during enumeration. |
|
|
181
|
+
| `PAGE_NOT_VISIBLE` | Measurement was running while the tab or window became hidden. |
|
|
182
|
+
| `MEASUREMENT_LOW_SNR` | Signal-to-noise ratio dropped below the acceptable threshold. |
|
|
183
|
+
| `WORKER_ERROR` | SDK worker encountered a fatal processing error. |
|
|
184
|
+
| `PROFILE_INFO_NOT_SET` | Profile bypass stayed enabled, so demographics were not provided. |
|
|
185
|
+
| `COLLECTOR` | Frame collection reported an error |
|
|
186
|
+
| `WEBSOCKET_DISCONNECTED` | Realtime WebSocket connection closed or dropped. |
|
|
187
|
+
| `MEASUREMENT_PREPARE_FAILED` | Measurement preparation failed - invalid or missing credentials |
|
|
188
|
+
|