@viji-dev/core 0.8.9 → 0.8.11
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-BXmR3RGQ.js → viji.worker-CtPXL0fz.js} +565 -494
- package/dist/docs-api.js +2 -2
- package/dist/{essentia-wasm.web-BlVlDr0f.js → essentia-wasm.web-BGfjWBMO.js} +2 -2
- package/dist/{index-DsETtail.js → index-BH2kB2OG.js} +8 -7
- package/dist/index.d.ts +1 -1
- 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-BH2kB2OG.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-BGfjWBMO.js.map
|
|
@@ -458,9 +458,10 @@ class DB {
|
|
|
458
458
|
* - `*` for any CORS-friendly URL (MediaPipe model CDN, artist
|
|
459
459
|
* data, public CDNs). The `*` wildcard only matches network
|
|
460
460
|
* schemes per CSP spec, so `blob:` and `data:` must be listed
|
|
461
|
-
* explicitly
|
|
462
|
-
*
|
|
463
|
-
*
|
|
461
|
+
* explicitly so artists can `fetch()` blobs they construct
|
|
462
|
+
* themselves. (MediaPipe's WASM binary is no longer blob-fetched:
|
|
463
|
+
* the cv-tasks worker serves it from memory via a fetch shim, since
|
|
464
|
+
* WebKit refuses `fetch()` of an opaque `blob:null` URL.)
|
|
464
465
|
* img-src/media-src/font-src *
|
|
465
466
|
* - artists can load any CORS-friendly resource. blob:/data:
|
|
466
467
|
* included so artists can render their own constructed blobs.
|
|
@@ -536,7 +537,7 @@ class DB {
|
|
|
536
537
|
}
|
|
537
538
|
}
|
|
538
539
|
}
|
|
539
|
-
const hB = "" + new URL("assets/viji.worker-
|
|
540
|
+
const hB = "" + new URL("assets/viji.worker-CtPXL0fz.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;
|
|
540
541
|
class kB {
|
|
541
542
|
constructor(A, B, I) {
|
|
542
543
|
this.iframeManager = A, this.sceneCode = B, this.init = I;
|
|
@@ -1523,7 +1524,7 @@ class lB {
|
|
|
1523
1524
|
if (!this.isInitialized)
|
|
1524
1525
|
return this.initPromise ? this.initPromise : (this.initPromise = (async () => {
|
|
1525
1526
|
try {
|
|
1526
|
-
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-
|
|
1527
|
+
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-BGfjWBMO.js").then((g) => g.e), I = A.Essentia || A.default?.Essentia || A.default;
|
|
1527
1528
|
let Q = B.default || B.EssentiaWASM || B.default?.EssentiaWASM;
|
|
1528
1529
|
if (!Q)
|
|
1529
1530
|
throw new Error("WASM module not found - check essentia-wasm.web.js export");
|
|
@@ -8771,7 +8772,7 @@ function DI(h) {
|
|
|
8771
8772
|
expectedVersion: 1
|
|
8772
8773
|
} : typeof A.senderTime != "number" ? { code: "invalid-field", details: "senderTime must be a number", field: "senderTime" } : null;
|
|
8773
8774
|
}
|
|
8774
|
-
const hI = "0.8.
|
|
8775
|
+
const hI = "0.8.11";
|
|
8775
8776
|
export {
|
|
8776
8777
|
yA as A,
|
|
8777
8778
|
hI as V,
|
|
@@ -8779,4 +8780,4 @@ export {
|
|
|
8779
8780
|
S as b,
|
|
8780
8781
|
PB as g
|
|
8781
8782
|
};
|
|
8782
|
-
//# sourceMappingURL=index-
|
|
8783
|
+
//# sourceMappingURL=index-BH2kB2OG.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2659,7 +2659,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
|
|
|
2659
2659
|
/** Returned by `on*` listener registration calls; invoke to unsubscribe. */
|
|
2660
2660
|
export declare type Unsubscribe = () => void;
|
|
2661
2661
|
|
|
2662
|
-
export declare const VERSION = "0.8.
|
|
2662
|
+
export declare const VERSION = "0.8.11";
|
|
2663
2663
|
|
|
2664
2664
|
/**
|
|
2665
2665
|
* Real-time video API: drawable frame, dimensions, and the source-side
|
package/dist/index.js
CHANGED