diff --git a/CHANGELOG.md b/CHANGELOG.md index 127ab4c..5b18cf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.1 + +**Bug fix:** + +* [socket.io-client-dart#214](https://github.com/rikulo/socket.io-client-dart/issues/214) 1.0.1 _placeholder binary data isn't received correctly + ## 1.0.0 **Features:** diff --git a/README.md b/README.md index ac7e1f2..114d76c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # socket_io_common Socket.io common parser library for Dart 2 + +## Contributors +- Thanks [@Curvel](https://github.com/Curvel) for https://github.com/rikulo/socket_io_common/pull/4 diff --git a/lib/src/engine/parser/parser.dart b/lib/src/engine/parser/parser.dart index 6dd1530..e21b082 100644 --- a/lib/src/engine/parser/parser.dart +++ b/lib/src/engine/parser/parser.dart @@ -45,7 +45,7 @@ const Map PacketTypeMap = const { class PacketParser { static const ERROR = const {'type': 'error', 'data': 'parser error'}; static String? encodePacket(Map packet, - {dynamic? supportsBinary, + {dynamic supportsBinary, utf8encode = false, required callback(_), bool fromClient = false}) { diff --git a/pubspec.yaml b/pubspec.yaml index 70a606a..c4f68d5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: socket_io_common description: Socket.io common parser library. -version: 1.0.0 +version: 1.0.1 homepage: https://www.zkoss.org repository: https://github.com/rikulo/socket_io_common issue_tracker: https://github.com/rikulo/socket_io_common/issues