Compare commits

...

2 Commits

Author SHA1 Message Date
Crovaxon 519c2d24f2 Change version, download and manifest to Foundry invalid values for testing. 2025-05-11 16:19:49 +02:00
Farling e74ec2b733 Update README.md
Provide example of relationships.requires for other modules to use.
2025-05-09 17:38:36 +01:00
2 changed files with 19 additions and 3 deletions
+16
View File
@@ -176,3 +176,19 @@ Executes a function on the clients of a specified list of players. The function
- **parameters...** the parameters that should be passed to the called function. Pass the parameters in comma separated, as you would do for a regular function call. - **parameters...** the parameters that should be passed to the called function. Pass the parameters in comma separated, as you would do for a regular function call.
**Return value**: The promise returned by this function will resolve as soon as the request for execution has been sent to the specified clients and *will not* wait until those clients have finished processing that function. The promise will not yield any return value. **Return value**: The promise returned by this function will resolve as soon as the request for execution has been sent to the specified clients and *will not* wait until those clients have finished processing that function. The promise will not yield any return value.
## Your Module Manifest
Socketlib can be set to be required by your module by including the following in your manifest:
```json
"relationships": {
"requires": [
{
"id": "socketlib",
"type": "module",
"manifest": "https://github.com/farling42/foundryvtt-socketlib/releases/latest/download/module.json"
}
]
}
```
+3 -3
View File
@@ -2,7 +2,7 @@
"id": "socketlib", "id": "socketlib",
"title": "socketlib", "title": "socketlib",
"description": "A library for easier handling of foundry sockets", "description": "A library for easier handling of foundry sockets",
"version": "1.1.1", "version": "#{VERSION}#",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"verified": "13.338" "verified": "13.338"
@@ -28,8 +28,8 @@
"src/socketlib.js" "src/socketlib.js"
], ],
"url": "https://github.com/farling42/foundryvtt-socketlib", "url": "https://github.com/farling42/foundryvtt-socketlib",
"download": "https://github.com/farling42/foundryvtt-socketlib/releases/download/v1.1.1/module.zip", "download": "#{URL}#",
"manifest": "https://github.com/farling42/foundryvtt-socketlib/releases/latest/download/module.json", "manifest": "#{MANIFEST}#",
"readme": "https://github.com/farling42/foundryvtt-socketlib/blob/master/README.md", "readme": "https://github.com/farling42/foundryvtt-socketlib/blob/master/README.md",
"changelog": "https://github.com/farling42/foundryvtt-socketlib/blob/master/CHANGELOG.md", "changelog": "https://github.com/farling42/foundryvtt-socketlib/blob/master/CHANGELOG.md",
"bugs": "https://github.com/farling42/foundryvtt-socketlib/issues" "bugs": "https://github.com/farling42/foundryvtt-socketlib/issues"