@camera.ui/browser 0.0.182 → 0.0.184

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/dist/index.d.ts CHANGED
@@ -288,6 +288,8 @@ export declare interface CodecCompatibility {
288
288
  /* Excluded from this release type: ContactSensorProperties */
289
289
 
290
290
  export declare interface CoreManagerInterface {
291
+ ingestTrainingCandidate(payload: TrainingCandidateIngest): Promise<TrainingIngestResult>;
292
+ getTrainingCollectionEnabled(): Promise<boolean>;
291
293
  getFFmpegPath(): Promise<string>;
292
294
  getServerAddresses(): Promise<string[]>;
293
295
  getCloudServerId(): Promise<string>;
@@ -998,6 +1000,7 @@ export declare interface ReactiveSensor<TProperties extends object = Record<stri
998
1000
  readonly displayName: Ref<string>;
999
1001
  readonly nativeId?: string;
1000
1002
  readonly pluginId: string;
1003
+ readonly boundCameraId?: string;
1001
1004
  readonly assignedCameraIds: Ref<string[]>;
1002
1005
  readonly exposed: Ref<boolean>;
1003
1006
  readonly connected: Ref<boolean>;
@@ -1338,6 +1341,25 @@ export declare interface TerminalSessionInfo {
1338
1341
  dimensions: { cols: number; rows: number };
1339
1342
  }
1340
1343
 
1344
+ declare interface TrainingCandidateBox {
1345
+ label: string;
1346
+ confidence: number;
1347
+ x: number;
1348
+ y: number;
1349
+ width: number;
1350
+ height: number;
1351
+ }
1352
+
1353
+ declare interface TrainingCandidateIngest {
1354
+ cameraId: string;
1355
+ eventId: string;
1356
+ capturedAt: number;
1357
+ boxes: TrainingCandidateBox[];
1358
+ scene: Uint8Array;
1359
+ }
1360
+
1361
+ declare type TrainingIngestResult = 'stored' | 'skip' | 'disabled';
1362
+
1341
1363
  export declare function useAllSensors(): UseSensorsReturn;
1342
1364
 
1343
1365
  export declare function useAudioSensor(camera: CameraIdentifier, preferredPluginId?: MaybeRefOrGetter<string | undefined>): UseSensorTypedReturn<ReactiveAudioSensor>;
package/dist/index.js CHANGED
@@ -1258,6 +1258,7 @@ function createReactiveSensor(data, state, rpcRef) {
1258
1258
  displayName,
1259
1259
  nativeId: data.nativeId,
1260
1260
  pluginId: data.pluginId,
1261
+ boundCameraId: data.boundCameraId,
1261
1262
  assignedCameraIds,
1262
1263
  exposed,
1263
1264
  connected,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camera.ui/browser",
3
- "version": "0.0.182",
3
+ "version": "0.0.184",
4
4
  "description": "camera.ui browser client",
5
5
  "author": "seydx (https://github.com/cameraui/clients)",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "prepublishOnly": "npm i --package-lock-only && npm run lint && npm run format && npm run build",
27
27
  "test": "vitest run --passWithNoTests",
28
28
  "test:watch": "vitest",
29
- "update": "updates --update ./"
29
+ "update": "updates -M npm,pypi,go,cargo,docker,make --update ./"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@camera.ui/logger": ">=0.0.2",
@@ -45,7 +45,7 @@
45
45
  "@microsoft/api-extractor": "^7.59.0",
46
46
  "@stylistic/eslint-plugin": "^5.10.0",
47
47
  "@types/webrtc": "^0.0.47",
48
- "@typescript-eslint/parser": "^8.68.0",
48
+ "@typescript-eslint/parser": "^8.69.0",
49
49
  "@vitejs/plugin-vue": "^6.0.8",
50
50
  "@vue/eslint-config-prettier": "^10.2.0",
51
51
  "@vue/eslint-config-typescript": "^14.9.0",
@@ -55,15 +55,15 @@
55
55
  "@webgpu/types": "^0.1.72",
56
56
  "eslint": "9.39.2",
57
57
  "eslint-plugin-vue": "^10.10.0",
58
- "globals": "^17.11.0",
58
+ "globals": "^17.12.0",
59
59
  "prettier": "^3.9.6",
60
60
  "rimraf": "^6.1.3",
61
61
  "typescript": "5.9.3",
62
- "typescript-eslint": "^8.68.0",
63
- "unplugin-dts": "^1.0.3",
64
- "updates": "^18.0.7",
62
+ "typescript-eslint": "^8.69.0",
63
+ "unplugin-dts": "^1.1.0",
64
+ "updates": "^18.1.0",
65
65
  "vite": "^8.2.2",
66
- "vitest": "^4.1.11",
66
+ "vitest": "^5.0.0",
67
67
  "vue": "^3.5.42",
68
68
  "vue-tsc": "^3.3.11"
69
69
  },