@runware/sdk-js 1.1.0 → 1.1.1
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 +6 -0
package/dist/index.js
CHANGED
|
@@ -798,10 +798,10 @@ var RunwareBase = class {
|
|
|
798
798
|
const arrayMessage = Array.isArray(msg == null ? void 0 : msg.data) ? msg.data : [msg.data];
|
|
799
799
|
const arrayErrors = Array.isArray(msg == null ? void 0 : msg.errors) ? msg.errors : [msg.errors];
|
|
800
800
|
const filteredMessage = arrayMessage.filter(
|
|
801
|
-
(v) => (v == null ? void 0 : v.taskUUID) === taskUUID
|
|
801
|
+
(v) => ((v == null ? void 0 : v.taskUUID) || (v == null ? void 0 : v.taskType)) === taskUUID
|
|
802
802
|
);
|
|
803
803
|
const filteredErrors = arrayErrors.filter(
|
|
804
|
-
(v) => (v == null ? void 0 : v.taskUUID) === taskUUID
|
|
804
|
+
(v) => ((v == null ? void 0 : v.taskUUID) || (v == null ? void 0 : v.taskType)) === taskUUID
|
|
805
805
|
);
|
|
806
806
|
if (filteredErrors.length) {
|
|
807
807
|
lis({ error: __spreadValues({}, (_a = arrayErrors[0]) != null ? _a : {}) });
|
package/dist/index.mjs
CHANGED
|
@@ -777,10 +777,10 @@ var RunwareBase = class {
|
|
|
777
777
|
const arrayMessage = Array.isArray(msg == null ? void 0 : msg.data) ? msg.data : [msg.data];
|
|
778
778
|
const arrayErrors = Array.isArray(msg == null ? void 0 : msg.errors) ? msg.errors : [msg.errors];
|
|
779
779
|
const filteredMessage = arrayMessage.filter(
|
|
780
|
-
(v) => (v == null ? void 0 : v.taskUUID) === taskUUID
|
|
780
|
+
(v) => ((v == null ? void 0 : v.taskUUID) || (v == null ? void 0 : v.taskType)) === taskUUID
|
|
781
781
|
);
|
|
782
782
|
const filteredErrors = arrayErrors.filter(
|
|
783
|
-
(v) => (v == null ? void 0 : v.taskUUID) === taskUUID
|
|
783
|
+
(v) => ((v == null ? void 0 : v.taskUUID) || (v == null ? void 0 : v.taskType)) === taskUUID
|
|
784
784
|
);
|
|
785
785
|
if (filteredErrors.length) {
|
|
786
786
|
lis({ error: __spreadValues({}, (_a = arrayErrors[0]) != null ? _a : {}) });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runware/sdk-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
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",
|