@tauri-apps/plugin-http 2.6.1 → 3.0.0-alpha.1
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/dist-js/index.d.ts +4 -0
- package/package.json +2 -2
package/dist-js/index.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export interface ClientOptions {
|
|
|
44
44
|
/**
|
|
45
45
|
* Defines the maximum number of redirects the client should follow.
|
|
46
46
|
* If set to 0, no redirects will be followed.
|
|
47
|
+
*
|
|
48
|
+
* When the `scopeRedirects` plugin configuration is enabled, every redirect must
|
|
49
|
+
* also be allowed by the configured scope, otherwise the request fails
|
|
50
|
+
* instead of being followed.
|
|
47
51
|
*/
|
|
48
52
|
maxRedirections?: number;
|
|
49
53
|
/** Timeout in milliseconds */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/plugin-http",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"license": "MIT OR Apache-2.0",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Tauri Programme within The Commons Conservancy"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@tauri-apps/api": "^
|
|
27
|
+
"@tauri-apps/api": "^3.0.0-alpha.1"
|
|
28
28
|
}
|
|
29
29
|
}
|