@dropgate/core 2.2.0-beta.2 → 2.2.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.
@@ -8,6 +8,8 @@ interface UploadCapabilities {
8
8
  maxSizeMB?: number;
9
9
  /** Maximum file lifetime in hours (0 = unlimited). */
10
10
  maxLifetimeHours?: number;
11
+ /** Maximum downloads before file is deleted (0 = unlimited). */
12
+ maxFileDownloads?: number;
11
13
  /** Whether end-to-end encryption is supported. */
12
14
  e2ee?: boolean;
13
15
  }
@@ -8,6 +8,8 @@ interface UploadCapabilities {
8
8
  maxSizeMB?: number;
9
9
  /** Maximum file lifetime in hours (0 = unlimited). */
10
10
  maxLifetimeHours?: number;
11
+ /** Maximum downloads before file is deleted (0 = unlimited). */
12
+ maxFileDownloads?: number;
11
13
  /** Whether end-to-end encryption is supported. */
12
14
  e2ee?: boolean;
13
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dropgate/core",
3
- "version": "2.2.0-beta.2",
3
+ "version": "2.2.0",
4
4
  "description": "Headless Dropgate client library for file uploads and P2P transfers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",