@runware/sdk-js 1.1.17-beta.3 → 1.1.17-beta.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 CHANGED
@@ -1190,7 +1190,6 @@ var RunwareBase = class {
1190
1190
  }
1191
1191
  } catch (error) {
1192
1192
  clearAllIntervals();
1193
- console.log("afaf");
1194
1193
  reject(error);
1195
1194
  }
1196
1195
  }, retryInterval);
@@ -1210,7 +1209,6 @@ var RunwareBase = class {
1210
1209
  }, pollingInterval);
1211
1210
  });
1212
1211
  } catch (e) {
1213
- console.log("e", e);
1214
1212
  throw (_a = this._invalidAPIkey) != null ? _a : "Could not connect to server. Ensure your API key is correct";
1215
1213
  }
1216
1214
  }
@@ -1390,7 +1388,6 @@ var RunwareServer = class extends RunwareBase {
1390
1388
  }
1391
1389
  handleClose() {
1392
1390
  if (this._invalidAPIkey) {
1393
- throw this._invalidAPIkey;
1394
1391
  }
1395
1392
  if (this._reconnectingIntervalId) {
1396
1393
  clearInterval(this._reconnectingIntervalId);
package/dist/index.mjs CHANGED
@@ -1168,7 +1168,6 @@ var RunwareBase = class {
1168
1168
  }
1169
1169
  } catch (error) {
1170
1170
  clearAllIntervals();
1171
- console.log("afaf");
1172
1171
  reject(error);
1173
1172
  }
1174
1173
  }, retryInterval);
@@ -1188,7 +1187,6 @@ var RunwareBase = class {
1188
1187
  }, pollingInterval);
1189
1188
  });
1190
1189
  } catch (e) {
1191
- console.log("e", e);
1192
1190
  throw (_a = this._invalidAPIkey) != null ? _a : "Could not connect to server. Ensure your API key is correct";
1193
1191
  }
1194
1192
  }
@@ -1368,7 +1366,6 @@ var RunwareServer = class extends RunwareBase {
1368
1366
  }
1369
1367
  handleClose() {
1370
1368
  if (this._invalidAPIkey) {
1371
- throw this._invalidAPIkey;
1372
1369
  }
1373
1370
  if (this._reconnectingIntervalId) {
1374
1371
  clearInterval(this._reconnectingIntervalId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runware/sdk-js",
3
- "version": "1.1.17-beta.3",
3
+ "version": "1.1.17-beta.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",