File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.1
2
+
3
+ - Update to ` package:uuid ` version 2.0.
4
+
1
5
## 2.0.0
2
6
3
7
- No longer expose ` close ` and ` onClose ` on an ` SseConnection ` . This is simply
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class SseClient extends StreamChannelMixin<String> {
31
31
/// [serverUrl] is the URL under which the server is listening for
32
32
/// incoming bi-directional SSE connections.
33
33
SseClient (String serverUrl) {
34
- var clientId = '${ Uuid ().v1 ()}' ;
34
+ var clientId = Uuid ().v1 ();
35
35
_eventSource = new EventSource ('$serverUrl ?sseClientId=$clientId ' ,
36
36
withCredentials: true );
37
37
_serverUrl = '$serverUrl ?sseClientId=$clientId ' ;
Original file line number Diff line number Diff line change 1
1
name : sse
2
- version : 2.0.0
2
+ version : 2.0.1
3
3
author :
Dart Team <[email protected] >
4
4
homepage : https://github.com/dart-lang/sse
5
5
description : >-
@@ -17,7 +17,7 @@ dependencies:
17
17
pedantic : ^1.4.0
18
18
stream_channel : ^1.6.8
19
19
shelf : ^0.7.4
20
- uuid : ^1 .0.3
20
+ uuid : ^2 .0.0
21
21
22
22
dev_dependencies :
23
23
shelf_static : ^0.2.8
You can’t perform that action at this time.
0 commit comments