Releases: manuelVo/foundryvtt-socketlib
Releases · manuelVo/foundryvtt-socketlib
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
New features
- The
this
value of functions now contains the id of the user that triggered the function execution. - Some network packets are now more efficient.
Bugfixes
- When an invalid user id is specified socketlib will now throw the correct error message.
- When a player disconnects the moment an execution has been scheduled for their client the execution function will now throw an exception, as it would if the player hadn't been connected in the first place. Previously the execution would just silently fail and the promise never resolve in such cases.
v1.0.3
v1.0.2
New API endpoints
- Added
executeForOthers
andexecuteForOtherGMs
that execute for all users/all GMs except the local client.
Bugfixes
executeAsUser
andexecuteForUsers
didn't execute locally if the id of the current user was passed in as recipient.executeForEveryone
andexecuteForAllGMs
now execute locally as well, as they should