SignalWire Browser SDK

View as MarkdownOpen in Claude

Reference for the SignalWire Browser SDK — every class, error, function, interface, and type the SDK exports. If you’re new to the SDK, start with the Overview or jump straight to SignalWire, the top-level client that owns the WebSocket session and produces every other entity in the SDK.

The reference is organized by surface area. Classes are the things you interact with — the client, an active call, a participant, the directory. Functions are top-level helpers for logging, embeddable integrations, and type narrowing. Errors are the typed exceptions the SDK throws so you can branch on them with instanceof. Most stateful values are exposed in two complementary forms — a snapshot getter (audioMuted) and an observable suffixed with $ (audioMuted$) for reactive UI binding.

Install

$npm install @signalwire/js@latest rxjs

RxJS is a peer dependency — the SDK uses observables for all reactive state. See the RxJS Primer.

Classes

Credential Providers

Errors

Functions

Variables

ready

1const ready: boolean = true

Flag indicating the library has been loaded and is ready to use. For UMD builds: window.SignalWire.ready. For ES modules: import { ready } from '@signalwire/js'.

version

1const version: string = __VERSION__

Library version from package.json, injected at build time.