@shotstack/shotstack-studio 2.31.0 → 2.31.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/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "dazzatron",
7
7
  "kratos2k7"
8
8
  ],
9
- "version": "2.31.0",
9
+ "version": "2.31.1",
10
10
  "description": "A video editing library for creating and editing videos with Shotstack",
11
11
  "type": "module",
12
12
  "main": "dist/shotstack-studio.umd.js",
@@ -100,13 +100,13 @@
100
100
  },
101
101
  "dependencies": {
102
102
  "@shotstack/schemas": "1.22.0",
103
- "@shotstack/shotstack-canvas": "^2.14.1",
103
+ "@shotstack/shotstack-canvas": "2.14.1",
104
104
  "howler": "^2.2.4",
105
- "mediabunny": "^1.11.2",
105
+ "mediabunny": "1.65.2",
106
106
  "opentype.js": "^1.3.4",
107
107
  "pixi-filters": "^6.0.5",
108
108
  "pixi.js": "^8.15.0",
109
- "zod": "^4.0.0"
109
+ "zod": "4.6.7"
110
110
  },
111
111
  "lint-staged": {
112
112
  "*.{ts,tsx}": [
package/readme.md CHANGED
@@ -350,8 +350,11 @@ import { Controls } from "@shotstack/shotstack-studio";
350
350
 
351
351
  const controls = new Controls(edit);
352
352
  await controls.load();
353
+ controls.dispose();
353
354
  ```
354
355
 
356
+ `load()` listens for key presses on `document`. Call `dispose()` when the editor is removed from the page.
357
+
355
358
  ### VideoExporter
356
359
 
357
360
  `VideoExporter` exports a timeline render from the browser runtime.