@tauri-apps/plugin-http 2.0.0-rc.0 → 2.0.0-rc.2
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.cjs +1 -1
- package/dist-js/index.js +1 -1
- package/package.json +2 -2
package/dist-js/index.cjs
CHANGED
|
@@ -108,7 +108,7 @@ async function fetch(input, init) {
|
|
|
108
108
|
abort();
|
|
109
109
|
throw new Error(ERROR_REQUEST_CANCELLED);
|
|
110
110
|
}
|
|
111
|
-
signal?.addEventListener("abort", () => abort);
|
|
111
|
+
signal?.addEventListener("abort", () => void abort());
|
|
112
112
|
const { status, statusText, url, headers: responseHeaders, rid: responseRid, } = await core.invoke("plugin:http|fetch_send", {
|
|
113
113
|
rid,
|
|
114
114
|
});
|
package/dist-js/index.js
CHANGED
|
@@ -106,7 +106,7 @@ async function fetch(input, init) {
|
|
|
106
106
|
abort();
|
|
107
107
|
throw new Error(ERROR_REQUEST_CANCELLED);
|
|
108
108
|
}
|
|
109
|
-
signal?.addEventListener("abort", () => abort);
|
|
109
|
+
signal?.addEventListener("abort", () => void abort());
|
|
110
110
|
const { status, statusText, url, headers: responseHeaders, rid: responseRid, } = await invoke("plugin:http|fetch_send", {
|
|
111
111
|
rid,
|
|
112
112
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tauri-apps/plugin-http",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.2",
|
|
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": "^2.0.0-rc.
|
|
27
|
+
"@tauri-apps/api": "^2.0.0-rc.4"
|
|
28
28
|
}
|
|
29
29
|
}
|