Skip to content

Commit

Permalink
v2.4.3
Browse files Browse the repository at this point in the history
- fix a fatal bug, Send Data Error
  • Loading branch information
yinlong committed Sep 18, 2020
1 parent 1ad58fb commit 4c58bbc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-lock.json
package-lock.json.meta
2 changes: 1 addition & 1 deletion Scripts/Runtime/Core/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public static class Settings
public const string QQ_GROUP_LINK = "https://qm.qq.com/cgi-bin/qm/qr?k=KcexYJ9aYwogFXbj2aN0XHH5b2G7ICmd";
public const string EMAIL = "[email protected]";
public const string AUHTOR = "psygame";
public const string VERSION = "2.4.2";
public const string VERSION = "2.4.3";
public const string PACKAGE_NAME = "com.psygame.unitywebsocket";
public const string UPM_URL = "https://github.com/psygame/UnityWebSocket.git";
}
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Runtime/Implementation/NoWebGL/WebSocket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ private SendBuffer SpawnBuffer(WebSocketMessageType type, byte[] bytes)
{
sendBuffer = new SendBuffer
{
type = WebSocketMessageType.Text,
type = type,
buffer = new ArraySegment<byte>(bytes),
};
return sendBuffer;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.psygame.unitywebsocket",
"displayName": "UnityWebSocket",
"version": "2.4.2",
"version": "2.4.3",
"unity": "2018.3",
"description": "The Best Unity WebSocket Plugin for All Platforms.",
"keywords": [
Expand Down

0 comments on commit 4c58bbc

Please sign in to comment.