File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.0-beta.2
2
+
3
+ ** Bug fix:**
4
+
5
+ * [ #140 ] ( https://github.com/rikulo/socket.io-client-dart/issues/140 ) getting Error on emitWithAck() in v2 beta
6
+
1
7
## 2.0.0-beta.1
2
8
3
9
** New Feature:**
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ class Socket extends EventEmitter {
302
302
/// @param {Object} packet
303
303
/// @api private
304
304
void onack (Map packet) {
305
- var ack = acks.remove (packet['id' ]);
305
+ var ack = acks.remove ('${ packet ['id' ]}' );
306
306
if (ack is Function ) {
307
307
_logger.fine ('''calling ack ${packet ['id' ]} with ${packet ['data' ]}''' );
308
308
Original file line number Diff line number Diff line change 1
1
name : socket_io_client
2
2
description : Dartlang port of socket.io-client for web, flutter, dartvm to use
3
- version : 2.0.0-beta.1
3
+ version : 2.0.0-beta.2
4
4
homepage : https://www.zkoss.org
5
5
repository : https://github.com/rikulo/socket.io-client-dart
6
6
issue_tracker : https://github.com/rikulo/socket.io-client-dart/issues
@@ -10,7 +10,7 @@ environment:
10
10
11
11
dependencies :
12
12
logging : ^0.11.3+2
13
- socket_io_common : ^2.0.0-beta.0
13
+ socket_io_common : ^2.0.0-beta.1
14
14
15
15
dev_dependencies :
16
16
test : " >=1.3.0 <2.0.0"
You can’t perform that action at this time.
0 commit comments