@viji-dev/core 0.8.15 → 0.8.16
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/artist-dts-p5.js +1 -1
- package/dist/artist-dts.js +1 -1
- package/dist/artist-global-p5.d.ts +1 -1
- package/dist/artist-global.d.ts +1 -1
- package/dist/assets/{viji.worker-DS4koMQX.js → viji.worker-BEba5y4h.js} +395 -404
- package/dist/docs-api.js +2 -2
- package/dist/{essentia-wasm.web-DScJyWoX.js → essentia-wasm.web-Bt54HQaY.js} +2 -2
- package/dist/{index-CI49eH6U.js → index-f5EKzN3f.js} +7 -7
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/docs-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as kn } from "./index-
|
|
1
|
+
import { g as kn } from "./index-f5EKzN3f.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-
|
|
3377
|
+
//# sourceMappingURL=essentia-wasm.web-Bt54HQaY.js.map
|
|
@@ -554,7 +554,7 @@ class DB {
|
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const hB = "" + new URL("assets/viji.worker-
|
|
557
|
+
const hB = "" + new URL("assets/viji.worker-BEba5y4h.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-
|
|
1544
|
+
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-Bt54HQaY.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
|
|
8623
|
-
*
|
|
8624
|
-
*
|
|
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.
|
|
8801
|
+
const wI = "0.8.15";
|
|
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-
|
|
8811
|
+
//# sourceMappingURL=index-f5EKzN3f.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
|
|
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.
|
|
2668
|
+
export declare const VERSION = "0.8.15";
|
|
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
|
|
3891
|
-
*
|
|
3892
|
-
*
|
|
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