@secrecy/lib 1.59.3 → 1.59.4

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.
@@ -66,7 +66,7 @@ export class SecrecyCloudClient {
66
66
  : fileTypeFromBuffer(data));
67
67
  }
68
68
  const dataBuffer = data instanceof File ? new Uint8Array(await data.arrayBuffer()) : data;
69
- if (storageType === 'lite' && dataBuffer.byteLength > kiloToBytes(4500)) {
69
+ if (storageType === 'lite' && dataBuffer.byteLength > kiloToBytes(1024)) {
70
70
  throw new Error('The data is too big for lite upload!');
71
71
  }
72
72
  const compressed = encrypted ? compress(dataBuffer) : dataBuffer;
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.59.3",
5
+ "version": "1.59.4",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"