# @polkadot-api/ws-middleware

Latest version **0.4.1** (published 2026-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @polkadot-api/ws-middleware
pnpm add @polkadot-api/ws-middleware
yarn add @polkadot-api/ws-middleware
bun add @polkadot-api/ws-middleware
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.1 |
| Published | 2026-09-01 |
| First published | 2025-10-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 206.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 156 |
| Author | Josep M Sobrepere (https://github.com/josepot) |
| Maintainers | voliva, josepot |

## Links

- npm: https://www.npmjs.com/package/@polkadot-api/ws-middleware
- Repository: https://github.com/polkadot-api/polkadot-api
- npm.io page: https://npm.io/package/@polkadot-api/ws-middleware

## Dependencies (5)

- [@polkadot-api/utils](https://npm.io/package/@polkadot-api/utils.md) 0.4.0
- [@polkadot-api/raw-client](https://npm.io/package/@polkadot-api/raw-client.md) 0.3.0
- [@polkadot-api/json-rpc-provider](https://npm.io/package/@polkadot-api/json-rpc-provider.md) 0.2.0
- [@polkadot-api/substrate-bindings](https://npm.io/package/@polkadot-api/substrate-bindings.md) 0.21.1
- [@polkadot-api/json-rpc-provider-proxy](https://npm.io/package/@polkadot-api/json-rpc-provider-proxy.md) 0.4.1

## Recent versions

- 0.4.1 (latest) — 2026-09-01
- 0.4.2-canary.49bdaa9 (canary) — 2026-09-01
- 0.3.7-rc.1 (rc) — 2026-07-20
- 0.4.2-canary.786fa29 — 2026-09-01
- 0.4.1-canary.2bce46a — 2026-08-20
- 0.4.1-canary.e24aebd — 2026-08-20
- 0.4.0 — 2026-08-18
- 0.4.1-canary.d8b2d3d — 2026-08-18
- 0.3.8-canary.8c00f44 — 2026-08-17
- 0.3.8-canary.57eb571 — 2026-07-29
- 0.3.8-canary.996069a — 2026-07-29
- 0.3.8-canary.7f105ae — 2026-07-28
- 0.3.8-canary.9390531 — 2026-07-20
- 0.3.6 — 2026-07-20
- 0.3.7-canary.22b1f2b — 2026-07-20
- … 105 more at https://npm.io/package/@polkadot-api/ws-middleware/versions

## README

# @polkadot-api/ws-middleware

---
_Source: https://npm.io/package/@polkadot-api/ws-middleware · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
