@ctrl/qbittorrent 9.0.0 → 9.0.1
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.
- package/dist/src/qbittorrent.js +1 -1
- package/dist/src/types.d.ts +8 -0
- package/package.json +6 -6
package/dist/src/qbittorrent.js
CHANGED
@@ -399,7 +399,7 @@ export class QBittorrent {
|
|
399
399
|
if (!isUint8Array(torrent)) {
|
400
400
|
torrent = stringToUint8Array(torrent);
|
401
401
|
}
|
402
|
-
torrentHash =
|
402
|
+
torrentHash = hash(torrent);
|
403
403
|
await this.addTorrent(torrent, torrentOptions);
|
404
404
|
}
|
405
405
|
return this.getTorrent(torrentHash);
|
package/dist/src/types.d.ts
CHANGED
@@ -538,6 +538,10 @@ export interface AddTorrentOptions {
|
|
538
538
|
* Category for the torrent
|
539
539
|
*/
|
540
540
|
category: string;
|
541
|
+
/**
|
542
|
+
* Tags for the torrent, split by ','
|
543
|
+
*/
|
544
|
+
tags: string;
|
541
545
|
/**
|
542
546
|
* Skip hash checking. Possible values are true, false (default)
|
543
547
|
*/
|
@@ -591,6 +595,10 @@ export interface AddMagnetOptions {
|
|
591
595
|
* Category for the torrent
|
592
596
|
*/
|
593
597
|
category: string;
|
598
|
+
/**
|
599
|
+
* Tags for the torrent, split by ','
|
600
|
+
*/
|
601
|
+
tags: string;
|
594
602
|
/**
|
595
603
|
* Skip hash checking. Possible values are true, false (default)
|
596
604
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ctrl/qbittorrent",
|
3
|
-
"version": "9.0.
|
3
|
+
"version": "9.0.1",
|
4
4
|
"description": "TypeScript api wrapper for qbittorrent using got",
|
5
5
|
"author": "Scott Cooper <scttcper@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"dependencies": {
|
39
39
|
"@ctrl/magnet-link": "^4.0.2",
|
40
40
|
"@ctrl/shared-torrent": "^6.0.0",
|
41
|
-
"@ctrl/torrent-file": "^4.
|
41
|
+
"@ctrl/torrent-file": "^4.1.0",
|
42
42
|
"cookie": "^0.6.0",
|
43
43
|
"node-fetch-native": "^1.6.4",
|
44
44
|
"ofetch": "^1.3.4",
|
@@ -47,15 +47,15 @@
|
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"@biomejs/biome": "1.8.3",
|
50
|
-
"@ctrl/eslint-config-biome": "4.1
|
50
|
+
"@ctrl/eslint-config-biome": "4.2.1",
|
51
51
|
"@eslint/compat": "^1.1.1",
|
52
52
|
"@sindresorhus/tsconfig": "6.0.0",
|
53
53
|
"@types/cookie": "0.6.0",
|
54
|
-
"@types/node": "22.5.
|
54
|
+
"@types/node": "22.5.4",
|
55
55
|
"@vitest/coverage-v8": "2.0.5",
|
56
56
|
"p-wait-for": "5.0.2",
|
57
|
-
"typedoc": "0.26.
|
58
|
-
"typescript": "5.
|
57
|
+
"typedoc": "0.26.7",
|
58
|
+
"typescript": "5.6.2",
|
59
59
|
"vitest": "2.0.5"
|
60
60
|
},
|
61
61
|
"release": {
|