Skip to content

Commit

Permalink
Merge branch 'master' into web_socket_adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Apr 4, 2024
2 parents a71f3ff + ced3a37 commit 7ef950e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
## 2.5.0
## 3.0.0-wip

- Provide an adapter around `package:web_socket` `WebSocket`s.

## 2.4.5

- use secure random number generator for frame masking.

## 2.4.4

* Require Dart `^3.3`
* Require `package:web` `^0.5.0`.
- Require Dart `^3.3`
- Require `package:web` `^0.5.0`.

## 2.4.3

Expand Down
2 changes: 1 addition & 1 deletion lib/src/copy/web_socket_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import 'web_socket.dart';

const String webSocketGUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';

final _random = Random();
final _random = Random.secure();

// Matches _WebSocketOpcode.
class _WebSocketMessageType {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: web_socket_channel
version: 2.5.0-wip
version: 3.0.0-wip
description: >-
StreamChannel wrappers for WebSockets. Provides a cross-platform
WebSocketChannel API, a cross-platform implementation of that API that
Expand Down

0 comments on commit 7ef950e

Please sign in to comment.