@secrecy/lib 1.55.2 → 1.55.3
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.
|
@@ -200,7 +200,7 @@ export class SecrecyCloudClient {
|
|
|
200
200
|
for (const [key, value] of Object.entries(part.fields)) {
|
|
201
201
|
formData.append(key, value);
|
|
202
202
|
}
|
|
203
|
-
formData.append('file', new Blob([chunk.data]), `${uploadData.id}-${chunk.order}`);
|
|
203
|
+
formData.append('file', new Blob([chunk.data], { type: filetype?.mime }), `${uploadData.id}-${chunk.order}`);
|
|
204
204
|
await axios.post(part.url, formData, {
|
|
205
205
|
onUploadProgress: (progressEvent) => {
|
|
206
206
|
onProgress(part.order, progressEvent);
|
package/package.json
CHANGED