4.3.0 (2021-10-14)
An ESM bundle is now provided:
<script type="module">
import { io } from "https://cdn.socket.io/4.3.0/socket.io.esm.min.js";
const socket = io();
socket.emit("hello", "world");
</script>
Features
- typings: add missing types for some emitter methods (#1502) (a9e5b85)
- provide an ESM build with and without debug (16b6569)
- migrate to rollup (0661564)