Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Runware/Runware-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ export class RunwareBase {
this._connectionSessionUUID = undefined;
this.stopHeartbeat();
this._ws?.terminate?.();
this._ws?.close?.();
this._ws?.close?.(1000, "", { keepClosed: true });
};

private connected = () =>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@runware/sdk-js",
"version": "1.2.9",
"version": "1.2.10",
"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.",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@ export type TImageMaskingResponse = {

## Changelog

### - v1.2.10

- Ensure calling disconnect() prevents automatic reconnection.

### - v1.2.9

- Add getTaskDetails task type
Expand Down
Loading