@secrecy/lib 1.55.2 → 1.56.0
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/dist/types/client.d.ts
CHANGED
|
@@ -3878,13 +3878,15 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
|
|
|
3878
3878
|
name: string;
|
|
3879
3879
|
dataId: string;
|
|
3880
3880
|
expireAt: Date | null;
|
|
3881
|
-
|
|
3881
|
+
} & {
|
|
3882
|
+
slug?: string | undefined;
|
|
3882
3883
|
};
|
|
3883
3884
|
_input_out: {
|
|
3884
3885
|
name: string;
|
|
3885
3886
|
dataId: string;
|
|
3886
3887
|
expireAt: Date | null;
|
|
3887
|
-
|
|
3888
|
+
} & {
|
|
3889
|
+
slug?: string | undefined;
|
|
3888
3890
|
};
|
|
3889
3891
|
_output_in: {
|
|
3890
3892
|
name: string;
|
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.
|
|
5
|
+
"version": "1.56.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "^5.6.2"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@secrecy/trpc-api-types": "1.33.0-dev.
|
|
77
|
+
"@secrecy/trpc-api-types": "1.33.0-dev.48",
|
|
78
78
|
"@trpc/client": "10.45.2",
|
|
79
79
|
"@trpc/server": "10.45.2",
|
|
80
80
|
"@types/libsodium-wrappers-sumo": "^0.7.8",
|