@ctrl/qbittorrent 8.3.0 → 9.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.
@@ -144,6 +144,7 @@ export declare class QBittorrent implements TorrentClient {
144
144
  resumeTorrent(hashes: string | string[] | 'all'): Promise<boolean>;
145
145
  /**
146
146
  * {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#delete-torrents}
147
+ * @param deleteFiles (default: false) remove files from disk
147
148
  */
148
149
  removeTorrent(hashes: string | string[] | 'all', deleteFiles?: boolean): Promise<boolean>;
149
150
  /**
@@ -321,8 +321,9 @@ export class QBittorrent {
321
321
  }
322
322
  /**
323
323
  * {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#delete-torrents}
324
+ * @param deleteFiles (default: false) remove files from disk
324
325
  */
325
- async removeTorrent(hashes, deleteFiles = true) {
326
+ async removeTorrent(hashes, deleteFiles = false) {
326
327
  const data = {
327
328
  hashes: normalizeHashes(hashes),
328
329
  deleteFiles,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctrl/qbittorrent",
3
- "version": "8.3.0",
3
+ "version": "9.0.0",
4
4
  "description": "TypeScript api wrapper for qbittorrent using got",
5
5
  "author": "Scott Cooper <scttcper@gmail.com>",
6
6
  "license": "MIT",