* Align x-randomvalues with webCrypto * Deno export from browser * export * for x-ws * export * from RN * CHANGELOG
@polkadot/x-ws
A cross-environment WebSocket.
Install it via yarn add @polkadot/x-ws
import { WebSocket } from '@polkadot/x-ws';
...
const ws = new WebSocket('wss://example.com');