@secrecy/lib 1.74.6 → 1.74.8
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.
|
@@ -619,6 +619,7 @@ export class SecrecyCloudClient {
|
|
|
619
619
|
const decompressed = decompress(src);
|
|
620
620
|
dataContentCache.set(dataContent.id, {
|
|
621
621
|
id: dataContent.id,
|
|
622
|
+
md5: dataContent.md5,
|
|
622
623
|
size: dataContent.size,
|
|
623
624
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
624
625
|
storageType: dataContent.storageType,
|
|
@@ -628,6 +629,7 @@ export class SecrecyCloudClient {
|
|
|
628
629
|
});
|
|
629
630
|
return {
|
|
630
631
|
id: dataContent.id,
|
|
632
|
+
md5: dataContent.md5,
|
|
631
633
|
size: dataContent.size,
|
|
632
634
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
633
635
|
storageType: dataContent.storageType,
|
|
@@ -119,6 +119,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
119
119
|
const localData = {
|
|
120
120
|
id: uploadData.id,
|
|
121
121
|
storageType: 'lite',
|
|
122
|
+
md5: uploadDataArgs.md5,
|
|
122
123
|
size: uploadDataArgs.size,
|
|
123
124
|
sizeEncrypted: uploadDataArgs.sizeEncrypted ?? null,
|
|
124
125
|
data: dataBuffer,
|
|
@@ -170,6 +171,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
170
171
|
const localData = {
|
|
171
172
|
id: uploadData.id,
|
|
172
173
|
storageType: storageType,
|
|
174
|
+
md5: uploadDataArgs.md5,
|
|
173
175
|
size: uploadDataArgs.size,
|
|
174
176
|
sizeEncrypted: uploadDataArgs.sizeEncrypted ?? null,
|
|
175
177
|
data: dataBuffer,
|
|
@@ -230,6 +232,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
230
232
|
const localData = {
|
|
231
233
|
id: uploadData.id,
|
|
232
234
|
storageType: storageType,
|
|
235
|
+
md5: uploadDataArgs.md5,
|
|
233
236
|
size: uploadDataArgs.size,
|
|
234
237
|
sizeEncrypted: uploadDataArgs.sizeEncrypted ?? null,
|
|
235
238
|
data: dataBuffer,
|
package/package.json
CHANGED