@shotstack/shotstack-studio 2.17.0 → 2.18.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.
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "dazzatron",
7
7
  "kratos2k7"
8
8
  ],
9
- "version": "2.17.0",
9
+ "version": "2.18.0",
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",
package/readme.md CHANGED
@@ -203,6 +203,12 @@ edit.registerAssetGenerator(async ({ clipId, asset, signal }) => {
203
203
  });
204
204
  ```
205
205
 
206
+ Pass a model catalogue as the registration's `catalogue` option to show model and option
207
+ controls. Entries must include their option schema; those without one are ignored. The
208
+ [Edit API](https://shotstack.io/docs/api/#shotstack-edit) returns this shape from
209
+ `GET /models?expand=options`. The SDK stores a snapshot; fetching and refreshing it remain
210
+ the host's responsibility.
211
+
206
212
  The SDK writes the returned URL to the clip, so the change is undoable and autosaves
207
213
  like any other edit. It tracks whether a clip is generating or has failed, and renders
208
214
  those states; a rejection's message is shown as-is next to a retry action. Everything