@innovastudio/contentbox 1.5.79 → 1.5.80

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.79",
4
+ "version": "1.5.80",
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.100",
54
+ "@innovastudio/contentbuilder": "^1.4.101",
55
55
  "js-beautify": "^1.14.0"
56
56
  }
57
57
  }
@@ -94584,6 +94584,7 @@ class ContentBuilder {
94584
94584
  useMediaRecorder: true,
94585
94585
  // do not change
94586
94586
  encoderPath: '',
94587
+ imageAutoUpscale: true,
94587
94588
  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'],
94588
94589
  shortCommandList: {
94589
94590
  undo: ['undo'],
@@ -97200,9 +97201,11 @@ class ContentBuilder {
97200
97201
  return;
97201
97202
  }
97202
97203
  const imageUrl = result.url;
97203
-
97204
- //callback([imageUrl]);
97205
- this.upscaleImage(imageUrl, callback);
97204
+ if (this.imageAutoUpscale) {
97205
+ this.upscaleImage(imageUrl, callback);
97206
+ } else {
97207
+ callback([imageUrl]);
97208
+ }
97206
97209
  } catch (error) {
97207
97210
  if (error.name === 'AbortError') ; else {
97208
97211
  // CORS or code errors goes here
@@ -117862,6 +117865,7 @@ class ContentBox {
117862
117865
  // imageSteps: 25,
117863
117866
  // imageGuidance: 7.5,
117864
117867
  // imageScheduler: 'dpmsolver++',
117868
+ imageAutoUpscale: true,
117865
117869
  speechTranscribeUrl: '',
117866
117870
  // http://localhost:8081
117867
117871
  autoSendDelay: 4000,
@@ -118433,6 +118437,7 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
118433
118437
  imageSteps: this.settings.imageSteps,
118434
118438
  imageGuidance: this.settings.imageGuidance,
118435
118439
  imageScheduler: this.settings.imageScheduler,
118440
+ imageAutoUpscale: this.settings.imageAutoUpscale,
118436
118441
  assetPanelReverse: this.settings.assetPanelReverse,
118437
118442
  assetFilesOnly: this.settings.assetFilesOnly,
118438
118443
  assetRefreshButton: this.settings.assetRefreshButton,