@runware/sdk-js 1.1.11 → 1.1.12
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/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/readme.md +8 -2
package/dist/index.js
CHANGED
|
@@ -650,7 +650,7 @@ var RunwareBase = class {
|
|
|
650
650
|
}
|
|
651
651
|
if (newRemoveBackground) {
|
|
652
652
|
delete this._globalMessages[taskUUID];
|
|
653
|
-
resolve(
|
|
653
|
+
resolve(newRemoveBackground);
|
|
654
654
|
return true;
|
|
655
655
|
}
|
|
656
656
|
},
|
|
@@ -697,7 +697,7 @@ var RunwareBase = class {
|
|
|
697
697
|
}
|
|
698
698
|
if (newUpscaleGan) {
|
|
699
699
|
delete this._globalMessages[taskUUID];
|
|
700
|
-
resolve(
|
|
700
|
+
resolve(newUpscaleGan);
|
|
701
701
|
return true;
|
|
702
702
|
}
|
|
703
703
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -628,7 +628,7 @@ var RunwareBase = class {
|
|
|
628
628
|
}
|
|
629
629
|
if (newRemoveBackground) {
|
|
630
630
|
delete this._globalMessages[taskUUID];
|
|
631
|
-
resolve(
|
|
631
|
+
resolve(newRemoveBackground);
|
|
632
632
|
return true;
|
|
633
633
|
}
|
|
634
634
|
},
|
|
@@ -675,7 +675,7 @@ var RunwareBase = class {
|
|
|
675
675
|
}
|
|
676
676
|
if (newUpscaleGan) {
|
|
677
677
|
delete this._globalMessages[taskUUID];
|
|
678
|
-
resolve(
|
|
678
|
+
resolve(newUpscaleGan);
|
|
679
679
|
return true;
|
|
680
680
|
}
|
|
681
681
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runware/sdk-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "The SDK is used to run image inference with the Runware API, powered by the RunWare inference platform. It can be used to generate imaged with text-to-image and image-to-image. It also allows the use of an existing gallery of models or selecting any model or LoRA from the CivitAI gallery. The API also supports upscaling, background removal, inpainting and outpainting, and a series of other ControlNet models.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
package/readme.md
CHANGED
|
@@ -360,12 +360,18 @@ return interface IControlNetImage {
|
|
|
360
360
|
|
|
361
361
|
## Changelog
|
|
362
362
|
|
|
363
|
+
### - v1.1.12
|
|
364
|
+
|
|
365
|
+
**Added or Changed**
|
|
366
|
+
|
|
367
|
+
- Fix imageUpscale and backgroundRemoval wrong response
|
|
368
|
+
|
|
363
369
|
### - v1.1.11
|
|
364
370
|
|
|
365
371
|
**Added or Changed**
|
|
366
372
|
|
|
367
|
-
- Automatically detect environment with Runware
|
|
368
|
-
- Fix invalid
|
|
373
|
+
- Automatically detect environment with Runware class
|
|
374
|
+
- Fix invalid input image not returning server errors
|
|
369
375
|
|
|
370
376
|
### - v1.1.10
|
|
371
377
|
|