@runware/sdk-js 1.1.2 → 1.1.3
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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
- package/readme.md +6 -0
package/dist/index.js
CHANGED
|
@@ -1068,9 +1068,10 @@ var RunwareBase = class {
|
|
|
1068
1068
|
async ensureConnection() {
|
|
1069
1069
|
var _a;
|
|
1070
1070
|
let isConnected = this.connected();
|
|
1071
|
-
|
|
1071
|
+
console.log("afah");
|
|
1072
|
+
if (isConnected || this._url === BASE_RUNWARE_URLS.TEST)
|
|
1072
1073
|
return;
|
|
1073
|
-
const interval =
|
|
1074
|
+
const interval = 200;
|
|
1074
1075
|
try {
|
|
1075
1076
|
if (this._invalidAPIkey)
|
|
1076
1077
|
throw this._invalidAPIkey;
|
package/dist/index.mjs
CHANGED
|
@@ -1047,9 +1047,10 @@ var RunwareBase = class {
|
|
|
1047
1047
|
async ensureConnection() {
|
|
1048
1048
|
var _a;
|
|
1049
1049
|
let isConnected = this.connected();
|
|
1050
|
-
|
|
1050
|
+
console.log("afah");
|
|
1051
|
+
if (isConnected || this._url === BASE_RUNWARE_URLS.TEST)
|
|
1051
1052
|
return;
|
|
1052
|
-
const interval =
|
|
1053
|
+
const interval = 200;
|
|
1053
1054
|
try {
|
|
1054
1055
|
if (this._invalidAPIkey)
|
|
1055
1056
|
throw this._invalidAPIkey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runware/sdk-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
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",
|