@innovastudio/contentbox 1.5.84 → 1.5.85

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.5.84",
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.105",
54
+ "@innovastudio/contentbuilder": "^1.4.106",
55
55
  "js-beautify": "^1.14.0"
56
56
  }
57
57
  }
@@ -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();