Skip to content

Commit

Permalink
Support latest pkg:web, prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jul 16, 2024
1 parent 8e95ea7 commit 8b7a31b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 3.0.1-wip
## 3.0.1

- Remove unnecessary `dependency_overrides`.
- Remove obsolete documentation for `WebSocketChannel.new`.
- Update package `web: '>=0.5.0 <2.0.0'`.

## 3.0.0

Expand Down
4 changes: 2 additions & 2 deletions lib/adapter_web_socket_channel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ class AdapterWebSocketChannel extends StreamChannelMixin
/// The close code set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
int? _localCloseCode;

/// The close reason set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
String? _localCloseReason;

/// Completer for [ready].
Expand Down
4 changes: 2 additions & 2 deletions lib/html.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ class HtmlWebSocketChannel extends StreamChannelMixin
/// The close code set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
int? _localCloseCode;

/// The close reason set by the local user.
///
/// To ensure proper ordering, this is stored until we get a done event on
/// [_controller.local.stream].
/// [StreamChannelController.local]`.stream`.
String? _localCloseReason;

/// Completer for [ready].
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: web_socket_channel
version: 3.0.1-wip
version: 3.0.1
description: >-
StreamChannel wrappers for WebSockets. Provides a cross-platform
WebSocketChannel API, a cross-platform implementation of that API that
Expand All @@ -13,7 +13,7 @@ dependencies:
async: ^2.5.0
crypto: ^3.0.0
stream_channel: ^2.1.0
web: ^0.5.0
web: '>=0.5.0 <2.0.0'
web_socket: ^0.1.5

dev_dependencies:
Expand Down

0 comments on commit 8b7a31b

Please sign in to comment.