Skip to content

Commit 7e7494f

Browse files
committed
release 0.9.2
1 parent a8c07e3 commit 7e7494f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ If you are new to Git or GitHub, please read [this guide](https://help.github.co
5858

5959

6060
## Contributors
61-
* Thanks [@felangel](https://github.com/felangel) for https://github.com/rikulo/socket.io-client-dart/issues/7
61+
* Thanks [@felangel](https://github.com/felangel) for https://github.com/rikulo/socket.io-client-dart/issues/7
62+
* Thanks [@Oskang09](https://github.com/Oskang09) for https://github.com/rikulo/socket.io-client-dart/issues/21

lib/src/socket.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class Socket extends EventEmitter {
150150
List sendData = [event];
151151
if (data is Iterable) {
152152
sendData.addAll(data);
153-
} else {
153+
} else if (data != null) {
154154
sendData.add(data);
155155
}
156156

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: socket_io_client
22
description: Dartlang port of socket.io-client
3-
version: 0.9.1
3+
version: 0.9.2
44
author: jumperchen <[email protected]>
55
homepage: https://www.zkoss.org
66

0 commit comments

Comments
 (0)