@runware/sdk-js 1.1.2 → 1.1.4
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
|
@@ -1068,9 +1068,9 @@ var RunwareBase = class {
|
|
|
1068
1068
|
async ensureConnection() {
|
|
1069
1069
|
var _a;
|
|
1070
1070
|
let isConnected = this.connected();
|
|
1071
|
-
if (isConnected)
|
|
1071
|
+
if (isConnected || this._url === BASE_RUNWARE_URLS.TEST)
|
|
1072
1072
|
return;
|
|
1073
|
-
const interval =
|
|
1073
|
+
const interval = 200;
|
|
1074
1074
|
try {
|
|
1075
1075
|
if (this._invalidAPIkey)
|
|
1076
1076
|
throw this._invalidAPIkey;
|
package/dist/index.mjs
CHANGED
|
@@ -1047,9 +1047,9 @@ var RunwareBase = class {
|
|
|
1047
1047
|
async ensureConnection() {
|
|
1048
1048
|
var _a;
|
|
1049
1049
|
let isConnected = this.connected();
|
|
1050
|
-
if (isConnected)
|
|
1050
|
+
if (isConnected || this._url === BASE_RUNWARE_URLS.TEST)
|
|
1051
1051
|
return;
|
|
1052
|
-
const interval =
|
|
1052
|
+
const interval = 200;
|
|
1053
1053
|
try {
|
|
1054
1054
|
if (this._invalidAPIkey)
|
|
1055
1055
|
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.4",
|
|
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",
|