Skip to content

Commit

Permalink
Fix Unity 6 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
forcepusher committed Oct 30, 2024
1 parent a307783 commit 24b8f00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Supports secure `wss://` connections out of the box.
Make sure you have standalone [Git](https://git-scm.com/downloads) installed first. Reboot after installation.
In Unity, open "Window" -> "Package Manager".
Click the "+" sign at the top left corner -> "Add package from git URL..."
Paste this: `https://github.com/forcepusher/com.bananaparty.websocketclient.git#1.1.0`
Paste this: `https://github.com/forcepusher/com.bananaparty.websocketclient.git#1.1.1`
See minimum required Unity version in the `package.json` file.
6 changes: 3 additions & 3 deletions Runtime/BrowserSocket.jslib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const library = {
const browserSocketLibrary = {

// Class definition.

Expand Down Expand Up @@ -94,5 +94,5 @@ const library = {
},
};

autoAddDeps(library, '$browserSocket');
mergeInto(LibraryManager.library, library);
autoAddDeps(browserSocketLibrary, '$browserSocket');
mergeInto(LibraryManager.library, browserSocketLibrary);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.bananaparty.websocketclient",
"version": "1.1.0",
"version": "1.1.1",
"type": "library",
"displayName": "WebSocket Client",
"unity": "2021.2",
Expand Down

0 comments on commit 24b8f00

Please sign in to comment.