@scalemule/sdk 0.0.21 → 0.0.22
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/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3136,7 +3136,6 @@ async function uploadSingleToS3(url, file, options) {
|
|
|
3136
3136
|
const result = await doSinglePut(url, file, options?.onProgress, options?.signal, stallTimeout);
|
|
3137
3137
|
if (result === "success") return { success: true };
|
|
3138
3138
|
if (result === "abort") return { success: false, error: "Upload aborted" };
|
|
3139
|
-
if (result === "stall") return { success: false, error: "Upload stalled \u2014 no progress" };
|
|
3140
3139
|
}
|
|
3141
3140
|
return { success: false, error: "Upload failed after retries" };
|
|
3142
3141
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2780,7 +2780,6 @@ async function uploadSingleToS3(url, file, options) {
|
|
|
2780
2780
|
const result = await doSinglePut(url, file, options?.onProgress, options?.signal, stallTimeout);
|
|
2781
2781
|
if (result === "success") return { success: true };
|
|
2782
2782
|
if (result === "abort") return { success: false, error: "Upload aborted" };
|
|
2783
|
-
if (result === "stall") return { success: false, error: "Upload stalled \u2014 no progress" };
|
|
2784
2783
|
}
|
|
2785
2784
|
return { success: false, error: "Upload failed after retries" };
|
|
2786
2785
|
}
|