felangel / web_socket_client

A simple WebSocket client for Dart which includes automatic reconnection logic.
https://pub.dev/packages/web_socket_client
MIT License
150 stars 32 forks source link

fix: migrate to `package:web` #33

Closed mytja closed 7 months ago

mytja commented 8 months ago

Status

READY

Description

As of version 2.4.1, package:web_socket_channel doesn't rely on dart:html anymore. Instead, they are using package:web, which allows them to add WebAssembly support. As this library relies on package:web_socket_channel, their change breaks this library. This PR migrates over to package:web, which fixes the library and adds WASM support.

Type of Change

mytja commented 8 months ago

I've changed the PR name to follow semantic guidelines, but it seems as if I cannot restart the failed pipeline. I don't want to add unnecessary commits :sweat_smile: