@viji-dev/core 0.11.0 → 0.11.1
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-Bvrh6HQl.js → viji.worker-BDMcYr0l.js} +2263 -2203
- package/dist/docs-api.js +2 -2
- package/dist/{essentia-wasm.web-CE7Wz0Cy.js → essentia-wasm.web-D1B5j3cM.js} +2 -2
- package/dist/{index-Dfhuv8fL.js → index-D7BA9Ry-.js} +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +101 -101
package/dist/docs-api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as kn } from "./index-
|
|
1
|
+
import { g as kn } from "./index-D7BA9Ry-.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-D1B5j3cM.js.map
|
|
@@ -547,7 +547,7 @@ class tB {
|
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
const eB = "" + new URL("assets/viji.worker-
|
|
550
|
+
const eB = "" + new URL("assets/viji.worker-BDMcYr0l.js", import.meta.url).href;
|
|
551
551
|
class yB {
|
|
552
552
|
constructor(A, B, I) {
|
|
553
553
|
this.iframeManager = A, this.sceneCode = B, this.init = I;
|
|
@@ -1518,7 +1518,7 @@ class YB {
|
|
|
1518
1518
|
if (!this.isInitialized)
|
|
1519
1519
|
return this.initPromise ? this.initPromise : (this.initPromise = (async () => {
|
|
1520
1520
|
try {
|
|
1521
|
-
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-
|
|
1521
|
+
const A = await import("./essentia.js-core.es-CC_3Ap1i.js"), B = await import("./essentia-wasm.web-D1B5j3cM.js").then((g) => g.e), I = A.Essentia || A.default?.Essentia || A.default;
|
|
1522
1522
|
let Q = B.default || B.EssentiaWASM || B.default?.EssentiaWASM;
|
|
1523
1523
|
if (!Q)
|
|
1524
1524
|
throw new Error("WASM module not found - check essentia-wasm.web.js export");
|
|
@@ -11451,7 +11451,7 @@ function JI(D) {
|
|
|
11451
11451
|
expectedVersion: 1
|
|
11452
11452
|
} : typeof A.senderTime != "number" ? { code: "invalid-field", details: "senderTime must be a number", field: "senderTime" } : null;
|
|
11453
11453
|
}
|
|
11454
|
-
const SI = "0.11.
|
|
11454
|
+
const SI = "0.11.1";
|
|
11455
11455
|
export {
|
|
11456
11456
|
yA as A,
|
|
11457
11457
|
UI as C,
|
|
@@ -11461,4 +11461,4 @@ export {
|
|
|
11461
11461
|
J as b,
|
|
11462
11462
|
$B as g
|
|
11463
11463
|
};
|
|
11464
|
-
//# sourceMappingURL=index-
|
|
11464
|
+
//# sourceMappingURL=index-D7BA9Ry-.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2790,7 +2790,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
|
|
|
2790
2790
|
/** Returned by `on*` listener registration calls; invoke to unsubscribe. */
|
|
2791
2791
|
export declare type Unsubscribe = () => void;
|
|
2792
2792
|
|
|
2793
|
-
export declare const VERSION = "0.11.
|
|
2793
|
+
export declare const VERSION = "0.11.1";
|
|
2794
2794
|
|
|
2795
2795
|
/**
|
|
2796
2796
|
* Real-time video API: drawable frame, dimensions, and the source-side
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@viji-dev/core",
|
|
3
|
-
"version": "0.11.
|
|
4
|
-
"description": "Universal execution engine for Viji Creative scenes",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"types": "./dist/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./artist-global": {
|
|
15
|
-
"types": "./dist/artist-global.d.ts"
|
|
16
|
-
},
|
|
17
|
-
"./artist-dts": {
|
|
18
|
-
"import": "./dist/artist-dts.js",
|
|
19
|
-
"types": "./dist/artist-dts.d.ts"
|
|
20
|
-
},
|
|
21
|
-
"./artist-jsdoc": {
|
|
22
|
-
"types": "./dist/artist-jsdoc.d.ts"
|
|
23
|
-
},
|
|
24
|
-
"./artist-js-ambient": {
|
|
25
|
-
"types": "./dist/artist-js-ambient.d.ts"
|
|
26
|
-
},
|
|
27
|
-
"./artist-dts-p5": {
|
|
28
|
-
"import": "./dist/artist-dts-p5.js",
|
|
29
|
-
"types": "./dist/artist-dts-p5.d.ts"
|
|
30
|
-
},
|
|
31
|
-
"./artist-global-p5": {
|
|
32
|
-
"types": "./dist/artist-global-p5.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"./shader-uniforms": {
|
|
35
|
-
"import": "./dist/shader-uniforms.js",
|
|
36
|
-
"types": "./dist/shader-uniforms.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./docs-api": {
|
|
39
|
-
"import": "./dist/docs-api.js",
|
|
40
|
-
"types": "./dist/docs-api.d.ts"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"files": [
|
|
44
|
-
"dist/*.js",
|
|
45
|
-
"dist/*.d.ts",
|
|
46
|
-
"dist/assets",
|
|
47
|
-
"!dist/**/*.map",
|
|
48
|
-
"README.md"
|
|
49
|
-
],
|
|
50
|
-
"scripts": {
|
|
51
|
-
"prebuild": "node scripts/prebuild-clean.mjs && node scripts/sync-version.mjs",
|
|
52
|
-
"version": "npm run build && git add -A",
|
|
53
|
-
"build": "vite build && node scripts/copy-tasks-assets.mjs && node scripts/build-artist-types.mjs && node scripts/lint-artist-types-drift.mjs && node scripts/build-docs-api.mjs",
|
|
54
|
-
"build:docs": "node scripts/build-docs-api.mjs",
|
|
55
|
-
"lint:ai-prompts-drift": "node scripts/lint-ai-prompts-drift.mjs",
|
|
56
|
-
"dev": "node scripts/sync-version.mjs && vite build --watch",
|
|
57
|
-
"integration": "vite --config integration-example/vite.config.ts",
|
|
58
|
-
"test": "vitest",
|
|
59
|
-
"test:coverage": "vitest --coverage",
|
|
60
|
-
"type-check": "tsc --noEmit",
|
|
61
|
-
"lint": "eslint src --ext .ts"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [
|
|
64
|
-
"viji",
|
|
65
|
-
"creative",
|
|
66
|
-
"webgl",
|
|
67
|
-
"audio-reactive",
|
|
68
|
-
"canvas",
|
|
69
|
-
"webworker"
|
|
70
|
-
],
|
|
71
|
-
"author": "Viji Team",
|
|
72
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
73
|
-
"devDependencies": {
|
|
74
|
-
"@types/node": "^20.0.0",
|
|
75
|
-
"@types/p5": "^1.7.6",
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
77
|
-
"@typescript-eslint/parser": "^6.0.0",
|
|
78
|
-
"@vitest/coverage-v8": "^1.0.0",
|
|
79
|
-
"dts-bundle-generator": "^9.5.1",
|
|
80
|
-
"eslint": "^8.0.0",
|
|
81
|
-
"github-slugger": "^2.0.0",
|
|
82
|
-
"happy-dom": "^18.0.1",
|
|
83
|
-
"mdast-util-to-string": "^4.0.0",
|
|
84
|
-
"remark-parse": "^11.0.0",
|
|
85
|
-
"typescript": "^5.0.0",
|
|
86
|
-
"unified": "^11.0.5",
|
|
87
|
-
"vite": "^5.0.0",
|
|
88
|
-
"vite-plugin-dts": "^3.0.0",
|
|
89
|
-
"vitest": "^1.0.0"
|
|
90
|
-
},
|
|
91
|
-
"engines": {
|
|
92
|
-
"node": ">=18.0.0"
|
|
93
|
-
},
|
|
94
|
-
"dependencies": {
|
|
95
|
-
"@mediapipe/tasks-vision": "^0.10.20",
|
|
96
|
-
"@noble/curves": "^2.2.0",
|
|
97
|
-
"essentia.js": "^0.1.3",
|
|
98
|
-
"fft.js": "^4.0.4",
|
|
99
|
-
"sucrase": "^3.35.1"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@viji-dev/core",
|
|
3
|
+
"version": "0.11.1",
|
|
4
|
+
"description": "Universal execution engine for Viji Creative scenes",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./artist-global": {
|
|
15
|
+
"types": "./dist/artist-global.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./artist-dts": {
|
|
18
|
+
"import": "./dist/artist-dts.js",
|
|
19
|
+
"types": "./dist/artist-dts.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./artist-jsdoc": {
|
|
22
|
+
"types": "./dist/artist-jsdoc.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"./artist-js-ambient": {
|
|
25
|
+
"types": "./dist/artist-js-ambient.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./artist-dts-p5": {
|
|
28
|
+
"import": "./dist/artist-dts-p5.js",
|
|
29
|
+
"types": "./dist/artist-dts-p5.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./artist-global-p5": {
|
|
32
|
+
"types": "./dist/artist-global-p5.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./shader-uniforms": {
|
|
35
|
+
"import": "./dist/shader-uniforms.js",
|
|
36
|
+
"types": "./dist/shader-uniforms.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./docs-api": {
|
|
39
|
+
"import": "./dist/docs-api.js",
|
|
40
|
+
"types": "./dist/docs-api.d.ts"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"files": [
|
|
44
|
+
"dist/*.js",
|
|
45
|
+
"dist/*.d.ts",
|
|
46
|
+
"dist/assets",
|
|
47
|
+
"!dist/**/*.map",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"scripts": {
|
|
51
|
+
"prebuild": "node scripts/prebuild-clean.mjs && node scripts/sync-version.mjs",
|
|
52
|
+
"version": "npm run build && git add -A",
|
|
53
|
+
"build": "vite build && node scripts/copy-tasks-assets.mjs && node scripts/build-artist-types.mjs && node scripts/lint-artist-types-drift.mjs && node scripts/build-docs-api.mjs",
|
|
54
|
+
"build:docs": "node scripts/build-docs-api.mjs",
|
|
55
|
+
"lint:ai-prompts-drift": "node scripts/lint-ai-prompts-drift.mjs",
|
|
56
|
+
"dev": "node scripts/sync-version.mjs && vite build --watch",
|
|
57
|
+
"integration": "vite --config integration-example/vite.config.ts",
|
|
58
|
+
"test": "vitest",
|
|
59
|
+
"test:coverage": "vitest --coverage",
|
|
60
|
+
"type-check": "tsc --noEmit",
|
|
61
|
+
"lint": "eslint src --ext .ts"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"viji",
|
|
65
|
+
"creative",
|
|
66
|
+
"webgl",
|
|
67
|
+
"audio-reactive",
|
|
68
|
+
"canvas",
|
|
69
|
+
"webworker"
|
|
70
|
+
],
|
|
71
|
+
"author": "Viji Team",
|
|
72
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@types/node": "^20.0.0",
|
|
75
|
+
"@types/p5": "^1.7.6",
|
|
76
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
77
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
78
|
+
"@vitest/coverage-v8": "^1.0.0",
|
|
79
|
+
"dts-bundle-generator": "^9.5.1",
|
|
80
|
+
"eslint": "^8.0.0",
|
|
81
|
+
"github-slugger": "^2.0.0",
|
|
82
|
+
"happy-dom": "^18.0.1",
|
|
83
|
+
"mdast-util-to-string": "^4.0.0",
|
|
84
|
+
"remark-parse": "^11.0.0",
|
|
85
|
+
"typescript": "^5.0.0",
|
|
86
|
+
"unified": "^11.0.5",
|
|
87
|
+
"vite": "^5.0.0",
|
|
88
|
+
"vite-plugin-dts": "^3.0.0",
|
|
89
|
+
"vitest": "^1.0.0"
|
|
90
|
+
},
|
|
91
|
+
"engines": {
|
|
92
|
+
"node": ">=18.0.0"
|
|
93
|
+
},
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"@mediapipe/tasks-vision": "^0.10.20",
|
|
96
|
+
"@noble/curves": "^2.2.0",
|
|
97
|
+
"essentia.js": "^0.1.3",
|
|
98
|
+
"fft.js": "^4.0.4",
|
|
99
|
+
"sucrase": "^3.35.1"
|
|
100
|
+
}
|
|
101
|
+
}
|