Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Dec 1, 2020
1 parent 33c77ad commit 071f4e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.0-nullsafety.1

minor fix

## 1.0.0-nullsafety.0

**Features:**
Expand Down
2 changes: 1 addition & 1 deletion lib/src/engine/parser/parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Map<String, int> PacketTypeMap = const <String, int>{

class PacketParser {
static const ERROR = const {'type': 'error', 'data': 'parser error'};
static String encodePacket(Map packet,
static String? encodePacket(Map packet,
{dynamic? supportsBinary,
utf8encode = false,
required callback(_),
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: socket_io_common
description: Socket.io common parser library.
version: 1.0.0-nullsafety.0
author: jumperchen <jumperchen@potix.com>
version: 1.0.0-nullsafety.1
homepage: https://www.zkoss.org
repository: https://github.com/rikulo/socket_io_common
issue_tracker: https://github.com/rikulo/socket_io_common/issues
Expand Down

0 comments on commit 071f4e7

Please sign in to comment.