Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realtime_client wasm support #1080

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/realtime_client/lib/src/websocket/websocket.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export 'websocket_stub.dart'
if (dart.library.io) 'websocket_io.dart'
if (dart.library.html) 'websocket_web.dart';
if (dart.library.js_interop) 'websocket_web.dart';
2 changes: 1 addition & 1 deletion packages/realtime_client/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
http: '>=0.13.0 <2.0.0'
logging: ^1.2.0
meta: ^1.7.0
web_socket_channel: '>=2.3.0 <4.0.0'
web_socket_channel: '>=3.0.1 <4.0.0'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change, so we can't do that, but if you use both if imports for js_interop and html this should still work, right?


dev_dependencies:
lints: ^3.0.0
Expand Down
Loading