@dreamcomposer/engine-types 0.0.17 → 0.0.20

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreamcomposer/engine-types",
3
- "version": "0.0.17",
3
+ "version": "0.0.20",
4
4
  "description": "The type definitions for messages from and to the engine",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -9,8 +9,9 @@ import { ToEngineMessage } from "../post-messages";
9
9
  export interface SetCutoutTextureMessage
10
10
  extends ToEngineMessage<"set-cutout-texture"> {
11
11
  /**
12
- * The cutout mask in the PNG format or an empty string to reset it (i.e.,
13
- * setting a texture with no cutouts).
12
+ * The cutout mask in the PNG format. Can either be a blob or a URL to the
13
+ * cutout texture. An empty string is used to reset it (i.e., setting a
14
+ * texture with no cutouts).
14
15
  */
15
- payload: Blob | "";
16
+ payload: Blob | string | "";
16
17
  }