Release v1.0.2

This commit is contained in:
2021-04-16 15:43:13 +02:00
parent 148f442857
commit 5fa28a9364
3 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -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",

View File

@@ -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);
}