@secrecy/lib 1.75.0-feat-groups-identity.8 → 1.75.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.
|
@@ -621,6 +621,7 @@ export class SecrecyCloudClient {
|
|
|
621
621
|
const decompressed = decompress(src);
|
|
622
622
|
dataContentCache.set(dataContent.id, {
|
|
623
623
|
id: dataContent.id,
|
|
624
|
+
md5: dataContent.md5,
|
|
624
625
|
size: dataContent.size,
|
|
625
626
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
626
627
|
storageType: dataContent.storageType,
|
|
@@ -630,6 +631,7 @@ export class SecrecyCloudClient {
|
|
|
630
631
|
});
|
|
631
632
|
return {
|
|
632
633
|
id: dataContent.id,
|
|
634
|
+
md5: dataContent.md5,
|
|
633
635
|
size: dataContent.size,
|
|
634
636
|
sizeEncrypted: dataContent.sizeEncrypted,
|
|
635
637
|
storageType: dataContent.storageType,
|
|
@@ -123,6 +123,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
123
123
|
const localData = {
|
|
124
124
|
id: uploadData.id,
|
|
125
125
|
storageType: 'lite',
|
|
126
|
+
md5: uploadDataArgs.md5,
|
|
126
127
|
size: uploadDataArgs.size,
|
|
127
128
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
128
129
|
? uploadDataArgs.sizeEncrypted
|
|
@@ -169,6 +170,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
169
170
|
const localData = {
|
|
170
171
|
id: uploadData.id,
|
|
171
172
|
storageType: storageType,
|
|
173
|
+
md5: uploadDataArgs.md5,
|
|
172
174
|
size: uploadDataArgs.size,
|
|
173
175
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
174
176
|
? uploadDataArgs.sizeEncrypted
|
|
@@ -231,6 +233,7 @@ export async function uploadData({ storageType, data, password, forcePassword =
|
|
|
231
233
|
const localData = {
|
|
232
234
|
id: uploadData.id,
|
|
233
235
|
storageType: storageType,
|
|
236
|
+
md5: uploadDataArgs.md5,
|
|
234
237
|
size: uploadDataArgs.size,
|
|
235
238
|
sizeEncrypted: uploadDataArgs.type === 'encrypted'
|
|
236
239
|
? uploadDataArgs.sizeEncrypted
|
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.75.0
|
|
5
|
+
"version": "1.75.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|