tokimeki-image-editor 0.1.3 → 0.1.4

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.
@@ -218,7 +218,11 @@ function handleComplete() {
218
218
  // Convert to blob
219
219
  exportCanvas.toBlob((blob) => {
220
220
  if (blob) {
221
- onComplete(dataUrl, blob);
221
+ onComplete(dataUrl, {
222
+ blob: blob,
223
+ width: exportCanvas.width,
224
+ height: exportCanvas.height
225
+ });
222
226
  }
223
227
  }, state.exportOptions.format === 'jpeg' ? 'image/jpeg' : 'image/png', state.exportOptions.quality);
224
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokimeki-image-editor",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A image editor for svelte.",
5
5
  "type": "module",
6
6
  "license": "MIT",