@ctrl/qbittorrent 3.1.0 → 4.0.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.
@@ -534,9 +534,10 @@ export interface AddTorrentOptions {
534
534
  */
535
535
  paused: TrueFalseStr;
536
536
  /**
537
- * Create the root folder. Possible values are true, false, unset (default)
537
+ * Control filesystem structure for content (added in Web API v2.7)
538
+ * Migrating from rootFolder example rootFolder ? 'Original' : 'NoSubfolder'
538
539
  */
539
- root_folder: TrueFalseStr;
540
+ contentLayout: 'Original' | 'Subfolder' | 'NoSubfolder';
540
541
  /**
541
542
  * Rename torrent
542
543
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/qbittorrent",
3
- "version": "3.1.0",
3
+ "version": "4.0.0",
4
4
  "description": "TypeScript api wrapper for qbittorrent using got",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",
@@ -36,21 +36,21 @@
36
36
  "@ctrl/torrent-file": "^2.0.1",
37
37
  "@ctrl/url-join": "^2.0.0",
38
38
  "formdata-node": "^4.3.2",
39
- "got": "^12.0.3",
39
+ "got": "^12.0.4",
40
40
  "tough-cookie": "^4.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ctrl/eslint-config": "3.4.1",
43
+ "@ctrl/eslint-config": "3.4.2",
44
44
  "@sindresorhus/tsconfig": "2.0.0",
45
- "@types/node": "17.0.23",
46
- "@types/tough-cookie": "4.0.1",
45
+ "@types/node": "17.0.31",
46
+ "@types/tough-cookie": "4.0.2",
47
47
  "ava": "4.2.0",
48
- "c8": "7.11.0",
48
+ "c8": "7.11.2",
49
49
  "p-wait-for": "4.1.0",
50
50
  "tap-junit": "5.0.2",
51
51
  "ts-node": "10.7.0",
52
52
  "typedoc": "0.22.15",
53
- "typescript": "4.6.3"
53
+ "typescript": "4.6.4"
54
54
  },
55
55
  "ava": {
56
56
  "files": [