@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 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 | Meaning |
175
- | -------------------------- | ----------------------------------------------------------------- |
176
- | `CAMERA_PERMISSION_DENIED` | Camera access prompt was rejected. |
177
- | `CAMERA_START_FAILED` | Camera hardware failed to start after permission. |
178
- | `NO_DEVICES_FOUND` | No video input devices detected during enumeration. |
179
- | `PAGE_NOT_VISIBLE` | Measurement was running while the tab or window became hidden. |
180
- | `MEASUREMENT_LOW_SNR` | Signal-to-noise ratio dropped below the acceptable threshold. |
181
- | `WORKER_ERROR` | SDK worker encountered a fatal processing error. |
182
- | `PROFILE_INFO_NOT_SET` | Profile bypass stayed enabled, so demographics were not provided. |
183
- | `COLLECTOR` | Frame collection reported an error |
184
- | `WEBSOCKET_DISCONNECTED` | Realtime WebSocket connection closed or dropped. |
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
+