@viji-dev/core 0.8.15 → 0.8.17

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/docs-api.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const docsApi = {
2
2
  "version": "1.1.0",
3
- "coreVersion": "0.8.14",
4
- "generatedAt": "2026-06-08T08:18:50.299Z",
3
+ "coreVersion": "0.8.17",
4
+ "generatedAt": "2026-06-12T17:55:57.342Z",
5
5
  "navigation": [
6
6
  {
7
7
  "id": "getting-started",
@@ -1,4 +1,4 @@
1
- import { g as kn } from "./index-CI49eH6U.js";
1
+ import { g as kn } from "./index-Cvk3ZfuY.js";
2
2
  function jn(Oe, ot) {
3
3
  for (var ve = 0; ve < ot.length; ve++) {
4
4
  const Z = ot[ve];
@@ -3374,4 +3374,4 @@ const xn = /* @__PURE__ */ kn(yi), Ln = /* @__PURE__ */ jn({
3374
3374
  export {
3375
3375
  Ln as e
3376
3376
  };
3377
- //# sourceMappingURL=essentia-wasm.web-DScJyWoX.js.map
3377
+ //# sourceMappingURL=essentia-wasm.web-DDcSN_G4.js.map
@@ -554,7 +554,7 @@ class DB {
554
554
  }
555
555
  }
556
556
  }
557
- const hB = "" + new URL("assets/viji.worker-DS4koMQX.js", import.meta.url).href, RB = new URL("assets/wasm/vision_wasm_internal.js", import.meta.url).href, wB = new URL("assets/wasm/vision_wasm_internal.wasm", import.meta.url).href, sB = new URL("assets/wasm/vision_wasm_nosimd_internal.js", import.meta.url).href, FB = new URL("assets/wasm/vision_wasm_nosimd_internal.wasm", import.meta.url).href;
557
+ const hB = "" + new URL("assets/viji.worker-DYCbS06e.js", import.meta.url).href, RB = new URL("assets/wasm/vision_wasm_internal.js", import.meta.url).href, wB = new URL("assets/wasm/vision_wasm_internal.wasm", import.meta.url).href, sB = new URL("assets/wasm/vision_wasm_nosimd_internal.js", import.meta.url).href, FB = new URL("assets/wasm/vision_wasm_nosimd_internal.wasm", import.meta.url).href;
558
558
  class kB {
559
559
  constructor(A, B, I) {
560
560
  this.iframeManager = A, this.sceneCode = B, this.init = I;
@@ -1541,7 +1541,7 @@ class lB {
1541
1541
  if (!this.isInitialized)
1542
1542
  return this.initPromise ? this.initPromise : (this.initPromise = (async () => {
1543
1543
  try {
1544
- const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-DScJyWoX.js").then((g) => g.e), I = A.Essentia || A.default?.Essentia || A.default;
1544
+ const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-DDcSN_G4.js").then((g) => g.e), I = A.Essentia || A.default?.Essentia || A.default;
1545
1545
  let Q = B.default || B.EssentiaWASM || B.default?.EssentiaWASM;
1546
1546
  if (!Q)
1547
1547
  throw new Error("WASM module not found - check essentia-wasm.web.js export");
@@ -8619,9 +8619,9 @@ class K {
8619
8619
  *
8620
8620
  * WebKit (Safari/iOS) caveat: the 2D `getImageData` fence forces a full-canvas
8621
8621
  * readback that is pathologically slow there, so 2D `gpuMs` is unreliable on
8622
- * WebKit and self-disables to `null` if it blows a per-frame budget (so the
8623
- * run can't hang). Prefer steady-state `frameIntervalMs` for 2D raster cost on
8624
- * WebKit. The WebGL fence is unaffected.
8622
+ * WebKit — prefer steady-state `frameIntervalMs` for 2D raster cost on WebKit.
8623
+ * A pathological readback is bounded by this call's RPC timeout (it rejects),
8624
+ * not by per-frame logic. The WebGL fence is unaffected.
8625
8625
  *
8626
8626
  * Use only on a scene NOT serving as a live compositor source/mixer —
8627
8627
  * the per-frame fence would stutter the mixer output (enforced below).
@@ -8798,7 +8798,7 @@ function DI(h) {
8798
8798
  expectedVersion: 1
8799
8799
  } : typeof A.senderTime != "number" ? { code: "invalid-field", details: "senderTime must be a number", field: "senderTime" } : null;
8800
8800
  }
8801
- const wI = "0.8.14";
8801
+ const wI = "0.8.17";
8802
8802
  export {
8803
8803
  yA as A,
8804
8804
  RI as C,
@@ -8808,4 +8808,4 @@ export {
8808
8808
  S as b,
8809
8809
  PB as g
8810
8810
  };
8811
- //# sourceMappingURL=index-CI49eH6U.js.map
8811
+ //# sourceMappingURL=index-Cvk3ZfuY.js.map
package/dist/index.d.ts CHANGED
@@ -1266,7 +1266,7 @@ export declare interface FramePerfSample {
1266
1266
  * WebGL scenes via `gl.finish()` (GPU drain), 2D-canvas scenes via
1267
1267
  * `getImageData()` (raster flush). `null` when there is no drawable context or
1268
1268
  * readback fails. Note: 2D `gpuMs` is unreliable on WebKit (the `getImageData`
1269
- * readback is pathologically slow there and self-disables to `null`) — use
1269
+ * readback is pathologically slow there and inflates the value) — use
1270
1270
  * `frameIntervalMs` for 2D raster cost on WebKit.
1271
1271
  */
1272
1272
  gpuMs: number | null;
@@ -2665,7 +2665,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
2665
2665
  /** Returned by `on*` listener registration calls; invoke to unsubscribe. */
2666
2666
  export declare type Unsubscribe = () => void;
2667
2667
 
2668
- export declare const VERSION = "0.8.14";
2668
+ export declare const VERSION = "0.8.17";
2669
2669
 
2670
2670
  /**
2671
2671
  * Real-time video API: drawable frame, dimensions, and the source-side
@@ -3887,9 +3887,9 @@ export declare class VijiCore {
3887
3887
  *
3888
3888
  * WebKit (Safari/iOS) caveat: the 2D `getImageData` fence forces a full-canvas
3889
3889
  * readback that is pathologically slow there, so 2D `gpuMs` is unreliable on
3890
- * WebKit and self-disables to `null` if it blows a per-frame budget (so the
3891
- * run can't hang). Prefer steady-state `frameIntervalMs` for 2D raster cost on
3892
- * WebKit. The WebGL fence is unaffected.
3890
+ * WebKit — prefer steady-state `frameIntervalMs` for 2D raster cost on WebKit.
3891
+ * A pathological readback is bounded by this call's RPC timeout (it rejects),
3892
+ * not by per-frame logic. The WebGL fence is unaffected.
3893
3893
  *
3894
3894
  * Use only on a scene NOT serving as a live compositor source/mixer —
3895
3895
  * the per-frame fence would stutter the mixer output (enforced below).
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, C as o, I as E, V as i, a as A, b as C } from "./index-CI49eH6U.js";
1
+ import { A as s, C as o, I as E, V as i, a as A, b as C } from "./index-Cvk3ZfuY.js";
2
2
  export {
3
3
  s as AudioSystem,
4
4
  o as CV_FEATURE_KEYS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",