You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@runware/sdk-js

Package Overview
Dependencies
Maintainers
0
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@runware/sdk-js

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

1.1.44
latest
npmnpm
Version published
Weekly downloads
3.8K
-6.93%
Maintainers
0
Weekly downloads
 
Created
Source

Runware Javascript & Typescript SDK

This SDK is used to run AI image generation with the Runware API, powered by the RunWare inference platform. With this SDK you can generate images with text-to-image and image-to-image with sub-second inference times. It also allows the use of an existing library of more than 150k models, including any model or LoRA from the CivitAI gallery. The API also supports upscaling, background removal, inpainting, outpainting, ControlNets, and more. Visit the Runware site for detailed feature breakdown.

Get API access

For an API Key and free trial credits, create a free account with Runware

NB: Please keep your API key private

Installation

To install and set up the library, run:

$  npm  install  @runware/sdk-js

Or if you prefer using Yarn:

$  yarn  add  @runware/sdk-js

Instantiating the SDK

Instantiating Synchronously

const runware = new Runware({ apiKey: "API_KEY" });

Instantiating Asynchronously

const runware = await Runware.initialize({ apiKey: "API_KEY" });
ParameterTypeUse
urlstringUrl to get images from (optional)
apiKeystringThe environment api key
shouldReconnectboolean (default = true)This handles reconnection when there is websocket inactivity
globalMaxRetriesnumber (default = 2)The number of retries it should make before throwing an error (NB: you can specify a retry parameters for every request that overrides the global retry)
timeoutDurationnumber (in milliseconds) (default = 60000)The timeout span per retry before timing out

Methods

Ensure connection is established before making request

const runware = new RunwareServer({ apiKey: "API_KEY" });

await runware.ensureConnection();

Manually disconnect

const runware = new RunwareServer({ apiKey: "API_KEY" });

await runware.disconnect();

API

Request Image

Read Documentation

NB: All errors can be caught in the catch block of each request

import { Runware } from "@runware/sdk-js";

const  runware  =  new  Runware({ apiKey: "API_KEY" });
const images = await runware.requestImages({
	positivePrompt: string;
	negativePrompt?: string;
	width: number;
	height: number;
	model: string;
	numberResults?: number;
	outputType?: "URL" | "base64Data" | "dataURI";
	outputFormat?: "JPG" | "PNG" | "WEBP";
	uploadEndpoint?: string;
	checkNSFW?: boolean
	seedImage?: File | string;
	maskImage?: File | string;
	strength?: number;
	steps?: number;
	scheduler?: string;
	seed?: number;
	CFGScale?: number;
	clipSkip?: number;
	refiner?: IRefiner;
	usePromptWeighting?: number;
	controlNet?: IControlNet[];
	lora?: ILora[];
  	retry?: number;
	ipAdapters?: IipAdapters[];
	providerSettings?: IProviderSettings;
	embeddings?: IEmbedding[];
	outpaint: IOutpaint;
	onPartialImages?: (images: IImage[], error: IError) =>  void;
})

return interface ITextToImage {
	taskType: ETaskType;
	imageUUID: string;
	inputImageUUID?: string;
	taskUUID: string;
	imageURL?: string;
	imageBase64Data?: string;
	imageDataURI?: string;
	NSFWContent?: boolean;
	cost: number;
	positivePrompt?: string;
  	negativePrompt?: string;
}[]
Parallel Requests (2 or more requests at the same time)
const  runware  =  new Runware({ apiKey: "API_KEY" });

const [firstImagesRequest, secondImagesRequest] = await Promise.all([
	runware.requestImages({
		positivePrompt: string;
		width: number;
		height: number;
		numberResults: number;
		model: string;
		negativePrompt?: string;
		onPartialImages?: (images: IImage[], error: IError) =>  void;
	}),
	runware.requestImages({
		positivePrompt: string;
		width: number;
		height: number;
		numberResults: number;
		model: string;
		ipAdapters: [{
			model: string;
			weight: number;
			guideImage: string;
		}],
		embeddings: [{
			model: string;
			weight: number;
		}],
		outpaint: {
			top: 256,
			right: 128,
			bottom: 256,
			left: 128,
			blur: 16
		}
		onPartialImages?: (images: IImage[], error: IError) =>  void;
	})
])

console.log({firstImagesRequest, secondImagesRequest})

return interface ITextToImage {
	taskType: ETaskType;
	imageUUID: string;
	inputImageUUID?: string;
	taskUUID: string;
	imageURL?: string;
	imageBase64Data?: string;
	imageDataURI?: string;
	NSFWContent?: boolean;
	cost: number;
	positivePrompt?: string;
  	negativePrompt?: string;
}[]
ParameterTypeUse
positivePromptstringDefines the positive prompt description of the image.
negativePromptstringDefines the negative prompt description of the image.
widthnumberControls the image width.
heightnumberControls the image height.
modelstringThe AIR system ID of the image to be requested.
numberResultsnumber: (Optional) (default = 1)(Optional) The number of images to be generated.
outputTypeIOutputType: (Optional)Specifies the output type in which the image is returned.
outputFormatIOutputFormat: (Optional)Specifies the format of the output image.
uploadEndpointstring: (Optional)This parameter allows you to specify a URL to which the generated image will be uploaded as binary image data using the HTTP PUT method. For example, an S3 bucket URL can be used as the upload endpoint.
checkNSFWboolean: (Optional)This parameter is used to enable or disable the NSFW check. When enabled, the API will check if the image contains NSFW (not safe for work) content. This check is done using a pre-trained model that detects adult content in images.
seedImagestring or File: (Optional)When doing Image-to-Image, Inpainting or Outpainting, this parameter is required.Specifies the seed image to be used for the diffusion process.
maskImagestring or File: (Optional)The image to be used as the mask image. It can be the UUID of previously generated image, or an image from a file.
strengthnumber: (Optional)When doing Image-to-Image, Inpainting or Outpainting, this parameter is used to determine the influence of the seedImage image in the generated output. A higher value results in more influence from the original image, while a lower value allows more creative deviation.
stepsnumber: (Optional)The number of steps is the number of iterations the model will perform to generate the image. The higher the number of steps, the more detailed the image will be.
schedulerstring: (Optional)An scheduler is a component that manages the inference process. Different schedulers can be used to achieve different results like more detailed images, faster inference, or more accurate results.
seednumber: (Optional)A seed is a value used to randomize the image generation. If you want to make images reproducible (generate the same image multiple times), you can use the same seed value.
CFGScalenumber: (Optional)Guidance scale represents how closely the images will resemble the prompt or how much freedom the AI model has. Higher values are closer to the prompt. Low values may reduce the quality of the results.
clipSkipnumber: (Optional)CLIP Skip is a feature that enables skipping layers of the CLIP embedding process, leading to quicker and more varied image generation.
usePromptWeightingboolean: (Optional)Allow setting different weights per words or expressions in prompts.
clipSkipnumber: (Optional)CLIP Skip is a feature that enables skipping layers of the CLIP embedding process, leading to quicker and more varied image generation.
loraILora[]: (Optional)With LoRA (Low-Rank Adaptation), you can adapt a model to specific styles or features by emphasizing particular aspects of the data.
embeddingsIEmbedding[]: (Optional)Embeddings (or Textual Inversion) can be used to add specific concepts or styles to your generations. Multiple embeddings can be used at the same time.
ipAdaptersIipAdapter[]: (Optional)IP-Adapters enable image-prompted generation, allowing you to use reference images to guide the style and content of your generations. Multiple IP Adapters can be used simultaneously.
outpaintIOutpaint[]: (Optional)Extends the image boundaries in specified directions. When using outpainting, you must provide the final dimensions using width and height parameters, which should account for the original image size plus the total extension (seedImage dimensions + top + bottom, left + right).
controlNetIControlNet[]: (Optional)With ControlNet, you can provide a guide image to help the model generate images that align with the desired structure.
onPartialImagesfunction: (Optional)If you want to receive the images as they are generated instead of waiting for the async request, you get the images as they are generated from this function.
includeCostboolean (Optional)If set to true, the cost to perform the task will be included in the response object.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.
ControlNet Params
ParameterTypeUse
modelstringDefines the model to use for the control net.
guideImagefile or string (Optional)The image requires for the guide image. It can be the UUID of previously generated image, or an image from a file.
weightnumber (Optional)an have values between 0 and 1 and represent the weight of the ControlNet preprocessor in the image.
startStepnumber (Optional)represents the moment in which the ControlNet preprocessor starts to control the inference. It can take values from 0 to the maximum number of steps in the image create request. This can also be replaced with startStepPercentage (float) which represents the same value but in percentages. It takes values from 0 to 1.
startStepPercentagenumber (Optional)Represents the percentage of steps in which the ControlNet model starts to control the inference process.
endStepnumber (Optional)similar with startStep but represents the end of the preprocessor control of the image inference. The equivalent of the percentage option is endStepPercentage (float).
endStepPercentagenumber (Optional)Represents the percentage of steps in which the ControlNet model ends to control the inference process.
controlModestring (Optional)This parameter has 3 options: prompt, controlnet and balanced

 

Request Image To Text

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });
const imageToText = await runware.requestImageToText({
	inputImage: string | File
})
console.log(imageToText)

return interface IImageToText {
  taskType: string;
  taskUUID: string;
  text: string;
  cost?: number;
}
ParameterTypeUse
inputImagestring or FileThe image to be used as the seed image. It can be the UUID of previously generated image, or an image from a file.
includeCostboolean (Optional)If set to true, the cost to perform the task will be included in the response object.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.

 

Remove Image Background

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });
const image = await runware.removeImageBackground({
	inputImage: string | File
	outputType?: IOutputType;
	outputFormat?: IOutputFormat;
	rgba?: number[];
	postProcessMask?: boolean;
	returnOnlyMask?: boolean;
	alphaMatting?: boolean;
	alphaMattingForegroundThreshold?: number;
	alphaMattingBackgroundThreshold?: number;
	alphaMattingErodeSize?: number;
})
console.log(image)
return interface IImage {
	taskType: ETaskType;
	taskUUID: string;
	imageUUID: string;
	inputImageUUID: string;
	imageURL?: string;
	imageBase64Data?: string;
	imageDataURI?: string;
	cost: number;
}
ParameterTypeUse
inputImagestring or FileThe image to be used as the seed image. It can be the UUID of previously generated image, or an image from a file.
outputTypeIOutputType: (Optional)Specifies the output type in which the image is returned.
outputFormatIOutputFormat: (Optional)Specifies the format of the output image.
includeCostboolean (Optional)If set to true, the cost to perform the task will be included in the response object.
rgbanumber[] (Optional)An array representing the [red, green, blue, alpha] values that define the color of the removed background. The alpha channel controls transparency.
postProcessMaskboolean (Optional)Flag indicating whether to post-process the mask. Controls whether the mask should undergo additional post-processing.
returnOnlyMaskboolean (Optional)Flag indicating whether to return only the mask. The mask is the opposite of the image background removal.
alphaMattingboolean (Optional)Flag indicating whether to use alpha matting. Alpha matting is a post-processing technique that enhances the quality of the output by refining the edges of the foreground object.
alphaMattingForegroundThresholdnumber (Optional)Threshold value used in alpha matting to distinguish the foreground from the background. Adjusting this parameter affects the sharpness and accuracy of the foreground object edges.
alphaMattingBackgroundThresholdnumber (Optional)Threshold value used in alpha matting to refine the background areas. It influences how aggressively the algorithm removes the background while preserving image details.
alphaMattingErodeSizenumber (Optional)Specifies the size of the erosion operation used in alpha matting. Erosion helps in smoothing the edges of the foreground object for a cleaner removal of the background.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.

 

Upscale Image

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });
const image = await runware.upscaleGan({
	inputImage: File | string;
	upscaleFactor: number;
	outputType?: IOutputType;
	outputFormat?: IOutputFormat;
	includeCost?: boolean
})
console.log(image)
return interface IImage {
	taskType: ETaskType;
	imageUUID: string;
	inputImageUUID?: string;
	taskUUID: string;
	imageURL?: string;
	imageBase64Data?: string;
	imageDataURI?: string;
	NSFWContent?: boolean;
	cost: number;
}

ParameterTypeUse
inputImagestring or FileThe image to be used as the seed image. It can be the UUID of previously generated image, or an image from a file.
upscaleFactornumberThe number of times to upscale;
outputTypeIOutputType: (Optional)Specifies the output type in which the image is returned.
outputFormatIOutputFormat: (Optional)Specifies the format of the output image.
includeCostboolean (Optional)If set to true, the cost to perform the task will be included in the response object.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.

 

Enhance Prompt

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });
const enhancedPrompt = await runware.enhancePrompt({
	prompt: string;
	promptMaxLength?: number;
	promptVersions?: number;
	includeCost?: boolean;
})
console.log(enhancedPrompt)
return interface IEnhancedPrompt {
	taskUUID: string;
	text: string;
}

ParameterTypeUse
promptstringThe prompt that you intend to enhance.
promptMaxLengthnumber: OptionalCharacter count. Represents the maximum length of the prompt that you intend to receive. Can take values between 1 and 380.
promptVersionsnumber: OptionalThe number of prompt versions that will be received. Can take values between 1 and 5.
includeCostboolean: OptionalIf set to true, the cost to perform the task will be included in the response object.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.

 

ControlNet Preprocess

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });
const controlNetPreProcessed = await runware.controlNetPreProcess({
	inputImage: string | File;
	preProcessorType: EPreProcessor;
	height?: number;
	width?: number;
	outputType?: IOutputType;
	outputFormat?: IOutputFormat;
	highThresholdCanny?: number;
	lowThresholdCanny?: number;
	includeHandsAndFaceOpenPose?: boolean;
})
console.log(controlNetPreProcessed)
return interface IControlNetImage {
	taskUUID: string;
	inputImageUUID: string;
	guideImageUUID: string;
	guideImageURL?: string;
	guideImageBase64Data?: string;
	guideImageDataURI?: string;
	cost: number;
}

ParameterTypeUse
inputImagestring or FileSpecifies the input image to be preprocessed to generate a guide image.
widthnumberControls the image width.
heightnumberControls the image height.
outputTypeIOutputType: (Optional)Specifies the output type in which the image is returned.
outputFormatIOutputFormat: (Optional)Specifies the format of the output image.
preProcessorTypestring: (Optional)Specifies the pre processor type to use.
includeCostboolean: OptionalIf set to true, the cost to perform the task will be included in the response object.
lowThresholdCannynumber OptionalDefines the lower threshold when using the Canny edge detection preprocessor.
highThresholdCannynumber OptionalDefines the high threshold when using the Canny edge detection preprocessor.
includeHandsAndFaceOpenPoseboolean OptionalInclude the hands and face in the pose outline when using the OpenPose preprocessor.
retrynumber (default = globalMaxRetries)The number of retries it should make before throwing an error.

 

Model Upload

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });

const basePayload = {
	air: string;
	name: string;
	downloadURL: string;
	uniqueIdentifier: string;
	version: string;
	format: EModelFormat;
	architecture: EModelArchitecture;
	heroImageURL?: string;
	tags?: string[];
	shortDescription?: string;
	comment?: string;
	private: boolean;
	customTaskUUID?: string;
	retry?: number;
	onUploadStream?: (
		response?: IAddModelResponse,
		error?: IErrorResponse
	) => void;
}

const controlNetUpload = await runware.modelUpload({
	...basePayload,
  	category: "controlnet";
 	conditioning: EModelConditioning;
})
console.log(controlNetUpload)

const checkpointUpload = await runware.modelUpload({
	...basePayload,
  	category: "checkpoint";
 	positiveTriggerWords?: string;
	defaultCFGScale?: number;
	defaultStrength: number;
	defaultSteps?: number;
	defaultScheduler?: number;
	type?: EModelType;
})
console.log(checkpointUpload)

const loraUpload = await runware.modelUpload({
	...basePayload,
  	category: "lora";
 	defaultWeight: number;
  	positiveTriggerWords?: string;
})

console.log(loraUpload)

return interface IAddModelResponse {
  status: string;
  message: string;
  taskUUID: string;
  air: string;
  taskType: string;
}

export interface IErrorResponse {
  code: string;
  message: string;
  parameter: string;
  type: string;
  documentation: string;
  taskUUID: string;
}

 

Photo Maker

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });

const photoMaker = await runware.photoMaker({
	positivePrompt: string;
	height: number;
	width: number;
	numberResults: number;
	steps?: number;
	inputImages: string[];
	style: EPhotoMakerEnum;
	strength?: number;
	outputFormat?: string;
	includeCost?: boolean;

	customTaskUUID?: string;
	retry?: number;
	onPartialImages?: (images: IImage[], error?: IError) => void
})
console.log(photoMaker)

export interface IImage {
	taskType: ETaskType;
	imageUUID: string;
	inputImageUUID?: string;
	taskUUID: string;
	imageURL?: string;
	imageBase64Data?: string;
	imageDataURI?: string;
	NSFWContent?: boolean;
	cost?: number;
	seed?: number;
}

 


const  runware  =  new Runware({ apiKey: "API_KEY" });

const modelSearch = await runware.modelSearch({
	search: string;
	tags?: string[];
	category?: "checkpoint" | "lora" | "controlnet";
	architecture?: EModelArchitecture;
	limit?: number;
	offset?: number;
	owned?: boolean;
	featured: boolean;
	type: string;
	conditioning: string;
	private: boolean;
	customTaskUUID?: string;
	retry?: number;
})
console.log(modelSearch)

export type TModelSearchResponse = {
  results: TModel[];
  taskUUID: string;
  taskType: string;
  totalResults: number;
};

export type TModel = {
  name: string;
  air: string;
  downloadUrl: string;
  tags: string[];
  heroImage: string;
  category: string;
  floatingPoint: string;
  private: boolean;
  shortDescription: string;
  comment: string;
  positiveTriggerWords: string;
  defaultSteps: number;
  defaultGuidanceScale: number;
  defaultStrength: number;
  defaultVaeId: number;
  updatedDateUnixTimestamp: number;
  version: string;
  conditioning: string;
  defaultScheduler: string;
  defaultCFG: number;
  format: string;
  uniqueIdentifier: string;
  architecture: string;
  type: string;
  nsfw: boolean;
  sourceUrl: string;
  downloadCount: number;
  nsfwLevel: number;
  rating: number;
  ratingCount: number;
  thumbsUpCount: number;
  thumbsDownCount: number;
  defaultEmaEnable: boolean;
  defaultImageSizeId: string;
  compatibleSizeIds: number[];
};


 

Image Masking

Read Documentation


const  runware  =  new Runware({ apiKey: "API_KEY" });

const imageMasking = await runware.imageMask({
  model: string;
  inputImage: string;
  confidence?: number;
  maskPadding?: number;
  maskBlur?: number;
  outputFormat?: string;
  outputType?: string;
  includeCost?: boolean;
  uploadEndpoint?: string;
  customTaskUUID?: string;
  retry?: number;
})
console.log(imageMasking)

export type TImageMaskingResponse = {
  taskType: string;
  taskUUID: string;
  imageUUID: string;

  detections: [
    {
      x_min: number;
      y_min: number;
      x_max: number;
      y_max: number;
    }
  ];
  maskImageURL: string;
  cost: number;
};



 

Demo

Demo.

Changelog

- v1.1.44

Added or Changed

  • Added providerSettings

- v1.1.42

Added or Changed

  • Allow image inference to take more dynamic params
  • Fix video output type

- v1.1.42

Added or Changed

  • Release video inference

- v1.1.40

Added or Changed

  • Add Reference images

- v1.1.39

Added or Changed

  • Added Accelerator options (Teachace, Deepcache) and layerDiffuse

- v1.1.38

Added or Changed

  • Update bg removal payloads

- v1.1.37

Added or Changed

  • Add outpainint
  • Extend photomaker payloads

- v1.1.36

Added or Changed

  • Handle Server error and invalid api key error correctly.
  • Add ip adapter and embeddings.

- v1.1.35

Added or Changed

  • Include outputQuality in request payload for requestImages, upscaleGan, removeImageBackground, controlNetPreProcess, photoMaker and imageMasking

- v1.1.34

Added or Changed

  • Limit seed to Number.MAX_SAFE_INTEGER

- v1.1.33

Added or Changed

  • Update types

- v1.1.32

Added or Changed

  • Update TModel response

- v1.1.31

Added or Changed

  • Remove hardcoded extra parameters
  • Add optional parameters in TModel

- v1.1.30

Added or Changed

  • Fix error bubbling for request images filtering by taskUUID
  • Fix multiple instance of retrying connection

- v1.1.29

Added or Changed

  • Add backdoor for request images

- v1.1.28

Added or Changed

  • Add prompt weighting to request image

- v1.1.27

Added or Changed

  • Fix default schedular from number to string

- v1.1.26

Added or Changed

  • Fix require import

- v1.1.25

Added or Changed

  • Add maxDetections to image masking

- v1.1.24

Added or Changed

  • Add mask margin

- v1.1.23

Added or Changed

  • Fix checkNSFW

- v1.1.22

Added or Changed

  • Add negative prompt to photoMaker
  • Fix seed type in IImage

- v1.1.21

Added or Changed

  • Add Model Search
  • Add Image Masking

- v1.1.20

Added or Changed

  • Add Model Upload
  • Add Photo Maker
  • Add Refiner

- v1.1.19

Added or Changed

  • Fix Preprocessor type bug for controlnet
  • Update readme

- v1.1.18

Added or Changed

  • Add Global Max Retry and Retry count per request
  • Add Global timeout duration
  • Introduce asynchronous instantiation

- v1.1.16/v1.1.17

Added or Changed

  • Add reconnection to server on close

- v1.1.14/v1.1.15

Added or Changed

  • Fix incorrect response

- v1.1.13

Added or Changed

  • Fix image upload

- v1.1.12

Added or Changed

  • Fix imageUpscale and backgroundRemoval wrong response

- v1.1.11

Added or Changed

  • Automatically detect environment with Runware class
  • Fix invalid input image not returning server errors

- v1.1.10

Added or Changed

  • Add disconnect method

- v1.1.9

Added or Changed

  • Fix partial images not including prompt

- v1.1.8

Added or Changed

  • Fix image generation error

- v1.1.7

Added or Changed

  • Fix slow connection time
  • Fix invalid api key error message
  • Return prompt for images generated

- v1.1.6

Added or Changed

  • Add connection retry to runware server

- v1.1.5

Added or Changed

  • Added Custom UUID

- v1.1.3/4

Added or Changed

  • Reduce connection time

- v1.1.2

Added or Changed

  • Retry connection for server side

- v1.1.1

Added or Changed

  • Upgraded WS
  • Fix delay time

- v1.1.0

Added or Changed

  • Refactor Sdk to new runware api changes

- v1.0.29/v1.0.30

Added or Changed

  • Added prompt weighting

- v1.0.28

Added or Changed

  • Added cost to response.
  • Added returnBase64Image as part of request object.

- v1.0.27

Added or Changed

  • Refactor websocket listeners
  • Allow users to make parallel requests

- v1.0.26

Added or Changed

  • Validate valid UUID as image initiator

- v1.0.25

Added or Changed

  • Add Buffer utils necessary for server ws
  • Return images generated if timeout reached
  • Added support for LoRA
  • Added support for seed

- v1.0.24

Added or Changed

  • Introduce retry for missing images
  • Increase Polling time

- v1.0.23

Added or Changed

  • Fixed Upscalegan to allow imageUUID

- v1.0.22

Added or Changed

  • Fixed bugs

- v1.0.21

Added or Changed

  • Add control mode to control net

- v1.0.20

Added or Changed

  • Ensure connection for non instantiated instance

- v1.0.19

Added or Changed

  • Allow server sdk to reconnect on connection loss
  • Prevent duplicate message in server sdk
  • Modify connected method
  • Reduced polling interval

- v1.0.18

Added or Changed

  • Exposed `connected`` method

- v1.0.17

Added or Changed

  • Minor Fixes

- v1.0.16

Added or Changed

  • Added Release Notes

- v1.0.15

Added or Changed

  • Added Server implementation (Nodejs)
  • Added Errors catching

Contributing

Credits

Resources

API Docs

Keywords

runware

FAQs

Package last updated on 06 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.