diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d1137a..6d711df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.2 + +**New Feature:** + +* [#237](https://github.com/rikulo/socket.io-client-dart/pull/237) Allow sending an ack with multiple data items (making it consistent with emit) + ## 1.0.1 **Bug fix:** diff --git a/README.md b/README.md index b4369b5..acd9e8d 100644 --- a/README.md +++ b/README.md @@ -283,3 +283,4 @@ If you are new to Git or GitHub, please read [this guide](https://help.github.co - Thanks [@Kavantix](https://github.com/Kavantix) for https://github.com/rikulo/socket.io-client-dart/issues/26 - Thanks [@luandnguyen](https://github.com/luandnguyen) for https://github.com/rikulo/socket.io-client-dart/issues/59 - Thanks [@fzyzcjy](https://github.com/fzyzcjy) for https://github.com/rikulo/socket.io-client-dart/pull/188 +- Thanks [@chatziko](https://github.com/chatziko) for https://github.com/rikulo/socket.io-client-dart/pull/237 diff --git a/lib/src/socket.dart b/lib/src/socket.dart index 1e1e15f..a147e30 100644 --- a/lib/src/socket.dart +++ b/lib/src/socket.dart @@ -295,11 +295,7 @@ class Socket extends EventEmitter { sendData.add(data); } - packet({ - 'type': ACK, - 'id': id, - 'data': sendData - }); + packet({'type': ACK, 'id': id, 'data': sendData}); }; } diff --git a/pubspec.yaml b/pubspec.yaml index ac4d0a1..a06fb7b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: socket_io_client description: Dartlang port of socket.io-client for web, flutter, dartvm to use -version: 1.0.1 +version: 1.0.2 homepage: https://www.zkoss.org repository: https://github.com/rikulo/socket.io-client-dart issue_tracker: https://github.com/rikulo/socket.io-client-dart/issues