@minecraft/server-net 1.0.0-beta.1.26.20-preview.22 → 1.0.0-beta.1.26.20-preview.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -542,8 +542,13 @@ export class HttpRequest {
|
|
|
542
542
|
setMethod(method: HttpRequestMethod): HttpRequest;
|
|
543
543
|
/**
|
|
544
544
|
* @remarks
|
|
545
|
+
* Sets the maximum amount of time, in seconds, before the
|
|
546
|
+
* request times out and is cancelled.
|
|
547
|
+
*
|
|
545
548
|
* This function can be called in early-execution mode.
|
|
546
549
|
*
|
|
550
|
+
* @param timeout
|
|
551
|
+
* The timeout value, in seconds.
|
|
547
552
|
*/
|
|
548
553
|
setTimeout(timeout: number): HttpRequest;
|
|
549
554
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-net",
|
|
3
|
-
"version": "1.0.0-beta.1.26.20-preview.
|
|
3
|
+
"version": "1.0.0-beta.1.26.20-preview.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.0.0",
|
|
17
17
|
"@minecraft/server": "^1.17.0 || ^2.0.0",
|
|
18
|
-
"@minecraft/server-admin": "^1.0.0-beta.1.26.20-preview.
|
|
18
|
+
"@minecraft/server-admin": "^1.0.0-beta.1.26.20-preview.26"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT"
|
|
21
21
|
}
|