Merge remote-tracking branch 'origin/v1' into chore/merge-v1-into-v2

This commit is contained in:
FabianLars committed 2024-04-16 00:29:36 +02:00
commit ed46dca74f
65 files changed
+1075 -371

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ async function upload(
filePath: string,
progressHandler?: ProgressHandler,
headers?: Map<string, string>,
): Promise<void> {
): Promise<string> {
const ids = new Uint32Array(1);
window.crypto.getRandomValues(ids);
const id = ids[0];
@@ -26,7 +26,7 @@ async function upload(
onProgress.onmessage = progressHandler;
}
await invoke("plugin:upload|upload", {
return await invoke("plugin:upload|upload", {
id,
url,
filePath,