@innovastudio/contentbox 1.5.83 → 1.5.85

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.5.83",
4
+ "version": "1.5.85",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -51,7 +51,7 @@
51
51
  "ws": "^8.13.0"
52
52
  },
53
53
  "dependencies": {
54
- "@innovastudio/contentbuilder": "^1.4.104",
54
+ "@innovastudio/contentbuilder": "^1.4.106",
55
55
  "js-beautify": "^1.14.0"
56
56
  }
57
57
  }
@@ -31103,7 +31103,7 @@ const prepareSvgIcons = builder => {
31103
31103
  <path d="M18 18m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"></path>
31104
31104
  <path d="M20.2 20.2l1.8 1.8"></path>
31105
31105
  </symbol>
31106
- <symbol id="icon-message" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
31106
+ <symbol id="icon-message" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
31107
31107
  <path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
31108
31108
  <path d="M8 9h8"></path>
31109
31109
  <path d="M8 13h6"></path>
@@ -97139,6 +97139,9 @@ class ContentBuilder {
97139
97139
  }
97140
97140
  }
97141
97141
  async upscaleImage(src, callback) {
97142
+ if (this.viewImageUrl) {
97143
+ src = this.viewImageUrl + '?url=' + src;
97144
+ }
97142
97145
  const width = 512;
97143
97146
  const height = 512;
97144
97147
  const img = new Image();