@rive-app/webgl-single 2.10.4 → 2.11.0

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.
Files changed (4) hide show
  1. package/package.json +1 -1
  2. package/rive.d.ts +5 -0
  3. package/rive.js +4008 -178
  4. package/rive.js.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/webgl-single",
3
- "version": "2.10.4",
3
+ "version": "2.11.0",
4
4
  "description": "Rive's webgl based web api with bundled wasm.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.d.ts CHANGED
@@ -332,6 +332,11 @@ export declare class Rive {
332
332
  * Rive class
333
333
  */
334
334
  cleanup(): void;
335
+ /**
336
+ * Cleans up the Renderer object. Only call this API if you no longer
337
+ * need to render Rive content in your session.
338
+ */
339
+ deleteRiveRenderer(): void;
335
340
  /**
336
341
  * Cleans up any Wasm-generated objects that need to be manually destroyed:
337
342
  * artboard instances, animation instances, state machine instances.