@viji-dev/core 0.8.5 → 0.8.6

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
@@ -2657,7 +2657,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
2657
2657
  /** Returned by `on*` listener registration calls; invoke to unsubscribe. */
2658
2658
  export declare type Unsubscribe = () => void;
2659
2659
 
2660
- export declare const VERSION = "0.8.4";
2660
+ export declare const VERSION = "0.8.5";
2661
2661
 
2662
2662
  /**
2663
2663
  * Real-time video API: drawable frame, dimensions, and the source-side
@@ -3051,7 +3051,6 @@ export declare class VijiCore {
3051
3051
  private eventSourceCore;
3052
3052
  private frameSourceCores;
3053
3053
  private eventSourceCleanup;
3054
- private resizeSyncEnabled;
3055
3054
  private currentInteractionEnabled;
3056
3055
  private parameterGroups;
3057
3056
  private parameterValues;
@@ -3259,10 +3258,12 @@ export declare class VijiCore {
3259
3258
  */
3260
3259
  injectFrame(bitmap: ImageBitmap, streamIndex: number): void;
3261
3260
  /**
3262
- * Link this core to receive events from a source core
3263
- * @param syncResolution Smart default: true for headless, false for visible
3261
+ * Link this core to receive input events (mouse/keyboard/touch) from a
3262
+ * source core. Event forwarding only — resolution and frame-rate are pushed
3263
+ * mixer→sources through the frame-source relationship (see
3264
+ * {@link linkFrameSources}), not here.
3264
3265
  */
3265
- linkEventSource(sourceCore: VijiCore, syncResolution?: boolean): void;
3266
+ linkEventSource(sourceCore: VijiCore): void;
3266
3267
  /**
3267
3268
  * Unlink from event source
3268
3269
  */
@@ -3275,6 +3276,19 @@ export declare class VijiCore {
3275
3276
  * Unlink all frame sources
3276
3277
  */
3277
3278
  unlinkFrameSources(): void;
3279
+ /**
3280
+ * Push this (mixer) core's effective resolution and frame-rate mode to every
3281
+ * linked frame source, so sources render at exactly the compositor's quality
3282
+ * (no wasted pixels/frames the compositor would discard). No-op unless frame
3283
+ * sources are linked, so normal single-core use is unaffected. Re-invoked on
3284
+ * link and on every `setResolution`/`setFrameRate`/`updateResolution`.
3285
+ *
3286
+ * Each source is guarded on `ready` (a not-yet-initialized or destroyed
3287
+ * source would throw from `setResolution`/`setFrameRate`). `setFrameRate` is
3288
+ * async; its promise is intentionally not awaited (fire-and-forget) with a
3289
+ * catch so a source torn down mid-call cannot raise an unhandled rejection.
3290
+ */
3291
+ private syncFrameSourceQuality;
3278
3292
  /**
3279
3293
  * Get parameter groups filtered by active capabilities
3280
3294
  */
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as a, V as i, a as s, b as e } from "./index-DbnjzNSY.js";
1
+ import { A as a, V as i, a as s, b as e } from "./index-BQtrhfjg.js";
2
2
  export {
3
3
  a as AudioSystem,
4
4
  i as VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",