@ctrl/qbittorrent
Advanced tools
Comparing version 8.3.0 to 9.0.0
@@ -147,2 +147,3 @@ import type { AddTorrentOptions as NormalizedAddTorrentOptions, AllClientData, NormalizedTorrent, TorrentClient, TorrentSettings } from '@ctrl/shared-torrent'; | ||
* {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#delete-torrents} | ||
* @param deleteFiles (default: false) remove files from disk | ||
*/ | ||
@@ -149,0 +150,0 @@ removeTorrent(hashes: string | string[] | 'all', deleteFiles?: boolean): Promise<boolean>; |
@@ -324,4 +324,5 @@ import { parse as cookieParse } from 'cookie'; | ||
* {@link https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#delete-torrents} | ||
* @param deleteFiles (default: false) remove files from disk | ||
*/ | ||
async removeTorrent(hashes, deleteFiles = true) { | ||
async removeTorrent(hashes, deleteFiles = false) { | ||
const data = { | ||
@@ -328,0 +329,0 @@ hashes: normalizeHashes(hashes), |
{ | ||
"name": "@ctrl/qbittorrent", | ||
"version": "8.3.0", | ||
"version": "9.0.0", | ||
"description": "TypeScript api wrapper for qbittorrent using got", | ||
@@ -5,0 +5,0 @@ "author": "Scott Cooper <scttcper@gmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79211
2329