@leafer/interface 1.0.0-rc.10 → 1.0.0-rc.12

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": "@leafer/interface",
3
- "version": "1.0.0-rc.10",
3
+ "version": "1.0.0-rc.12",
4
4
  "description": "@leafer/interface",
5
5
  "author": "Chao (Leafer) Wan",
6
6
  "license": "MIT",
@@ -15,6 +15,8 @@ export interface IExportOptions {
15
15
 
16
16
  export interface IExportResult {
17
17
  data: ILeaferCanvas | IBlob | string | boolean
18
+ width?: number
19
+ height?: number
18
20
  renderBounds?: IBoundsData
19
21
  trimBounds?: IBoundsData
20
22
  }
package/types/index.d.ts CHANGED
@@ -779,6 +779,8 @@ interface IExportOptions {
779
779
  }
780
780
  interface IExportResult {
781
781
  data: ILeaferCanvas | IBlob | string | boolean;
782
+ width?: number;
783
+ height?: number;
782
784
  renderBounds?: IBoundsData;
783
785
  trimBounds?: IBoundsData;
784
786
  }