Skip to content

Commit 95a3af2

Browse files
authored
Merge pull request dart-archive/sse#6 from dart-lang/uuid-2.0
update to uuid version 2.0
2 parents 6f92177 + ab6adf0 commit 95a3af2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

pkgs/sse/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.1
2+
3+
- Update to `package:uuid` version 2.0.
4+
15
## 2.0.0
26

37
- No longer expose `close` and `onClose` on an `SseConnection`. This is simply

pkgs/sse/lib/client/sse_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SseClient extends StreamChannelMixin<String> {
3131
/// [serverUrl] is the URL under which the server is listening for
3232
/// incoming bi-directional SSE connections.
3333
SseClient(String serverUrl) {
34-
var clientId = '${Uuid().v1()}';
34+
var clientId = Uuid().v1();
3535
_eventSource = new EventSource('$serverUrl?sseClientId=$clientId',
3636
withCredentials: true);
3737
_serverUrl = '$serverUrl?sseClientId=$clientId';

pkgs/sse/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sse
2-
version: 2.0.0
2+
version: 2.0.1
33
author: Dart Team <[email protected]>
44
homepage: https://github.com/dart-lang/sse
55
description: >-
@@ -17,7 +17,7 @@ dependencies:
1717
pedantic: ^1.4.0
1818
stream_channel: ^1.6.8
1919
shelf: ^0.7.4
20-
uuid: ^1.0.3
20+
uuid: ^2.0.0
2121

2222
dev_dependencies:
2323
shelf_static: ^0.2.8

0 commit comments

Comments
 (0)