@innovastudio/contentbuilder 1.4.100 → 1.4.101

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/contentbuilder",
3
3
  "type": "module",
4
- "version": "1.4.100",
4
+ "version": "1.4.101",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
7
7
  "files": [
@@ -79466,6 +79466,7 @@ class ContentBuilder {
79466
79466
  useMediaRecorder: true,
79467
79467
  // do not change
79468
79468
  encoderPath: '',
79469
+ imageAutoUpscale: true,
79469
79470
  headlineList: ['We create simple and effective designs.', 'Ultimate Experiences With Story, Emotion, And Purpose.', 'Build Anything Beautifully', 'With Less Stuff and More Compassion', 'We\'re [CompanyName]. Full stack development with a spark of creativity.', 'Transforming your digital experience with [CompanyName]. Achieve your online goals with our customized solutions.', 'Revolutionizing web development with [CompanyName]. Unleash your digital potential with our high-performance solutions.', 'Creative and Inspiring'],
79470
79471
  shortCommandList: {
79471
79472
  undo: ['undo'],
@@ -82082,9 +82083,11 @@ class ContentBuilder {
82082
82083
  return;
82083
82084
  }
82084
82085
  const imageUrl = result.url;
82085
-
82086
- //callback([imageUrl]);
82087
- this.upscaleImage(imageUrl, callback);
82086
+ if (this.imageAutoUpscale) {
82087
+ this.upscaleImage(imageUrl, callback);
82088
+ } else {
82089
+ callback([imageUrl]);
82090
+ }
82088
82091
  } catch (error) {
82089
82092
  if (error.name === 'AbortError') ; else {
82090
82093
  // CORS or code errors goes here