@viji-dev/core 0.3.17 → 0.3.18

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
@@ -1374,6 +1374,17 @@ export declare class VijiCore {
1374
1374
  * Get current debug mode status
1375
1375
  */
1376
1376
  getDebugMode(): boolean;
1377
+ /**
1378
+ * Show the core's iframe (make it visible in the host container).
1379
+ * No-op for headless cores.
1380
+ */
1381
+ show(): void;
1382
+ /**
1383
+ * Hide the core's iframe (keep rendering but invisible).
1384
+ * Useful for create-in-background, reveal-when-ready patterns.
1385
+ * No-op for headless cores.
1386
+ */
1387
+ hide(): void;
1377
1388
  /**
1378
1389
  * Select audio analysis backend
1379
1390
  */
@@ -1924,6 +1935,8 @@ export declare interface VijiCoreConfig {
1924
1935
  allowUserInteraction?: boolean;
1925
1936
  /** Enable device sensor APIs (motion, orientation) */
1926
1937
  allowDeviceInteraction?: boolean;
1938
+ /** Start with iframe hidden (default: true). Use show()/hide() to toggle visibility. */
1939
+ visible?: boolean;
1927
1940
  }
1928
1941
 
1929
1942
  export declare class VijiCoreError extends Error {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, V, a, b } from "./index-DSNSJDmw.js";
1
+ import { A, V, a, b } from "./index-BSQyI1F-.js";
2
2
  export {
3
3
  A as AudioSystem,
4
4
  V as VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",