@viji-dev/core 0.3.12 → 0.3.13

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.
@@ -335,9 +335,25 @@
335
335
  */
336
336
  declare const viji;
337
337
 
338
+ /**
339
+ * Type alias for render function
340
+ * @typedef {function(VijiAPI): void} Render
341
+ */
342
+
343
+ /**
344
+ * Type alias for setup function
345
+ * @typedef {function(VijiAPI): void} Setup
346
+ */
347
+
338
348
  /**
339
349
  * Artist render function - called every frame
340
350
  * @param {VijiAPI} viji - The viji API object with all capabilities
341
351
  */
342
352
  declare function render(viji): void;
343
353
 
354
+ /**
355
+ * Artist setup function - called once at initialization
356
+ * @param {VijiAPI} viji - The viji API object with all capabilities
357
+ */
358
+ declare function setup(viji): void;
359
+
@@ -331,8 +331,24 @@
331
331
  */
332
332
  declare const viji;
333
333
 
334
+ /**
335
+ * Type alias for render function
336
+ * @typedef {function(VijiAPI): void} Render
337
+ */
338
+
339
+ /**
340
+ * Type alias for setup function
341
+ * @typedef {function(VijiAPI): void} Setup
342
+ */
343
+
334
344
  /**
335
345
  * Artist render function - called every frame
336
346
  * @param {VijiAPI} viji - The viji API object with all capabilities
337
347
  */
338
348
  declare function render(viji): void;
349
+
350
+ /**
351
+ * Artist setup function - called once at initialization
352
+ * @param {VijiAPI} viji - The viji API object with all capabilities
353
+ */
354
+ declare function setup(viji): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",