Skip to content

Commit

Permalink
release 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OnestarLee committed Nov 4, 2024
1 parent 6c9ff8f commit 441d639
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 4.0.1 (Nov 4, 2024)
### Features
- Fixed an issue where builds failed on the Windows platform

## 4.0.0 (Sep 25, 2024)
### Features
- Added support for WebGL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_WEBGL && !UNITY_EDITOR
using System.Collections.Generic;
using System.Runtime.InteropServices;

Expand Down Expand Up @@ -122,4 +123,6 @@ internal static void Close(int inClientId)
CloseByNative(inClientId);
}
}
}
}

#endif //#if UNITY_WEBGL && !UNITY_EDITOR
5 changes: 4 additions & 1 deletion Runtime/Scripts/UnityPlatform/JsWebSocket/JsWebSocket.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if UNITY_WEBGL && !UNITY_EDITOR
using System;
using System.Net;

Expand Down Expand Up @@ -154,4 +155,6 @@ internal void OnWebSocketClosed()
}
}
}
}
}

#endif // #if UNITY_WEBGL && !UNITY_EDITOR
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
//
// Copyright (c) 2022 Sendbird, Inc.
//

#if UNITY_WEBGL && !UNITY_EDITOR
namespace Sendbird.Chat
{
internal enum JsWebSocketStateType
Expand All @@ -13,3 +10,5 @@ internal enum JsWebSocketStateType
Closed,
}
}

#endif //#if UNITY_WEBGL && !UNITY_EDITOR
2 changes: 1 addition & 1 deletion Runtime/Scripts/UnityPlatform/UnityPlatformApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Sendbird.Chat
{
internal class UnityPlatformApplication : IPlatformApplication
{
string IPlatformApplication.SdkVersion => "4.0.0";
string IPlatformApplication.SdkVersion => "4.0.1";
string IPlatformApplication.PlatformName => "Unity";
string IPlatformApplication.PlatformVersion => Application.unityVersion;
string IPlatformApplication.OsName => Application.platform.ToString();
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.sendbird.chat",
"displayName": "SendbirdChat",
"version": "4.0.0",
"version": "4.0.1",
"documentationUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity",
"changelogUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/CHANGELOG.md",
"licensesUrl": "https://github.com/sendbird/sendbird-chat-sdk-unity/blob/master/LICENSE.md",
Expand Down

0 comments on commit 441d639

Please sign in to comment.