Skip to content

Commit 9196951

Browse files
authored
Remove usage of deprecated constants. (flutter#20)
1 parent 3af5422 commit 9196951

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.8
2+
3+
* Remove use of deprecated constant name.
4+
15
## 1.0.7
26

37
* Support the latest dev SDK.

lib/src/channel.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class WebSocketChannel extends StreamChannelMixin {
6565
static String signKey(String key) {
6666
// We use [codeUnits] here rather than UTF-8-decoding the string because
6767
// [key] is expected to be base64 encoded, and so will be pure ASCII.
68-
return convert.BASE64
68+
return convert.base64
6969
.encode(sha1.convert((key + webSocketGUID).codeUnits).bytes);
7070
}
7171

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: web_socket_channel
2-
version: 1.0.7
2+
version: 1.0.8
33
description: StreamChannel wrappers for WebSockets.
44
author: Dart Team <[email protected]>
55
homepage: https://github.com/dart-lang/web_socket_channel

0 commit comments

Comments
 (0)