diff --git a/README.md b/README.md index 6f76ae1..6df7fcb 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/Runtime/BrowserSocket.jslib b/Runtime/BrowserSocket.jslib index 78d0b4a..90fa796 100644 --- a/Runtime/BrowserSocket.jslib +++ b/Runtime/BrowserSocket.jslib @@ -1,4 +1,4 @@ -const library = { +const browserSocketLibrary = { // Class definition. @@ -94,5 +94,5 @@ const library = { }, }; -autoAddDeps(library, '$browserSocket'); -mergeInto(LibraryManager.library, library); +autoAddDeps(browserSocketLibrary, '$browserSocket'); +mergeInto(LibraryManager.library, browserSocketLibrary); diff --git a/package.json b/package.json index 1008aa7..a3503fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.bananaparty.websocketclient", - "version": "1.1.0", + "version": "1.1.1", "type": "library", "displayName": "WebSocket Client", "unity": "2021.2",