diff --git a/CHANGELOG.md b/CHANGELOG.md index 415f26c..a389033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## In development +## 1.0.2 ### New API endpoints - Added `executeForOthers` and `executeForOtherGMs` that execute for all users/all GMs except the local client. diff --git a/module.json b/module.json index 276f89d..ee66373 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "socketlib", "title": "socketlib", "description": "A library for easier handling of foundry sockets", - "version": "1.0.1", + "version": "1.0.2", "minimumCoreVersion" : "0.7.9", "compatibleCoreVersion" : "0.8.1", "library": true, @@ -17,7 +17,7 @@ "src/socketlib.js" ], "url": "https://github.com/manuelVo/foundryvtt-socketlib", - "download": "https://github.com/manuelVo/foundryvtt-socketlib/archive/v1.0.1.zip", + "download": "https://github.com/manuelVo/foundryvtt-socketlib/archive/v1.0.2.zip", "manifest": "https://raw.githubusercontent.com/manuelVo/foundryvtt-socketlib/master/module.json", "readme": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/README.md", "changelog": "https://github.com/manuelVo/foundryvtt-socketlib/blob/master/CHANGELOG.md", diff --git a/src/socketlib.js b/src/socketlib.js index 6347395..b8fbe42 100644 --- a/src/socketlib.js +++ b/src/socketlib.js @@ -114,7 +114,7 @@ class SocketlibSocket { func(...args); } - async executeForAllOtherGMs(handler, ...args) { + async executeForOtherGMs(handler, ...args) { const [name, func] = this._resolveFunction(handler); this._sendCommand(name, args, RECIPIENT_TYPES.ALL_GMS); }