@wral/profile-image-editor 0.0.3 → 0.0.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.
@@ -15715,8 +15715,8 @@ class Yi extends Yt {
15715
15715
  _clamp(a, f, c) {
15716
15716
  return Math.min(c, Math.max(f, a));
15717
15717
  }
15718
- _useExported() {
15719
- console.log("new image URL:", this.exportDataUrl), ps("profile_picture", this.exportDataUrl), window.dispatchEvent(new CustomEvent("wral:profile-picture-saved", {
15718
+ async _useExported() {
15719
+ console.log("new image URL:", this.exportDataUrl), await ps("profile_picture", this.exportDataUrl), window.dispatchEvent(new CustomEvent("wral:profile-picture-saved", {
15720
15720
  detail: { src: this.exportDataUrl }
15721
15721
  })), this._closeEditor();
15722
15722
  }
package/dist/index.mjs CHANGED
@@ -15688,8 +15688,8 @@ class Ui extends Tt {
15688
15688
  _clamp(N, W, se) {
15689
15689
  return Math.min(se, Math.max(W, N));
15690
15690
  }
15691
- _useExported() {
15692
- console.log("new image URL:", this.exportDataUrl), zi("profile_picture", this.exportDataUrl), window.dispatchEvent(new CustomEvent("wral:profile-picture-saved", {
15691
+ async _useExported() {
15692
+ console.log("new image URL:", this.exportDataUrl), await zi("profile_picture", this.exportDataUrl), window.dispatchEvent(new CustomEvent("wral:profile-picture-saved", {
15693
15693
  detail: { src: this.exportDataUrl }
15694
15694
  })), this._closeEditor();
15695
15695
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wral/profile-image-editor",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "description": "Lit web component for showing and editing a user's profile picture.",
6
6
  "author": "Noah Rojahn <nrojahn@wral.com>",