@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
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.55.2",
5
+ "version": "1.55.3",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"