@octane-xplat/camera 0.12.0 → 0.13.0

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.
@@ -1,6 +1,7 @@
1
1
  //#region src/cx.mobile.ts
2
- /** NativeScript's universal driver stringifies className values; normalize
3
- * arrays here so they stay space separated. */
2
+ /** Imperative `view.className` writes still need a pre-joined string —
3
+ * NativeScript's className setter splits on ' ' only. Normalize arrays here
4
+ * so they stay space separated. */
4
5
  function cx(...parts) {
5
6
  return parts.flat(Infinity).filter(Boolean).join(" ");
6
7
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "1a1245b9-3adb-450e-8ff6-da9f7fe2b58c",
3
+ "buildId": "97c54242-b0e6-41e8-b10c-ee0ed976b44b",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -34,7 +34,7 @@ function __then$0(__props, __s, __extra) {
34
34
  applyEscapeProps(element, props);
35
35
  }, _root);
36
36
  (__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.b, _b.a));
37
- _m4 = evt2e(_root, "$$playing", __event, readyFired, props);
37
+ _m4 = evt2e(_root, "$oplaying", __event, readyFired, props);
38
38
  _b = bag5(__s, _root, _root, _m1, void 0, __s, _m4);
39
39
  __s.refFields = _rm$1;
40
40
  } else {
@@ -310,7 +310,7 @@ var CameraView = /* @__PURE__ */ __s(function CameraView(props, __s, __extra) {
310
310
  props,
311
311
  readyFired,
312
312
  video
313
- ] : void 0);
313
+ ] : void 0, 1);
314
314
  }
315
315
  });
316
316
  //#endregion
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "88f9464a-2cf9-4ac9-be12-ff8f944dddb1",
3
+ "buildId": "96cb43a6-c424-49f9-aceb-4c944dfc819a",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/camera",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "Live camera preview for Octane xplat — web getUserMedia + native capture (AVCapture / CameraX)",
5
5
  "keywords": [
6
6
  "android",
@@ -44,7 +44,7 @@
44
44
  "@nativescript-community/octane": "0.2.4",
45
45
  "@nativescript/core": "9.1.3",
46
46
  "@octanejs/vite-plugin": "0.1.61",
47
- "octane": "0.10.2",
47
+ "octane": "0.11.0",
48
48
  "tsrx-typegen": "0.2.2",
49
49
  "typescript": "5.9.3",
50
50
  "vite": "8.3.0"
package/src/cx.mobile.ts CHANGED
@@ -1,5 +1,6 @@
1
- /** NativeScript's universal driver stringifies className values; normalize
2
- * arrays here so they stay space separated. */
1
+ /** Imperative `view.className` writes still need a pre-joined string —
2
+ * NativeScript's className setter splits on ' ' only. Normalize arrays here
3
+ * so they stay space separated. */
3
4
  export function cx(...parts: any[]): string {
4
5
  return parts.flat(Infinity).filter(Boolean).join(' ')
5
6
  }